Snowball class

AWS Snow Family is 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 commands described here provide access to the same functionality that is available in the AWS Snow Family Management Console, which enables you to create and manage jobs for a Snow device. To transfer data locally with a Snow device, you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or AWS OpsHub for Snow Family. For more information, see the User Guide.

Constructors

Snowball({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelCluster({required String clusterId}) Future<void>
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.
cancelJob({required String jobId}) Future<void>
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.
close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
createAddress({required Address address}) Future<CreateAddressResult>
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.
createCluster({required String addressId, required JobType jobType, required JobResource resources, required String roleARN, required ShippingOption shippingOption, String? description, String? forwardingAddressId, String? kmsKeyARN, Notification? notification, SnowballType? snowballType, TaxDocuments? taxDocuments}) Future<CreateClusterResult>
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.
createJob({String? addressId, String? clusterId, String? description, DeviceConfiguration? deviceConfiguration, String? forwardingAddressId, JobType? jobType, String? kmsKeyARN, Notification? notification, JobResource? resources, String? roleARN, ShippingOption? shippingOption, SnowballCapacity? snowballCapacityPreference, SnowballType? snowballType, TaxDocuments? taxDocuments}) Future<CreateJobResult>
Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for 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.
createReturnShippingLabel({required String jobId, ShippingOption? shippingOption}) Future<CreateReturnShippingLabelResult>
Creates a shipping label that will be used to return the Snow device to AWS.
describeAddress({required String addressId}) Future<DescribeAddressResult>
Takes an AddressId and returns specific details about that address in the form of an Address object.
describeAddresses({int? maxResults, String? nextToken}) Future<DescribeAddressesResult>
Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.
describeCluster({required String clusterId}) Future<DescribeClusterResult>
Returns information about a specific cluster including shipping information, cluster status, and other important metadata.
describeJob({required String jobId}) Future<DescribeJobResult>
Returns information about a specific job including shipping information, job status, and other important metadata.
describeReturnShippingLabel({String? jobId}) Future<DescribeReturnShippingLabelResult>
Information on the shipping label of a Snow device that is being returned to AWS.
getJobManifest({required String jobId}) Future<GetJobManifestResult>
Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action.
getJobUnlockCode({required String jobId}) Future<GetJobUnlockCodeResult>
Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created.
getSnowballUsage() Future<GetSnowballUsageResult>
Returns information about the Snow Family service limit for your account, and also the number of Snow devices your account has in use.
getSoftwareUpdates({required String jobId}) Future<GetSoftwareUpdatesResult>
Returns an Amazon S3 presigned URL for an update file associated with a specified JobId.
listClusterJobs({required String clusterId, int? maxResults, String? nextToken}) Future<ListClusterJobsResult>
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.
listClusters({int? maxResults, String? nextToken}) Future<ListClustersResult>
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.
listCompatibleImages({int? maxResults, String? nextToken}) Future<ListCompatibleImagesResult>
This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your AWS account that would be supported for use on a Snow device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM, Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the AWS Marketplace.
listJobs({int? maxResults, String? nextToken}) Future<ListJobsResult>
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCluster({required String clusterId, String? addressId, String? description, String? forwardingAddressId, Notification? notification, JobResource? resources, String? roleARN, ShippingOption? shippingOption}) Future<void>
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.
updateJob({required String jobId, String? addressId, String? description, String? forwardingAddressId, Notification? notification, JobResource? resources, String? roleARN, ShippingOption? shippingOption, SnowballCapacity? snowballCapacityPreference}) Future<void>
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.
updateJobShipmentState({required String jobId, required ShipmentState shipmentState}) Future<void>
Updates the state when a the shipment states changes to a different state.

Operators

operator ==(Object other) bool
The equality operator.
inherited