@aws-sdk/client-snowball 3.299.0 → 3.301.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 +3 -0
- package/dist-types/commands/CancelJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateAddressCommand.d.ts +18 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +70 -0
- package/dist-types/commands/CreateJobCommand.d.ts +80 -0
- package/dist-types/commands/CreateLongTermPricingCommand.d.ts +5 -0
- package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAddressCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAddressesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +3 -0
- package/dist-types/commands/GetJobManifestCommand.d.ts +3 -0
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +3 -0
- package/dist-types/commands/GetSnowballUsageCommand.d.ts +1 -0
- package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +3 -0
- package/dist-types/commands/ListClusterJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListClustersCommand.d.ts +4 -0
- package/dist-types/commands/ListCompatibleImagesCommand.d.ts +4 -0
- package/dist-types/commands/ListJobsCommand.d.ts +4 -0
- package/dist-types/commands/ListLongTermPricingCommand.d.ts +4 -0
- package/dist-types/commands/ListServiceVersionsCommand.d.ts +13 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +62 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +63 -0
- package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +4 -0
- package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +5 -0
- package/package.json +8 -8
|
@@ -28,6 +28,9 @@ export interface CancelClusterCommandOutput extends CancelClusterResult, __Metad
|
|
|
28
28
|
* import { SnowballClient, CancelClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, CancelClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // CancelClusterRequest
|
|
32
|
+
* ClusterId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new CancelClusterCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface CancelJobCommandOutput extends CancelJobResult, __MetadataBeare
|
|
|
29
29
|
* import { SnowballClient, CancelJobCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, CancelJobCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
+
* const input = { // CancelJobRequest
|
|
33
|
+
* JobId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelJobCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,24 @@ export interface CreateAddressCommandOutput extends CreateAddressResult, __Metad
|
|
|
29
29
|
* import { SnowballClient, CreateAddressCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, CreateAddressCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
+
* const input = { // CreateAddressRequest
|
|
33
|
+
* Address: { // Address
|
|
34
|
+
* AddressId: "STRING_VALUE",
|
|
35
|
+
* Name: "STRING_VALUE",
|
|
36
|
+
* Company: "STRING_VALUE",
|
|
37
|
+
* Street1: "STRING_VALUE",
|
|
38
|
+
* Street2: "STRING_VALUE",
|
|
39
|
+
* Street3: "STRING_VALUE",
|
|
40
|
+
* City: "STRING_VALUE",
|
|
41
|
+
* StateOrProvince: "STRING_VALUE",
|
|
42
|
+
* PrefectureOrDistrict: "STRING_VALUE",
|
|
43
|
+
* Landmark: "STRING_VALUE",
|
|
44
|
+
* Country: "STRING_VALUE",
|
|
45
|
+
* PostalCode: "STRING_VALUE",
|
|
46
|
+
* PhoneNumber: "STRING_VALUE",
|
|
47
|
+
* IsRestricted: true || false,
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
32
50
|
* const command = new CreateAddressCommand(input);
|
|
33
51
|
* const response = await client.send(command);
|
|
34
52
|
* ```
|
|
@@ -27,6 +27,76 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
27
27
|
* import { SnowballClient, CreateClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, CreateClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // CreateClusterRequest
|
|
31
|
+
* JobType: "IMPORT" || "EXPORT" || "LOCAL_USE", // required
|
|
32
|
+
* Resources: { // JobResource
|
|
33
|
+
* S3Resources: [ // S3ResourceList
|
|
34
|
+
* { // S3Resource
|
|
35
|
+
* BucketArn: "STRING_VALUE",
|
|
36
|
+
* KeyRange: { // KeyRange
|
|
37
|
+
* BeginMarker: "STRING_VALUE",
|
|
38
|
+
* EndMarker: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* TargetOnDeviceServices: [ // TargetOnDeviceServiceList
|
|
41
|
+
* { // TargetOnDeviceService
|
|
42
|
+
* ServiceName: "NFS_ON_DEVICE_SERVICE" || "S3_ON_DEVICE_SERVICE",
|
|
43
|
+
* TransferOption: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* LambdaResources: [ // LambdaResourceList
|
|
49
|
+
* { // LambdaResource
|
|
50
|
+
* LambdaArn: "STRING_VALUE",
|
|
51
|
+
* EventTriggers: [ // EventTriggerDefinitionList
|
|
52
|
+
* { // EventTriggerDefinition
|
|
53
|
+
* EventResourceARN: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* Ec2AmiResources: [ // Ec2AmiResourceList
|
|
59
|
+
* { // Ec2AmiResource
|
|
60
|
+
* AmiId: "STRING_VALUE", // required
|
|
61
|
+
* SnowballAmiId: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
66
|
+
* NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
67
|
+
* StorageLimit: Number("int"),
|
|
68
|
+
* StorageUnit: "TB",
|
|
69
|
+
* },
|
|
70
|
+
* TGWOnDeviceService: { // TGWOnDeviceServiceConfiguration
|
|
71
|
+
* StorageLimit: Number("int"),
|
|
72
|
+
* StorageUnit: "TB",
|
|
73
|
+
* },
|
|
74
|
+
* EKSOnDeviceService: { // EKSOnDeviceServiceConfiguration
|
|
75
|
+
* KubernetesVersion: "STRING_VALUE",
|
|
76
|
+
* EKSAnywhereVersion: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* Description: "STRING_VALUE",
|
|
80
|
+
* AddressId: "STRING_VALUE", // required
|
|
81
|
+
* KmsKeyARN: "STRING_VALUE",
|
|
82
|
+
* RoleARN: "STRING_VALUE", // required
|
|
83
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C", // required
|
|
84
|
+
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD", // required
|
|
85
|
+
* Notification: { // Notification
|
|
86
|
+
* SnsTopicARN: "STRING_VALUE",
|
|
87
|
+
* JobStatesToNotify: [ // JobStateList
|
|
88
|
+
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
89
|
+
* ],
|
|
90
|
+
* NotifyAll: true || false,
|
|
91
|
+
* },
|
|
92
|
+
* ForwardingAddressId: "STRING_VALUE",
|
|
93
|
+
* TaxDocuments: { // TaxDocuments
|
|
94
|
+
* IND: { // INDTaxDocuments
|
|
95
|
+
* GSTIN: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
99
|
+
* };
|
|
30
100
|
* const command = new CreateClusterCommand(input);
|
|
31
101
|
* const response = await client.send(command);
|
|
32
102
|
* ```
|
|
@@ -153,6 +153,86 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
153
153
|
* import { SnowballClient, CreateJobCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
154
154
|
* // const { SnowballClient, CreateJobCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
155
155
|
* const client = new SnowballClient(config);
|
|
156
|
+
* const input = { // CreateJobRequest
|
|
157
|
+
* JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
158
|
+
* Resources: { // JobResource
|
|
159
|
+
* S3Resources: [ // S3ResourceList
|
|
160
|
+
* { // S3Resource
|
|
161
|
+
* BucketArn: "STRING_VALUE",
|
|
162
|
+
* KeyRange: { // KeyRange
|
|
163
|
+
* BeginMarker: "STRING_VALUE",
|
|
164
|
+
* EndMarker: "STRING_VALUE",
|
|
165
|
+
* },
|
|
166
|
+
* TargetOnDeviceServices: [ // TargetOnDeviceServiceList
|
|
167
|
+
* { // TargetOnDeviceService
|
|
168
|
+
* ServiceName: "NFS_ON_DEVICE_SERVICE" || "S3_ON_DEVICE_SERVICE",
|
|
169
|
+
* TransferOption: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
170
|
+
* },
|
|
171
|
+
* ],
|
|
172
|
+
* },
|
|
173
|
+
* ],
|
|
174
|
+
* LambdaResources: [ // LambdaResourceList
|
|
175
|
+
* { // LambdaResource
|
|
176
|
+
* LambdaArn: "STRING_VALUE",
|
|
177
|
+
* EventTriggers: [ // EventTriggerDefinitionList
|
|
178
|
+
* { // EventTriggerDefinition
|
|
179
|
+
* EventResourceARN: "STRING_VALUE",
|
|
180
|
+
* },
|
|
181
|
+
* ],
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
184
|
+
* Ec2AmiResources: [ // Ec2AmiResourceList
|
|
185
|
+
* { // Ec2AmiResource
|
|
186
|
+
* AmiId: "STRING_VALUE", // required
|
|
187
|
+
* SnowballAmiId: "STRING_VALUE",
|
|
188
|
+
* },
|
|
189
|
+
* ],
|
|
190
|
+
* },
|
|
191
|
+
* OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
192
|
+
* NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
193
|
+
* StorageLimit: Number("int"),
|
|
194
|
+
* StorageUnit: "TB",
|
|
195
|
+
* },
|
|
196
|
+
* TGWOnDeviceService: { // TGWOnDeviceServiceConfiguration
|
|
197
|
+
* StorageLimit: Number("int"),
|
|
198
|
+
* StorageUnit: "TB",
|
|
199
|
+
* },
|
|
200
|
+
* EKSOnDeviceService: { // EKSOnDeviceServiceConfiguration
|
|
201
|
+
* KubernetesVersion: "STRING_VALUE",
|
|
202
|
+
* EKSAnywhereVersion: "STRING_VALUE",
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* Description: "STRING_VALUE",
|
|
206
|
+
* AddressId: "STRING_VALUE",
|
|
207
|
+
* KmsKeyARN: "STRING_VALUE",
|
|
208
|
+
* RoleARN: "STRING_VALUE",
|
|
209
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference",
|
|
210
|
+
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
211
|
+
* Notification: { // Notification
|
|
212
|
+
* SnsTopicARN: "STRING_VALUE",
|
|
213
|
+
* JobStatesToNotify: [ // JobStateList
|
|
214
|
+
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
215
|
+
* ],
|
|
216
|
+
* NotifyAll: true || false,
|
|
217
|
+
* },
|
|
218
|
+
* ClusterId: "STRING_VALUE",
|
|
219
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C",
|
|
220
|
+
* ForwardingAddressId: "STRING_VALUE",
|
|
221
|
+
* TaxDocuments: { // TaxDocuments
|
|
222
|
+
* IND: { // INDTaxDocuments
|
|
223
|
+
* GSTIN: "STRING_VALUE",
|
|
224
|
+
* },
|
|
225
|
+
* },
|
|
226
|
+
* DeviceConfiguration: { // DeviceConfiguration
|
|
227
|
+
* SnowconeDeviceConfiguration: { // SnowconeDeviceConfiguration
|
|
228
|
+
* WirelessConnection: { // WirelessConnection
|
|
229
|
+
* IsWifiEnabled: true || false,
|
|
230
|
+
* },
|
|
231
|
+
* },
|
|
232
|
+
* },
|
|
233
|
+
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
234
|
+
* LongTermPricingId: "STRING_VALUE",
|
|
235
|
+
* };
|
|
156
236
|
* const command = new CreateJobCommand(input);
|
|
157
237
|
* const response = await client.send(command);
|
|
158
238
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricin
|
|
|
28
28
|
* import { SnowballClient, CreateLongTermPricingCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, CreateLongTermPricingCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // CreateLongTermPricingRequest
|
|
32
|
+
* LongTermPricingType: "OneYear" || "ThreeYear", // required
|
|
33
|
+
* IsLongTermPricingAutoRenew: true || false,
|
|
34
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new CreateLongTermPricingCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface CreateReturnShippingLabelCommandOutput extends CreateReturnShip
|
|
|
26
26
|
* import { SnowballClient, CreateReturnShippingLabelCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
27
27
|
* // const { SnowballClient, CreateReturnShippingLabelCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
28
28
|
* const client = new SnowballClient(config);
|
|
29
|
+
* const input = { // CreateReturnShippingLabelRequest
|
|
30
|
+
* JobId: "STRING_VALUE", // required
|
|
31
|
+
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new CreateReturnShippingLabelCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeAddressCommandOutput extends DescribeAddressResult, __M
|
|
|
27
27
|
* import { SnowballClient, DescribeAddressCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, DescribeAddressCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // DescribeAddressRequest
|
|
31
|
+
* AddressId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeAddressCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
|
|
|
28
28
|
* import { SnowballClient, DescribeAddressesCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, DescribeAddressesCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // DescribeAddressesRequest
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeAddressesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
|
|
|
27
27
|
* import { SnowballClient, DescribeClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, DescribeClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // DescribeClusterRequest
|
|
31
|
+
* ClusterId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeClusterCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
27
27
|
* import { SnowballClient, DescribeJobCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, DescribeJobCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // DescribeJobRequest
|
|
31
|
+
* JobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeJobCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeReturnShippingLabelCommandOutput extends DescribeReturn
|
|
|
26
26
|
* import { SnowballClient, DescribeReturnShippingLabelCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
27
27
|
* // const { SnowballClient, DescribeReturnShippingLabelCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
28
28
|
* const client = new SnowballClient(config);
|
|
29
|
+
* const input = { // DescribeReturnShippingLabelRequest
|
|
30
|
+
* JobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeReturnShippingLabelCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -41,6 +41,9 @@ export interface GetJobManifestCommandOutput extends GetJobManifestResult, __Met
|
|
|
41
41
|
* import { SnowballClient, GetJobManifestCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
42
42
|
* // const { SnowballClient, GetJobManifestCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
43
43
|
* const client = new SnowballClient(config);
|
|
44
|
+
* const input = { // GetJobManifestRequest
|
|
45
|
+
* JobId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
44
47
|
* const command = new GetJobManifestCommand(input);
|
|
45
48
|
* const response = await client.send(command);
|
|
46
49
|
* ```
|
|
@@ -38,6 +38,9 @@ export interface GetJobUnlockCodeCommandOutput extends GetJobUnlockCodeResult, _
|
|
|
38
38
|
* import { SnowballClient, GetJobUnlockCodeCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
39
39
|
* // const { SnowballClient, GetJobUnlockCodeCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
40
40
|
* const client = new SnowballClient(config);
|
|
41
|
+
* const input = { // GetJobUnlockCodeRequest
|
|
42
|
+
* JobId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
41
44
|
* const command = new GetJobUnlockCodeCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface GetSnowballUsageCommandOutput extends GetSnowballUsageResult, _
|
|
|
29
29
|
* import { SnowballClient, GetSnowballUsageCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, GetSnowballUsageCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new GetSnowballUsageCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetSoftwareUpdatesCommandOutput extends GetSoftwareUpdatesResul
|
|
|
27
27
|
* import { SnowballClient, GetSoftwareUpdatesCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, GetSoftwareUpdatesCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // GetSoftwareUpdatesRequest
|
|
31
|
+
* JobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetSoftwareUpdatesCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListClusterJobsCommandOutput extends ListClusterJobsResult, __M
|
|
|
28
28
|
* import { SnowballClient, ListClusterJobsCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, ListClusterJobsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // ListClusterJobsRequest
|
|
32
|
+
* ClusterId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListClusterJobsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListClustersCommandOutput extends ListClustersResult, __Metadat
|
|
|
28
28
|
* import { SnowballClient, ListClustersCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, ListClustersCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // ListClustersRequest
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListClustersCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListCompatibleImagesCommandOutput extends ListCompatibleImagesR
|
|
|
30
30
|
* import { SnowballClient, ListCompatibleImagesCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
31
31
|
* // const { SnowballClient, ListCompatibleImagesCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
32
32
|
* const client = new SnowballClient(config);
|
|
33
|
+
* const input = { // ListCompatibleImagesRequest
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListCompatibleImagesCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
|
|
|
30
30
|
* import { SnowballClient, ListJobsCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
31
31
|
* // const { SnowballClient, ListJobsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
32
32
|
* const client = new SnowballClient(config);
|
|
33
|
+
* const input = { // ListJobsRequest
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListJobsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListLongTermPricingCommandOutput extends ListLongTermPricingRes
|
|
|
26
26
|
* import { SnowballClient, ListLongTermPricingCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
27
27
|
* // const { SnowballClient, ListLongTermPricingCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
28
28
|
* const client = new SnowballClient(config);
|
|
29
|
+
* const input = { // ListLongTermPricingRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListLongTermPricingCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface ListServiceVersionsCommandOutput extends ListServiceVersionsRes
|
|
|
27
27
|
* import { SnowballClient, ListServiceVersionsCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, ListServiceVersionsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
+
* const input = { // ListServiceVersionsRequest
|
|
31
|
+
* ServiceName: "KUBERNETES" || "EKS_ANYWHERE", // required
|
|
32
|
+
* DependentServices: [ // DependentServiceList
|
|
33
|
+
* { // DependentService
|
|
34
|
+
* ServiceName: "KUBERNETES" || "EKS_ANYWHERE",
|
|
35
|
+
* ServiceVersion: { // ServiceVersion
|
|
36
|
+
* Version: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
30
43
|
* const command = new ListServiceVersionsCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -29,6 +29,68 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
|
|
|
29
29
|
* import { SnowballClient, UpdateClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, UpdateClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
+
* const input = { // UpdateClusterRequest
|
|
33
|
+
* ClusterId: "STRING_VALUE", // required
|
|
34
|
+
* RoleARN: "STRING_VALUE",
|
|
35
|
+
* Description: "STRING_VALUE",
|
|
36
|
+
* Resources: { // JobResource
|
|
37
|
+
* S3Resources: [ // S3ResourceList
|
|
38
|
+
* { // S3Resource
|
|
39
|
+
* BucketArn: "STRING_VALUE",
|
|
40
|
+
* KeyRange: { // KeyRange
|
|
41
|
+
* BeginMarker: "STRING_VALUE",
|
|
42
|
+
* EndMarker: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* TargetOnDeviceServices: [ // TargetOnDeviceServiceList
|
|
45
|
+
* { // TargetOnDeviceService
|
|
46
|
+
* ServiceName: "NFS_ON_DEVICE_SERVICE" || "S3_ON_DEVICE_SERVICE",
|
|
47
|
+
* TransferOption: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* LambdaResources: [ // LambdaResourceList
|
|
53
|
+
* { // LambdaResource
|
|
54
|
+
* LambdaArn: "STRING_VALUE",
|
|
55
|
+
* EventTriggers: [ // EventTriggerDefinitionList
|
|
56
|
+
* { // EventTriggerDefinition
|
|
57
|
+
* EventResourceARN: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* Ec2AmiResources: [ // Ec2AmiResourceList
|
|
63
|
+
* { // Ec2AmiResource
|
|
64
|
+
* AmiId: "STRING_VALUE", // required
|
|
65
|
+
* SnowballAmiId: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
70
|
+
* NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
71
|
+
* StorageLimit: Number("int"),
|
|
72
|
+
* StorageUnit: "TB",
|
|
73
|
+
* },
|
|
74
|
+
* TGWOnDeviceService: { // TGWOnDeviceServiceConfiguration
|
|
75
|
+
* StorageLimit: Number("int"),
|
|
76
|
+
* StorageUnit: "TB",
|
|
77
|
+
* },
|
|
78
|
+
* EKSOnDeviceService: { // EKSOnDeviceServiceConfiguration
|
|
79
|
+
* KubernetesVersion: "STRING_VALUE",
|
|
80
|
+
* EKSAnywhereVersion: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* AddressId: "STRING_VALUE",
|
|
84
|
+
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
85
|
+
* Notification: { // Notification
|
|
86
|
+
* SnsTopicARN: "STRING_VALUE",
|
|
87
|
+
* JobStatesToNotify: [ // JobStateList
|
|
88
|
+
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
89
|
+
* ],
|
|
90
|
+
* NotifyAll: true || false,
|
|
91
|
+
* },
|
|
92
|
+
* ForwardingAddressId: "STRING_VALUE",
|
|
93
|
+
* };
|
|
32
94
|
* const command = new UpdateClusterCommand(input);
|
|
33
95
|
* const response = await client.send(command);
|
|
34
96
|
* ```
|
|
@@ -28,6 +28,69 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
28
28
|
* import { SnowballClient, UpdateJobCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, UpdateJobCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
+
* const input = { // UpdateJobRequest
|
|
32
|
+
* JobId: "STRING_VALUE", // required
|
|
33
|
+
* RoleARN: "STRING_VALUE",
|
|
34
|
+
* Notification: { // Notification
|
|
35
|
+
* SnsTopicARN: "STRING_VALUE",
|
|
36
|
+
* JobStatesToNotify: [ // JobStateList
|
|
37
|
+
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
38
|
+
* ],
|
|
39
|
+
* NotifyAll: true || false,
|
|
40
|
+
* },
|
|
41
|
+
* Resources: { // JobResource
|
|
42
|
+
* S3Resources: [ // S3ResourceList
|
|
43
|
+
* { // S3Resource
|
|
44
|
+
* BucketArn: "STRING_VALUE",
|
|
45
|
+
* KeyRange: { // KeyRange
|
|
46
|
+
* BeginMarker: "STRING_VALUE",
|
|
47
|
+
* EndMarker: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* TargetOnDeviceServices: [ // TargetOnDeviceServiceList
|
|
50
|
+
* { // TargetOnDeviceService
|
|
51
|
+
* ServiceName: "NFS_ON_DEVICE_SERVICE" || "S3_ON_DEVICE_SERVICE",
|
|
52
|
+
* TransferOption: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* LambdaResources: [ // LambdaResourceList
|
|
58
|
+
* { // LambdaResource
|
|
59
|
+
* LambdaArn: "STRING_VALUE",
|
|
60
|
+
* EventTriggers: [ // EventTriggerDefinitionList
|
|
61
|
+
* { // EventTriggerDefinition
|
|
62
|
+
* EventResourceARN: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* Ec2AmiResources: [ // Ec2AmiResourceList
|
|
68
|
+
* { // Ec2AmiResource
|
|
69
|
+
* AmiId: "STRING_VALUE", // required
|
|
70
|
+
* SnowballAmiId: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
75
|
+
* NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
76
|
+
* StorageLimit: Number("int"),
|
|
77
|
+
* StorageUnit: "TB",
|
|
78
|
+
* },
|
|
79
|
+
* TGWOnDeviceService: { // TGWOnDeviceServiceConfiguration
|
|
80
|
+
* StorageLimit: Number("int"),
|
|
81
|
+
* StorageUnit: "TB",
|
|
82
|
+
* },
|
|
83
|
+
* EKSOnDeviceService: { // EKSOnDeviceServiceConfiguration
|
|
84
|
+
* KubernetesVersion: "STRING_VALUE",
|
|
85
|
+
* EKSAnywhereVersion: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* AddressId: "STRING_VALUE",
|
|
89
|
+
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
90
|
+
* Description: "STRING_VALUE",
|
|
91
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference",
|
|
92
|
+
* ForwardingAddressId: "STRING_VALUE",
|
|
93
|
+
* };
|
|
31
94
|
* const command = new UpdateJobCommand(input);
|
|
32
95
|
* const response = await client.send(command);
|
|
33
96
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateJobShipmentStateCommandOutput extends UpdateJobShipmentSt
|
|
|
26
26
|
* import { SnowballClient, UpdateJobShipmentStateCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
27
27
|
* // const { SnowballClient, UpdateJobShipmentStateCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
28
28
|
* const client = new SnowballClient(config);
|
|
29
|
+
* const input = { // UpdateJobShipmentStateRequest
|
|
30
|
+
* JobId: "STRING_VALUE", // required
|
|
31
|
+
* ShipmentState: "RECEIVED" || "RETURNED", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateJobShipmentStateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateLongTermPricingCommandOutput extends UpdateLongTermPricin
|
|
|
26
26
|
* import { SnowballClient, UpdateLongTermPricingCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
27
27
|
* // const { SnowballClient, UpdateLongTermPricingCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
28
28
|
* const client = new SnowballClient(config);
|
|
29
|
+
* const input = { // UpdateLongTermPricingRequest
|
|
30
|
+
* LongTermPricingId: "STRING_VALUE", // required
|
|
31
|
+
* ReplacementJob: "STRING_VALUE",
|
|
32
|
+
* IsLongTermPricingAutoRenew: true || false,
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateLongTermPricingCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
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.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|