@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
|
@@ -41,6 +41,7 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
41
41
|
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
42
42
|
* ],
|
|
43
43
|
* NotifyAll: true || false,
|
|
44
|
+
* DevicePickupSnsTopicARN: "STRING_VALUE",
|
|
44
45
|
* },
|
|
45
46
|
* Resources: { // JobResource
|
|
46
47
|
* S3Resources: [ // S3ResourceList
|
|
@@ -98,8 +99,17 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
98
99
|
* AddressId: "STRING_VALUE",
|
|
99
100
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
100
101
|
* Description: "STRING_VALUE",
|
|
101
|
-
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
102
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
|
|
102
103
|
* ForwardingAddressId: "STRING_VALUE",
|
|
104
|
+
* PickupDetails: { // PickupDetails
|
|
105
|
+
* Name: "STRING_VALUE",
|
|
106
|
+
* PhoneNumber: "STRING_VALUE",
|
|
107
|
+
* Email: "STRING_VALUE",
|
|
108
|
+
* IdentificationNumber: "STRING_VALUE",
|
|
109
|
+
* IdentificationExpirationDate: new Date("TIMESTAMP"),
|
|
110
|
+
* IdentificationIssuingOrg: "STRING_VALUE",
|
|
111
|
+
* DevicePickupId: "STRING_VALUE",
|
|
112
|
+
* },
|
|
103
113
|
* };
|
|
104
114
|
* const command = new UpdateJobCommand(input);
|
|
105
115
|
* const response = await client.send(command);
|
|
@@ -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 "./ListPickupLocationsCommand";
|
|
22
23
|
export * from "./ListServiceVersionsCommand";
|
|
23
24
|
export * from "./UpdateClusterCommand";
|
|
24
25
|
export * from "./UpdateJobCommand";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const AddressType: {
|
|
8
|
+
readonly AWS_SHIP: "AWS_SHIP";
|
|
9
|
+
readonly CUST_PICKUP: "CUST_PICKUP";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type AddressType = (typeof AddressType)[keyof typeof AddressType];
|
|
3
15
|
/**
|
|
4
16
|
* @public
|
|
5
17
|
* <p>The address that you want the Snow device(s) associated with a specific job to be
|
|
@@ -70,6 +82,10 @@ export interface Address {
|
|
|
70
82
|
* true. This field is not supported in most regions.</p>
|
|
71
83
|
*/
|
|
72
84
|
IsRestricted?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Differentiates between delivery address and pickup address in the customer account. Provided at job creation.</p>
|
|
87
|
+
*/
|
|
88
|
+
Type?: AddressType | string;
|
|
73
89
|
}
|
|
74
90
|
/**
|
|
75
91
|
* @public
|
|
@@ -260,6 +276,10 @@ export interface Notification {
|
|
|
260
276
|
* <p>Any change in job state will trigger a notification for this job.</p>
|
|
261
277
|
*/
|
|
262
278
|
NotifyAll?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* <p>Used to send SNS notifications for the person picking up the device (identified during job creation).</p>
|
|
281
|
+
*/
|
|
282
|
+
DevicePickupSnsTopicARN?: string;
|
|
263
283
|
}
|
|
264
284
|
/**
|
|
265
285
|
* @public
|
|
@@ -372,6 +392,7 @@ export interface OnDeviceServiceConfiguration {
|
|
|
372
392
|
export declare const RemoteManagement: {
|
|
373
393
|
readonly INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART";
|
|
374
394
|
readonly INSTALLED_ONLY: "INSTALLED_ONLY";
|
|
395
|
+
readonly NOT_INSTALLED: "NOT_INSTALLED";
|
|
375
396
|
};
|
|
376
397
|
/**
|
|
377
398
|
* @public
|
|
@@ -380,7 +401,7 @@ export type RemoteManagement = (typeof RemoteManagement)[keyof typeof RemoteMana
|
|
|
380
401
|
/**
|
|
381
402
|
* @public
|
|
382
403
|
* <p>A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI),
|
|
383
|
-
* including the Amazon EC2 AMI ID and the Snow device AMI ID. Each AMI has these two IDs to
|
|
404
|
+
* including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to
|
|
384
405
|
* simplify identifying the AMI in both the Amazon Web Services Cloud and on the device.</p>
|
|
385
406
|
*/
|
|
386
407
|
export interface Ec2AmiResource {
|
|
@@ -548,6 +569,7 @@ export type ShippingOption = (typeof ShippingOption)[keyof typeof ShippingOption
|
|
|
548
569
|
export declare const SnowballCapacity: {
|
|
549
570
|
readonly NO_PREFERENCE: "NoPreference";
|
|
550
571
|
readonly T100: "T100";
|
|
572
|
+
readonly T13: "T13";
|
|
551
573
|
readonly T14: "T14";
|
|
552
574
|
readonly T240: "T240";
|
|
553
575
|
readonly T32: "T32";
|
|
@@ -570,6 +592,7 @@ export declare const SnowballType: {
|
|
|
570
592
|
readonly EDGE_C: "EDGE_C";
|
|
571
593
|
readonly EDGE_CG: "EDGE_CG";
|
|
572
594
|
readonly EDGE_S: "EDGE_S";
|
|
595
|
+
readonly RACK_5U_C: "RACK_5U_C";
|
|
573
596
|
readonly SNC1_HDD: "SNC1_HDD";
|
|
574
597
|
readonly SNC1_SSD: "SNC1_SSD";
|
|
575
598
|
readonly STANDARD: "STANDARD";
|
|
@@ -798,7 +821,7 @@ export interface CreateClusterResult {
|
|
|
798
821
|
*/
|
|
799
822
|
ClusterId?: string;
|
|
800
823
|
/**
|
|
801
|
-
* <p>List of jobs created for this cluster. For syntax, see <a href="
|
|
824
|
+
* <p>List of jobs created for this cluster. For syntax, see <a href="http://amazonaws.com/snowball/latest/api-reference/API_ListJobs.html#API_ListJobs_ResponseSyntax">ListJobsResult$JobListEntries</a> in this guide.</p>
|
|
802
825
|
*/
|
|
803
826
|
JobListEntries?: JobListEntry[];
|
|
804
827
|
}
|
|
@@ -875,6 +898,55 @@ export interface DeviceConfiguration {
|
|
|
875
898
|
*/
|
|
876
899
|
SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration;
|
|
877
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* @public
|
|
903
|
+
* @enum
|
|
904
|
+
*/
|
|
905
|
+
export declare const ImpactLevel: {
|
|
906
|
+
readonly IL2: "IL2";
|
|
907
|
+
readonly IL4: "IL4";
|
|
908
|
+
readonly IL5: "IL5";
|
|
909
|
+
readonly IL6: "IL6";
|
|
910
|
+
readonly IL99: "IL99";
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
export type ImpactLevel = (typeof ImpactLevel)[keyof typeof ImpactLevel];
|
|
916
|
+
/**
|
|
917
|
+
* @public
|
|
918
|
+
* <p>Information identifying the person picking up the device.</p>
|
|
919
|
+
*/
|
|
920
|
+
export interface PickupDetails {
|
|
921
|
+
/**
|
|
922
|
+
* <p>The name of the person picking up the device.</p>
|
|
923
|
+
*/
|
|
924
|
+
Name?: string;
|
|
925
|
+
/**
|
|
926
|
+
* <p>The phone number of the person picking up the device.</p>
|
|
927
|
+
*/
|
|
928
|
+
PhoneNumber?: string;
|
|
929
|
+
/**
|
|
930
|
+
* <p>The email address of the person picking up the device.</p>
|
|
931
|
+
*/
|
|
932
|
+
Email?: string;
|
|
933
|
+
/**
|
|
934
|
+
* <p>The number on the credential identifying the person picking up the device.</p>
|
|
935
|
+
*/
|
|
936
|
+
IdentificationNumber?: string;
|
|
937
|
+
/**
|
|
938
|
+
* <p>Expiration date of the credential identifying the person picking up the device.</p>
|
|
939
|
+
*/
|
|
940
|
+
IdentificationExpirationDate?: Date;
|
|
941
|
+
/**
|
|
942
|
+
* <p>Organization that issued the credential identifying the person picking up the device.</p>
|
|
943
|
+
*/
|
|
944
|
+
IdentificationIssuingOrg?: string;
|
|
945
|
+
/**
|
|
946
|
+
* <p>The unique ID for a device that will be picked up.</p>
|
|
947
|
+
*/
|
|
948
|
+
DevicePickupId?: string;
|
|
949
|
+
}
|
|
878
950
|
/**
|
|
879
951
|
* @public
|
|
880
952
|
*/
|
|
@@ -1008,13 +1080,21 @@ export interface CreateJobRequest {
|
|
|
1008
1080
|
* <p>Allows you to securely operate and manage Snowcone devices remotely from outside of your
|
|
1009
1081
|
* internal network. When set to <code>INSTALLED_AUTOSTART</code>, remote management will
|
|
1010
1082
|
* automatically be available when the device arrives at your location. Otherwise, you need to
|
|
1011
|
-
* use the Snowball
|
|
1083
|
+
* use the Snowball Edge client to manage the device. When set to <code>NOT_INSTALLED</code>, remote management will not be available on the device. </p>
|
|
1012
1084
|
*/
|
|
1013
1085
|
RemoteManagement?: RemoteManagement | string;
|
|
1014
1086
|
/**
|
|
1015
1087
|
* <p>The ID of the long-term pricing type for the device.</p>
|
|
1016
1088
|
*/
|
|
1017
1089
|
LongTermPricingId?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The highest impact level of data that will be stored or processed on the device, provided at job creation.</p>
|
|
1092
|
+
*/
|
|
1093
|
+
ImpactLevel?: ImpactLevel | string;
|
|
1094
|
+
/**
|
|
1095
|
+
* <p>Information identifying the person picking up the device.</p>
|
|
1096
|
+
*/
|
|
1097
|
+
PickupDetails?: PickupDetails;
|
|
1018
1098
|
}
|
|
1019
1099
|
/**
|
|
1020
1100
|
* @public
|
|
@@ -1056,7 +1136,7 @@ export interface CreateLongTermPricingRequest {
|
|
|
1056
1136
|
/**
|
|
1057
1137
|
* <p>The type of Snow Family devices to use for the long-term pricing job.</p>
|
|
1058
1138
|
*/
|
|
1059
|
-
SnowballType
|
|
1139
|
+
SnowballType: SnowballType | string | undefined;
|
|
1060
1140
|
}
|
|
1061
1141
|
/**
|
|
1062
1142
|
* @public
|
|
@@ -1587,6 +1667,18 @@ export interface JobMetadata {
|
|
|
1587
1667
|
* device.</p>
|
|
1588
1668
|
*/
|
|
1589
1669
|
OnDeviceServiceConfiguration?: OnDeviceServiceConfiguration;
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>The highest impact level of data that will be stored or processed on the device, provided at job creation.</p>
|
|
1672
|
+
*/
|
|
1673
|
+
ImpactLevel?: ImpactLevel | string;
|
|
1674
|
+
/**
|
|
1675
|
+
* <p>Information identifying the person picking up the device.</p>
|
|
1676
|
+
*/
|
|
1677
|
+
PickupDetails?: PickupDetails;
|
|
1678
|
+
/**
|
|
1679
|
+
* <p>Unique ID associated with a device.</p>
|
|
1680
|
+
*/
|
|
1681
|
+
SnowballId?: string;
|
|
1590
1682
|
}
|
|
1591
1683
|
/**
|
|
1592
1684
|
* @public
|
|
@@ -1959,6 +2051,32 @@ export interface ListLongTermPricingResult {
|
|
|
1959
2051
|
*/
|
|
1960
2052
|
NextToken?: string;
|
|
1961
2053
|
}
|
|
2054
|
+
/**
|
|
2055
|
+
* @public
|
|
2056
|
+
*/
|
|
2057
|
+
export interface ListPickupLocationsRequest {
|
|
2058
|
+
/**
|
|
2059
|
+
* <p>The maximum number of locations to list per page.</p>
|
|
2060
|
+
*/
|
|
2061
|
+
MaxResults?: number;
|
|
2062
|
+
/**
|
|
2063
|
+
* <p>HTTP requests are stateless. To identify what object comes "next" in the list of <code>ListPickupLocationsRequest</code> objects, you have the option of specifying <code>NextToken</code> as the starting point for your returned list.</p>
|
|
2064
|
+
*/
|
|
2065
|
+
NextToken?: string;
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* @public
|
|
2069
|
+
*/
|
|
2070
|
+
export interface ListPickupLocationsResult {
|
|
2071
|
+
/**
|
|
2072
|
+
* <p>Information about the address of pickup locations.</p>
|
|
2073
|
+
*/
|
|
2074
|
+
Addresses?: Address[];
|
|
2075
|
+
/**
|
|
2076
|
+
* <p>HTTP requests are stateless. To identify what object comes "next" in the list of <code>ListPickupLocationsResult</code> objects, you have the option of specifying <code>NextToken</code> as the starting point for your returned list.</p>
|
|
2077
|
+
*/
|
|
2078
|
+
NextToken?: string;
|
|
2079
|
+
}
|
|
1962
2080
|
/**
|
|
1963
2081
|
* @public
|
|
1964
2082
|
* @enum
|
|
@@ -2149,6 +2267,10 @@ export interface UpdateJobRequest {
|
|
|
2149
2267
|
* supported in most regions.</p>
|
|
2150
2268
|
*/
|
|
2151
2269
|
ForwardingAddressId?: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* <p>Information identifying the person picking up the device.</p>
|
|
2272
|
+
*/
|
|
2273
|
+
PickupDetails?: PickupDetails;
|
|
2152
2274
|
}
|
|
2153
2275
|
/**
|
|
2154
2276
|
* @public
|
|
@@ -2212,3 +2334,23 @@ export interface UpdateLongTermPricingRequest {
|
|
|
2212
2334
|
*/
|
|
2213
2335
|
export interface UpdateLongTermPricingResult {
|
|
2214
2336
|
}
|
|
2337
|
+
/**
|
|
2338
|
+
* @internal
|
|
2339
|
+
*/
|
|
2340
|
+
export declare const PickupDetailsFilterSensitiveLog: (obj: PickupDetails) => any;
|
|
2341
|
+
/**
|
|
2342
|
+
* @internal
|
|
2343
|
+
*/
|
|
2344
|
+
export declare const CreateJobRequestFilterSensitiveLog: (obj: CreateJobRequest) => any;
|
|
2345
|
+
/**
|
|
2346
|
+
* @internal
|
|
2347
|
+
*/
|
|
2348
|
+
export declare const JobMetadataFilterSensitiveLog: (obj: JobMetadata) => any;
|
|
2349
|
+
/**
|
|
2350
|
+
* @internal
|
|
2351
|
+
*/
|
|
2352
|
+
export declare const DescribeJobResultFilterSensitiveLog: (obj: DescribeJobResult) => any;
|
|
2353
|
+
/**
|
|
2354
|
+
* @internal
|
|
2355
|
+
*/
|
|
2356
|
+
export declare const UpdateJobRequestFilterSensitiveLog: (obj: UpdateJobRequest) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput } from "../commands/ListPickupLocationsCommand";
|
|
3
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListPickupLocations(config: SnowballPaginationConfiguration, input: ListPickupLocationsCommandInput, ...additionalArguments: any): Paginator<ListPickupLocationsCommandOutput>;
|
|
@@ -21,6 +21,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands
|
|
|
21
21
|
import { ListCompatibleImagesCommandInput, ListCompatibleImagesCommandOutput } from "../commands/ListCompatibleImagesCommand";
|
|
22
22
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
23
23
|
import { ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput } from "../commands/ListLongTermPricingCommand";
|
|
24
|
+
import { ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput } from "../commands/ListPickupLocationsCommand";
|
|
24
25
|
import { ListServiceVersionsCommandInput, ListServiceVersionsCommandOutput } from "../commands/ListServiceVersionsCommand";
|
|
25
26
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "../commands/UpdateClusterCommand";
|
|
26
27
|
import { UpdateJobCommandInput, UpdateJobCommandOutput } from "../commands/UpdateJobCommand";
|
|
@@ -110,6 +111,10 @@ export declare const se_ListJobsCommand: (input: ListJobsCommandInput, context:
|
|
|
110
111
|
* serializeAws_json1_1ListLongTermPricingCommand
|
|
111
112
|
*/
|
|
112
113
|
export declare const se_ListLongTermPricingCommand: (input: ListLongTermPricingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
|
+
/**
|
|
115
|
+
* serializeAws_json1_1ListPickupLocationsCommand
|
|
116
|
+
*/
|
|
117
|
+
export declare const se_ListPickupLocationsCommand: (input: ListPickupLocationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
113
118
|
/**
|
|
114
119
|
* serializeAws_json1_1ListServiceVersionsCommand
|
|
115
120
|
*/
|
|
@@ -214,6 +219,10 @@ export declare const de_ListJobsCommand: (output: __HttpResponse, context: __Ser
|
|
|
214
219
|
* deserializeAws_json1_1ListLongTermPricingCommand
|
|
215
220
|
*/
|
|
216
221
|
export declare const de_ListLongTermPricingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLongTermPricingCommandOutput>;
|
|
222
|
+
/**
|
|
223
|
+
* deserializeAws_json1_1ListPickupLocationsCommand
|
|
224
|
+
*/
|
|
225
|
+
export declare const de_ListPickupLocationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPickupLocationsCommandOutput>;
|
|
217
226
|
/**
|
|
218
227
|
* deserializeAws_json1_1ListServiceVersionsCommand
|
|
219
228
|
*/
|
|
@@ -83,6 +83,10 @@ import {
|
|
|
83
83
|
ListLongTermPricingCommandInput,
|
|
84
84
|
ListLongTermPricingCommandOutput,
|
|
85
85
|
} from "./commands/ListLongTermPricingCommand";
|
|
86
|
+
import {
|
|
87
|
+
ListPickupLocationsCommandInput,
|
|
88
|
+
ListPickupLocationsCommandOutput,
|
|
89
|
+
} from "./commands/ListPickupLocationsCommand";
|
|
86
90
|
import {
|
|
87
91
|
ListServiceVersionsCommandInput,
|
|
88
92
|
ListServiceVersionsCommandOutput,
|
|
@@ -378,6 +382,19 @@ export interface Snowball {
|
|
|
378
382
|
options: __HttpHandlerOptions,
|
|
379
383
|
cb: (err: any, data?: ListLongTermPricingCommandOutput) => void
|
|
380
384
|
): void;
|
|
385
|
+
listPickupLocations(
|
|
386
|
+
args: ListPickupLocationsCommandInput,
|
|
387
|
+
options?: __HttpHandlerOptions
|
|
388
|
+
): Promise<ListPickupLocationsCommandOutput>;
|
|
389
|
+
listPickupLocations(
|
|
390
|
+
args: ListPickupLocationsCommandInput,
|
|
391
|
+
cb: (err: any, data?: ListPickupLocationsCommandOutput) => void
|
|
392
|
+
): void;
|
|
393
|
+
listPickupLocations(
|
|
394
|
+
args: ListPickupLocationsCommandInput,
|
|
395
|
+
options: __HttpHandlerOptions,
|
|
396
|
+
cb: (err: any, data?: ListPickupLocationsCommandOutput) => void
|
|
397
|
+
): void;
|
|
381
398
|
listServiceVersions(
|
|
382
399
|
args: ListServiceVersionsCommandInput,
|
|
383
400
|
options?: __HttpHandlerOptions
|
|
@@ -128,6 +128,10 @@ import {
|
|
|
128
128
|
ListLongTermPricingCommandInput,
|
|
129
129
|
ListLongTermPricingCommandOutput,
|
|
130
130
|
} from "./commands/ListLongTermPricingCommand";
|
|
131
|
+
import {
|
|
132
|
+
ListPickupLocationsCommandInput,
|
|
133
|
+
ListPickupLocationsCommandOutput,
|
|
134
|
+
} from "./commands/ListPickupLocationsCommand";
|
|
131
135
|
import {
|
|
132
136
|
ListServiceVersionsCommandInput,
|
|
133
137
|
ListServiceVersionsCommandOutput,
|
|
@@ -176,6 +180,7 @@ export type ServiceInputTypes =
|
|
|
176
180
|
| ListCompatibleImagesCommandInput
|
|
177
181
|
| ListJobsCommandInput
|
|
178
182
|
| ListLongTermPricingCommandInput
|
|
183
|
+
| ListPickupLocationsCommandInput
|
|
179
184
|
| ListServiceVersionsCommandInput
|
|
180
185
|
| UpdateClusterCommandInput
|
|
181
186
|
| UpdateJobCommandInput
|
|
@@ -203,6 +208,7 @@ export type ServiceOutputTypes =
|
|
|
203
208
|
| ListCompatibleImagesCommandOutput
|
|
204
209
|
| ListJobsCommandOutput
|
|
205
210
|
| ListLongTermPricingCommandOutput
|
|
211
|
+
| ListPickupLocationsCommandOutput
|
|
206
212
|
| ListServiceVersionsCommandOutput
|
|
207
213
|
| UpdateClusterCommandOutput
|
|
208
214
|
| UpdateJobCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ListPickupLocationsRequest,
|
|
11
|
+
ListPickupLocationsResult,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
SnowballClientResolvedConfig,
|
|
17
|
+
} from "../SnowballClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListPickupLocationsCommandInput
|
|
20
|
+
extends ListPickupLocationsRequest {}
|
|
21
|
+
export interface ListPickupLocationsCommandOutput
|
|
22
|
+
extends ListPickupLocationsResult,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListPickupLocationsCommand extends $Command<
|
|
25
|
+
ListPickupLocationsCommandInput,
|
|
26
|
+
ListPickupLocationsCommandOutput,
|
|
27
|
+
SnowballClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListPickupLocationsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListPickupLocationsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: SnowballClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<ListPickupLocationsCommandInput, ListPickupLocationsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -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 "./ListPickupLocationsCommand";
|
|
22
23
|
export * from "./ListServiceVersionsCommand";
|
|
23
24
|
export * from "./UpdateClusterCommand";
|
|
24
25
|
export * from "./UpdateJobCommand";
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
|
|
3
|
+
export declare const AddressType: {
|
|
4
|
+
readonly AWS_SHIP: "AWS_SHIP";
|
|
5
|
+
readonly CUST_PICKUP: "CUST_PICKUP";
|
|
6
|
+
};
|
|
7
|
+
export type AddressType = (typeof AddressType)[keyof typeof AddressType];
|
|
3
8
|
export interface Address {
|
|
4
9
|
AddressId?: string;
|
|
5
10
|
Name?: string;
|
|
@@ -15,6 +20,7 @@ export interface Address {
|
|
|
15
20
|
PostalCode?: string;
|
|
16
21
|
PhoneNumber?: string;
|
|
17
22
|
IsRestricted?: boolean;
|
|
23
|
+
Type?: AddressType | string;
|
|
18
24
|
}
|
|
19
25
|
export interface CancelClusterRequest {
|
|
20
26
|
ClusterId: string | undefined;
|
|
@@ -97,6 +103,7 @@ export interface Notification {
|
|
|
97
103
|
SnsTopicARN?: string;
|
|
98
104
|
JobStatesToNotify?: (JobState | string)[];
|
|
99
105
|
NotifyAll?: boolean;
|
|
106
|
+
DevicePickupSnsTopicARN?: string;
|
|
100
107
|
}
|
|
101
108
|
export interface EKSOnDeviceServiceConfiguration {
|
|
102
109
|
KubernetesVersion?: string;
|
|
@@ -129,6 +136,7 @@ export interface OnDeviceServiceConfiguration {
|
|
|
129
136
|
export declare const RemoteManagement: {
|
|
130
137
|
readonly INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART";
|
|
131
138
|
readonly INSTALLED_ONLY: "INSTALLED_ONLY";
|
|
139
|
+
readonly NOT_INSTALLED: "NOT_INSTALLED";
|
|
132
140
|
};
|
|
133
141
|
export type RemoteManagement =
|
|
134
142
|
(typeof RemoteManagement)[keyof typeof RemoteManagement];
|
|
@@ -185,6 +193,7 @@ export type ShippingOption =
|
|
|
185
193
|
export declare const SnowballCapacity: {
|
|
186
194
|
readonly NO_PREFERENCE: "NoPreference";
|
|
187
195
|
readonly T100: "T100";
|
|
196
|
+
readonly T13: "T13";
|
|
188
197
|
readonly T14: "T14";
|
|
189
198
|
readonly T240: "T240";
|
|
190
199
|
readonly T32: "T32";
|
|
@@ -201,6 +210,7 @@ export declare const SnowballType: {
|
|
|
201
210
|
readonly EDGE_C: "EDGE_C";
|
|
202
211
|
readonly EDGE_CG: "EDGE_CG";
|
|
203
212
|
readonly EDGE_S: "EDGE_S";
|
|
213
|
+
readonly RACK_5U_C: "RACK_5U_C";
|
|
204
214
|
readonly SNC1_HDD: "SNC1_HDD";
|
|
205
215
|
readonly SNC1_SSD: "SNC1_SSD";
|
|
206
216
|
readonly STANDARD: "STANDARD";
|
|
@@ -282,6 +292,23 @@ export interface SnowconeDeviceConfiguration {
|
|
|
282
292
|
export interface DeviceConfiguration {
|
|
283
293
|
SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration;
|
|
284
294
|
}
|
|
295
|
+
export declare const ImpactLevel: {
|
|
296
|
+
readonly IL2: "IL2";
|
|
297
|
+
readonly IL4: "IL4";
|
|
298
|
+
readonly IL5: "IL5";
|
|
299
|
+
readonly IL6: "IL6";
|
|
300
|
+
readonly IL99: "IL99";
|
|
301
|
+
};
|
|
302
|
+
export type ImpactLevel = (typeof ImpactLevel)[keyof typeof ImpactLevel];
|
|
303
|
+
export interface PickupDetails {
|
|
304
|
+
Name?: string;
|
|
305
|
+
PhoneNumber?: string;
|
|
306
|
+
Email?: string;
|
|
307
|
+
IdentificationNumber?: string;
|
|
308
|
+
IdentificationExpirationDate?: Date;
|
|
309
|
+
IdentificationIssuingOrg?: string;
|
|
310
|
+
DevicePickupId?: string;
|
|
311
|
+
}
|
|
285
312
|
export interface CreateJobRequest {
|
|
286
313
|
JobType?: JobType | string;
|
|
287
314
|
Resources?: JobResource;
|
|
@@ -300,6 +327,8 @@ export interface CreateJobRequest {
|
|
|
300
327
|
DeviceConfiguration?: DeviceConfiguration;
|
|
301
328
|
RemoteManagement?: RemoteManagement | string;
|
|
302
329
|
LongTermPricingId?: string;
|
|
330
|
+
ImpactLevel?: ImpactLevel | string;
|
|
331
|
+
PickupDetails?: PickupDetails;
|
|
303
332
|
}
|
|
304
333
|
export interface CreateJobResult {
|
|
305
334
|
JobId?: string;
|
|
@@ -314,7 +343,7 @@ export type LongTermPricingType =
|
|
|
314
343
|
export interface CreateLongTermPricingRequest {
|
|
315
344
|
LongTermPricingType: LongTermPricingType | string | undefined;
|
|
316
345
|
IsLongTermPricingAutoRenew?: boolean;
|
|
317
|
-
SnowballType
|
|
346
|
+
SnowballType: SnowballType | string | undefined;
|
|
318
347
|
}
|
|
319
348
|
export interface CreateLongTermPricingResult {
|
|
320
349
|
LongTermPricingId?: string;
|
|
@@ -451,6 +480,9 @@ export interface JobMetadata {
|
|
|
451
480
|
RemoteManagement?: RemoteManagement | string;
|
|
452
481
|
LongTermPricingId?: string;
|
|
453
482
|
OnDeviceServiceConfiguration?: OnDeviceServiceConfiguration;
|
|
483
|
+
ImpactLevel?: ImpactLevel | string;
|
|
484
|
+
PickupDetails?: PickupDetails;
|
|
485
|
+
SnowballId?: string;
|
|
454
486
|
}
|
|
455
487
|
export interface DescribeJobResult {
|
|
456
488
|
JobMetadata?: JobMetadata;
|
|
@@ -550,6 +582,14 @@ export interface ListLongTermPricingResult {
|
|
|
550
582
|
LongTermPricingEntries?: LongTermPricingListEntry[];
|
|
551
583
|
NextToken?: string;
|
|
552
584
|
}
|
|
585
|
+
export interface ListPickupLocationsRequest {
|
|
586
|
+
MaxResults?: number;
|
|
587
|
+
NextToken?: string;
|
|
588
|
+
}
|
|
589
|
+
export interface ListPickupLocationsResult {
|
|
590
|
+
Addresses?: Address[];
|
|
591
|
+
NextToken?: string;
|
|
592
|
+
}
|
|
553
593
|
export declare const ServiceName: {
|
|
554
594
|
readonly EKS_ANYWHERE: "EKS_ANYWHERE";
|
|
555
595
|
readonly KUBERNETES: "KUBERNETES";
|
|
@@ -597,6 +637,7 @@ export interface UpdateJobRequest {
|
|
|
597
637
|
Description?: string;
|
|
598
638
|
SnowballCapacityPreference?: SnowballCapacity | string;
|
|
599
639
|
ForwardingAddressId?: string;
|
|
640
|
+
PickupDetails?: PickupDetails;
|
|
600
641
|
}
|
|
601
642
|
export interface UpdateJobResult {}
|
|
602
643
|
export declare const ShipmentState: {
|
|
@@ -615,3 +656,16 @@ export interface UpdateLongTermPricingRequest {
|
|
|
615
656
|
IsLongTermPricingAutoRenew?: boolean;
|
|
616
657
|
}
|
|
617
658
|
export interface UpdateLongTermPricingResult {}
|
|
659
|
+
export declare const PickupDetailsFilterSensitiveLog: (
|
|
660
|
+
obj: PickupDetails
|
|
661
|
+
) => any;
|
|
662
|
+
export declare const CreateJobRequestFilterSensitiveLog: (
|
|
663
|
+
obj: CreateJobRequest
|
|
664
|
+
) => any;
|
|
665
|
+
export declare const JobMetadataFilterSensitiveLog: (obj: JobMetadata) => any;
|
|
666
|
+
export declare const DescribeJobResultFilterSensitiveLog: (
|
|
667
|
+
obj: DescribeJobResult
|
|
668
|
+
) => any;
|
|
669
|
+
export declare const UpdateJobRequestFilterSensitiveLog: (
|
|
670
|
+
obj: UpdateJobRequest
|
|
671
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPickupLocationsCommandInput,
|
|
4
|
+
ListPickupLocationsCommandOutput,
|
|
5
|
+
} from "../commands/ListPickupLocationsCommand";
|
|
6
|
+
import { SnowballPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListPickupLocations(
|
|
8
|
+
config: SnowballPaginationConfiguration,
|
|
9
|
+
input: ListPickupLocationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListPickupLocationsCommandOutput>;
|
|
@@ -87,6 +87,10 @@ import {
|
|
|
87
87
|
ListLongTermPricingCommandInput,
|
|
88
88
|
ListLongTermPricingCommandOutput,
|
|
89
89
|
} from "../commands/ListLongTermPricingCommand";
|
|
90
|
+
import {
|
|
91
|
+
ListPickupLocationsCommandInput,
|
|
92
|
+
ListPickupLocationsCommandOutput,
|
|
93
|
+
} from "../commands/ListPickupLocationsCommand";
|
|
90
94
|
import {
|
|
91
95
|
ListServiceVersionsCommandInput,
|
|
92
96
|
ListServiceVersionsCommandOutput,
|
|
@@ -191,6 +195,10 @@ export declare const se_ListLongTermPricingCommand: (
|
|
|
191
195
|
input: ListLongTermPricingCommandInput,
|
|
192
196
|
context: __SerdeContext
|
|
193
197
|
) => Promise<__HttpRequest>;
|
|
198
|
+
export declare const se_ListPickupLocationsCommand: (
|
|
199
|
+
input: ListPickupLocationsCommandInput,
|
|
200
|
+
context: __SerdeContext
|
|
201
|
+
) => Promise<__HttpRequest>;
|
|
194
202
|
export declare const se_ListServiceVersionsCommand: (
|
|
195
203
|
input: ListServiceVersionsCommandInput,
|
|
196
204
|
context: __SerdeContext
|
|
@@ -295,6 +303,10 @@ export declare const de_ListLongTermPricingCommand: (
|
|
|
295
303
|
output: __HttpResponse,
|
|
296
304
|
context: __SerdeContext
|
|
297
305
|
) => Promise<ListLongTermPricingCommandOutput>;
|
|
306
|
+
export declare const de_ListPickupLocationsCommand: (
|
|
307
|
+
output: __HttpResponse,
|
|
308
|
+
context: __SerdeContext
|
|
309
|
+
) => Promise<ListPickupLocationsCommandOutput>;
|
|
298
310
|
export declare const de_ListServiceVersionsCommand: (
|
|
299
311
|
output: __HttpResponse,
|
|
300
312
|
context: __SerdeContext
|
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.372.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",
|