@aws-sdk/client-snowball 3.51.0 → 3.54.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SnowballServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +160 -2
- package/dist-cjs/protocols/Aws_json1_1.js +220 -672
- package/dist-es/index.js +1 -0
- package/dist-es/models/SnowballServiceException.js +12 -0
- package/dist-es/models/models_0.js +147 -1
- package/dist-es/protocols/Aws_json1_1.js +476 -744
- package/dist-types/SnowballClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SnowballServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -34
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SnowballClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SnowballServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -34
- 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 +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelClusterCommandInput, CancelClusterCommandOutput } from "./commands/CancelClusterCommand";
|
|
10
10
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
11
11
|
import { CreateAddressCommandInput, CreateAddressCommandOutput } from "./commands/CreateAddressCommand";
|
|
@@ -53,7 +53,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
53
53
|
* A function that can calculate the length of a request body.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
|
-
bodyLengthChecker?:
|
|
56
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
57
57
|
/**
|
|
58
58
|
* A function that converts a stream into an array of bytes.
|
|
59
59
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Snowball service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SnowballServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The address that you want the Snow device(s) associated with a specific job to be
|
|
4
5
|
* shipped to. Addresses are validated at the time of creation. The address you provide must be
|
|
@@ -100,32 +101,44 @@ export declare namespace CancelClusterResult {
|
|
|
100
101
|
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
101
102
|
* to be performed.</p>
|
|
102
103
|
*/
|
|
103
|
-
export
|
|
104
|
-
name: "InvalidJobStateException";
|
|
105
|
-
$fault: "client";
|
|
104
|
+
export declare class InvalidJobStateException extends __BaseException {
|
|
105
|
+
readonly name: "InvalidJobStateException";
|
|
106
|
+
readonly $fault: "client";
|
|
106
107
|
Message?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
constructor(opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>);
|
|
107
112
|
}
|
|
108
113
|
/**
|
|
109
114
|
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
110
115
|
* request, and try again.</p>
|
|
111
116
|
*/
|
|
112
|
-
export
|
|
113
|
-
name: "InvalidResourceException";
|
|
114
|
-
$fault: "client";
|
|
117
|
+
export declare class InvalidResourceException extends __BaseException {
|
|
118
|
+
readonly name: "InvalidResourceException";
|
|
119
|
+
readonly $fault: "client";
|
|
115
120
|
Message?: string;
|
|
116
121
|
/**
|
|
117
122
|
* <p>The provided resource value is invalid.</p>
|
|
118
123
|
*/
|
|
119
124
|
ResourceType?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
|
|
120
129
|
}
|
|
121
130
|
/**
|
|
122
131
|
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
123
132
|
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
124
133
|
*/
|
|
125
|
-
export
|
|
126
|
-
name: "KMSRequestFailedException";
|
|
127
|
-
$fault: "client";
|
|
134
|
+
export declare class KMSRequestFailedException extends __BaseException {
|
|
135
|
+
readonly name: "KMSRequestFailedException";
|
|
136
|
+
readonly $fault: "client";
|
|
128
137
|
Message?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<KMSRequestFailedException, __BaseException>);
|
|
129
142
|
}
|
|
130
143
|
export interface CancelJobRequest {
|
|
131
144
|
/**
|
|
@@ -178,20 +191,28 @@ export declare namespace CreateAddressResult {
|
|
|
178
191
|
* <p>The address provided was invalid. Check the address with your region's carrier, and try
|
|
179
192
|
* again.</p>
|
|
180
193
|
*/
|
|
181
|
-
export
|
|
182
|
-
name: "InvalidAddressException";
|
|
183
|
-
$fault: "client";
|
|
194
|
+
export declare class InvalidAddressException extends __BaseException {
|
|
195
|
+
readonly name: "InvalidAddressException";
|
|
196
|
+
readonly $fault: "client";
|
|
184
197
|
Message?: string;
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
*/
|
|
201
|
+
constructor(opts: __ExceptionOptionType<InvalidAddressException, __BaseException>);
|
|
185
202
|
}
|
|
186
203
|
/**
|
|
187
204
|
* <p>The address is either outside the serviceable area for your region, or an error
|
|
188
205
|
* occurred. Check the address with your region's carrier and try again. If the issue persists,
|
|
189
206
|
* contact Amazon Web Services Support.</p>
|
|
190
207
|
*/
|
|
191
|
-
export
|
|
192
|
-
name: "UnsupportedAddressException";
|
|
193
|
-
$fault: "client";
|
|
208
|
+
export declare class UnsupportedAddressException extends __BaseException {
|
|
209
|
+
readonly name: "UnsupportedAddressException";
|
|
210
|
+
readonly $fault: "client";
|
|
194
211
|
Message?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAddressException, __BaseException>);
|
|
195
216
|
}
|
|
196
217
|
export declare enum JobType {
|
|
197
218
|
EXPORT = "EXPORT",
|
|
@@ -678,28 +699,40 @@ export declare namespace CreateClusterResult {
|
|
|
678
699
|
* <p>Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
679
700
|
* action.</p>
|
|
680
701
|
*/
|
|
681
|
-
export
|
|
682
|
-
name: "Ec2RequestFailedException";
|
|
683
|
-
$fault: "client";
|
|
702
|
+
export declare class Ec2RequestFailedException extends __BaseException {
|
|
703
|
+
readonly name: "Ec2RequestFailedException";
|
|
704
|
+
readonly $fault: "client";
|
|
684
705
|
Message?: string;
|
|
706
|
+
/**
|
|
707
|
+
* @internal
|
|
708
|
+
*/
|
|
709
|
+
constructor(opts: __ExceptionOptionType<Ec2RequestFailedException, __BaseException>);
|
|
685
710
|
}
|
|
686
711
|
/**
|
|
687
712
|
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
688
713
|
*/
|
|
689
|
-
export
|
|
690
|
-
name: "InvalidInputCombinationException";
|
|
691
|
-
$fault: "client";
|
|
714
|
+
export declare class InvalidInputCombinationException extends __BaseException {
|
|
715
|
+
readonly name: "InvalidInputCombinationException";
|
|
716
|
+
readonly $fault: "client";
|
|
692
717
|
Message?: string;
|
|
718
|
+
/**
|
|
719
|
+
* @internal
|
|
720
|
+
*/
|
|
721
|
+
constructor(opts: __ExceptionOptionType<InvalidInputCombinationException, __BaseException>);
|
|
693
722
|
}
|
|
694
723
|
/**
|
|
695
724
|
* <p>Job creation failed. Currently, clusters support five nodes. If you have fewer than
|
|
696
725
|
* five nodes for your cluster and you have more nodes to create for this cluster, try again and
|
|
697
726
|
* create jobs until your cluster has exactly five nodes.</p>
|
|
698
727
|
*/
|
|
699
|
-
export
|
|
700
|
-
name: "ClusterLimitExceededException";
|
|
701
|
-
$fault: "client";
|
|
728
|
+
export declare class ClusterLimitExceededException extends __BaseException {
|
|
729
|
+
readonly name: "ClusterLimitExceededException";
|
|
730
|
+
readonly $fault: "client";
|
|
702
731
|
Message?: string;
|
|
732
|
+
/**
|
|
733
|
+
* @internal
|
|
734
|
+
*/
|
|
735
|
+
constructor(opts: __ExceptionOptionType<ClusterLimitExceededException, __BaseException>);
|
|
703
736
|
}
|
|
704
737
|
/**
|
|
705
738
|
* <p>Configures the wireless connection on an Snowcone device.</p>
|
|
@@ -962,14 +995,18 @@ export declare namespace CreateLongTermPricingResult {
|
|
|
962
995
|
* <p>You get this exception when you call <code>CreateReturnShippingLabel</code> more than once
|
|
963
996
|
* when other requests are not completed.</p>
|
|
964
997
|
*/
|
|
965
|
-
export
|
|
966
|
-
name: "ConflictException";
|
|
967
|
-
$fault: "client";
|
|
998
|
+
export declare class ConflictException extends __BaseException {
|
|
999
|
+
readonly name: "ConflictException";
|
|
1000
|
+
readonly $fault: "client";
|
|
968
1001
|
/**
|
|
969
1002
|
* <p>You get this resource when you call <code>CreateReturnShippingLabel</code> more than once when other requests are not completed. .</p>
|
|
970
1003
|
*/
|
|
971
1004
|
ConflictResource?: string;
|
|
972
1005
|
Message?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* @internal
|
|
1008
|
+
*/
|
|
1009
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
973
1010
|
}
|
|
974
1011
|
export interface CreateReturnShippingLabelRequest {
|
|
975
1012
|
/**
|
|
@@ -1013,10 +1050,14 @@ export declare namespace CreateReturnShippingLabelResult {
|
|
|
1013
1050
|
* return shipping label already exists. In this case, use
|
|
1014
1051
|
* <code>DescribeReturnShippingLabel</code> to get the URL.</p>
|
|
1015
1052
|
*/
|
|
1016
|
-
export
|
|
1017
|
-
name: "ReturnShippingLabelAlreadyExistsException";
|
|
1018
|
-
$fault: "client";
|
|
1053
|
+
export declare class ReturnShippingLabelAlreadyExistsException extends __BaseException {
|
|
1054
|
+
readonly name: "ReturnShippingLabelAlreadyExistsException";
|
|
1055
|
+
readonly $fault: "client";
|
|
1019
1056
|
Message?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* @internal
|
|
1059
|
+
*/
|
|
1060
|
+
constructor(opts: __ExceptionOptionType<ReturnShippingLabelAlreadyExistsException, __BaseException>);
|
|
1020
1061
|
}
|
|
1021
1062
|
export interface DescribeAddressRequest {
|
|
1022
1063
|
/**
|
|
@@ -1084,10 +1125,14 @@ export declare namespace DescribeAddressesResult {
|
|
|
1084
1125
|
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
1085
1126
|
* again.</p>
|
|
1086
1127
|
*/
|
|
1087
|
-
export
|
|
1088
|
-
name: "InvalidNextTokenException";
|
|
1089
|
-
$fault: "client";
|
|
1128
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
1129
|
+
readonly name: "InvalidNextTokenException";
|
|
1130
|
+
readonly $fault: "client";
|
|
1090
1131
|
Message?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* @internal
|
|
1134
|
+
*/
|
|
1135
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1091
1136
|
}
|
|
1092
1137
|
export interface DescribeClusterRequest {
|
|
1093
1138
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelClusterCommandInput, CancelClusterCommandOutput } from "./commands/CancelClusterCommand";
|
|
10
10
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
11
11
|
import { CreateAddressCommandInput, CreateAddressCommandOutput } from "./commands/CreateAddressCommand";
|
|
@@ -41,7 +41,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
41
41
|
|
|
42
42
|
urlParser?: __UrlParser;
|
|
43
43
|
|
|
44
|
-
bodyLengthChecker?:
|
|
44
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
45
45
|
|
|
46
46
|
streamCollector?: __StreamCollector;
|
|
47
47
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class SnowballServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
|
|
2
3
|
|
|
3
4
|
export interface Address {
|
|
4
5
|
|
|
@@ -49,24 +50,30 @@ export declare namespace CancelClusterResult {
|
|
|
49
50
|
const filterSensitiveLog: (obj: CancelClusterResult) => any;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
export
|
|
53
|
-
name: "InvalidJobStateException";
|
|
54
|
-
$fault: "client";
|
|
53
|
+
export declare class InvalidJobStateException extends __BaseException {
|
|
54
|
+
readonly name: "InvalidJobStateException";
|
|
55
|
+
readonly $fault: "client";
|
|
55
56
|
Message?: string;
|
|
57
|
+
|
|
58
|
+
constructor(opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>);
|
|
56
59
|
}
|
|
57
60
|
|
|
58
|
-
export
|
|
59
|
-
name: "InvalidResourceException";
|
|
60
|
-
$fault: "client";
|
|
61
|
+
export declare class InvalidResourceException extends __BaseException {
|
|
62
|
+
readonly name: "InvalidResourceException";
|
|
63
|
+
readonly $fault: "client";
|
|
61
64
|
Message?: string;
|
|
62
65
|
|
|
63
66
|
ResourceType?: string;
|
|
67
|
+
|
|
68
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
|
|
64
69
|
}
|
|
65
70
|
|
|
66
|
-
export
|
|
67
|
-
name: "KMSRequestFailedException";
|
|
68
|
-
$fault: "client";
|
|
71
|
+
export declare class KMSRequestFailedException extends __BaseException {
|
|
72
|
+
readonly name: "KMSRequestFailedException";
|
|
73
|
+
readonly $fault: "client";
|
|
69
74
|
Message?: string;
|
|
75
|
+
|
|
76
|
+
constructor(opts: __ExceptionOptionType<KMSRequestFailedException, __BaseException>);
|
|
70
77
|
}
|
|
71
78
|
export interface CancelJobRequest {
|
|
72
79
|
|
|
@@ -99,16 +106,20 @@ export declare namespace CreateAddressResult {
|
|
|
99
106
|
const filterSensitiveLog: (obj: CreateAddressResult) => any;
|
|
100
107
|
}
|
|
101
108
|
|
|
102
|
-
export
|
|
103
|
-
name: "InvalidAddressException";
|
|
104
|
-
$fault: "client";
|
|
109
|
+
export declare class InvalidAddressException extends __BaseException {
|
|
110
|
+
readonly name: "InvalidAddressException";
|
|
111
|
+
readonly $fault: "client";
|
|
105
112
|
Message?: string;
|
|
113
|
+
|
|
114
|
+
constructor(opts: __ExceptionOptionType<InvalidAddressException, __BaseException>);
|
|
106
115
|
}
|
|
107
116
|
|
|
108
|
-
export
|
|
109
|
-
name: "UnsupportedAddressException";
|
|
110
|
-
$fault: "client";
|
|
117
|
+
export declare class UnsupportedAddressException extends __BaseException {
|
|
118
|
+
readonly name: "UnsupportedAddressException";
|
|
119
|
+
readonly $fault: "client";
|
|
111
120
|
Message?: string;
|
|
121
|
+
|
|
122
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAddressException, __BaseException>);
|
|
112
123
|
}
|
|
113
124
|
export declare enum JobType {
|
|
114
125
|
EXPORT = "EXPORT",
|
|
@@ -345,22 +356,28 @@ export declare namespace CreateClusterResult {
|
|
|
345
356
|
const filterSensitiveLog: (obj: CreateClusterResult) => any;
|
|
346
357
|
}
|
|
347
358
|
|
|
348
|
-
export
|
|
349
|
-
name: "Ec2RequestFailedException";
|
|
350
|
-
$fault: "client";
|
|
359
|
+
export declare class Ec2RequestFailedException extends __BaseException {
|
|
360
|
+
readonly name: "Ec2RequestFailedException";
|
|
361
|
+
readonly $fault: "client";
|
|
351
362
|
Message?: string;
|
|
363
|
+
|
|
364
|
+
constructor(opts: __ExceptionOptionType<Ec2RequestFailedException, __BaseException>);
|
|
352
365
|
}
|
|
353
366
|
|
|
354
|
-
export
|
|
355
|
-
name: "InvalidInputCombinationException";
|
|
356
|
-
$fault: "client";
|
|
367
|
+
export declare class InvalidInputCombinationException extends __BaseException {
|
|
368
|
+
readonly name: "InvalidInputCombinationException";
|
|
369
|
+
readonly $fault: "client";
|
|
357
370
|
Message?: string;
|
|
371
|
+
|
|
372
|
+
constructor(opts: __ExceptionOptionType<InvalidInputCombinationException, __BaseException>);
|
|
358
373
|
}
|
|
359
374
|
|
|
360
|
-
export
|
|
361
|
-
name: "ClusterLimitExceededException";
|
|
362
|
-
$fault: "client";
|
|
375
|
+
export declare class ClusterLimitExceededException extends __BaseException {
|
|
376
|
+
readonly name: "ClusterLimitExceededException";
|
|
377
|
+
readonly $fault: "client";
|
|
363
378
|
Message?: string;
|
|
379
|
+
|
|
380
|
+
constructor(opts: __ExceptionOptionType<ClusterLimitExceededException, __BaseException>);
|
|
364
381
|
}
|
|
365
382
|
|
|
366
383
|
export interface WirelessConnection {
|
|
@@ -472,12 +489,14 @@ export declare namespace CreateLongTermPricingResult {
|
|
|
472
489
|
const filterSensitiveLog: (obj: CreateLongTermPricingResult) => any;
|
|
473
490
|
}
|
|
474
491
|
|
|
475
|
-
export
|
|
476
|
-
name: "ConflictException";
|
|
477
|
-
$fault: "client";
|
|
492
|
+
export declare class ConflictException extends __BaseException {
|
|
493
|
+
readonly name: "ConflictException";
|
|
494
|
+
readonly $fault: "client";
|
|
478
495
|
|
|
479
496
|
ConflictResource?: string;
|
|
480
497
|
Message?: string;
|
|
498
|
+
|
|
499
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
481
500
|
}
|
|
482
501
|
export interface CreateReturnShippingLabelRequest {
|
|
483
502
|
|
|
@@ -504,10 +523,12 @@ export declare namespace CreateReturnShippingLabelResult {
|
|
|
504
523
|
const filterSensitiveLog: (obj: CreateReturnShippingLabelResult) => any;
|
|
505
524
|
}
|
|
506
525
|
|
|
507
|
-
export
|
|
508
|
-
name: "ReturnShippingLabelAlreadyExistsException";
|
|
509
|
-
$fault: "client";
|
|
526
|
+
export declare class ReturnShippingLabelAlreadyExistsException extends __BaseException {
|
|
527
|
+
readonly name: "ReturnShippingLabelAlreadyExistsException";
|
|
528
|
+
readonly $fault: "client";
|
|
510
529
|
Message?: string;
|
|
530
|
+
|
|
531
|
+
constructor(opts: __ExceptionOptionType<ReturnShippingLabelAlreadyExistsException, __BaseException>);
|
|
511
532
|
}
|
|
512
533
|
export interface DescribeAddressRequest {
|
|
513
534
|
|
|
@@ -546,10 +567,12 @@ export declare namespace DescribeAddressesResult {
|
|
|
546
567
|
const filterSensitiveLog: (obj: DescribeAddressesResult) => any;
|
|
547
568
|
}
|
|
548
569
|
|
|
549
|
-
export
|
|
550
|
-
name: "InvalidNextTokenException";
|
|
551
|
-
$fault: "client";
|
|
570
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
571
|
+
readonly name: "InvalidNextTokenException";
|
|
572
|
+
readonly $fault: "client";
|
|
552
573
|
Message?: string;
|
|
574
|
+
|
|
575
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
553
576
|
}
|
|
554
577
|
export interface DescribeClusterRequest {
|
|
555
578
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|