npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_importexport

v5.0.0

Published

DataFire integration for AWS Import/Export

Downloads

3

Readme

@datafire/amazonaws_importexport

Client library for AWS Import/Export

Installation and Usage

npm install --save @datafire/amazonaws_importexport
let amazonaws_importexport = require('@datafire/amazonaws_importexport').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_importexport.CancelJob({
  "JobId": ""
}).then(data => {
  console.log(data);
});

Description

AWS Import/Export Service AWS Import/Export accelerates transferring large amounts of data between the AWS cloud and portable storage devices that you mail to us. AWS Import/Export transfers data directly onto and off of your storage devices using Amazon's high-speed internal network and bypassing the Internet. For large data sets, AWS Import/Export is often faster than Internet transfer and more cost effective than upgrading your connectivity.

Actions

CancelJob

amazonaws_importexport.CancelJob({
  "JobId": ""
}, context)

Input

Output

CreateJob

amazonaws_importexport.CreateJob({
  "JobType": "",
  "Manifest": "",
  "ValidateOnly": true
}, context)

Input

Output

GetShippingLabel

amazonaws_importexport.GetShippingLabel({
  "jobIds": []
}, context)

Input

Output

GetStatus

amazonaws_importexport.GetStatus({
  "JobId": ""
}, context)

Input

Output

ListJobs

amazonaws_importexport.ListJobs({}, context)

Input

Output

UpdateJob

amazonaws_importexport.UpdateJob({
  "JobId": "",
  "Manifest": "",
  "JobType": "",
  "ValidateOnly": true
}, context)

Input

Output

Definitions

APIVersion

  • APIVersion string: Specifies the version of the client tool.

Artifact

  • Artifact object: A discrete item that contains the description and URL of an artifact (such as a PDF).

ArtifactList

  • ArtifactList array: A collection of artifacts.

BucketPermissionException

  • BucketPermissionException object: The account specified does not have the appropriate bucket permissions.

CancelJobInput

  • CancelJobInput object: Input structure for the CancelJob operation.

CancelJobOutput

  • CancelJobOutput object: Output structure for the CancelJob operation.

CanceledJobIdException

  • CanceledJobIdException object: The specified job ID has been canceled and is no longer valid.

Carrier

  • Carrier string: Name of the shipping company. This value is included when the LocationCode is "Returned".

CreateJobInput

CreateJobOutput

CreateJobQuotaExceededException

  • CreateJobQuotaExceededException object: Each account can create only a certain number of jobs per day. If you need to create more than this, please contact [email protected] to explain your particular use case.

CreationDate

  • CreationDate string: Timestamp of the CreateJob request in ISO8601 date format. For example "2010-03-28T20:27:35Z".

CurrentManifest

  • CurrentManifest string: The last manifest submitted, which will be used to process the job.

Description

  • Description string: The associated description for this object.

ErrorCount

  • ErrorCount integer: Number of errors. We return this value when the ProgressCode is Success or SuccessWithErrors.

ErrorMessage

  • ErrorMessage string: The human-readable description of a particular error.

ExpiredJobIdException

  • ExpiredJobIdException object: Indicates that the specified job has expired out of the system.

GenericString

  • GenericString string

GetShippingLabelInput

GetShippingLabelOutput

GetStatusInput

  • GetStatusInput object: Input structure for the GetStatus operation.

GetStatusOutput

InvalidAccessKeyIdException

  • InvalidAccessKeyIdException object: The AWS Access Key ID specified in the request did not match the manifest's accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.

InvalidAddressException

  • InvalidAddressException object: The address specified in the manifest is invalid.

InvalidCustomsException

  • InvalidCustomsException object: One or more customs parameters was invalid. Please correct and resubmit.

InvalidFileSystemException

  • InvalidFileSystemException object: File system specified in export manifest is invalid.

InvalidJobIdException

  • InvalidJobIdException object: The JOBID was missing, not found, or not associated with the AWS account.

InvalidManifestFieldException

  • InvalidManifestFieldException object: One or more manifest fields was invalid. Please correct and resubmit.

InvalidParameterException

  • InvalidParameterException object: One or more parameters had an invalid value.

InvalidVersionException

  • InvalidVersionException object: The client tool version is invalid.

IsCanceled

  • IsCanceled boolean: Indicates whether the job was canceled.

IsTruncated

  • IsTruncated boolean: Indicates whether the list of jobs was truncated. If true, then call ListJobs again using the last JobId element as the marker.

Job

JobId

  • JobId string: A unique identifier which refers to a particular job.

JobIdList

JobType

  • JobType string (values: Import, Export): Specifies whether the job to initiate is an import or export job.

JobsList

  • JobsList array: A list container for Jobs returned by the ListJobs operation.

ListJobsInput

ListJobsOutput

  • ListJobsOutput object: Output structure for the ListJobs operation.

LocationCode

  • LocationCode string: A token representing the location of the storage device, such as "AtAWS".

LocationMessage

  • LocationMessage string: A more human readable form of the physical location of the storage device.

LogBucket

  • LogBucket string: Amazon S3 bucket for user logs.

LogKey

  • LogKey string: The key where the user logs were stored.

MalformedManifestException

  • MalformedManifestException object: Your manifest is not well-formed.

Manifest

  • Manifest string: The UTF-8 encoded text of the manifest file.

ManifestAddendum

  • ManifestAddendum string: For internal use only.

Marker

  • Marker string: Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

MaxJobs

  • MaxJobs integer: Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains <IsTruncated>true</IsTruncated>. To return the additional jobs, see Marker.

MissingCustomsException

  • MissingCustomsException object: One or more required customs parameters was missing from the manifest.

MissingManifestFieldException

  • MissingManifestFieldException object: One or more required fields were missing from the manifest file. Please correct and resubmit.

MissingParameterException

  • MissingParameterException object: One or more required parameters was missing from the request.

MultipleRegionsException

  • MultipleRegionsException object: Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.

NoSuchBucketException

  • NoSuchBucketException object: The specified bucket does not exist. Create the specified bucket or change the manifest's bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest's Access Key ID, has write permissions to.

ProgressCode

  • ProgressCode string: A token representing the state of the job, such as "Started".

ProgressMessage

  • ProgressMessage string: A more human readable form of the job status.

Signature

  • Signature string: An encrypted code used to authenticate the request and response, for example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". Only use this value is you want to create the signature file yourself. Generally you should use the SignatureFileContents value.

SignatureFileContents

  • SignatureFileContents string: The actual text of the SIGNATURE file to be written to disk.

Success

  • Success boolean: Specifies whether (true) or not (false) AWS Import/Export updated your job.

TrackingNumber

  • TrackingNumber string: The shipping tracking number assigned by AWS Import/Export to the storage device when it's returned to you. We return this value when the LocationCode is "Returned".

URL

  • URL string: The URL for a given Artifact.

UnableToCancelJobIdException

  • UnableToCancelJobIdException object: AWS Import/Export cannot cancel the job

UnableToUpdateJobIdException

  • UnableToUpdateJobIdException object: AWS Import/Export cannot update the job

UpdateJobInput

UpdateJobOutput

ValidateOnly

  • ValidateOnly boolean: Validate the manifest and parameter values in the request but do not actually create a job.

WarningMessage

  • WarningMessage string: An optional message notifying you of non-fatal issues with the job, such as use of an incompatible Amazon S3 bucket name.

city

  • city string: Specifies the name of your city for the return address.

company

  • company string: Specifies the name of the company that will ship this package.

country

  • country string: Specifies the name of your country for the return address.

name

  • name string: Specifies the name of the person responsible for shipping this package.

phoneNumber

  • phoneNumber string: Specifies the phone number of the person responsible for shipping this package.

postalCode

  • postalCode string: Specifies the postal code for the return address.

stateOrProvince

  • stateOrProvince string: Specifies the name of your state or your province for the return address.

street1

  • street1 string: Specifies the first part of the street address for the return address, for example 1234 Main Street.

street2

  • street2 string: Specifies the optional second part of the street address for the return address, for example Suite 100.

street3

  • street3 string: Specifies the optional third part of the street address for the return address, for example c/o Jane Doe.