Snowball ******** Client ====== class Snowball.Client A low-level client representing Amazon Import/Export Snowball The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses secure devices to transfer large amounts of data between your on-premises data centers and Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device, you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide. import boto3 client = boto3.client('snowball') These are the available methods: * can_paginate * cancel_cluster * cancel_job * close * create_address * create_cluster * create_job * create_long_term_pricing * create_return_shipping_label * describe_address * describe_addresses * describe_cluster * describe_job * describe_return_shipping_label * get_job_manifest * get_job_unlock_code * get_paginator * get_snowball_usage * get_software_updates * get_waiter * list_cluster_jobs * list_clusters * list_compatible_images * list_jobs * list_long_term_pricing * list_pickup_locations * list_service_versions * update_cluster * update_job * update_job_shipment_state * update_long_term_pricing Paginators ========== Paginators are available on a client instance via the "get_paginator" method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide. The available paginators are: * DescribeAddresses * ListClusterJobs * ListClusters * ListCompatibleImages * ListJobs * ListLongTermPricing Snowball / Paginator / ListJobs ListJobs ******** class Snowball.Paginator.ListJobs paginator = client.get_paginator('list_jobs') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.list_jobs()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max- items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'JobListEntries': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'IsMaster': True|False, 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], } **Response Structure** * *(dict) --* * **JobListEntries** *(list) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. * *(dict) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current state of this job. * **IsMaster** *(boolean) --* A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Description** *(string) --* The optional description of this specific job, for example "Important Photos 2016-08-11". Snowball / Paginator / ListClusterJobs ListClusterJobs *************** class Snowball.Paginator.ListClusterJobs paginator = client.get_paginator('list_cluster_jobs') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.list_cluster_jobs()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( ClusterId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **ClusterId** (*string*) -- **[REQUIRED]** The 39-character ID for the cluster that you want to list, for example "CID123e4567-e89b-12d3-a456-426655440000". * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'JobListEntries': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'IsMaster': True|False, 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], } **Response Structure** * *(dict) --* * **JobListEntries** *(list) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. * *(dict) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current state of this job. * **IsMaster** *(boolean) --* A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Description** *(string) --* The optional description of this specific job, for example "Important Photos 2016-08-11". Snowball / Paginator / ListClusters ListClusters ************ class Snowball.Paginator.ListClusters paginator = client.get_paginator('list_clusters') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.list_clusters()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max- items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'ClusterListEntries': [ { 'ClusterId': 'string', 'ClusterState': 'AwaitingQuorum'|'Pending'|'InUse'|'Complete'|'Cancelled', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], } **Response Structure** * *(dict) --* * **ClusterListEntries** *(list) --* Each "ClusterListEntry" object contains a cluster's state, a cluster's ID, and other important status information. * *(dict) --* Contains a cluster's state, a cluster's ID, and other important information. * **ClusterId** *(string) --* The 39-character ID for the cluster that you want to list, for example "CID123e4567-e89b- 12d3-a456-426655440000". * **ClusterState** *(string) --* The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState. * **CreationDate** *(datetime) --* The creation date for this cluster. * **Description** *(string) --* Defines an optional description of the cluster, for example "Environmental Data Cluster-01". Snowball / Paginator / DescribeAddresses DescribeAddresses ***************** class Snowball.Paginator.DescribeAddresses paginator = client.get_paginator('describe_addresses') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.describe_addresses()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max- items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'Addresses': [ { 'AddressId': 'string', 'Name': 'string', 'Company': 'string', 'Street1': 'string', 'Street2': 'string', 'Street3': 'string', 'City': 'string', 'StateOrProvince': 'string', 'PrefectureOrDistrict': 'string', 'Landmark': 'string', 'Country': 'string', 'PostalCode': 'string', 'PhoneNumber': 'string', 'IsRestricted': True|False, 'Type': 'CUST_PICKUP'|'AWS_SHIP' }, ], } **Response Structure** * *(dict) --* * **Addresses** *(list) --* The Snow device shipping addresses that were created for this account. * *(dict) --* The address that you want the Snow device(s) associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the "Address" are required, if the address is invalid or unsupported, then an exception is thrown. * **AddressId** *(string) --* The unique ID for an address. * **Name** *(string) --* The name of a person to receive a Snow device at an address. * **Company** *(string) --* The name of the company to receive a Snow device at an address. * **Street1** *(string) --* The first line in a street address that a Snow device is to be delivered to. * **Street2** *(string) --* The second line in a street address that a Snow device is to be delivered to. * **Street3** *(string) --* The third line in a street address that a Snow device is to be delivered to. * **City** *(string) --* The city in an address that a Snow device is to be delivered to. * **StateOrProvince** *(string) --* The state or province in an address that a Snow device is to be delivered to. * **PrefectureOrDistrict** *(string) --* This field is no longer used and the value is ignored. * **Landmark** *(string) --* This field is no longer used and the value is ignored. * **Country** *(string) --* The country in an address that a Snow device is to be delivered to. * **PostalCode** *(string) --* The postal code in an address that a Snow device is to be delivered to. * **PhoneNumber** *(string) --* The phone number associated with an address that a Snow device is to be delivered to. * **IsRestricted** *(boolean) --* If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions. * **Type** *(string) --* Differentiates between delivery address and pickup address in the customer account. Provided at job creation. Snowball / Paginator / ListCompatibleImages ListCompatibleImages ******************** class Snowball.Paginator.ListCompatibleImages paginator = client.get_paginator('list_compatible_images') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.list_compatible_images()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max- items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'CompatibleImages': [ { 'AmiId': 'string', 'Name': 'string' }, ], } **Response Structure** * *(dict) --* * **CompatibleImages** *(list) --* A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI. * *(dict) --* A JSON-formatted object that describes a compatible Amazon Machine Image (AMI), including the ID and name for a Snow device AMI. This AMI is compatible with the device's physical hardware requirements, and it should be able to be run in an SBE1 instance on the device. * **AmiId** *(string) --* The unique identifier for an individual Snow device AMI. * **Name** *(string) --* The optional name of a compatible image. Snowball / Paginator / ListLongTermPricing ListLongTermPricing ******************* class Snowball.Paginator.ListLongTermPricing paginator = client.get_paginator('list_long_term_pricing') paginate(**kwargs) Creates an iterator that will paginate through responses from "Snowball.Client.list_long_term_pricing()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max- items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'LongTermPricingEntries': [ { 'LongTermPricingId': 'string', 'LongTermPricingEndDate': datetime(2015, 1, 1), 'LongTermPricingStartDate': datetime(2015, 1, 1), 'LongTermPricingType': 'OneYear'|'ThreeYear'|'OneMonth', 'CurrentActiveJob': 'string', 'ReplacementJob': 'string', 'IsLongTermPricingAutoRenew': True|False, 'LongTermPricingStatus': 'string', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'JobIds': [ 'string', ] }, ], } **Response Structure** * *(dict) --* * **LongTermPricingEntries** *(list) --* Each "LongTermPricingEntry" object contains a status, ID, and other information about the "LongTermPricing" type. * *(dict) --* Each "LongTermPricingListEntry" object contains information about a long-term pricing type. * **LongTermPricingId** *(string) --* The ID of the long-term pricing type for the device. * **LongTermPricingEndDate** *(datetime) --* The end date the long-term pricing contract. * **LongTermPricingStartDate** *(datetime) --* The start date of the long-term pricing contract. * **LongTermPricingType** *(string) --* The type of long-term pricing that was selected for the device. * **CurrentActiveJob** *(string) --* The current active jobs on the device the long-term pricing type. * **ReplacementJob** *(string) --* A new device that replaces a device that is ordered with long-term pricing. * **IsLongTermPricingAutoRenew** *(boolean) --* If set to "true", specifies that the current long- term pricing type for the device should be automatically renewed before the long-term pricing contract expires. * **LongTermPricingStatus** *(string) --* The status of the long-term pricing type. * **SnowballType** *(string) --* The type of Snow Family devices associated with this long-term pricing job. * **JobIds** *(list) --* The IDs of the jobs that are associated with a long- term pricing type. * *(string) --* Snowball / Client / cancel_job cancel_job ********** Snowball.Client.cancel_job(**kwargs) Cancels the specified job. You can only cancel a job before its "JobState" value changes to "PreparingAppliance". Requesting the "ListJobs" or "DescribeJob" action returns a job's "JobState" as part of the response element data returned. See also: AWS API Documentation **Request Syntax** response = client.cancel_job( JobId='string' ) Parameters: **JobId** (*string*) -- **[REQUIRED]** The 39-character job ID for the job that you want to cancel, for example "JID123e4567-e89b-12d3-a456-426655440000". Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" * "Snowball.Client.exceptions.KMSRequestFailedException" **Examples** This operation cancels a job. You can only cancel a job before its JobState value changes to PreparingAppliance. response = client.cancel_job( JobId='JID123e4567-e89b-12d3-a456-426655440000', ) print(response) Expected Output: { 'ResponseMetadata': { '...': '...', }, } Snowball / Client / get_paginator get_paginator ************* Snowball.Client.get_paginator(operation_name) Create a paginator for an operation. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Raises: **OperationNotPageableError** -- Raised if the operation is not pageable. You can use the "client.can_paginate" method to check if an operation is pageable. Return type: "botocore.paginate.Paginator" Returns: A paginator object. Snowball / Client / create_cluster create_cluster ************** Snowball.Client.create_cluster(**kwargs) Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created. See also: AWS API Documentation **Request Syntax** response = client.create_cluster( JobType='IMPORT'|'EXPORT'|'LOCAL_USE', Resources={ 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, OnDeviceServiceConfiguration={ 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, Description='string', AddressId='string', KmsKeyARN='string', RoleARN='string', SnowballType='STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', ShippingOption='SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', Notification={ 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, ForwardingAddressId='string', TaxDocuments={ 'IND': { 'GSTIN': 'string' } }, RemoteManagement='INSTALLED_ONLY'|'INSTALLED_AUTOSTART'|'NOT_INSTALLED', InitialClusterSize=123, ForceCreateJobs=True|False, LongTermPricingIds=[ 'string', ], SnowballCapacityPreference='T50'|'T80'|'T100'|'T42'|'T98'|'T8'|'T14'|'T32'|'NoPreference'|'T240'|'T13' ) Parameters: * **JobType** (*string*) -- **[REQUIRED]** The type of job for this cluster. Currently, the only job type supported for clusters is "LOCAL_USE". For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. * **Resources** (*dict*) -- The resources associated with the cluster job. These resources include Amazon S3 buckets and optional Lambda functions written in the Python language. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* **[REQUIRED]** The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **OnDeviceServiceConfiguration** (*dict*) -- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System). * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **Description** (*string*) -- An optional description of this specific cluster, for example "Environmental Data Cluster-01". * **AddressId** (*string*) -- **[REQUIRED]** The ID for the address that you want the cluster shipped to. * **KmsKeyARN** (*string*) -- The "KmsKeyARN" value that you want to associate with this cluster. "KmsKeyARN" values are created by using the CreateKey API action in Key Management Service (KMS). * **RoleARN** (*string*) -- The "RoleARN" that you want to associate with this cluster. "RoleArn" values are created by using the CreateRole API action in Identity and Access Management (IAM). * **SnowballType** (*string*) -- **[REQUIRED]** The type of Snow Family devices to use for this cluster. Note: For cluster jobs, Amazon Web Services Snow Family currently supports only the "EDGE" device type. For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. * **ShippingOption** (*string*) -- **[REQUIRED]** The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows: * In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days. * In the United States of America (US), you have access to one-day shipping and two-day shipping. * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days. * In the US, you have access to one-day shipping and two-day shipping. * **Notification** (*dict*) -- The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. * **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 Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon 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. * **DevicePickupSnsTopicARN** *(string) --* Used to send SNS notifications for the person picking up the device (identified during job creation). * **ForwardingAddressId** (*string*) -- The forwarding address ID for a cluster. This field is not supported in most regions. * **TaxDocuments** (*dict*) -- The tax documents required in your Amazon Web Services Region. * **IND** *(dict) --* The tax documents required in Amazon Web Services Region in India. * **GSTIN** *(string) --* The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India. * **RemoteManagement** (*string*) -- Allows you to securely operate and manage Snow devices in a cluster remotely from outside of your internal network. When set to "INSTALLED_AUTOSTART", remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device. * **InitialClusterSize** (*integer*) -- If provided, each job will be automatically created and associated with the new cluster. If not provided, will be treated as 0. * **ForceCreateJobs** (*boolean*) -- Force to create cluster when user attempts to overprovision or underprovision a cluster. A cluster is overprovisioned or underprovisioned if the initial size of the cluster is more (overprovisioned) or less (underprovisioned) than what needed to meet capacity requirement specified with "OnDeviceServiceConfiguration". * **LongTermPricingIds** (*list*) -- Lists long-term pricing id that will be used to associate with jobs automatically created for the new cluster. * *(string) --* * **SnowballCapacityPreference** (*string*) -- If your job is being created in one of the US regions, you have the option of specifying what size Snow device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity. For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. Return type: dict Returns: **Response Syntax** { 'ClusterId': 'string', 'JobListEntries': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'IsMaster': True|False, 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ] } **Response Structure** * *(dict) --* * **ClusterId** *(string) --* The automatically generated ID for a cluster. * **JobListEntries** *(list) --* List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide. * *(dict) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current state of this job. * **IsMaster** *(boolean) --* A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Description** *(string) --* The optional description of this specific job, for example "Important Photos 2016-08-11". **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.KMSRequestFailedException" * "Snowball.Client.exceptions.InvalidInputCombinationException" * "Snowball.Client.exceptions.Ec2RequestFailedException" **Examples** Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created. response = client.create_cluster( AddressId='ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', Description='MyCluster', JobType='LOCAL_USE', KmsKeyARN='arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456', Notification={ 'JobStatesToNotify': [ ], 'NotifyAll': False, }, Resources={ 'S3Resources': [ { 'BucketArn': 'arn:aws:s3:::MyBucket', 'KeyRange': { }, }, ], }, RoleARN='arn:aws:iam::123456789012:role/snowball-import-S3-role', ShippingOption='SECOND_DAY', SnowballType='EDGE', ) print(response) Expected Output: { 'ClusterId': 'CID123e4567-e89b-12d3-a456-426655440000', 'ResponseMetadata': { '...': '...', }, } Snowball / Client / get_software_updates get_software_updates ******************** Snowball.Client.get_software_updates(**kwargs) Returns an Amazon S3 presigned URL for an update file associated with a specified "JobId". See also: AWS API Documentation **Request Syntax** response = client.get_software_updates( JobId='string' ) Parameters: **JobId** (*string*) -- **[REQUIRED]** The ID for a job that you want to get the software update file for, for example "JID123e4567-e89b-12d3-a456-426655440000". Return type: dict Returns: **Response Syntax** { 'UpdatesURI': 'string' } **Response Structure** * *(dict) --* * **UpdatesURI** *(string) --* The Amazon S3 presigned URL for the update file associated with the specified "JobId" value. The software update will be available for 2 days after this request is made. To access an update after the 2 days have passed, you'll have to make another call to "GetSoftwareUpdates". **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" Snowball / Client / can_paginate can_paginate ************ Snowball.Client.can_paginate(operation_name) Check if an operation can be paginated. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Returns: "True" if the operation can be paginated, "False" otherwise. Snowball / Client / list_compatible_images list_compatible_images ********************** Snowball.Client.list_compatible_images(**kwargs) This action returns a list of the different Amazon EC2-compatible Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs. See also: AWS API Documentation **Request Syntax** response = client.list_compatible_images( MaxResults=123, NextToken='string' ) Parameters: * **MaxResults** (*integer*) -- The maximum number of results for the list of compatible images. Currently, a Snowball Edge device can store 10 AMIs. * **NextToken** (*string*) -- HTTP requests are stateless. To identify what object comes "next" in the list of compatible images, you can specify a value for "NextToken" as the starting point for your list of returned images. Return type: dict Returns: **Response Syntax** { 'CompatibleImages': [ { 'AmiId': 'string', 'Name': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **CompatibleImages** *(list) --* A JSON-formatted object that describes a compatible AMI, including the ID and name for a Snow device AMI. * *(dict) --* A JSON-formatted object that describes a compatible Amazon Machine Image (AMI), including the ID and name for a Snow device AMI. This AMI is compatible with the device's physical hardware requirements, and it should be able to be run in an SBE1 instance on the device. * **AmiId** *(string) --* The unique identifier for an individual Snow device AMI. * **Name** *(string) --* The optional name of a compatible image. * **NextToken** *(string) --* Because HTTP requests are stateless, this is the starting point for your next list of returned images. **Exceptions** * "Snowball.Client.exceptions.InvalidNextTokenException" * "Snowball.Client.exceptions.Ec2RequestFailedException" Snowball / Client / list_jobs list_jobs ********* Snowball.Client.list_jobs(**kwargs) Returns an array of "JobListEntry" objects of the specified length. Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions. See also: AWS API Documentation **Request Syntax** response = client.list_jobs( MaxResults=123, NextToken='string' ) Parameters: * **MaxResults** (*integer*) -- The number of "JobListEntry" objects to return. * **NextToken** (*string*) -- HTTP requests are stateless. To identify what object comes "next" in the list of "JobListEntry" objects, you have the option of specifying "NextToken" as the starting point for your returned list. Return type: dict Returns: **Response Syntax** { 'JobListEntries': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'IsMaster': True|False, 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **JobListEntries** *(list) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. * *(dict) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current state of this job. * **IsMaster** *(boolean) --* A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Description** *(string) --* The optional description of this specific job, for example "Important Photos 2016-08-11". * **NextToken** *(string) --* HTTP requests are stateless. If you use this automatically generated "NextToken" value in your next "ListJobs" call, your returned "JobListEntry" objects will start from this point in the array. **Exceptions** * "Snowball.Client.exceptions.InvalidNextTokenException" **Examples** Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions. response = client.list_jobs( ) print(response) Expected Output: { 'JobListEntries': [ { 'CreationDate': datetime(2016, 4, 14, 19, 56, 26, 3, 105, 1), 'Description': 'MyJob', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440000', 'JobState': 'New', 'JobType': 'IMPORT', 'SnowballType': 'STANDARD', }, ], 'ResponseMetadata': { '...': '...', }, } Snowball / Client / update_job update_job ********** Snowball.Client.update_job(**kwargs) While a job's "JobState" value is "New", you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available. See also: AWS API Documentation **Request Syntax** response = client.update_job( JobId='string', RoleARN='string', Notification={ 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, Resources={ 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, OnDeviceServiceConfiguration={ 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, AddressId='string', ShippingOption='SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', Description='string', SnowballCapacityPreference='T50'|'T80'|'T100'|'T42'|'T98'|'T8'|'T14'|'T32'|'NoPreference'|'T240'|'T13', ForwardingAddressId='string', PickupDetails={ 'Name': 'string', 'PhoneNumber': 'string', 'Email': 'string', 'IdentificationNumber': 'string', 'IdentificationExpirationDate': datetime(2015, 1, 1), 'IdentificationIssuingOrg': 'string', 'DevicePickupId': 'string' } ) Parameters: * **JobId** (*string*) -- **[REQUIRED]** The job ID of the job that you want to update, for example "JID123e4567-e89b-12d3-a456-426655440000". * **RoleARN** (*string*) -- The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the >>`<`__Identity and Access Management (IAM) API action. * **Notification** (*dict*) -- The new or updated Notification object. * **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 Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon 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. * **DevicePickupSnsTopicARN** *(string) --* Used to send SNS notifications for the person picking up the device (identified during job creation). * **Resources** (*dict*) -- The updated "JobResource" object, or the updated JobResource object. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* **[REQUIRED]** The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **OnDeviceServiceConfiguration** (*dict*) -- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type. * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **AddressId** (*string*) -- The ID of the updated Address object. * **ShippingOption** (*string*) -- The updated shipping option value of this job's ShippingDetails object. * **Description** (*string*) -- The updated description of this job's JobMetadata object. * **SnowballCapacityPreference** (*string*) -- The updated "SnowballCapacityPreference" of this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions. For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer-guide /snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. * **ForwardingAddressId** (*string*) -- The updated ID for the forwarding address for a job. This field is not supported in most regions. * **PickupDetails** (*dict*) -- Information identifying the person picking up the device. * **Name** *(string) --* The name of the person picking up the device. * **PhoneNumber** *(string) --* The phone number of the person picking up the device. * **Email** *(string) --* The email address of the person picking up the device. * **IdentificationNumber** *(string) --* The number on the credential identifying the person picking up the device. * **IdentificationExpirationDate** *(datetime) --* Expiration date of the credential identifying the person picking up the device. * **IdentificationIssuingOrg** *(string) --* Organization that issued the credential identifying the person picking up the device. * **DevicePickupId** *(string) --* The unique ID for a device that will be picked up. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" * "Snowball.Client.exceptions.KMSRequestFailedException" * "Snowball.Client.exceptions.InvalidInputCombinationException" * "Snowball.Client.exceptions.ClusterLimitExceededException" * "Snowball.Client.exceptions.Ec2RequestFailedException" **Examples** This action allows you to update certain parameters for a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available. response = client.update_job( AddressId='ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', Description='updated-job-name', JobId='JID123e4567-e89b-12d3-a456-426655440000', ShippingOption='NEXT_DAY', SnowballCapacityPreference='T100', ) print(response) Expected Output: { 'ResponseMetadata': { '...': '...', }, } Snowball / Client / create_return_shipping_label create_return_shipping_label **************************** Snowball.Client.create_return_shipping_label(**kwargs) Creates a shipping label that will be used to return the Snow device to Amazon Web Services. See also: AWS API Documentation **Request Syntax** response = client.create_return_shipping_label( JobId='string', ShippingOption='SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD' ) Parameters: * **JobId** (*string*) -- **[REQUIRED]** The ID for a job that you want to create the return shipping label for; for example, "JID123e4567-e89b- 12d3-a456-426655440000". * **ShippingOption** (*string*) -- The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows: Return type: dict Returns: **Response Syntax** { 'Status': 'InProgress'|'TimedOut'|'Succeeded'|'Failed' } **Response Structure** * *(dict) --* * **Status** *(string) --* The status information of the task on a Snow device that is being returned to Amazon Web Services. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" * "Snowball.Client.exceptions.InvalidInputCombinationException" * "Snowball.Client.exceptions.ConflictException" * "Snowball.Client.exceptions.ReturnShippingLabelAlreadyExistsExce ption" Snowball / Client / get_snowball_usage get_snowball_usage ****************** Snowball.Client.get_snowball_usage() Returns information about the Snow Family service limit for your account, and also the number of Snow devices your account has in use. The default service limit for the number of Snow devices that you can have at one time is 1. If you want to increase your service limit, contact Amazon Web Services Support. See also: AWS API Documentation **Request Syntax** response = client.get_snowball_usage() Return type: dict Returns: **Response Syntax** { 'SnowballLimit': 123, 'SnowballsInUse': 123 } **Response Structure** * *(dict) --* * **SnowballLimit** *(integer) --* The service limit for number of Snow devices this account can have at once. The default service limit is 1 (one). * **SnowballsInUse** *(integer) --* The number of Snow devices that this account is currently using. **Examples** Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use. The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support. response = client.get_snowball_usage( ) print(response) Expected Output: { 'SnowballLimit': 1, 'SnowballsInUse': 0, 'ResponseMetadata': { '...': '...', }, } Snowball / Client / create_address create_address ************** Snowball.Client.create_address(**kwargs) Creates an address for a Snow device to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. If providing an address as a JSON file through the "cli-input-json" option, include the full file path. For example, "--cli-input-json file://create-address.json". See also: AWS API Documentation **Request Syntax** response = client.create_address( Address={ 'AddressId': 'string', 'Name': 'string', 'Company': 'string', 'Street1': 'string', 'Street2': 'string', 'Street3': 'string', 'City': 'string', 'StateOrProvince': 'string', 'PrefectureOrDistrict': 'string', 'Landmark': 'string', 'Country': 'string', 'PostalCode': 'string', 'PhoneNumber': 'string', 'IsRestricted': True|False, 'Type': 'CUST_PICKUP'|'AWS_SHIP' } ) Parameters: **Address** (*dict*) -- **[REQUIRED]** The address that you want the Snow device shipped to. * **AddressId** *(string) --* The unique ID for an address. * **Name** *(string) --* The name of a person to receive a Snow device at an address. * **Company** *(string) --* The name of the company to receive a Snow device at an address. * **Street1** *(string) --* The first line in a street address that a Snow device is to be delivered to. * **Street2** *(string) --* The second line in a street address that a Snow device is to be delivered to. * **Street3** *(string) --* The third line in a street address that a Snow device is to be delivered to. * **City** *(string) --* The city in an address that a Snow device is to be delivered to. * **StateOrProvince** *(string) --* The state or province in an address that a Snow device is to be delivered to. * **PrefectureOrDistrict** *(string) --* This field is no longer used and the value is ignored. * **Landmark** *(string) --* This field is no longer used and the value is ignored. * **Country** *(string) --* The country in an address that a Snow device is to be delivered to. * **PostalCode** *(string) --* The postal code in an address that a Snow device is to be delivered to. * **PhoneNumber** *(string) --* The phone number associated with an address that a Snow device is to be delivered to. * **IsRestricted** *(boolean) --* If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions. * **Type** *(string) --* Differentiates between delivery address and pickup address in the customer account. Provided at job creation. Return type: dict Returns: **Response Syntax** { 'AddressId': 'string' } **Response Structure** * *(dict) --* * **AddressId** *(string) --* The automatically generated ID for a specific address. You'll use this ID when you create a job to specify which address you want the Snow device for that job shipped to. **Exceptions** * "Snowball.Client.exceptions.InvalidAddressException" * "Snowball.Client.exceptions.UnsupportedAddressException" **Examples** This operation creates an address for a job. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. response = client.create_address( Address={ 'City': 'Seattle', 'Company': 'My Company's Name', 'Country': 'USA', 'Name': 'My Name', 'PhoneNumber': '425-555-5555', 'PostalCode': '98101', 'StateOrProvince': 'WA', 'Street1': '123 Main Street', }, ) print(response) Expected Output: { 'AddressId': 'ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', 'ResponseMetadata': { '...': '...', }, } Snowball / Client / update_cluster update_cluster ************** Snowball.Client.update_cluster(**kwargs) While a cluster's "ClusterState" value is in the "AwaitingQuorum" state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available. See also: AWS API Documentation **Request Syntax** response = client.update_cluster( ClusterId='string', RoleARN='string', Description='string', Resources={ 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, OnDeviceServiceConfiguration={ 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, AddressId='string', ShippingOption='SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', Notification={ 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, ForwardingAddressId='string' ) Parameters: * **ClusterId** (*string*) -- **[REQUIRED]** The cluster ID of the cluster that you want to update, for example "CID123e4567-e89b-12d3-a456-426655440000". * **RoleARN** (*string*) -- The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in Identity and Access Management (IAM). * **Description** (*string*) -- The updated description of this cluster. * **Resources** (*dict*) -- The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* **[REQUIRED]** The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **OnDeviceServiceConfiguration** (*dict*) -- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System). * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **AddressId** (*string*) -- The ID of the updated Address object. * **ShippingOption** (*string*) -- The updated shipping option value of this cluster's ShippingDetails object. * **Notification** (*dict*) -- The new or updated Notification object. * **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 Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon 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. * **DevicePickupSnsTopicARN** *(string) --* Used to send SNS notifications for the person picking up the device (identified during job creation). * **ForwardingAddressId** (*string*) -- The updated ID for the forwarding address for a cluster. This field is not supported in most regions. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" * "Snowball.Client.exceptions.KMSRequestFailedException" * "Snowball.Client.exceptions.InvalidInputCombinationException" * "Snowball.Client.exceptions.Ec2RequestFailedException" **Examples** This action allows you to update certain parameters for a cluster. Once the cluster changes to a different state, usually within 60 minutes of it being created, this action is no longer available. response = client.update_cluster( AddressId='ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', ClusterId='CID123e4567-e89b-12d3-a456-426655440000', Description='updated-cluster-name', ) print(response) Expected Output: { 'ResponseMetadata': { '...': '...', }, } Snowball / Client / get_waiter get_waiter ********** Snowball.Client.get_waiter(waiter_name) Returns an object that can wait for some condition. Parameters: **waiter_name** (*str*) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters. Returns: The specified waiter object. Return type: "botocore.waiter.Waiter" Snowball / Client / describe_job describe_job ************ Snowball.Client.describe_job(**kwargs) Returns information about a specific job including shipping information, job status, and other important metadata. See also: AWS API Documentation **Request Syntax** response = client.describe_job( JobId='string' ) Parameters: **JobId** (*string*) -- **[REQUIRED]** The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". Return type: dict Returns: **Response Syntax** { 'JobMetadata': { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Resources': { 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, 'Description': 'string', 'KmsKeyARN': 'string', 'RoleARN': 'string', 'AddressId': 'string', 'ShippingDetails': { 'ShippingOption': 'SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', 'InboundShipment': { 'Status': 'string', 'TrackingNumber': 'string' }, 'OutboundShipment': { 'Status': 'string', 'TrackingNumber': 'string' } }, 'SnowballCapacityPreference': 'T50'|'T80'|'T100'|'T42'|'T98'|'T8'|'T14'|'T32'|'NoPreference'|'T240'|'T13', 'Notification': { 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, 'DataTransferProgress': { 'BytesTransferred': 123, 'ObjectsTransferred': 123, 'TotalBytes': 123, 'TotalObjects': 123 }, 'JobLogInfo': { 'JobCompletionReportURI': 'string', 'JobSuccessLogURI': 'string', 'JobFailureLogURI': 'string' }, 'ClusterId': 'string', 'ForwardingAddressId': 'string', 'TaxDocuments': { 'IND': { 'GSTIN': 'string' } }, 'DeviceConfiguration': { 'SnowconeDeviceConfiguration': { 'WirelessConnection': { 'IsWifiEnabled': True|False } } }, 'RemoteManagement': 'INSTALLED_ONLY'|'INSTALLED_AUTOSTART'|'NOT_INSTALLED', 'LongTermPricingId': 'string', 'OnDeviceServiceConfiguration': { 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, 'ImpactLevel': 'IL2'|'IL4'|'IL5'|'IL6'|'IL99', 'PickupDetails': { 'Name': 'string', 'PhoneNumber': 'string', 'Email': 'string', 'IdentificationNumber': 'string', 'IdentificationExpirationDate': datetime(2015, 1, 1), 'IdentificationIssuingOrg': 'string', 'DevicePickupId': 'string' }, 'SnowballId': 'string' }, 'SubJobMetadata': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Resources': { 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, 'Description': 'string', 'KmsKeyARN': 'string', 'RoleARN': 'string', 'AddressId': 'string', 'ShippingDetails': { 'ShippingOption': 'SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', 'InboundShipment': { 'Status': 'string', 'TrackingNumber': 'string' }, 'OutboundShipment': { 'Status': 'string', 'TrackingNumber': 'string' } }, 'SnowballCapacityPreference': 'T50'|'T80'|'T100'|'T42'|'T98'|'T8'|'T14'|'T32'|'NoPreference'|'T240'|'T13', 'Notification': { 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, 'DataTransferProgress': { 'BytesTransferred': 123, 'ObjectsTransferred': 123, 'TotalBytes': 123, 'TotalObjects': 123 }, 'JobLogInfo': { 'JobCompletionReportURI': 'string', 'JobSuccessLogURI': 'string', 'JobFailureLogURI': 'string' }, 'ClusterId': 'string', 'ForwardingAddressId': 'string', 'TaxDocuments': { 'IND': { 'GSTIN': 'string' } }, 'DeviceConfiguration': { 'SnowconeDeviceConfiguration': { 'WirelessConnection': { 'IsWifiEnabled': True|False } } }, 'RemoteManagement': 'INSTALLED_ONLY'|'INSTALLED_AUTOSTART'|'NOT_INSTALLED', 'LongTermPricingId': 'string', 'OnDeviceServiceConfiguration': { 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, 'ImpactLevel': 'IL2'|'IL4'|'IL5'|'IL6'|'IL99', 'PickupDetails': { 'Name': 'string', 'PhoneNumber': 'string', 'Email': 'string', 'IdentificationNumber': 'string', 'IdentificationExpirationDate': datetime(2015, 1, 1), 'IdentificationIssuingOrg': 'string', 'DevicePickupId': 'string' }, 'SnowballId': 'string' }, ] } **Response Structure** * *(dict) --* * **JobMetadata** *(dict) --* Information about a specific job, including shipping information, job status, and other important metadata. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current status of the jobs. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Resources** *(dict) --* An array of "S3Resource" objects. Each "S3Resource" object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **Description** *(string) --* The description of the job, provided at job creation. * **KmsKeyARN** *(string) --* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS. * **RoleARN** *(string) --* The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management. * **AddressId** *(string) --* The ID for the address that you want the Snow device shipped to. * **ShippingDetails** *(dict) --* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options. * **ShippingOption** *(string) --* The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows: * In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days. * In the United States of America (US), you have access to one-day shipping and two-day shipping. * **InboundShipment** *(dict) --* The "Status" and "TrackingNumber" values for a Snow device being returned to Amazon Web Services for a particular job. * **Status** *(string) --* Status information for a shipment. * **TrackingNumber** *(string) --* The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it. For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier. * **OutboundShipment** *(dict) --* The "Status" and "TrackingNumber" values for a Snow device being delivered to the address that you specified for a particular job. * **Status** *(string) --* Status information for a shipment. * **TrackingNumber** *(string) --* The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it. For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier. * **SnowballCapacityPreference** *(string) --* The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs. For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone- guide/snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer- guide/snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. * **Notification** *(dict) --* The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The "Notification" object is returned as a part of the response syntax of the "DescribeJob" action in the "JobMetadata" data type. * **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 Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon 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. * **DevicePickupSnsTopicARN** *(string) --* Used to send SNS notifications for the person picking up the device (identified during job creation). * **DataTransferProgress** *(dict) --* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a "JobState" value of "InProgress", for both import and export jobs. * **BytesTransferred** *(integer) --* The number of bytes transferred between a Snow device and Amazon S3. * **ObjectsTransferred** *(integer) --* The number of objects transferred between a Snow device and Amazon S3. * **TotalBytes** *(integer) --* The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. * **TotalObjects** *(integer) --* The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. * **JobLogInfo** *(dict) --* Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you. * **JobCompletionReportURI** *(string) --* A link to an Amazon S3 presigned URL where the job completion report is located. * **JobSuccessLogURI** *(string) --* A link to an Amazon S3 presigned URL where the job success log is located. * **JobFailureLogURI** *(string) --* A link to an Amazon S3 presigned URL where the job failure log is located. * **ClusterId** *(string) --* The 39-character ID for the cluster, for example "CID123e4567-e89b-12d3-a456-426655440000". * **ForwardingAddressId** *(string) --* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions. * **TaxDocuments** *(dict) --* The metadata associated with the tax documents required in your Amazon Web Services Region. * **IND** *(dict) --* The tax documents required in Amazon Web Services Region in India. * **GSTIN** *(string) --* The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India. * **DeviceConfiguration** *(dict) --* The container for "SnowconeDeviceConfiguration". * **SnowconeDeviceConfiguration** *(dict) --* Returns information about the device configuration for an Snowcone job. * **WirelessConnection** *(dict) --* Configures the wireless connection for the Snowcone device. * **IsWifiEnabled** *(boolean) --* Enables the Wi-Fi adapter on an Snowcone device. * **RemoteManagement** *(string) --* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to "INSTALLED_AUTOSTART", remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device. * **LongTermPricingId** *(string) --* The ID of the long-term pricing type for the device. * **OnDeviceServiceConfiguration** *(dict) --* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **ImpactLevel** *(string) --* The highest impact level of data that will be stored or processed on the device, provided at job creation. * **PickupDetails** *(dict) --* Information identifying the person picking up the device. * **Name** *(string) --* The name of the person picking up the device. * **PhoneNumber** *(string) --* The phone number of the person picking up the device. * **Email** *(string) --* The email address of the person picking up the device. * **IdentificationNumber** *(string) --* The number on the credential identifying the person picking up the device. * **IdentificationExpirationDate** *(datetime) --* Expiration date of the credential identifying the person picking up the device. * **IdentificationIssuingOrg** *(string) --* Organization that issued the credential identifying the person picking up the device. * **DevicePickupId** *(string) --* The unique ID for a device that will be picked up. * **SnowballId** *(string) --* Unique ID associated with a device. * **SubJobMetadata** *(list) --* Information about a specific job part (in the case of an export job), including shipping information, job status, and other important metadata. * *(dict) --* Contains information about a specific job including shipping information, job status, and other important metadata. This information is returned as a part of the response syntax of the "DescribeJob" action. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current status of the jobs. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Resources** *(dict) --* An array of "S3Resource" objects. Each "S3Resource" object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **Description** *(string) --* The description of the job, provided at job creation. * **KmsKeyARN** *(string) --* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS. * **RoleARN** *(string) --* The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management. * **AddressId** *(string) --* The ID for the address that you want the Snow device shipped to. * **ShippingDetails** *(dict) --* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options. * **ShippingOption** *(string) --* The shipping speed for a particular job. This speed doesn't dictate how soon you'll get the Snow device from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows: * In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. * In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days. * In the United States of America (US), you have access to one-day shipping and two-day shipping. * **InboundShipment** *(dict) --* The "Status" and "TrackingNumber" values for a Snow device being returned to Amazon Web Services for a particular job. * **Status** *(string) --* Status information for a shipment. * **TrackingNumber** *(string) --* The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it. For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier. * **OutboundShipment** *(dict) --* The "Status" and "TrackingNumber" values for a Snow device being delivered to the address that you specified for a particular job. * **Status** *(string) --* Status information for a shipment. * **TrackingNumber** *(string) --* The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it. For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier. * **SnowballCapacityPreference** *(string) --* The Snow device capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs. For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone- guide/snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide* or "https://docs.aws.amazon.com/snowball/latest/developer- guide/snow-device-types.html" (Snow Family Devices and Capacity) in the *Snowcone User Guide*. * **Notification** *(dict) --* The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The "Notification" object is returned as a part of the response syntax of the "DescribeJob" action in the "JobMetadata" data type. * **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 Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon 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. * **DevicePickupSnsTopicARN** *(string) --* Used to send SNS notifications for the person picking up the device (identified during job creation). * **DataTransferProgress** *(dict) --* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a "JobState" value of "InProgress", for both import and export jobs. * **BytesTransferred** *(integer) --* The number of bytes transferred between a Snow device and Amazon S3. * **ObjectsTransferred** *(integer) --* The number of objects transferred between a Snow device and Amazon S3. * **TotalBytes** *(integer) --* The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. * **TotalObjects** *(integer) --* The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed. * **JobLogInfo** *(dict) --* Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you. * **JobCompletionReportURI** *(string) --* A link to an Amazon S3 presigned URL where the job completion report is located. * **JobSuccessLogURI** *(string) --* A link to an Amazon S3 presigned URL where the job success log is located. * **JobFailureLogURI** *(string) --* A link to an Amazon S3 presigned URL where the job failure log is located. * **ClusterId** *(string) --* The 39-character ID for the cluster, for example "CID123e4567-e89b-12d3-a456-426655440000". * **ForwardingAddressId** *(string) --* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions. * **TaxDocuments** *(dict) --* The metadata associated with the tax documents required in your Amazon Web Services Region. * **IND** *(dict) --* The tax documents required in Amazon Web Services Region in India. * **GSTIN** *(string) --* The Goods and Services Tax (GST) documents required in Amazon Web Services Region in India. * **DeviceConfiguration** *(dict) --* The container for "SnowconeDeviceConfiguration". * **SnowconeDeviceConfiguration** *(dict) --* Returns information about the device configuration for an Snowcone job. * **WirelessConnection** *(dict) --* Configures the wireless connection for the Snowcone device. * **IsWifiEnabled** *(boolean) --* Enables the Wi-Fi adapter on an Snowcone device. * **RemoteManagement** *(string) --* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to "INSTALLED_AUTOSTART", remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device. * **LongTermPricingId** *(string) --* The ID of the long-term pricing type for the device. * **OnDeviceServiceConfiguration** *(dict) --* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **ImpactLevel** *(string) --* The highest impact level of data that will be stored or processed on the device, provided at job creation. * **PickupDetails** *(dict) --* Information identifying the person picking up the device. * **Name** *(string) --* The name of the person picking up the device. * **PhoneNumber** *(string) --* The phone number of the person picking up the device. * **Email** *(string) --* The email address of the person picking up the device. * **IdentificationNumber** *(string) --* The number on the credential identifying the person picking up the device. * **IdentificationExpirationDate** *(datetime) --* Expiration date of the credential identifying the person picking up the device. * **IdentificationIssuingOrg** *(string) --* Organization that issued the credential identifying the person picking up the device. * **DevicePickupId** *(string) --* The unique ID for a device that will be picked up. * **SnowballId** *(string) --* Unique ID associated with a device. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" **Examples** This operation describes a job you've created for AWS Snowball. response = client.describe_job( JobId='JID123e4567-e89b-12d3-a456-426655440000', ) print(response) Expected Output: { 'JobMetadata': { 'AddressId': 'ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', 'CreationDate': datetime(2016, 10, 4, 20, 9, 24, 1, 278, 1), 'Description': 'My Job', 'JobId': 'JID123e4567-e89b-12d3-a456-426655440000', 'JobState': 'New', 'JobType': 'IMPORT', 'KmsKeyARN': 'arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456', 'Notification': { 'JobStatesToNotify': [ ], 'NotifyAll': False, }, 'Resources': { 'S3Resources': [ { 'BucketArn': 'arn:aws:s3:::MyBucket', 'KeyRange': { }, }, ], }, 'RoleARN': 'arn:aws:iam::123456789012:role/snowball-import-S3-role', 'ShippingDetails': { 'ShippingOption': 'SECOND_DAY', }, 'SnowballCapacityPreference': 'T80', 'SnowballType': 'STANDARD', }, 'ResponseMetadata': { '...': '...', }, } Snowball / Client / list_cluster_jobs list_cluster_jobs ***************** Snowball.Client.list_cluster_jobs(**kwargs) Returns an array of "JobListEntry" objects of the specified length. Each "JobListEntry" object is for a job in the specified cluster and contains a job's state, a job's ID, and other information. See also: AWS API Documentation **Request Syntax** response = client.list_cluster_jobs( ClusterId='string', MaxResults=123, NextToken='string' ) Parameters: * **ClusterId** (*string*) -- **[REQUIRED]** The 39-character ID for the cluster that you want to list, for example "CID123e4567-e89b-12d3-a456-426655440000". * **MaxResults** (*integer*) -- The number of "JobListEntry" objects to return. * **NextToken** (*string*) -- HTTP requests are stateless. To identify what object comes "next" in the list of "JobListEntry" objects, you have the option of specifying "NextToken" as the starting point for your returned list. Return type: dict Returns: **Response Syntax** { 'JobListEntries': [ { 'JobId': 'string', 'JobState': 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', 'IsMaster': True|False, 'JobType': 'IMPORT'|'EXPORT'|'LOCAL_USE', 'SnowballType': 'STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **JobListEntries** *(list) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. * *(dict) --* Each "JobListEntry" object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job. * **JobId** *(string) --* The automatically generated ID for a job, for example "JID123e4567-e89b-12d3-a456-426655440000". * **JobState** *(string) --* The current state of this job. * **IsMaster** *(boolean) --* A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created. * **JobType** *(string) --* The type of job. * **SnowballType** *(string) --* The type of device used with this job. * **CreationDate** *(datetime) --* The creation date for this job. * **Description** *(string) --* The optional description of this specific job, for example "Important Photos 2016-08-11". * **NextToken** *(string) --* HTTP requests are stateless. If you use the automatically generated "NextToken" value in your next "ListClusterJobsResult" call, your list of returned jobs will start from this point in the array. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidNextTokenException" **Examples** Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information. response = client.list_cluster_jobs( ClusterId='CID123e4567-e89b-12d3-a456-426655440000', ) print(response) Expected Output: { 'JobListEntries': [ { 'CreationDate': datetime(2016, 11, 29, 22, 12, 4, 1, 334, 0), 'Description': 'MyClustrer-node-001', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440000', 'JobState': 'New', 'JobType': 'LOCAL_USE', 'SnowballType': 'EDGE', }, { 'CreationDate': datetime(2016, 11, 29, 22, 12, 5, 1, 334, 0), 'Description': 'MyClustrer-node-002', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440001', 'JobState': 'New', 'JobType': 'LOCAL_USE', 'SnowballType': 'EDGE', }, { 'CreationDate': datetime(2016, 11, 29, 22, 12, 5, 1, 334, 0), 'Description': 'MyClustrer-node-003', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440002', 'JobState': 'New', 'JobType': 'LOCAL_USE', 'SnowballType': 'EDGE', }, { 'CreationDate': datetime(2016, 11, 29, 22, 12, 5, 1, 334, 0), 'Description': 'MyClustrer-node-004', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440003', 'JobState': 'New', 'JobType': 'LOCAL_USE', 'SnowballType': 'EDGE', }, { 'CreationDate': datetime(2016, 11, 29, 22, 12, 5, 1, 334, 0), 'Description': 'MyClustrer-node-005', 'IsMaster': False, 'JobId': 'JID123e4567-e89b-12d3-a456-426655440004', 'JobState': 'New', 'JobType': 'LOCAL_USE', 'SnowballType': 'EDGE', }, ], 'ResponseMetadata': { '...': '...', }, } Snowball / Client / list_pickup_locations list_pickup_locations ********************* Snowball.Client.list_pickup_locations(**kwargs) A list of locations from which the customer can choose to pickup a device. See also: AWS API Documentation **Request Syntax** response = client.list_pickup_locations( MaxResults=123, NextToken='string' ) Parameters: * **MaxResults** (*integer*) -- The maximum number of locations to list per page. * **NextToken** (*string*) -- HTTP requests are stateless. To identify what object comes "next" in the list of "ListPickupLocationsRequest" objects, you have the option of specifying "NextToken" as the starting point for your returned list. Return type: dict Returns: **Response Syntax** { 'Addresses': [ { 'AddressId': 'string', 'Name': 'string', 'Company': 'string', 'Street1': 'string', 'Street2': 'string', 'Street3': 'string', 'City': 'string', 'StateOrProvince': 'string', 'PrefectureOrDistrict': 'string', 'Landmark': 'string', 'Country': 'string', 'PostalCode': 'string', 'PhoneNumber': 'string', 'IsRestricted': True|False, 'Type': 'CUST_PICKUP'|'AWS_SHIP' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **Addresses** *(list) --* Information about the address of pickup locations. * *(dict) --* The address that you want the Snow device(s) associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the "Address" are required, if the address is invalid or unsupported, then an exception is thrown. * **AddressId** *(string) --* The unique ID for an address. * **Name** *(string) --* The name of a person to receive a Snow device at an address. * **Company** *(string) --* The name of the company to receive a Snow device at an address. * **Street1** *(string) --* The first line in a street address that a Snow device is to be delivered to. * **Street2** *(string) --* The second line in a street address that a Snow device is to be delivered to. * **Street3** *(string) --* The third line in a street address that a Snow device is to be delivered to. * **City** *(string) --* The city in an address that a Snow device is to be delivered to. * **StateOrProvince** *(string) --* The state or province in an address that a Snow device is to be delivered to. * **PrefectureOrDistrict** *(string) --* This field is no longer used and the value is ignored. * **Landmark** *(string) --* This field is no longer used and the value is ignored. * **Country** *(string) --* The country in an address that a Snow device is to be delivered to. * **PostalCode** *(string) --* The postal code in an address that a Snow device is to be delivered to. * **PhoneNumber** *(string) --* The phone number associated with an address that a Snow device is to be delivered to. * **IsRestricted** *(boolean) --* If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions. * **Type** *(string) --* Differentiates between delivery address and pickup address in the customer account. Provided at job creation. * **NextToken** *(string) --* HTTP requests are stateless. To identify what object comes "next" in the list of "ListPickupLocationsResult" objects, you have the option of specifying "NextToken" as the starting point for your returned list. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" Snowball / Client / cancel_cluster cancel_cluster ************** Snowball.Client.cancel_cluster(**kwargs) Cancels a cluster job. You can only cancel a cluster job while it's in the "AwaitingQuorum" status. You'll have at least an hour after creating a cluster job to cancel it. See also: AWS API Documentation **Request Syntax** response = client.cancel_cluster( ClusterId='string' ) Parameters: **ClusterId** (*string*) -- **[REQUIRED]** The 39-character ID for the cluster that you want to cancel, for example "CID123e4567-e89b-12d3-a456-426655440000". Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "Snowball.Client.exceptions.KMSRequestFailedException" * "Snowball.Client.exceptions.InvalidJobStateException" * "Snowball.Client.exceptions.InvalidResourceException" **Examples** This operation cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. response = client.cancel_cluster( ClusterId='CID123e4567-e89b-12d3-a456-426655440000', ) print(response) Expected Output: { 'ResponseMetadata': { '...': '...', }, } Snowball / Client / create_job create_job ********** Snowball.Client.create_job(**kwargs) Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. 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. Note: Only the Snowball; Edge device type is supported when ordering clustered jobs.The device capacity is optional.Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services. **Snow Family devices and their capacities.** * Device type: **SNC1_SSD** * Capacity: T14 * Description: Snowcone * Device type: **SNC1_HDD** * Capacity: T8 * Description: Snowcone * Device type: **EDGE_S** * Capacity: T98 * Description: Snowball Edge Storage Optimized for data transfer only * Device type: **EDGE_CG** * Capacity: T42 * Description: Snowball Edge Compute Optimized with GPU * Device type: **EDGE_C** * Capacity: T42 * Description: Snowball Edge Compute Optimized without GPU * Device type: **EDGE** * Capacity: T100 * Description: Snowball Edge Storage Optimized with EC2 Compute Note: This device is replaced with T98. * Device type: **STANDARD** * Capacity: T50 * Description: Original Snowball device Note: This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region * Device type: **STANDARD** * Capacity: T80 * Description: Original Snowball device Note: This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. * Snow Family device type: **RACK_5U_C** * Capacity: T13 * Description: Snowblade. * Device type: **V3_5S** * Capacity: T240 * Description: Snowball Edge Storage Optimized 210TB See also: AWS API Documentation **Request Syntax** response = client.create_job( JobType='IMPORT'|'EXPORT'|'LOCAL_USE', Resources={ 'S3Resources': [ { 'BucketArn': 'string', 'KeyRange': { 'BeginMarker': 'string', 'EndMarker': 'string' }, 'TargetOnDeviceServices': [ { 'ServiceName': 'NFS_ON_DEVICE_SERVICE'|'S3_ON_DEVICE_SERVICE', 'TransferOption': 'IMPORT'|'EXPORT'|'LOCAL_USE' }, ] }, ], 'LambdaResources': [ { 'LambdaArn': 'string', 'EventTriggers': [ { 'EventResourceARN': 'string' }, ] }, ], 'Ec2AmiResources': [ { 'AmiId': 'string', 'SnowballAmiId': 'string' }, ] }, OnDeviceServiceConfiguration={ 'NFSOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'TGWOnDeviceService': { 'StorageLimit': 123, 'StorageUnit': 'TB' }, 'EKSOnDeviceService': { 'KubernetesVersion': 'string', 'EKSAnywhereVersion': 'string' }, 'S3OnDeviceService': { 'StorageLimit': 123.0, 'StorageUnit': 'TB', 'ServiceSize': 123, 'FaultTolerance': 123 } }, Description='string', AddressId='string', KmsKeyARN='string', RoleARN='string', SnowballCapacityPreference='T50'|'T80'|'T100'|'T42'|'T98'|'T8'|'T14'|'T32'|'NoPreference'|'T240'|'T13', ShippingOption='SECOND_DAY'|'NEXT_DAY'|'EXPRESS'|'STANDARD', Notification={ 'SnsTopicARN': 'string', 'JobStatesToNotify': [ 'New'|'PreparingAppliance'|'PreparingShipment'|'InTransitToCustomer'|'WithCustomer'|'InTransitToAWS'|'WithAWSSortingFacility'|'WithAWS'|'InProgress'|'Complete'|'Cancelled'|'Listing'|'Pending', ], 'NotifyAll': True|False, 'DevicePickupSnsTopicARN': 'string' }, ClusterId='string', SnowballType='STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C', ForwardingAddressId='string', TaxDocuments={ 'IND': { 'GSTIN': 'string' } }, DeviceConfiguration={ 'SnowconeDeviceConfiguration': { 'WirelessConnection': { 'IsWifiEnabled': True|False } } }, RemoteManagement='INSTALLED_ONLY'|'INSTALLED_AUTOSTART'|'NOT_INSTALLED', LongTermPricingId='string', ImpactLevel='IL2'|'IL4'|'IL5'|'IL6'|'IL99', PickupDetails={ 'Name': 'string', 'PhoneNumber': 'string', 'Email': 'string', 'IdentificationNumber': 'string', 'IdentificationExpirationDate': datetime(2015, 1, 1), 'IdentificationIssuingOrg': 'string', 'DevicePickupId': 'string' } ) Parameters: * **JobType** (*string*) -- Defines the type of job that you're creating. * **Resources** (*dict*) -- 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 a "KeyRange" value. If you choose to export a range, you define the length of the range by providing either an inclusive "BeginMarker" value, an inclusive "EndMarker" value, or both. Ranges are UTF-8 binary sorted. * **S3Resources** *(list) --* An array of "S3Resource" objects. * *(dict) --* 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 optional "KeyRange" value. The length of the range is defined at job creation, and has either an inclusive "BeginMarker", an inclusive "EndMarker", or both. Ranges are UTF-8 binary sorted. * **BucketArn** *(string) --* The Amazon Resource Name (ARN) of an Amazon S3 bucket. * **KeyRange** *(dict) --* 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 inclusive "BeginMarker", an inclusive "EndMarker", 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. * **TargetOnDeviceServices** *(list) --* Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * *(dict) --* An object that represents the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System). * **ServiceName** *(string) --* Specifies the name of the service on the Snow Family device that your transferred data will be exported from or imported into. * **TransferOption** *(string) --* Specifies whether the data is being imported or exported. You can import or export the data, or use it locally on the device. * **LambdaResources** *(list) --* The Python-language Lambda functions for this job. * *(dict) --* Identifies * **LambdaArn** *(string) --* An Amazon Resource Name (ARN) that represents an 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. * *(dict) --* The container for the EventTriggerDefinition$EventResourceARN. * **EventResourceARN** *(string) --* The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job. * **Ec2AmiResources** *(list) --* The Amazon Machine Images (AMIs) associated with this job. * *(dict) --* A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device. * **AmiId** *(string) --* **[REQUIRED]** The ID of the AMI in Amazon EC2. * **SnowballAmiId** *(string) --* The ID of the AMI on the Snow device. * **OnDeviceServiceConfiguration** (*dict*) -- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type. * **NFSOnDeviceService** *(dict) --* Represents the NFS (Network File System) service on a Snow Family device. * **StorageLimit** *(integer) --* The maximum NFS storage for one Snow Family device. * **StorageUnit** *(string) --* The scale unit of the NFS storage on the device. Valid values: TB. * **TGWOnDeviceService** *(dict) --* Represents the Storage Gateway service Tape Gateway type on a Snow Family device. * **StorageLimit** *(integer) --* The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge. * **StorageUnit** *(string) --* The scale unit of the virtual tapes on the device. * **EKSOnDeviceService** *(dict) --* The configuration of EKS Anywhere on the Snow Family device. * **KubernetesVersion** *(string) --* The Kubernetes version for EKS Anywhere on the Snow Family device. * **EKSAnywhereVersion** *(string) --* The optional version of EKS Anywhere on the Snow Family device. * **S3OnDeviceService** *(dict) --* Configuration for Amazon S3 compatible storage on Snow family devices. * **StorageLimit** *(float) --* If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used. If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has the same storage limit as specified, the other input need to be provided. * **StorageUnit** *(string) --* Storage unit. Currently the only supported unit is TB. * **ServiceSize** *(integer) --* Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted. * **FaultTolerance** *(integer) --* >Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. * **Description** (*string*) -- Defines an optional description of this specific job, for example "Important Photos 2016-08-11". * **AddressId** (*string*) -- The ID for the address that you want the Snow device shipped to. * **KmsKeyARN** (*string*) -- The "KmsKeyARN" that you want to associate with this job. >>``<>``<Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified "StorageLimit" matches more than one Amazon S3 compatible storage on Snow family devices service configuration. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" **Examples** Returns information about a specific cluster including shipping information, cluster status, and other important metadata. response = client.describe_cluster( ClusterId='CID123e4567-e89b-12d3-a456-426655440000', ) print(response) Expected Output: { 'ClusterMetadata': { 'AddressId': 'ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b', 'ClusterId': 'CID123e4567-e89b-12d3-a456-426655440000', 'ClusterState': 'Pending', 'CreationDate': datetime(2016, 11, 29, 22, 11, 57, 1, 334, 0), 'Description': 'MyCluster', 'JobType': 'LOCAL_USE', 'KmsKeyARN': 'arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456', 'Notification': { 'JobStatesToNotify': [ ], 'NotifyAll': False, }, 'Resources': { 'S3Resources': [ { 'BucketArn': 'arn:aws:s3:::MyBucket', 'KeyRange': { }, }, ], }, 'RoleARN': 'arn:aws:iam::123456789012:role/snowball-import-S3-role', 'ShippingOption': 'SECOND_DAY', }, 'ResponseMetadata': { '...': '...', }, } Snowball / Client / update_job_shipment_state update_job_shipment_state ************************* Snowball.Client.update_job_shipment_state(**kwargs) Updates the state when a shipment state changes to a different state. See also: AWS API Documentation **Request Syntax** response = client.update_job_shipment_state( JobId='string', ShipmentState='RECEIVED'|'RETURNED' ) Parameters: * **JobId** (*string*) -- **[REQUIRED]** The job ID of the job whose shipment date you want to update, for example "JID123e4567-e89b-12d3-a456-426655440000". * **ShipmentState** (*string*) -- **[REQUIRED]** The state of a device when it is being shipped. Set to "RECEIVED" when the device arrives at your location. Set to "RETURNED" when you have returned the device to Amazon Web Services. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" * "Snowball.Client.exceptions.InvalidJobStateException" Snowball / Client / create_long_term_pricing create_long_term_pricing ************************ Snowball.Client.create_long_term_pricing(**kwargs) Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing. See also: AWS API Documentation **Request Syntax** response = client.create_long_term_pricing( LongTermPricingType='OneYear'|'ThreeYear'|'OneMonth', IsLongTermPricingAutoRenew=True|False, SnowballType='STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C' ) Parameters: * **LongTermPricingType** (*string*) -- **[REQUIRED]** The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing. * **IsLongTermPricingAutoRenew** (*boolean*) -- Specifies whether the current long-term pricing type for the device should be renewed. * **SnowballType** (*string*) -- **[REQUIRED]** The type of Snow Family devices to use for the long-term pricing job. Return type: dict Returns: **Response Syntax** { 'LongTermPricingId': 'string' } **Response Structure** * *(dict) --* * **LongTermPricingId** *(string) --* The ID of the long-term pricing type for the device. **Exceptions** * "Snowball.Client.exceptions.InvalidResourceException" Snowball / Client / list_clusters list_clusters ************* Snowball.Client.list_clusters(**kwargs) Returns an array of "ClusterListEntry" objects of the specified length. Each "ClusterListEntry" object contains a cluster's state, a cluster's ID, and other important status information. See also: AWS API Documentation **Request Syntax** response = client.list_clusters( MaxResults=123, NextToken='string' ) Parameters: * **MaxResults** (*integer*) -- The number of "ClusterListEntry" objects to return. * **NextToken** (*string*) -- HTTP requests are stateless. To identify what object comes "next" in the list of "ClusterListEntry" objects, you have the option of specifying "NextToken" as the starting point for your returned list. Return type: dict Returns: **Response Syntax** { 'ClusterListEntries': [ { 'ClusterId': 'string', 'ClusterState': 'AwaitingQuorum'|'Pending'|'InUse'|'Complete'|'Cancelled', 'CreationDate': datetime(2015, 1, 1), 'Description': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **ClusterListEntries** *(list) --* Each "ClusterListEntry" object contains a cluster's state, a cluster's ID, and other important status information. * *(dict) --* Contains a cluster's state, a cluster's ID, and other important information. * **ClusterId** *(string) --* The 39-character ID for the cluster that you want to list, for example "CID123e4567-e89b- 12d3-a456-426655440000". * **ClusterState** *(string) --* The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState. * **CreationDate** *(datetime) --* The creation date for this cluster. * **Description** *(string) --* Defines an optional description of the cluster, for example "Environmental Data Cluster-01". * **NextToken** *(string) --* HTTP requests are stateless. If you use the automatically generated "NextToken" value in your next "ClusterListEntry" call, your list of returned clusters will start from this point in the array. **Exceptions** * "Snowball.Client.exceptions.InvalidNextTokenException" **Examples** Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information. response = client.list_clusters( ) print(response) Expected Output: { 'ClusterListEntries': [ { 'ClusterId': 'CID123e4567-e89b-12d3-a456-426655440000', 'ClusterState': 'Pending', 'CreationDate': datetime(2016, 11, 29, 22, 11, 57, 1, 334, 0), 'Description': 'MyCluster', }, ], 'ResponseMetadata': { '...': '...', }, }