@aws-sdk/client-snowball 3.289.0 → 3.292.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CancelClusterCommand.d.ts +13 -0
- package/dist-types/commands/CancelJobCommand.d.ts +13 -0
- package/dist-types/commands/CreateAddressCommand.d.ts +10 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +16 -0
- package/dist-types/commands/CreateJobCommand.d.ts +21 -0
- package/dist-types/commands/CreateLongTermPricingCommand.d.ts +5 -0
- package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +21 -0
- package/dist-types/commands/DescribeAddressCommand.d.ts +5 -0
- package/dist-types/commands/DescribeAddressesCommand.d.ts +10 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +5 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +5 -0
- package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +13 -0
- package/dist-types/commands/GetJobManifestCommand.d.ts +9 -0
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +9 -0
- package/dist-types/commands/GetSnowballUsageCommand.d.ts +1 -0
- package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +9 -0
- package/dist-types/commands/ListClusterJobsCommand.d.ts +10 -0
- package/dist-types/commands/ListClustersCommand.d.ts +6 -0
- package/dist-types/commands/ListCompatibleImagesCommand.d.ts +10 -0
- package/dist-types/commands/ListJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListLongTermPricingCommand.d.ts +10 -0
- package/dist-types/commands/ListServiceVersionsCommand.d.ts +10 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +20 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +25 -0
- package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +9 -0
- package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +5 -0
- package/package.json +35 -40
|
@@ -31,6 +31,19 @@ export interface CancelClusterCommandOutput extends CancelClusterResult, __Metad
|
|
|
31
31
|
* @see {@link CancelClusterCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
35
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
36
|
+
* to be performed.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
39
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
40
|
+
* request, and try again.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
43
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
44
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
* @example To cancel a cluster job
|
|
35
48
|
* ```javascript
|
|
36
49
|
* // This operation cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status.
|
|
@@ -32,6 +32,19 @@ export interface CancelJobCommandOutput extends CancelJobResult, __MetadataBeare
|
|
|
32
32
|
* @see {@link CancelJobCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
36
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
37
|
+
* to be performed.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
40
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
41
|
+
* request, and try again.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
44
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
45
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
35
48
|
* @example To cancel a job for a Snowball device
|
|
36
49
|
* ```javascript
|
|
37
50
|
* // This operation cancels a job. You can only cancel a job before its JobState value changes to PreparingAppliance.
|
|
@@ -32,6 +32,16 @@ export interface CreateAddressCommandOutput extends CreateAddressResult, __Metad
|
|
|
32
32
|
* @see {@link CreateAddressCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link InvalidAddressException} (client fault)
|
|
36
|
+
* <p>The address provided was invalid. Check the address with your region's carrier, and try
|
|
37
|
+
* again.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link UnsupportedAddressException} (client fault)
|
|
40
|
+
* <p>The address is either outside the serviceable area for your region, or an error
|
|
41
|
+
* occurred. Check the address with your region's carrier and try again. If the issue persists,
|
|
42
|
+
* contact Amazon Web Services Support.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
35
45
|
* @example To create an address for a job
|
|
36
46
|
* ```javascript
|
|
37
47
|
* // 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.
|
|
@@ -30,6 +30,22 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
30
30
|
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
34
|
+
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
35
|
+
* action.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
38
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
41
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
42
|
+
* request, and try again.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
45
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
46
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
33
49
|
* @example To create a cluster
|
|
34
50
|
* ```javascript
|
|
35
51
|
* // 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.
|
|
@@ -156,6 +156,27 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
156
156
|
* @see {@link CreateJobCommandOutput} for command's `response` shape.
|
|
157
157
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
158
158
|
*
|
|
159
|
+
* @throws {@link ClusterLimitExceededException} (client fault)
|
|
160
|
+
* <p>Job creation failed. Currently, clusters support five nodes. If you have fewer than
|
|
161
|
+
* five nodes for your cluster and you have more nodes to create for this cluster, try again and
|
|
162
|
+
* create jobs until your cluster has exactly five nodes.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
165
|
+
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
166
|
+
* action.</p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
169
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
172
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
173
|
+
* request, and try again.</p>
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
176
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
177
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
178
|
+
*
|
|
179
|
+
*
|
|
159
180
|
* @example To create a job
|
|
160
181
|
* ```javascript
|
|
161
182
|
* // Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster.
|
|
@@ -31,6 +31,11 @@ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricin
|
|
|
31
31
|
* @see {@link CreateLongTermPricingCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
35
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
36
|
+
* request, and try again.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
34
39
|
*/
|
|
35
40
|
export declare class CreateLongTermPricingCommand extends $Command<CreateLongTermPricingCommandInput, CreateLongTermPricingCommandOutput, SnowballClientResolvedConfig> {
|
|
36
41
|
readonly input: CreateLongTermPricingCommandInput;
|
|
@@ -29,6 +29,27 @@ export interface CreateReturnShippingLabelCommandOutput extends CreateReturnShip
|
|
|
29
29
|
* @see {@link CreateReturnShippingLabelCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ConflictException} (client fault)
|
|
33
|
+
* <p>You get this exception when you call <code>CreateReturnShippingLabel</code> more than once
|
|
34
|
+
* when other requests are not completed.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
37
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
40
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
41
|
+
* to be performed.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
44
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
45
|
+
* request, and try again.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ReturnShippingLabelAlreadyExistsException} (client fault)
|
|
48
|
+
* <p>You get this exception if you call <code>CreateReturnShippingLabel</code> and a valid
|
|
49
|
+
* return shipping label already exists. In this case, use
|
|
50
|
+
* <code>DescribeReturnShippingLabel</code> to get the URL.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
32
53
|
*/
|
|
33
54
|
export declare class CreateReturnShippingLabelCommand extends $Command<CreateReturnShippingLabelCommandInput, CreateReturnShippingLabelCommandOutput, SnowballClientResolvedConfig> {
|
|
34
55
|
readonly input: CreateReturnShippingLabelCommandInput;
|
|
@@ -30,6 +30,11 @@ export interface DescribeAddressCommandOutput extends DescribeAddressResult, __M
|
|
|
30
30
|
* @see {@link DescribeAddressCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
34
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
35
|
+
* request, and try again.</p>
|
|
36
|
+
*
|
|
37
|
+
*
|
|
33
38
|
* @example To describe an address for a job
|
|
34
39
|
* ```javascript
|
|
35
40
|
* // This operation describes an address for a job.
|
|
@@ -31,6 +31,16 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
|
|
|
31
31
|
* @see {@link DescribeAddressesCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
35
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
36
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
37
|
+
* again.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
40
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
41
|
+
* request, and try again.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
34
44
|
* @example To describe all the addresses you've created for AWS Snowball
|
|
35
45
|
* ```javascript
|
|
36
46
|
* // This operation describes all the addresses that you've created for AWS Snowball. 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.
|
|
@@ -30,6 +30,11 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
|
|
|
30
30
|
* @see {@link DescribeClusterCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
34
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
35
|
+
* request, and try again.</p>
|
|
36
|
+
*
|
|
37
|
+
*
|
|
33
38
|
* @example To describe a cluster
|
|
34
39
|
* ```javascript
|
|
35
40
|
* // Returns information about a specific cluster including shipping information, cluster status, and other important metadata.
|
|
@@ -30,6 +30,11 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
30
30
|
* @see {@link DescribeJobCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
34
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
35
|
+
* request, and try again.</p>
|
|
36
|
+
*
|
|
37
|
+
*
|
|
33
38
|
* @example To describe a job you've created for AWS Snowball
|
|
34
39
|
* ```javascript
|
|
35
40
|
* // This operation describes a job you've created for AWS Snowball.
|
|
@@ -29,6 +29,19 @@ export interface DescribeReturnShippingLabelCommandOutput extends DescribeReturn
|
|
|
29
29
|
* @see {@link DescribeReturnShippingLabelCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ConflictException} (client fault)
|
|
33
|
+
* <p>You get this exception when you call <code>CreateReturnShippingLabel</code> more than once
|
|
34
|
+
* when other requests are not completed.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
37
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
38
|
+
* to be performed.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
41
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
42
|
+
* request, and try again.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
32
45
|
*/
|
|
33
46
|
export declare class DescribeReturnShippingLabelCommand extends $Command<DescribeReturnShippingLabelCommandInput, DescribeReturnShippingLabelCommandOutput, SnowballClientResolvedConfig> {
|
|
34
47
|
readonly input: DescribeReturnShippingLabelCommandInput;
|
|
@@ -44,6 +44,15 @@ export interface GetJobManifestCommandOutput extends GetJobManifestResult, __Met
|
|
|
44
44
|
* @see {@link GetJobManifestCommandOutput} for command's `response` shape.
|
|
45
45
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
46
46
|
*
|
|
47
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
48
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
49
|
+
* to be performed.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
52
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
53
|
+
* request, and try again.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
47
56
|
* @example To get the manifest for a job you've created for AWS Snowball
|
|
48
57
|
* ```javascript
|
|
49
58
|
* // 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.
|
|
@@ -41,6 +41,15 @@ export interface GetJobUnlockCodeCommandOutput extends GetJobUnlockCodeResult, _
|
|
|
41
41
|
* @see {@link GetJobUnlockCodeCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
45
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
46
|
+
* to be performed.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
49
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
50
|
+
* request, and try again.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
44
53
|
* @example To get the unlock code for a job you've created for AWS Snowball
|
|
45
54
|
* ```javascript
|
|
46
55
|
* // 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.
|
|
@@ -32,6 +32,7 @@ export interface GetSnowballUsageCommandOutput extends GetSnowballUsageResult, _
|
|
|
32
32
|
* @see {@link GetSnowballUsageCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
*
|
|
35
36
|
* @example To see your Snowball service limit and the number of Snowballs you have in use
|
|
36
37
|
* ```javascript
|
|
37
38
|
* // Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.
|
|
@@ -30,6 +30,15 @@ export interface GetSoftwareUpdatesCommandOutput extends GetSoftwareUpdatesResul
|
|
|
30
30
|
* @see {@link GetSoftwareUpdatesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
34
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
35
|
+
* to be performed.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
38
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
39
|
+
* request, and try again.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
33
42
|
*/
|
|
34
43
|
export declare class GetSoftwareUpdatesCommand extends $Command<GetSoftwareUpdatesCommandInput, GetSoftwareUpdatesCommandOutput, SnowballClientResolvedConfig> {
|
|
35
44
|
readonly input: GetSoftwareUpdatesCommandInput;
|
|
@@ -31,6 +31,16 @@ export interface ListClusterJobsCommandOutput extends ListClusterJobsResult, __M
|
|
|
31
31
|
* @see {@link ListClusterJobsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
35
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
36
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
37
|
+
* again.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
40
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
41
|
+
* request, and try again.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
34
44
|
* @example To get a list of jobs in a cluster that you've created for AWS Snowball
|
|
35
45
|
* ```javascript
|
|
36
46
|
* // 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.
|
|
@@ -31,6 +31,12 @@ export interface ListClustersCommandOutput extends ListClustersResult, __Metadat
|
|
|
31
31
|
* @see {@link ListClustersCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
35
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
36
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
37
|
+
* again.</p>
|
|
38
|
+
*
|
|
39
|
+
*
|
|
34
40
|
* @example To get a list of clusters that you've created for AWS Snowball
|
|
35
41
|
* ```javascript
|
|
36
42
|
* // 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.
|
|
@@ -33,6 +33,16 @@ export interface ListCompatibleImagesCommandOutput extends ListCompatibleImagesR
|
|
|
33
33
|
* @see {@link ListCompatibleImagesCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
37
|
+
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
38
|
+
* action.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
41
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
42
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
43
|
+
* again.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
36
46
|
*/
|
|
37
47
|
export declare class ListCompatibleImagesCommand extends $Command<ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput, SnowballClientResolvedConfig> {
|
|
38
48
|
readonly input: ListCompatibleImagesCommandInput;
|
|
@@ -33,6 +33,12 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
|
|
|
33
33
|
* @see {@link ListJobsCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
37
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
38
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
39
|
+
* again.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
36
42
|
* @example To get a list of jobs that you've created for AWS Snowball
|
|
37
43
|
* ```javascript
|
|
38
44
|
* // 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.
|
|
@@ -29,6 +29,16 @@ export interface ListLongTermPricingCommandOutput extends ListLongTermPricingRes
|
|
|
29
29
|
* @see {@link ListLongTermPricingCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
33
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
34
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
35
|
+
* again.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
38
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
39
|
+
* request, and try again.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
32
42
|
*/
|
|
33
43
|
export declare class ListLongTermPricingCommand extends $Command<ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput, SnowballClientResolvedConfig> {
|
|
34
44
|
readonly input: ListLongTermPricingCommandInput;
|
|
@@ -30,6 +30,16 @@ export interface ListServiceVersionsCommandOutput extends ListServiceVersionsRes
|
|
|
30
30
|
* @see {@link ListServiceVersionsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
34
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
35
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
36
|
+
* again.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
39
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
40
|
+
* request, and try again.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
33
43
|
*/
|
|
34
44
|
export declare class ListServiceVersionsCommand extends $Command<ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput, SnowballClientResolvedConfig> {
|
|
35
45
|
readonly input: ListServiceVersionsCommandInput;
|
|
@@ -32,6 +32,26 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
|
|
|
32
32
|
* @see {@link UpdateClusterCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
36
|
+
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
37
|
+
* action.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
40
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
43
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
44
|
+
* to be performed.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
47
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
48
|
+
* request, and try again.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
51
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
52
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
35
55
|
* @example To update a cluster
|
|
36
56
|
* ```javascript
|
|
37
57
|
* // 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.
|
|
@@ -31,6 +31,31 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
31
31
|
* @see {@link UpdateJobCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ClusterLimitExceededException} (client fault)
|
|
35
|
+
* <p>Job creation failed. Currently, clusters support five nodes. If you have fewer than
|
|
36
|
+
* five nodes for your cluster and you have more nodes to create for this cluster, try again and
|
|
37
|
+
* create jobs until your cluster has exactly five nodes.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
40
|
+
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
41
|
+
* action.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
44
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
47
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
48
|
+
* to be performed.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
51
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
52
|
+
* request, and try again.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link KMSRequestFailedException} (client fault)
|
|
55
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
56
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
34
59
|
* @example To update a job
|
|
35
60
|
* ```javascript
|
|
36
61
|
* // 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.
|
|
@@ -29,6 +29,15 @@ export interface UpdateJobShipmentStateCommandOutput extends UpdateJobShipmentSt
|
|
|
29
29
|
* @see {@link UpdateJobShipmentStateCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidJobStateException} (client fault)
|
|
33
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
34
|
+
* to be performed.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
37
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
38
|
+
* request, and try again.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
*/
|
|
33
42
|
export declare class UpdateJobShipmentStateCommand extends $Command<UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput, SnowballClientResolvedConfig> {
|
|
34
43
|
readonly input: UpdateJobShipmentStateCommandInput;
|
|
@@ -29,6 +29,11 @@ export interface UpdateLongTermPricingCommandOutput extends UpdateLongTermPricin
|
|
|
29
29
|
* @see {@link UpdateLongTermPricingCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
33
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
34
|
+
* request, and try again.</p>
|
|
35
|
+
*
|
|
36
|
+
*
|
|
32
37
|
*/
|
|
33
38
|
export declare class UpdateLongTermPricingCommand extends $Command<UpdateLongTermPricingCommandInput, UpdateLongTermPricingCommandOutput, SnowballClientResolvedConfig> {
|
|
34
39
|
readonly input: UpdateLongTermPricingCommandInput;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snowball",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.292.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,55 +20,50 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.292.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.292.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.292.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.292.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.292.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.292.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.292.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.292.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.292.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.292.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.292.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.292.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.292.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.292.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.292.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.292.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.292.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.292.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.292.0",
|
|
43
|
+
"@aws-sdk/types": "3.292.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.292.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.292.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.292.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.292.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.292.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.292.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.292.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.292.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.292.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.292.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.292.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.292.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
|
-
"typedoc": "0.
|
|
64
|
+
"typedoc": "0.23.23",
|
|
65
65
|
"typescript": "~4.6.2"
|
|
66
66
|
},
|
|
67
|
-
"overrides": {
|
|
68
|
-
"typedoc": {
|
|
69
|
-
"typescript": "~4.6.2"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
67
|
"engines": {
|
|
73
68
|
"node": ">=14.0.0"
|
|
74
69
|
},
|