Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you’re creating a job for a node in a cluster, you only need to provide the clusterId
value; the other job attributes are inherited from the cluster.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
create-job
[--job-type <value>]
[--resources <value>]
[--description <value>]
[--address-id <value>]
[--kms-key-arn <value>]
[--role-arn <value>]
[--snowball-capacity-preference <value>]
[--shipping-option <value>]
[--notification <value>]
[--cluster-id <value>]
[--snowball-type <value>]
[--forwarding-address-id <value>]
[--tax-documents <value>]
[--device-configuration <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--cli-auto-prompt <value>]
--job-type
(string)
Defines the type of job that you’re creating.
Possible values:
IMPORT
EXPORT
LOCAL_USE
--resources
(structure)
Defines the Amazon S3 buckets associated with this job.
With
IMPORT
jobs, you specify the bucket or buckets that your transferred data will be imported into.With
EXPORT
jobs, you specify the bucket or buckets that your transferred data will be exported from. Optionally, you can also specify aKeyRange
value. If you choose to export a range, you define the length of the range by providing either an inclusiveBeginMarker
value, an inclusiveEndMarker
value, or both. Ranges are UTF-8 binary sorted.S3Resources -> (list)
An array of
S3Resource
objects.(structure)
Each
S3Resource
object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optionalKeyRange
value. The length of the range is defined at job creation, and has either an inclusiveBeginMarker
, an inclusiveEndMarker
, or both. Ranges are UTF-8 binary sorted.BucketArn -> (string)
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
KeyRange -> (structure)
For export jobs, you can provide an optional
KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusiveBeginMarker
, an inclusiveEndMarker
, or both. Ranges are UTF-8 binary sorted.BeginMarker -> (string)
The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
EndMarker -> (string)
The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.
LambdaResources -> (list)
The Python-language Lambda functions for this job.
(structure)
Identifies
LambdaArn -> (string)
An Amazon Resource Name (ARN) that represents an AWS Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.
EventTriggers -> (list)
The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job.
(structure)
The container for the EventTriggerDefinition$EventResourceARN .
EventResourceARN -> (string)
The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an AWS Lambda function’s event trigger associated with this job.
Ec2AmiResources -> (list)
The Amazon Machine Images (AMIs) associated with this job.
(structure)
A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2 AMI ID and the Snowball Edge AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the AWS Cloud and on the device.
AmiId -> (string)
The ID of the AMI in Amazon EC2.
SnowballAmiId -> (string)
The ID of the AMI on the Snowball Edge device.
JSON Syntax:
{
"S3Resources": [
{
"BucketArn": "string",
"KeyRange": {
"BeginMarker": "string",
"EndMarker": "string"
}
}
...
],
"LambdaResources": [
{
"LambdaArn": "string",
"EventTriggers": [
{
"EventResourceARN": "string"
}
...
]
}
...
],
"Ec2AmiResources": [
{
"AmiId": "string",
"SnowballAmiId": "string"
}
...
]
}
--description
(string)
Defines an optional description of this specific job, for example
Important Photos 2016-08-11
.
--address-id
(string)
The ID for the address that you want the Snowball shipped to.
--kms-key-arn
(string)
The
KmsKeyARN
that you want to associate with this job.KmsKeyARN
s are created using the CreateKey AWS Key Management Service (KMS) API action.
--role-arn
(string)
The
RoleARN
that you want to associate with this job.RoleArn
s are created using the CreateRole AWS Identity and Access Management (IAM) API action.
--snowball-capacity-preference
(string)
If your job is being created in one of the US regions, you have the option of specifying what size Snowball you’d like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
Possible values:
T50
T80
T100
T42
T98
T8
NoPreference
--shipping-option
(string)
The shipping speed for this job. This speed doesn’t dictate how soon you’ll get the Snowball, rather it represents how quickly the Snowball moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snowballs are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
Possible values:
SECOND_DAY
NEXT_DAY
EXPRESS
STANDARD
--notification
(structure)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
SnsTopicARN -> (string)
The new SNS
TopicArn
that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.You can subscribe email addresses to an Amazon SNS topic through the AWS Management Console, or by using the Subscribe AWS Simple Notification Service (SNS) API action.
JobStatesToNotify -> (list)
The list of job states that will trigger a notification for this job.
(string)
NotifyAll -> (boolean)
Any change in job state will trigger a notification for this job.
Shorthand Syntax:
SnsTopicARN=string,JobStatesToNotify=string,string,NotifyAll=boolean
JSON Syntax:
{
"SnsTopicARN": "string",
"JobStatesToNotify": ["New"|"PreparingAppliance"|"PreparingShipment"|"InTransitToCustomer"|"WithCustomer"|"InTransitToAWS"|"WithAWSSortingFacility"|"WithAWS"|"InProgress"|"Complete"|"Cancelled"|"Listing"|"Pending", ...],
"NotifyAll": true|false
}
--cluster-id
(string)
The ID of a cluster. If you’re creating a job for a node in a cluster, you need to provide only this
clusterId
value. The other job attributes are inherited from the cluster.
--snowball-type
(string)
The type of AWS Snowball device to use for this job.
Note
For cluster jobs, AWS Snowball currently supports only the
EDGE
device type.The type of AWS Snowball device to use for this job. Currently, the only supported device type for cluster jobs is
EDGE
.For more information, see Snowball Edge Device Options in the Snowball Edge Developer Guide.
Possible values:
STANDARD
EDGE
EDGE_C
EDGE_CG
EDGE_S
SNC1_HDD
--forwarding-address-id
(string)
The forwarding address ID for a job. This field is not supported in most regions.
--tax-documents
(structure)
The tax documents required in your AWS Region.
IND -> (structure)
The tax documents required in AWS Regions in India.
GSTIN -> (string)
The Goods and Services Tax (GST) documents required in AWS Regions in India.
Shorthand Syntax:
IND={GSTIN=string}
JSON Syntax:
{
"IND": {
"GSTIN": "string"
}
}
--device-configuration
(structure)
Defines the device configuration for an AWS Snowcone job.
SnowconeDeviceConfiguration -> (structure)
Returns information about the device configuration for an AWS Snowcone job.
WirelessConnection -> (structure)
Configures the wireless connection for the AWS Snowcone device.
IsWifiEnabled -> (boolean)
Enables the Wi-Fi adapter on an AWS Snowcone device.
Shorthand Syntax:
SnowconeDeviceConfiguration={WirelessConnection={IsWifiEnabled=boolean}}
JSON Syntax:
{
"SnowconeDeviceConfiguration": {
"WirelessConnection": {
"IsWifiEnabled": true|false
}
}
}
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--cli-auto-prompt
(boolean)
Automatically prompt for CLI input parameters.
See ‘aws help’ for descriptions of global parameters.
JobId -> (string)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000
.