@aws-sdk/client-snowball 3.370.0 → 3.372.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/README.md +8 -0
- package/dist-cjs/Snowball.js +2 -0
- package/dist-cjs/commands/CreateJobCommand.js +2 -1
- package/dist-cjs/commands/DescribeJobCommand.js +2 -1
- package/dist-cjs/commands/ListPickupLocationsCommand.js +46 -0
- package/dist-cjs/commands/UpdateJobCommand.js +2 -1
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/pagination/ListPickupLocationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +70 -2
- package/dist-es/Snowball.js +2 -0
- package/dist-es/commands/CreateJobCommand.js +2 -1
- package/dist-es/commands/DescribeJobCommand.js +2 -1
- package/dist-es/commands/ListPickupLocationsCommand.js +42 -0
- package/dist-es/commands/UpdateJobCommand.js +2 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +37 -0
- package/dist-es/pagination/ListPickupLocationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +66 -0
- package/dist-types/Snowball.d.ts +7 -0
- package/dist-types/SnowballClient.d.ts +3 -2
- package/dist-types/commands/CreateAddressCommand.d.ts +1 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +5 -4
- package/dist-types/commands/CreateJobCommand.d.ts +20 -8
- package/dist-types/commands/CreateLongTermPricingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +2 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +30 -6
- package/dist-types/commands/ListClusterJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListCompatibleImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListLongTermPricingCommand.d.ts +1 -1
- package/dist-types/commands/ListPickupLocationsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +11 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +146 -4
- package/dist-types/pagination/ListPickupLocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Snowball.d.ts +17 -0
- package/dist-types/ts3.4/SnowballClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListPickupLocationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -1
- package/dist-types/ts3.4/pagination/ListPickupLocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -128,6 +128,12 @@ export const se_ListLongTermPricingCommand = async (input, context) => {
|
|
|
128
128
|
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
+
export const se_ListPickupLocationsCommand = async (input, context) => {
|
|
132
|
+
const headers = sharedHeaders("ListPickupLocations");
|
|
133
|
+
let body;
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
|
+
};
|
|
131
137
|
export const se_ListServiceVersionsCommand = async (input, context) => {
|
|
132
138
|
const headers = sharedHeaders("ListServiceVersions");
|
|
133
139
|
let body;
|
|
@@ -899,6 +905,38 @@ const de_ListLongTermPricingCommandError = async (output, context) => {
|
|
|
899
905
|
});
|
|
900
906
|
}
|
|
901
907
|
};
|
|
908
|
+
export const de_ListPickupLocationsCommand = async (output, context) => {
|
|
909
|
+
if (output.statusCode >= 300) {
|
|
910
|
+
return de_ListPickupLocationsCommandError(output, context);
|
|
911
|
+
}
|
|
912
|
+
const data = await parseBody(output.body, context);
|
|
913
|
+
let contents = {};
|
|
914
|
+
contents = _json(data);
|
|
915
|
+
const response = {
|
|
916
|
+
$metadata: deserializeMetadata(output),
|
|
917
|
+
...contents,
|
|
918
|
+
};
|
|
919
|
+
return response;
|
|
920
|
+
};
|
|
921
|
+
const de_ListPickupLocationsCommandError = async (output, context) => {
|
|
922
|
+
const parsedOutput = {
|
|
923
|
+
...output,
|
|
924
|
+
body: await parseErrorBody(output.body, context),
|
|
925
|
+
};
|
|
926
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
927
|
+
switch (errorCode) {
|
|
928
|
+
case "InvalidResourceException":
|
|
929
|
+
case "com.amazonaws.snowball#InvalidResourceException":
|
|
930
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
931
|
+
default:
|
|
932
|
+
const parsedBody = parsedOutput.body;
|
|
933
|
+
return throwDefaultError({
|
|
934
|
+
output,
|
|
935
|
+
parsedBody,
|
|
936
|
+
errorCode,
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
};
|
|
902
940
|
export const de_ListServiceVersionsCommand = async (output, context) => {
|
|
903
941
|
if (output.statusCode >= 300) {
|
|
904
942
|
return de_ListServiceVersionsCommandError(output, context);
|
|
@@ -1219,11 +1257,13 @@ const se_CreateJobRequest = (input, context) => {
|
|
|
1219
1257
|
Description: [],
|
|
1220
1258
|
DeviceConfiguration: _json,
|
|
1221
1259
|
ForwardingAddressId: [],
|
|
1260
|
+
ImpactLevel: [],
|
|
1222
1261
|
JobType: [],
|
|
1223
1262
|
KmsKeyARN: [],
|
|
1224
1263
|
LongTermPricingId: [],
|
|
1225
1264
|
Notification: _json,
|
|
1226
1265
|
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1266
|
+
PickupDetails: (_) => se_PickupDetails(_, context),
|
|
1227
1267
|
RemoteManagement: [],
|
|
1228
1268
|
Resources: _json,
|
|
1229
1269
|
RoleARN: [],
|
|
@@ -1241,6 +1281,17 @@ const se_OnDeviceServiceConfiguration = (input, context) => {
|
|
|
1241
1281
|
TGWOnDeviceService: _json,
|
|
1242
1282
|
});
|
|
1243
1283
|
};
|
|
1284
|
+
const se_PickupDetails = (input, context) => {
|
|
1285
|
+
return take(input, {
|
|
1286
|
+
DevicePickupId: [],
|
|
1287
|
+
Email: [],
|
|
1288
|
+
IdentificationExpirationDate: (_) => Math.round(_.getTime() / 1000),
|
|
1289
|
+
IdentificationIssuingOrg: [],
|
|
1290
|
+
IdentificationNumber: [],
|
|
1291
|
+
Name: [],
|
|
1292
|
+
PhoneNumber: [],
|
|
1293
|
+
});
|
|
1294
|
+
};
|
|
1244
1295
|
const se_S3OnDeviceServiceConfiguration = (input, context) => {
|
|
1245
1296
|
return take(input, {
|
|
1246
1297
|
FaultTolerance: [],
|
|
@@ -1270,6 +1321,7 @@ const se_UpdateJobRequest = (input, context) => {
|
|
|
1270
1321
|
JobId: [],
|
|
1271
1322
|
Notification: _json,
|
|
1272
1323
|
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1324
|
+
PickupDetails: (_) => se_PickupDetails(_, context),
|
|
1273
1325
|
Resources: _json,
|
|
1274
1326
|
RoleARN: [],
|
|
1275
1327
|
ShippingOption: [],
|
|
@@ -1363,6 +1415,7 @@ const de_JobMetadata = (output, context) => {
|
|
|
1363
1415
|
Description: __expectString,
|
|
1364
1416
|
DeviceConfiguration: _json,
|
|
1365
1417
|
ForwardingAddressId: __expectString,
|
|
1418
|
+
ImpactLevel: __expectString,
|
|
1366
1419
|
JobId: __expectString,
|
|
1367
1420
|
JobLogInfo: _json,
|
|
1368
1421
|
JobState: __expectString,
|
|
@@ -1371,11 +1424,13 @@ const de_JobMetadata = (output, context) => {
|
|
|
1371
1424
|
LongTermPricingId: __expectString,
|
|
1372
1425
|
Notification: _json,
|
|
1373
1426
|
OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
|
|
1427
|
+
PickupDetails: (_) => de_PickupDetails(_, context),
|
|
1374
1428
|
RemoteManagement: __expectString,
|
|
1375
1429
|
Resources: _json,
|
|
1376
1430
|
RoleARN: __expectString,
|
|
1377
1431
|
ShippingDetails: _json,
|
|
1378
1432
|
SnowballCapacityPreference: __expectString,
|
|
1433
|
+
SnowballId: __expectString,
|
|
1379
1434
|
SnowballType: __expectString,
|
|
1380
1435
|
TaxDocuments: _json,
|
|
1381
1436
|
});
|
|
@@ -1442,6 +1497,17 @@ const de_OnDeviceServiceConfiguration = (output, context) => {
|
|
|
1442
1497
|
TGWOnDeviceService: _json,
|
|
1443
1498
|
});
|
|
1444
1499
|
};
|
|
1500
|
+
const de_PickupDetails = (output, context) => {
|
|
1501
|
+
return take(output, {
|
|
1502
|
+
DevicePickupId: __expectString,
|
|
1503
|
+
Email: __expectString,
|
|
1504
|
+
IdentificationExpirationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1505
|
+
IdentificationIssuingOrg: __expectString,
|
|
1506
|
+
IdentificationNumber: __expectString,
|
|
1507
|
+
Name: __expectString,
|
|
1508
|
+
PhoneNumber: __expectString,
|
|
1509
|
+
});
|
|
1510
|
+
};
|
|
1445
1511
|
const de_S3OnDeviceServiceConfiguration = (output, context) => {
|
|
1446
1512
|
return take(output, {
|
|
1447
1513
|
FaultTolerance: __expectInt32,
|
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 { ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput } from "./commands/ListPickupLocationsCommand";
|
|
23
24
|
import { ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput } from "./commands/ListServiceVersionsCommand";
|
|
24
25
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
25
26
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
@@ -153,6 +154,12 @@ export interface Snowball {
|
|
|
153
154
|
listLongTermPricing(args: ListLongTermPricingCommandInput, options?: __HttpHandlerOptions): Promise<ListLongTermPricingCommandOutput>;
|
|
154
155
|
listLongTermPricing(args: ListLongTermPricingCommandInput, cb: (err: any, data?: ListLongTermPricingCommandOutput) => void): void;
|
|
155
156
|
listLongTermPricing(args: ListLongTermPricingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLongTermPricingCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link ListPickupLocationsCommand}
|
|
159
|
+
*/
|
|
160
|
+
listPickupLocations(args: ListPickupLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPickupLocationsCommandOutput>;
|
|
161
|
+
listPickupLocations(args: ListPickupLocationsCommandInput, cb: (err: any, data?: ListPickupLocationsCommandOutput) => void): void;
|
|
162
|
+
listPickupLocations(args: ListPickupLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPickupLocationsCommandOutput) => void): void;
|
|
156
163
|
/**
|
|
157
164
|
* @see {@link ListServiceVersionsCommand}
|
|
158
165
|
*/
|
|
@@ -29,6 +29,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
|
|
|
29
29
|
import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "./commands/ListCompatibleImagesCommand";
|
|
30
30
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
31
31
|
import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "./commands/ListLongTermPricingCommand";
|
|
32
|
+
import { ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput } from "./commands/ListPickupLocationsCommand";
|
|
32
33
|
import { ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput } from "./commands/ListServiceVersionsCommand";
|
|
33
34
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
34
35
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "./commands/UpdateJobCommand";
|
|
@@ -39,11 +40,11 @@ export { __Client };
|
|
|
39
40
|
/**
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
|
-
export 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;
|
|
43
|
+
export type ServiceInputTypes = CancelClusterCommandInput | CancelJobCommandInput | CreateAddressCommandInput | CreateClusterCommandInput | CreateJobCommandInput | CreateLongTermPricingCommandInput | CreateReturnShippingLabelCommandInput | DescribeAddressCommandInput | DescribeAddressesCommandInput | DescribeClusterCommandInput | DescribeJobCommandInput | DescribeReturnShippingLabelCommandInput | GetJobManifestCommandInput | GetJobUnlockCodeCommandInput | GetSnowballUsageCommandInput | GetSoftwareUpdatesCommandInput | ListClusterJobsCommandInput | ListClustersCommandInput | ListCompatibleImagesCommandInput | ListJobsCommandInput | ListLongTermPricingCommandInput | ListPickupLocationsCommandInput | ListServiceVersionsCommandInput | UpdateClusterCommandInput | UpdateJobCommandInput | UpdateJobShipmentStateCommandInput | UpdateLongTermPricingCommandInput;
|
|
43
44
|
/**
|
|
44
45
|
* @public
|
|
45
46
|
*/
|
|
46
|
-
export 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;
|
|
47
|
+
export type ServiceOutputTypes = CancelClusterCommandOutput | CancelJobCommandOutput | CreateAddressCommandOutput | CreateClusterCommandOutput | CreateJobCommandOutput | CreateLongTermPricingCommandOutput | CreateReturnShippingLabelCommandOutput | DescribeAddressCommandOutput | DescribeAddressesCommandOutput | DescribeClusterCommandOutput | DescribeJobCommandOutput | DescribeReturnShippingLabelCommandOutput | GetJobManifestCommandOutput | GetJobUnlockCodeCommandOutput | GetSnowballUsageCommandOutput | GetSoftwareUpdatesCommandOutput | ListClusterJobsCommandOutput | ListClustersCommandOutput | ListCompatibleImagesCommandOutput | ListJobsCommandOutput | ListLongTermPricingCommandOutput | ListPickupLocationsCommandOutput | ListServiceVersionsCommandOutput | UpdateClusterCommandOutput | UpdateJobCommandOutput | UpdateJobShipmentStateCommandOutput | UpdateLongTermPricingCommandOutput;
|
|
47
48
|
/**
|
|
48
49
|
* @public
|
|
49
50
|
*/
|
|
@@ -49,6 +49,7 @@ export interface CreateAddressCommandOutput extends CreateAddressResult, __Metad
|
|
|
49
49
|
* PostalCode: "STRING_VALUE",
|
|
50
50
|
* PhoneNumber: "STRING_VALUE",
|
|
51
51
|
* IsRestricted: true || false,
|
|
52
|
+
* Type: "CUST_PICKUP" || "AWS_SHIP",
|
|
52
53
|
* },
|
|
53
54
|
* };
|
|
54
55
|
* const command = new CreateAddressCommand(input);
|
|
@@ -90,7 +90,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
90
90
|
* AddressId: "STRING_VALUE", // required
|
|
91
91
|
* KmsKeyARN: "STRING_VALUE",
|
|
92
92
|
* RoleARN: "STRING_VALUE",
|
|
93
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S", // required
|
|
93
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", // required
|
|
94
94
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD", // required
|
|
95
95
|
* Notification: { // Notification
|
|
96
96
|
* SnsTopicARN: "STRING_VALUE",
|
|
@@ -98,6 +98,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
98
98
|
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
99
99
|
* ],
|
|
100
100
|
* NotifyAll: true || false,
|
|
101
|
+
* DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
101
102
|
* },
|
|
102
103
|
* ForwardingAddressId: "STRING_VALUE",
|
|
103
104
|
* TaxDocuments: { // TaxDocuments
|
|
@@ -105,13 +106,13 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
105
106
|
* GSTIN: "STRING_VALUE",
|
|
106
107
|
* },
|
|
107
108
|
* },
|
|
108
|
-
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
109
|
+
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
|
|
109
110
|
* InitialClusterSize: Number("int"),
|
|
110
111
|
* ForceCreateJobs: true || false,
|
|
111
112
|
* LongTermPricingIds: [ // LongTermPricingIdList
|
|
112
113
|
* "STRING_VALUE",
|
|
113
114
|
* ],
|
|
114
|
-
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
115
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
|
|
115
116
|
* };
|
|
116
117
|
* const command = new CreateClusterCommand(input);
|
|
117
118
|
* const response = await client.send(command);
|
|
@@ -123,7 +124,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
123
124
|
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
124
125
|
* // IsMaster: true || false,
|
|
125
126
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
126
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
127
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
127
128
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
128
129
|
* // Description: "STRING_VALUE",
|
|
129
130
|
* // },
|
|
@@ -115,6 +115,9 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
115
115
|
* <p>Description: Snowball Edge Storage Optimized with EC2 Compute</p>
|
|
116
116
|
* </li>
|
|
117
117
|
* </ul>
|
|
118
|
+
* <note>
|
|
119
|
+
* <p>This device is replaced with T98.</p>
|
|
120
|
+
* </note>
|
|
118
121
|
* <p></p>
|
|
119
122
|
* </li>
|
|
120
123
|
* <li>
|
|
@@ -151,17 +154,16 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
151
154
|
* <p></p>
|
|
152
155
|
* </li>
|
|
153
156
|
* <li>
|
|
154
|
-
* <p>
|
|
157
|
+
* <p>Snow Family device type: <b>RACK_5U_C</b>
|
|
155
158
|
* </p>
|
|
156
159
|
* <ul>
|
|
157
160
|
* <li>
|
|
158
|
-
* <p>Capacity:
|
|
161
|
+
* <p>Capacity: T13 </p>
|
|
159
162
|
* </li>
|
|
160
163
|
* <li>
|
|
161
|
-
* <p>Description:
|
|
164
|
+
* <p>Description: Snowblade.</p>
|
|
162
165
|
* </li>
|
|
163
166
|
* </ul>
|
|
164
|
-
* <p></p>
|
|
165
167
|
* </li>
|
|
166
168
|
* <li>
|
|
167
169
|
* <p>Device type: <b>V3_5S</b>
|
|
@@ -174,7 +176,6 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
174
176
|
* <p>Description: Snowball Edge Storage Optimized 210TB</p>
|
|
175
177
|
* </li>
|
|
176
178
|
* </ul>
|
|
177
|
-
* <p></p>
|
|
178
179
|
* </li>
|
|
179
180
|
* </ul>
|
|
180
181
|
* @example
|
|
@@ -242,7 +243,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
242
243
|
* AddressId: "STRING_VALUE",
|
|
243
244
|
* KmsKeyARN: "STRING_VALUE",
|
|
244
245
|
* RoleARN: "STRING_VALUE",
|
|
245
|
-
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
246
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
|
|
246
247
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
247
248
|
* Notification: { // Notification
|
|
248
249
|
* SnsTopicARN: "STRING_VALUE",
|
|
@@ -250,9 +251,10 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
250
251
|
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
251
252
|
* ],
|
|
252
253
|
* NotifyAll: true || false,
|
|
254
|
+
* DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
253
255
|
* },
|
|
254
256
|
* ClusterId: "STRING_VALUE",
|
|
255
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
257
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
256
258
|
* ForwardingAddressId: "STRING_VALUE",
|
|
257
259
|
* TaxDocuments: { // TaxDocuments
|
|
258
260
|
* IND: { // INDTaxDocuments
|
|
@@ -266,8 +268,18 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
266
268
|
* },
|
|
267
269
|
* },
|
|
268
270
|
* },
|
|
269
|
-
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
271
|
+
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
|
|
270
272
|
* LongTermPricingId: "STRING_VALUE",
|
|
273
|
+
* ImpactLevel: "IL2" || "IL4" || "IL5" || "IL6" || "IL99",
|
|
274
|
+
* PickupDetails: { // PickupDetails
|
|
275
|
+
* Name: "STRING_VALUE",
|
|
276
|
+
* PhoneNumber: "STRING_VALUE",
|
|
277
|
+
* Email: "STRING_VALUE",
|
|
278
|
+
* IdentificationNumber: "STRING_VALUE",
|
|
279
|
+
* IdentificationExpirationDate: new Date("TIMESTAMP"),
|
|
280
|
+
* IdentificationIssuingOrg: "STRING_VALUE",
|
|
281
|
+
* DevicePickupId: "STRING_VALUE",
|
|
282
|
+
* },
|
|
271
283
|
* };
|
|
272
284
|
* const command = new CreateJobCommand(input);
|
|
273
285
|
* const response = await client.send(command);
|
|
@@ -35,7 +35,7 @@ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricin
|
|
|
35
35
|
* const input = { // CreateLongTermPricingRequest
|
|
36
36
|
* LongTermPricingType: "OneYear" || "ThreeYear" || "OneMonth", // required
|
|
37
37
|
* IsLongTermPricingAutoRenew: true || false,
|
|
38
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
38
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new CreateLongTermPricingCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
@@ -55,6 +55,7 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
|
|
|
55
55
|
* // PostalCode: "STRING_VALUE",
|
|
56
56
|
* // PhoneNumber: "STRING_VALUE",
|
|
57
57
|
* // IsRestricted: true || false,
|
|
58
|
+
* // Type: "CUST_PICKUP" || "AWS_SHIP",
|
|
58
59
|
* // },
|
|
59
60
|
* // ],
|
|
60
61
|
* // NextToken: "STRING_VALUE",
|
|
@@ -44,7 +44,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
|
|
|
44
44
|
* // RoleARN: "STRING_VALUE",
|
|
45
45
|
* // ClusterState: "AwaitingQuorum" || "Pending" || "InUse" || "Complete" || "Cancelled",
|
|
46
46
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
47
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
47
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
48
48
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
49
49
|
* // Resources: { // JobResource
|
|
50
50
|
* // S3Resources: [ // S3ResourceList
|
|
@@ -87,6 +87,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
|
|
|
87
87
|
* // "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
88
88
|
* // ],
|
|
89
89
|
* // NotifyAll: true || false,
|
|
90
|
+
* // DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
90
91
|
* // },
|
|
91
92
|
* // ForwardingAddressId: "STRING_VALUE",
|
|
92
93
|
* // TaxDocuments: { // TaxDocuments
|
|
@@ -41,7 +41,7 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
41
41
|
* // JobId: "STRING_VALUE",
|
|
42
42
|
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
43
43
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
44
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
44
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
45
45
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
46
46
|
* // Resources: { // JobResource
|
|
47
47
|
* // S3Resources: [ // S3ResourceList
|
|
@@ -91,13 +91,14 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
91
91
|
* // TrackingNumber: "STRING_VALUE",
|
|
92
92
|
* // },
|
|
93
93
|
* // },
|
|
94
|
-
* // SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
94
|
+
* // SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
|
|
95
95
|
* // Notification: { // Notification
|
|
96
96
|
* // SnsTopicARN: "STRING_VALUE",
|
|
97
97
|
* // JobStatesToNotify: [ // JobStateList
|
|
98
98
|
* // "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
99
99
|
* // ],
|
|
100
100
|
* // NotifyAll: true || false,
|
|
101
|
+
* // DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
101
102
|
* // },
|
|
102
103
|
* // DataTransferProgress: { // DataTransfer
|
|
103
104
|
* // BytesTransferred: Number("long"),
|
|
@@ -124,7 +125,7 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
124
125
|
* // },
|
|
125
126
|
* // },
|
|
126
127
|
* // },
|
|
127
|
-
* // RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
128
|
+
* // RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
|
|
128
129
|
* // LongTermPricingId: "STRING_VALUE",
|
|
129
130
|
* // OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
130
131
|
* // NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
@@ -146,13 +147,24 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
146
147
|
* // FaultTolerance: Number("int"),
|
|
147
148
|
* // },
|
|
148
149
|
* // },
|
|
150
|
+
* // ImpactLevel: "IL2" || "IL4" || "IL5" || "IL6" || "IL99",
|
|
151
|
+
* // PickupDetails: { // PickupDetails
|
|
152
|
+
* // Name: "STRING_VALUE",
|
|
153
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
154
|
+
* // Email: "STRING_VALUE",
|
|
155
|
+
* // IdentificationNumber: "STRING_VALUE",
|
|
156
|
+
* // IdentificationExpirationDate: new Date("TIMESTAMP"),
|
|
157
|
+
* // IdentificationIssuingOrg: "STRING_VALUE",
|
|
158
|
+
* // DevicePickupId: "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // SnowballId: "STRING_VALUE",
|
|
149
161
|
* // },
|
|
150
162
|
* // SubJobMetadata: [ // JobMetadataList
|
|
151
163
|
* // {
|
|
152
164
|
* // JobId: "STRING_VALUE",
|
|
153
165
|
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
154
166
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
155
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
167
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
156
168
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
157
169
|
* // Resources: {
|
|
158
170
|
* // S3Resources: [
|
|
@@ -202,13 +214,14 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
202
214
|
* // TrackingNumber: "STRING_VALUE",
|
|
203
215
|
* // },
|
|
204
216
|
* // },
|
|
205
|
-
* // SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
217
|
+
* // SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
|
|
206
218
|
* // Notification: {
|
|
207
219
|
* // SnsTopicARN: "STRING_VALUE",
|
|
208
220
|
* // JobStatesToNotify: [
|
|
209
221
|
* // "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
210
222
|
* // ],
|
|
211
223
|
* // NotifyAll: true || false,
|
|
224
|
+
* // DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
212
225
|
* // },
|
|
213
226
|
* // DataTransferProgress: {
|
|
214
227
|
* // BytesTransferred: Number("long"),
|
|
@@ -235,7 +248,7 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
235
248
|
* // },
|
|
236
249
|
* // },
|
|
237
250
|
* // },
|
|
238
|
-
* // RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
251
|
+
* // RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
|
|
239
252
|
* // LongTermPricingId: "STRING_VALUE",
|
|
240
253
|
* // OnDeviceServiceConfiguration: {
|
|
241
254
|
* // NFSOnDeviceService: {
|
|
@@ -257,6 +270,17 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
|
|
|
257
270
|
* // FaultTolerance: Number("int"),
|
|
258
271
|
* // },
|
|
259
272
|
* // },
|
|
273
|
+
* // ImpactLevel: "IL2" || "IL4" || "IL5" || "IL6" || "IL99",
|
|
274
|
+
* // PickupDetails: {
|
|
275
|
+
* // Name: "STRING_VALUE",
|
|
276
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
277
|
+
* // Email: "STRING_VALUE",
|
|
278
|
+
* // IdentificationNumber: "STRING_VALUE",
|
|
279
|
+
* // IdentificationExpirationDate: new Date("TIMESTAMP"),
|
|
280
|
+
* // IdentificationIssuingOrg: "STRING_VALUE",
|
|
281
|
+
* // DevicePickupId: "STRING_VALUE",
|
|
282
|
+
* // },
|
|
283
|
+
* // SnowballId: "STRING_VALUE",
|
|
260
284
|
* // },
|
|
261
285
|
* // ],
|
|
262
286
|
* // };
|
|
@@ -46,7 +46,7 @@ export interface ListClusterJobsCommandOutput extends ListClusterJobsResult, __M
|
|
|
46
46
|
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
47
47
|
* // IsMaster: true || false,
|
|
48
48
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
49
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
49
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
50
50
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
51
51
|
* // Description: "STRING_VALUE",
|
|
52
52
|
* // },
|
|
@@ -23,7 +23,7 @@ export interface ListCompatibleImagesCommandOutput extends ListCompatibleImagesR
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)
|
|
26
|
+
* <p>This action returns a list of the different Amazon EC2-compatible Amazon Machine Images (AMIs)
|
|
27
27
|
* that are owned by your Amazon Web Services accountthat would be supported for use on a Snow
|
|
28
28
|
* device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the
|
|
29
29
|
* Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.</p>
|
|
@@ -47,7 +47,7 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
|
|
|
47
47
|
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
48
48
|
* // IsMaster: true || false,
|
|
49
49
|
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
50
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
50
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
51
51
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // },
|
|
@@ -47,7 +47,7 @@ export interface ListLongTermPricingCommandOutput extends ListLongTermPricingRes
|
|
|
47
47
|
* // ReplacementJob: "STRING_VALUE",
|
|
48
48
|
* // IsLongTermPricingAutoRenew: true || false,
|
|
49
49
|
* // LongTermPricingStatus: "STRING_VALUE",
|
|
50
|
-
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
50
|
+
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
|
|
51
51
|
* // JobIds: [ // LongTermPricingAssociatedJobIdList
|
|
52
52
|
* // "STRING_VALUE",
|
|
53
53
|
* // ],
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListPickupLocationsRequest, ListPickupLocationsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPickupLocationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPickupLocationsCommandInput extends ListPickupLocationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPickupLocationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPickupLocationsCommandOutput extends ListPickupLocationsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>A list of locations from which the customer can choose to pickup a device.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SnowballClient, ListPickupLocationsCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
31
|
+
* // const { SnowballClient, ListPickupLocationsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
32
|
+
* const client = new SnowballClient(config);
|
|
33
|
+
* const input = { // ListPickupLocationsRequest
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListPickupLocationsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListPickupLocationsResult
|
|
40
|
+
* // Addresses: [ // AddressList
|
|
41
|
+
* // { // Address
|
|
42
|
+
* // AddressId: "STRING_VALUE",
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // Company: "STRING_VALUE",
|
|
45
|
+
* // Street1: "STRING_VALUE",
|
|
46
|
+
* // Street2: "STRING_VALUE",
|
|
47
|
+
* // Street3: "STRING_VALUE",
|
|
48
|
+
* // City: "STRING_VALUE",
|
|
49
|
+
* // StateOrProvince: "STRING_VALUE",
|
|
50
|
+
* // PrefectureOrDistrict: "STRING_VALUE",
|
|
51
|
+
* // Landmark: "STRING_VALUE",
|
|
52
|
+
* // Country: "STRING_VALUE",
|
|
53
|
+
* // PostalCode: "STRING_VALUE",
|
|
54
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
55
|
+
* // IsRestricted: true || false,
|
|
56
|
+
* // Type: "CUST_PICKUP" || "AWS_SHIP",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // NextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListPickupLocationsCommandInput - {@link ListPickupLocationsCommandInput}
|
|
65
|
+
* @returns {@link ListPickupLocationsCommandOutput}
|
|
66
|
+
* @see {@link ListPickupLocationsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListPickupLocationsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidResourceException} (client fault)
|
|
71
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
72
|
+
* request, and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SnowballServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Snowball service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListPickupLocationsCommand extends $Command<ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput, SnowballClientResolvedConfig> {
|
|
79
|
+
readonly input: ListPickupLocationsCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: ListPickupLocationsCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -98,6 +98,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
|
|
|
98
98
|
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
99
99
|
* ],
|
|
100
100
|
* NotifyAll: true || false,
|
|
101
|
+
* DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
101
102
|
* },
|
|
102
103
|
* ForwardingAddressId: "STRING_VALUE",
|
|
103
104
|
* };
|