@aws-sdk/client-snowball 3.267.0 → 3.271.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-cjs/Snowball.js +15 -0
- package/dist-cjs/commands/ListServiceVersionsCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -3
- package/dist-cjs/protocols/Aws_json1_1.js +142 -1
- package/dist-es/Snowball.js +15 -0
- package/dist-es/commands/ListServiceVersionsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_json1_1.js +138 -0
- package/dist-types/Snowball.d.ts +8 -26
- package/dist-types/SnowballClient.d.ts +18 -17
- package/dist-types/commands/CreateJobCommand.d.ts +0 -18
- package/dist-types/commands/GetJobManifestCommand.d.ts +0 -5
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +0 -2
- package/dist-types/commands/GetSnowballUsageCommand.d.ts +0 -1
- package/dist-types/commands/ListServiceVersionsCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +102 -20
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/Snowball.d.ts +17 -0
- package/dist-types/ts3.4/SnowballClient.d.ts +10 -4
- package/dist-types/ts3.4/commands/ListServiceVersionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +43 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +29 -29
|
@@ -191,6 +191,15 @@ export const serializeAws_json1_1ListLongTermPricingCommand = async (input, cont
|
|
|
191
191
|
body = JSON.stringify(serializeAws_json1_1ListLongTermPricingRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
+
export const serializeAws_json1_1ListServiceVersionsCommand = async (input, context) => {
|
|
195
|
+
const headers = {
|
|
196
|
+
"content-type": "application/x-amz-json-1.1",
|
|
197
|
+
"x-amz-target": "AWSIESnowballJobManagementService.ListServiceVersions",
|
|
198
|
+
};
|
|
199
|
+
let body;
|
|
200
|
+
body = JSON.stringify(serializeAws_json1_1ListServiceVersionsRequest(input, context));
|
|
201
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
|
+
};
|
|
194
203
|
export const serializeAws_json1_1UpdateClusterCommand = async (input, context) => {
|
|
195
204
|
const headers = {
|
|
196
205
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -989,6 +998,42 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
|
|
|
989
998
|
});
|
|
990
999
|
}
|
|
991
1000
|
};
|
|
1001
|
+
export const deserializeAws_json1_1ListServiceVersionsCommand = async (output, context) => {
|
|
1002
|
+
if (output.statusCode >= 300) {
|
|
1003
|
+
return deserializeAws_json1_1ListServiceVersionsCommandError(output, context);
|
|
1004
|
+
}
|
|
1005
|
+
const data = await parseBody(output.body, context);
|
|
1006
|
+
let contents = {};
|
|
1007
|
+
contents = deserializeAws_json1_1ListServiceVersionsResult(data, context);
|
|
1008
|
+
const response = {
|
|
1009
|
+
$metadata: deserializeMetadata(output),
|
|
1010
|
+
...contents,
|
|
1011
|
+
};
|
|
1012
|
+
return Promise.resolve(response);
|
|
1013
|
+
};
|
|
1014
|
+
const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, context) => {
|
|
1015
|
+
const parsedOutput = {
|
|
1016
|
+
...output,
|
|
1017
|
+
body: await parseErrorBody(output.body, context),
|
|
1018
|
+
};
|
|
1019
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1020
|
+
switch (errorCode) {
|
|
1021
|
+
case "InvalidNextTokenException":
|
|
1022
|
+
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
1023
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
1024
|
+
case "InvalidResourceException":
|
|
1025
|
+
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1026
|
+
throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
|
|
1027
|
+
default:
|
|
1028
|
+
const parsedBody = parsedOutput.body;
|
|
1029
|
+
throwDefaultError({
|
|
1030
|
+
output,
|
|
1031
|
+
parsedBody,
|
|
1032
|
+
exceptionCtor: __BaseException,
|
|
1033
|
+
errorCode,
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
992
1037
|
export const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
|
|
993
1038
|
if (output.statusCode >= 300) {
|
|
994
1039
|
return deserializeAws_json1_1UpdateClusterCommandError(output, context);
|
|
@@ -1340,6 +1385,21 @@ const serializeAws_json1_1CreateReturnShippingLabelRequest = (input, context) =>
|
|
|
1340
1385
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1341
1386
|
};
|
|
1342
1387
|
};
|
|
1388
|
+
const serializeAws_json1_1DependentService = (input, context) => {
|
|
1389
|
+
return {
|
|
1390
|
+
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1391
|
+
...(input.ServiceVersion != null && {
|
|
1392
|
+
ServiceVersion: serializeAws_json1_1ServiceVersion(input.ServiceVersion, context),
|
|
1393
|
+
}),
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
const serializeAws_json1_1DependentServiceList = (input, context) => {
|
|
1397
|
+
return input
|
|
1398
|
+
.filter((e) => e != null)
|
|
1399
|
+
.map((entry) => {
|
|
1400
|
+
return serializeAws_json1_1DependentService(entry, context);
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1343
1403
|
const serializeAws_json1_1DescribeAddressesRequest = (input, context) => {
|
|
1344
1404
|
return {
|
|
1345
1405
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -1386,6 +1446,12 @@ const serializeAws_json1_1Ec2AmiResourceList = (input, context) => {
|
|
|
1386
1446
|
return serializeAws_json1_1Ec2AmiResource(entry, context);
|
|
1387
1447
|
});
|
|
1388
1448
|
};
|
|
1449
|
+
const serializeAws_json1_1EKSOnDeviceServiceConfiguration = (input, context) => {
|
|
1450
|
+
return {
|
|
1451
|
+
...(input.EKSAnywhereVersion != null && { EKSAnywhereVersion: input.EKSAnywhereVersion }),
|
|
1452
|
+
...(input.KubernetesVersion != null && { KubernetesVersion: input.KubernetesVersion }),
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1389
1455
|
const serializeAws_json1_1EventTriggerDefinition = (input, context) => {
|
|
1390
1456
|
return {
|
|
1391
1457
|
...(input.EventResourceARN != null && { EventResourceARN: input.EventResourceARN }),
|
|
@@ -1491,6 +1557,16 @@ const serializeAws_json1_1ListLongTermPricingRequest = (input, context) => {
|
|
|
1491
1557
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1492
1558
|
};
|
|
1493
1559
|
};
|
|
1560
|
+
const serializeAws_json1_1ListServiceVersionsRequest = (input, context) => {
|
|
1561
|
+
return {
|
|
1562
|
+
...(input.DependentServices != null && {
|
|
1563
|
+
DependentServices: serializeAws_json1_1DependentServiceList(input.DependentServices, context),
|
|
1564
|
+
}),
|
|
1565
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1566
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1567
|
+
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1494
1570
|
const serializeAws_json1_1NFSOnDeviceServiceConfiguration = (input, context) => {
|
|
1495
1571
|
return {
|
|
1496
1572
|
...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
|
|
@@ -1508,6 +1584,9 @@ const serializeAws_json1_1Notification = (input, context) => {
|
|
|
1508
1584
|
};
|
|
1509
1585
|
const serializeAws_json1_1OnDeviceServiceConfiguration = (input, context) => {
|
|
1510
1586
|
return {
|
|
1587
|
+
...(input.EKSOnDeviceService != null && {
|
|
1588
|
+
EKSOnDeviceService: serializeAws_json1_1EKSOnDeviceServiceConfiguration(input.EKSOnDeviceService, context),
|
|
1589
|
+
}),
|
|
1511
1590
|
...(input.NFSOnDeviceService != null && {
|
|
1512
1591
|
NFSOnDeviceService: serializeAws_json1_1NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
|
|
1513
1592
|
}),
|
|
@@ -1532,6 +1611,11 @@ const serializeAws_json1_1S3ResourceList = (input, context) => {
|
|
|
1532
1611
|
return serializeAws_json1_1S3Resource(entry, context);
|
|
1533
1612
|
});
|
|
1534
1613
|
};
|
|
1614
|
+
const serializeAws_json1_1ServiceVersion = (input, context) => {
|
|
1615
|
+
return {
|
|
1616
|
+
...(input.Version != null && { Version: input.Version }),
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1535
1619
|
const serializeAws_json1_1SnowconeDeviceConfiguration = (input, context) => {
|
|
1536
1620
|
return {
|
|
1537
1621
|
...(input.WirelessConnection != null && {
|
|
@@ -1752,6 +1836,23 @@ const deserializeAws_json1_1DataTransfer = (output, context) => {
|
|
|
1752
1836
|
TotalObjects: __expectLong(output.TotalObjects),
|
|
1753
1837
|
};
|
|
1754
1838
|
};
|
|
1839
|
+
const deserializeAws_json1_1DependentService = (output, context) => {
|
|
1840
|
+
return {
|
|
1841
|
+
ServiceName: __expectString(output.ServiceName),
|
|
1842
|
+
ServiceVersion: output.ServiceVersion != null ? deserializeAws_json1_1ServiceVersion(output.ServiceVersion, context) : undefined,
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
const deserializeAws_json1_1DependentServiceList = (output, context) => {
|
|
1846
|
+
const retVal = (output || [])
|
|
1847
|
+
.filter((e) => e != null)
|
|
1848
|
+
.map((entry) => {
|
|
1849
|
+
if (entry === null) {
|
|
1850
|
+
return null;
|
|
1851
|
+
}
|
|
1852
|
+
return deserializeAws_json1_1DependentService(entry, context);
|
|
1853
|
+
});
|
|
1854
|
+
return retVal;
|
|
1855
|
+
};
|
|
1755
1856
|
const deserializeAws_json1_1DescribeAddressesResult = (output, context) => {
|
|
1756
1857
|
return {
|
|
1757
1858
|
Addresses: output.Addresses != null ? deserializeAws_json1_1AddressList(output.Addresses, context) : undefined,
|
|
@@ -1814,6 +1915,12 @@ const deserializeAws_json1_1Ec2RequestFailedException = (output, context) => {
|
|
|
1814
1915
|
Message: __expectString(output.Message),
|
|
1815
1916
|
};
|
|
1816
1917
|
};
|
|
1918
|
+
const deserializeAws_json1_1EKSOnDeviceServiceConfiguration = (output, context) => {
|
|
1919
|
+
return {
|
|
1920
|
+
EKSAnywhereVersion: __expectString(output.EKSAnywhereVersion),
|
|
1921
|
+
KubernetesVersion: __expectString(output.KubernetesVersion),
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1817
1924
|
const deserializeAws_json1_1EventTriggerDefinition = (output, context) => {
|
|
1818
1925
|
return {
|
|
1819
1926
|
EventResourceARN: __expectString(output.EventResourceARN),
|
|
@@ -2052,6 +2159,18 @@ const deserializeAws_json1_1ListLongTermPricingResult = (output, context) => {
|
|
|
2052
2159
|
NextToken: __expectString(output.NextToken),
|
|
2053
2160
|
};
|
|
2054
2161
|
};
|
|
2162
|
+
const deserializeAws_json1_1ListServiceVersionsResult = (output, context) => {
|
|
2163
|
+
return {
|
|
2164
|
+
DependentServices: output.DependentServices != null
|
|
2165
|
+
? deserializeAws_json1_1DependentServiceList(output.DependentServices, context)
|
|
2166
|
+
: undefined,
|
|
2167
|
+
NextToken: __expectString(output.NextToken),
|
|
2168
|
+
ServiceName: __expectString(output.ServiceName),
|
|
2169
|
+
ServiceVersions: output.ServiceVersions != null
|
|
2170
|
+
? deserializeAws_json1_1ServiceVersionList(output.ServiceVersions, context)
|
|
2171
|
+
: undefined,
|
|
2172
|
+
};
|
|
2173
|
+
};
|
|
2055
2174
|
const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, context) => {
|
|
2056
2175
|
const retVal = (output || [])
|
|
2057
2176
|
.filter((e) => e != null)
|
|
@@ -2111,6 +2230,9 @@ const deserializeAws_json1_1Notification = (output, context) => {
|
|
|
2111
2230
|
};
|
|
2112
2231
|
const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) => {
|
|
2113
2232
|
return {
|
|
2233
|
+
EKSOnDeviceService: output.EKSOnDeviceService != null
|
|
2234
|
+
? deserializeAws_json1_1EKSOnDeviceServiceConfiguration(output.EKSOnDeviceService, context)
|
|
2235
|
+
: undefined,
|
|
2114
2236
|
NFSOnDeviceService: output.NFSOnDeviceService != null
|
|
2115
2237
|
? deserializeAws_json1_1NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
|
|
2116
2238
|
: undefined,
|
|
@@ -2144,6 +2266,22 @@ const deserializeAws_json1_1S3ResourceList = (output, context) => {
|
|
|
2144
2266
|
});
|
|
2145
2267
|
return retVal;
|
|
2146
2268
|
};
|
|
2269
|
+
const deserializeAws_json1_1ServiceVersion = (output, context) => {
|
|
2270
|
+
return {
|
|
2271
|
+
Version: __expectString(output.Version),
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
const deserializeAws_json1_1ServiceVersionList = (output, context) => {
|
|
2275
|
+
const retVal = (output || [])
|
|
2276
|
+
.filter((e) => e != null)
|
|
2277
|
+
.map((entry) => {
|
|
2278
|
+
if (entry === null) {
|
|
2279
|
+
return null;
|
|
2280
|
+
}
|
|
2281
|
+
return deserializeAws_json1_1ServiceVersion(entry, context);
|
|
2282
|
+
});
|
|
2283
|
+
return retVal;
|
|
2284
|
+
};
|
|
2147
2285
|
const deserializeAws_json1_1Shipment = (output, context) => {
|
|
2148
2286
|
return {
|
|
2149
2287
|
Status: __expectString(output.Status),
|
package/dist-types/Snowball.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
|
|
|
20
20
|
import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "./commands/ListCompatibleImagesCommand";
|
|
21
21
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
22
22
|
import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "./commands/ListLongTermPricingCommand";
|
|
23
|
+
import { ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput } from "./commands/ListServiceVersionsCommand";
|
|
23
24
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
24
25
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
25
26
|
import { UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput } from "./commands/UpdateJobShipmentStateCommand";
|
|
@@ -79,9 +80,7 @@ export declare class Snowball extends SnowballClient {
|
|
|
79
80
|
* <p>Availability of device types differ by Amazon Web Services Region. For more information
|
|
80
81
|
* about Region availability, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?p=ngi&loc=4">Amazon Web Services Regional Services</a>.</p>
|
|
81
82
|
* </note>
|
|
82
|
-
*
|
|
83
83
|
* <p></p>
|
|
84
|
-
*
|
|
85
84
|
* <p class="title">
|
|
86
85
|
* <b>Snow Family devices and their capacities.</b>
|
|
87
86
|
* </p>
|
|
@@ -97,7 +96,6 @@ export declare class Snowball extends SnowballClient {
|
|
|
97
96
|
* <p>Description: Snowcone </p>
|
|
98
97
|
* </li>
|
|
99
98
|
* </ul>
|
|
100
|
-
*
|
|
101
99
|
* <p></p>
|
|
102
100
|
* </li>
|
|
103
101
|
* <li>
|
|
@@ -124,8 +122,6 @@ export declare class Snowball extends SnowballClient {
|
|
|
124
122
|
* <p>Description: Snowball Edge Storage Optimized for data transfer only </p>
|
|
125
123
|
* </li>
|
|
126
124
|
* </ul>
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
125
|
* <p></p>
|
|
130
126
|
* </li>
|
|
131
127
|
* <li>
|
|
@@ -168,19 +164,6 @@ export declare class Snowball extends SnowballClient {
|
|
|
168
164
|
* <p></p>
|
|
169
165
|
* </li>
|
|
170
166
|
* <li>
|
|
171
|
-
* <p>Device type: <b>V3_5C</b>
|
|
172
|
-
* </p>
|
|
173
|
-
* <ul>
|
|
174
|
-
* <li>
|
|
175
|
-
* <p>Capacity: T32</p>
|
|
176
|
-
* </li>
|
|
177
|
-
* <li>
|
|
178
|
-
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
|
|
179
|
-
* </li>
|
|
180
|
-
* </ul>
|
|
181
|
-
* <p></p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
167
|
* <p>Device type: <b>STANDARD</b>
|
|
185
168
|
* </p>
|
|
186
169
|
* <ul>
|
|
@@ -272,21 +255,16 @@ export declare class Snowball extends SnowballClient {
|
|
|
272
255
|
* specified <code>JobId</code> value. You can access the manifest file for up to 60 minutes
|
|
273
256
|
* after this request has been made. To access the manifest file after 60 minutes have passed,
|
|
274
257
|
* you'll have to make another call to the <code>GetJobManifest</code> action.</p>
|
|
275
|
-
*
|
|
276
258
|
* <p>The manifest is an encrypted file that you can download after your job enters the
|
|
277
259
|
* <code>WithCustomer</code> status. This is the only valid status for calling this API as the
|
|
278
260
|
* manifest and <code>UnlockCode</code> code value are used for securing your device and should
|
|
279
261
|
* only be used when you have the device. The manifest is decrypted by using the
|
|
280
262
|
* <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
|
|
281
263
|
* Snowball client when the client is started for the first time. </p>
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
264
|
* <p>As a best practice, we recommend that you don't save a copy of an
|
|
285
265
|
* <code>UnlockCode</code> value in the same location as the manifest file for that job. Saving
|
|
286
266
|
* these separately helps prevent unauthorized parties from gaining access to the Snow device
|
|
287
267
|
* associated with that job.</p>
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
268
|
* <p>The credentials of a given job, including its manifest file and unlock code, expire 360
|
|
291
269
|
* days after the job is created.</p>
|
|
292
270
|
*/
|
|
@@ -297,14 +275,12 @@ export declare class Snowball extends SnowballClient {
|
|
|
297
275
|
* <p>Returns the <code>UnlockCode</code> code value for the specified job. A particular
|
|
298
276
|
* <code>UnlockCode</code> value can be accessed for up to 360 days after the associated job
|
|
299
277
|
* has been created.</p>
|
|
300
|
-
*
|
|
301
278
|
* <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric
|
|
302
279
|
* characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
|
|
303
280
|
* along with the manifest to the Snow device through the Snowball client when the client is
|
|
304
281
|
* started for the first time. The only valid status for calling this API is
|
|
305
282
|
* <code>WithCustomer</code> as the manifest and <code>Unlock</code> code values are used for
|
|
306
283
|
* securing your device and should only be used when you have the device.</p>
|
|
307
|
-
*
|
|
308
284
|
* <p>As a best practice, we recommend that you don't save a copy of the
|
|
309
285
|
* <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these
|
|
310
286
|
* separately helps prevent unauthorized parties from gaining access to the Snow device
|
|
@@ -316,7 +292,6 @@ export declare class Snowball extends SnowballClient {
|
|
|
316
292
|
/**
|
|
317
293
|
* <p>Returns information about the Snow Family service limit for your account, and also the
|
|
318
294
|
* number of Snow devices your account has in use.</p>
|
|
319
|
-
*
|
|
320
295
|
* <p>The default service limit for the number of Snow devices that you can have at one time
|
|
321
296
|
* is 1. If you want to increase your service limit, contact Amazon Web Services Support.</p>
|
|
322
297
|
*/
|
|
@@ -372,6 +347,13 @@ export declare class Snowball extends SnowballClient {
|
|
|
372
347
|
listLongTermPricing(args: ListLongTermPricingCommandInput, options?: __HttpHandlerOptions): Promise<ListLongTermPricingCommandOutput>;
|
|
373
348
|
listLongTermPricing(args: ListLongTermPricingCommandInput, cb: (err: any, data?: ListLongTermPricingCommandOutput) => void): void;
|
|
374
349
|
listLongTermPricing(args: ListLongTermPricingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLongTermPricingCommandOutput) => void): void;
|
|
350
|
+
/**
|
|
351
|
+
* <p>Lists all supported versions for Snow on-device services. Returns an
|
|
352
|
+
* array of <code>ServiceVersion</code> object containing the supported versions for a particular service.</p>
|
|
353
|
+
*/
|
|
354
|
+
listServiceVersions(args: ListServiceVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceVersionsCommandOutput>;
|
|
355
|
+
listServiceVersions(args: ListServiceVersionsCommandInput, cb: (err: any, data?: ListServiceVersionsCommandOutput) => void): void;
|
|
356
|
+
listServiceVersions(args: ListServiceVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceVersionsCommandOutput) => void): void;
|
|
375
357
|
/**
|
|
376
358
|
* <p>While a cluster's <code>ClusterState</code> value is in the <code>AwaitingQuorum</code>
|
|
377
359
|
* state, you can update some of the information associated with a cluster. Once the cluster
|
|
@@ -28,13 +28,14 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
|
|
|
28
28
|
import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "./commands/ListCompatibleImagesCommand";
|
|
29
29
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
30
30
|
import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "./commands/ListLongTermPricingCommand";
|
|
31
|
+
import { ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput } from "./commands/ListServiceVersionsCommand";
|
|
31
32
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
32
33
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
33
34
|
import { UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput } from "./commands/UpdateJobShipmentStateCommand";
|
|
34
35
|
import { UpdateLongTermPricingCommandInput, UpdateLongTermPricingCommandOutput } from "./commands/UpdateLongTermPricingCommand";
|
|
35
36
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
36
|
-
export declare type ServiceInputTypes = CancelClusterCommandInput | CancelJobCommandInput | CreateAddressCommandInput | CreateClusterCommandInput | CreateJobCommandInput | CreateLongTermPricingCommandInput | CreateReturnShippingLabelCommandInput | DescribeAddressCommandInput | DescribeAddressesCommandInput | DescribeClusterCommandInput | DescribeJobCommandInput | DescribeReturnShippingLabelCommandInput | GetJobManifestCommandInput | GetJobUnlockCodeCommandInput | GetSnowballUsageCommandInput | GetSoftwareUpdatesCommandInput | ListClusterJobsCommandInput | ListClustersCommandInput | ListCompatibleImagesCommandInput | ListJobsCommandInput | ListLongTermPricingCommandInput | UpdateClusterCommandInput | UpdateJobCommandInput | UpdateJobShipmentStateCommandInput | UpdateLongTermPricingCommandInput;
|
|
37
|
-
export declare type ServiceOutputTypes = CancelClusterCommandOutput | CancelJobCommandOutput | CreateAddressCommandOutput | CreateClusterCommandOutput | CreateJobCommandOutput | CreateLongTermPricingCommandOutput | CreateReturnShippingLabelCommandOutput | DescribeAddressCommandOutput | DescribeAddressesCommandOutput | DescribeClusterCommandOutput | DescribeJobCommandOutput | DescribeReturnShippingLabelCommandOutput | GetJobManifestCommandOutput | GetJobUnlockCodeCommandOutput | GetSnowballUsageCommandOutput | GetSoftwareUpdatesCommandOutput | ListClusterJobsCommandOutput | ListClustersCommandOutput | ListCompatibleImagesCommandOutput | ListJobsCommandOutput | ListLongTermPricingCommandOutput | UpdateClusterCommandOutput | UpdateJobCommandOutput | UpdateJobShipmentStateCommandOutput | UpdateLongTermPricingCommandOutput;
|
|
37
|
+
export declare type ServiceInputTypes = CancelClusterCommandInput | CancelJobCommandInput | CreateAddressCommandInput | CreateClusterCommandInput | CreateJobCommandInput | CreateLongTermPricingCommandInput | CreateReturnShippingLabelCommandInput | DescribeAddressCommandInput | DescribeAddressesCommandInput | DescribeClusterCommandInput | DescribeJobCommandInput | DescribeReturnShippingLabelCommandInput | GetJobManifestCommandInput | GetJobUnlockCodeCommandInput | GetSnowballUsageCommandInput | GetSoftwareUpdatesCommandInput | ListClusterJobsCommandInput | ListClustersCommandInput | ListCompatibleImagesCommandInput | ListJobsCommandInput | ListLongTermPricingCommandInput | ListServiceVersionsCommandInput | UpdateClusterCommandInput | UpdateJobCommandInput | UpdateJobShipmentStateCommandInput | UpdateLongTermPricingCommandInput;
|
|
38
|
+
export declare type ServiceOutputTypes = CancelClusterCommandOutput | CancelJobCommandOutput | CreateAddressCommandOutput | CreateClusterCommandOutput | CreateJobCommandOutput | CreateLongTermPricingCommandOutput | CreateReturnShippingLabelCommandOutput | DescribeAddressCommandOutput | DescribeAddressesCommandOutput | DescribeClusterCommandOutput | DescribeJobCommandOutput | DescribeReturnShippingLabelCommandOutput | GetJobManifestCommandOutput | GetJobUnlockCodeCommandOutput | GetSnowballUsageCommandOutput | GetSoftwareUpdatesCommandOutput | ListClusterJobsCommandOutput | ListClustersCommandOutput | ListCompatibleImagesCommandOutput | ListJobsCommandOutput | ListLongTermPricingCommandOutput | ListServiceVersionsCommandOutput | UpdateClusterCommandOutput | UpdateJobCommandOutput | UpdateJobShipmentStateCommandOutput | UpdateLongTermPricingCommandOutput;
|
|
38
39
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
39
40
|
/**
|
|
40
41
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -92,17 +93,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
92
93
|
*/
|
|
93
94
|
disableHostPrefix?: boolean;
|
|
94
95
|
/**
|
|
95
|
-
*
|
|
96
|
-
|
|
97
|
-
maxAttempts?: number | __Provider<number>;
|
|
98
|
-
/**
|
|
99
|
-
* Specifies which retry algorithm to use.
|
|
100
|
-
*/
|
|
101
|
-
retryMode?: string | __Provider<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Optional logger for logging debug/info/warn/error.
|
|
96
|
+
* Unique service identifier.
|
|
97
|
+
* @internal
|
|
104
98
|
*/
|
|
105
|
-
|
|
99
|
+
serviceId?: string;
|
|
106
100
|
/**
|
|
107
101
|
* Enables IPv6/IPv4 dualstack endpoint.
|
|
108
102
|
*/
|
|
@@ -111,11 +105,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
105
|
* Enables FIPS compatible endpoints.
|
|
112
106
|
*/
|
|
113
107
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
114
|
-
/**
|
|
115
|
-
* Unique service identifier.
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
|
-
serviceId?: string;
|
|
119
108
|
/**
|
|
120
109
|
* The AWS region to which this client will send requests
|
|
121
110
|
*/
|
|
@@ -130,6 +119,18 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
130
119
|
* @internal
|
|
131
120
|
*/
|
|
132
121
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
122
|
+
/**
|
|
123
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
124
|
+
*/
|
|
125
|
+
maxAttempts?: number | __Provider<number>;
|
|
126
|
+
/**
|
|
127
|
+
* Specifies which retry algorithm to use.
|
|
128
|
+
*/
|
|
129
|
+
retryMode?: string | __Provider<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Optional logger for logging debug/info/warn/error.
|
|
132
|
+
*/
|
|
133
|
+
logger?: __Logger;
|
|
133
134
|
/**
|
|
134
135
|
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
135
136
|
*/
|
|
@@ -19,9 +19,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
19
19
|
* <p>Availability of device types differ by Amazon Web Services Region. For more information
|
|
20
20
|
* about Region availability, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?p=ngi&loc=4">Amazon Web Services Regional Services</a>.</p>
|
|
21
21
|
* </note>
|
|
22
|
-
*
|
|
23
22
|
* <p></p>
|
|
24
|
-
*
|
|
25
23
|
* <p class="title">
|
|
26
24
|
* <b>Snow Family devices and their capacities.</b>
|
|
27
25
|
* </p>
|
|
@@ -37,7 +35,6 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
37
35
|
* <p>Description: Snowcone </p>
|
|
38
36
|
* </li>
|
|
39
37
|
* </ul>
|
|
40
|
-
*
|
|
41
38
|
* <p></p>
|
|
42
39
|
* </li>
|
|
43
40
|
* <li>
|
|
@@ -64,8 +61,6 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
64
61
|
* <p>Description: Snowball Edge Storage Optimized for data transfer only </p>
|
|
65
62
|
* </li>
|
|
66
63
|
* </ul>
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
64
|
* <p></p>
|
|
70
65
|
* </li>
|
|
71
66
|
* <li>
|
|
@@ -108,19 +103,6 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
108
103
|
* <p></p>
|
|
109
104
|
* </li>
|
|
110
105
|
* <li>
|
|
111
|
-
* <p>Device type: <b>V3_5C</b>
|
|
112
|
-
* </p>
|
|
113
|
-
* <ul>
|
|
114
|
-
* <li>
|
|
115
|
-
* <p>Capacity: T32</p>
|
|
116
|
-
* </li>
|
|
117
|
-
* <li>
|
|
118
|
-
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
|
|
119
|
-
* </li>
|
|
120
|
-
* </ul>
|
|
121
|
-
* <p></p>
|
|
122
|
-
* </li>
|
|
123
|
-
* <li>
|
|
124
106
|
* <p>Device type: <b>STANDARD</b>
|
|
125
107
|
* </p>
|
|
126
108
|
* <ul>
|
|
@@ -12,21 +12,16 @@ export interface GetJobManifestCommandOutput extends GetJobManifestResult, __Met
|
|
|
12
12
|
* specified <code>JobId</code> value. You can access the manifest file for up to 60 minutes
|
|
13
13
|
* after this request has been made. To access the manifest file after 60 minutes have passed,
|
|
14
14
|
* you'll have to make another call to the <code>GetJobManifest</code> action.</p>
|
|
15
|
-
*
|
|
16
15
|
* <p>The manifest is an encrypted file that you can download after your job enters the
|
|
17
16
|
* <code>WithCustomer</code> status. This is the only valid status for calling this API as the
|
|
18
17
|
* manifest and <code>UnlockCode</code> code value are used for securing your device and should
|
|
19
18
|
* only be used when you have the device. The manifest is decrypted by using the
|
|
20
19
|
* <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
|
|
21
20
|
* Snowball client when the client is started for the first time. </p>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
21
|
* <p>As a best practice, we recommend that you don't save a copy of an
|
|
25
22
|
* <code>UnlockCode</code> value in the same location as the manifest file for that job. Saving
|
|
26
23
|
* these separately helps prevent unauthorized parties from gaining access to the Snow device
|
|
27
24
|
* associated with that job.</p>
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
25
|
* <p>The credentials of a given job, including its manifest file and unlock code, expire 360
|
|
31
26
|
* days after the job is created.</p>
|
|
32
27
|
* @example
|
|
@@ -11,14 +11,12 @@ export interface GetJobUnlockCodeCommandOutput extends GetJobUnlockCodeResult, _
|
|
|
11
11
|
* <p>Returns the <code>UnlockCode</code> code value for the specified job. A particular
|
|
12
12
|
* <code>UnlockCode</code> value can be accessed for up to 360 days after the associated job
|
|
13
13
|
* has been created.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric
|
|
16
15
|
* characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
|
|
17
16
|
* along with the manifest to the Snow device through the Snowball client when the client is
|
|
18
17
|
* started for the first time. The only valid status for calling this API is
|
|
19
18
|
* <code>WithCustomer</code> as the manifest and <code>Unlock</code> code values are used for
|
|
20
19
|
* securing your device and should only be used when you have the device.</p>
|
|
21
|
-
*
|
|
22
20
|
* <p>As a best practice, we recommend that you don't save a copy of the
|
|
23
21
|
* <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these
|
|
24
22
|
* separately helps prevent unauthorized parties from gaining access to the Snow device
|
|
@@ -10,7 +10,6 @@ export interface GetSnowballUsageCommandOutput extends GetSnowballUsageResult, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns information about the Snow Family service limit for your account, and also the
|
|
12
12
|
* number of Snow devices your account has in use.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>The default service limit for the number of Snow devices that you can have at one time
|
|
15
14
|
* is 1. If you want to increase your service limit, contact Amazon Web Services Support.</p>
|
|
16
15
|
* @example
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListServiceVersionsRequest, ListServiceVersionsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
|
|
6
|
+
export interface ListServiceVersionsCommandInput extends ListServiceVersionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListServiceVersionsCommandOutput extends ListServiceVersionsResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all supported versions for Snow on-device services. Returns an
|
|
12
|
+
* array of <code>ServiceVersion</code> object containing the supported versions for a particular service.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { SnowballClient, ListServiceVersionsCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
17
|
+
* // const { SnowballClient, ListServiceVersionsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
18
|
+
* const client = new SnowballClient(config);
|
|
19
|
+
* const command = new ListServiceVersionsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListServiceVersionsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListServiceVersionsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListServiceVersionsCommand extends $Command<ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput, SnowballClientResolvedConfig> {
|
|
29
|
+
readonly input: ListServiceVersionsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListServiceVersionsCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./ListClustersCommand";
|
|
|
19
19
|
export * from "./ListCompatibleImagesCommand";
|
|
20
20
|
export * from "./ListJobsCommand";
|
|
21
21
|
export * from "./ListLongTermPricingCommand";
|
|
22
|
+
export * from "./ListServiceVersionsCommand";
|
|
22
23
|
export * from "./UpdateClusterCommand";
|
|
23
24
|
export * from "./UpdateJobCommand";
|
|
24
25
|
export * from "./UpdateJobShipmentStateCommand";
|