@aws-sdk/client-ebs 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.
@@ -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 { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
10
10
  import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
11
11
  import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
@@ -34,7 +34,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
34
34
  * A function that can calculate the length of a request body.
35
35
  * @internal
36
36
  */
37
- bodyLengthChecker?: (body: any) => number | undefined;
37
+ bodyLengthChecker?: __BodyLengthCalculator;
38
38
  /**
39
39
  * A function that converts a stream into an array of bytes.
40
40
  * @internal
@@ -3,3 +3,4 @@ export * from "./EBSClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { EBSServiceException } from "./models/EBSServiceException";
@@ -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 EBS service.
4
+ */
5
+ export declare class EBSServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { EBSServiceException as __BaseException } from "./EBSServiceException";
4
5
  export declare enum AccessDeniedExceptionReason {
5
6
  DEPENDENCY_ACCESS_DENIED = "DEPENDENCY_ACCESS_DENIED",
6
7
  UNAUTHORIZED_ACCOUNT = "UNAUTHORIZED_ACCOUNT"
@@ -8,14 +9,18 @@ export declare enum AccessDeniedExceptionReason {
8
9
  /**
9
10
  * <p>You do not have sufficient access to perform this action.</p>
10
11
  */
11
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
12
- name: "AccessDeniedException";
13
- $fault: "client";
12
+ export declare class AccessDeniedException extends __BaseException {
13
+ readonly name: "AccessDeniedException";
14
+ readonly $fault: "client";
14
15
  Message?: string;
15
16
  /**
16
17
  * <p>The reason for the exception.</p>
17
18
  */
18
19
  Reason: AccessDeniedExceptionReason | string | undefined;
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
19
24
  }
20
25
  /**
21
26
  * <p>A block of data in an Amazon Elastic Block Store snapshot.</p>
@@ -124,10 +129,14 @@ export declare namespace CompleteSnapshotResponse {
124
129
  /**
125
130
  * <p>An internal error has occurred.</p>
126
131
  */
127
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
128
- name: "InternalServerException";
129
- $fault: "server";
132
+ export declare class InternalServerException extends __BaseException {
133
+ readonly name: "InternalServerException";
134
+ readonly $fault: "server";
130
135
  Message?: string;
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
131
140
  }
132
141
  export declare enum RequestThrottledExceptionReason {
133
142
  ACCOUNT_THROTTLED = "ACCOUNT_THROTTLED",
@@ -137,14 +146,18 @@ export declare enum RequestThrottledExceptionReason {
137
146
  * <p>The number of API requests has exceed the maximum allowed API request throttling
138
147
  * limit.</p>
139
148
  */
140
- export interface RequestThrottledException extends __SmithyException, $MetadataBearer {
141
- name: "RequestThrottledException";
142
- $fault: "client";
149
+ export declare class RequestThrottledException extends __BaseException {
150
+ readonly name: "RequestThrottledException";
151
+ readonly $fault: "client";
143
152
  Message?: string;
144
153
  /**
145
154
  * <p>The reason for the exception.</p>
146
155
  */
147
156
  Reason?: RequestThrottledExceptionReason | string;
157
+ /**
158
+ * @internal
159
+ */
160
+ constructor(opts: __ExceptionOptionType<RequestThrottledException, __BaseException>);
148
161
  }
149
162
  export declare enum ResourceNotFoundExceptionReason {
150
163
  DEPENDENCY_RESOURCE_NOT_FOUND = "DEPENDENCY_RESOURCE_NOT_FOUND",
@@ -153,14 +166,18 @@ export declare enum ResourceNotFoundExceptionReason {
153
166
  /**
154
167
  * <p>The specified resource does not exist.</p>
155
168
  */
156
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
157
- name: "ResourceNotFoundException";
158
- $fault: "client";
169
+ export declare class ResourceNotFoundException extends __BaseException {
170
+ readonly name: "ResourceNotFoundException";
171
+ readonly $fault: "client";
159
172
  Message?: string;
160
173
  /**
161
174
  * <p>The reason for the exception.</p>
162
175
  */
163
176
  Reason?: ResourceNotFoundExceptionReason | string;
177
+ /**
178
+ * @internal
179
+ */
180
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
164
181
  }
165
182
  export declare enum ServiceQuotaExceededExceptionReason {
166
183
  DEPENDENCY_SERVICE_QUOTA_EXCEEDED = "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"
@@ -168,14 +185,18 @@ export declare enum ServiceQuotaExceededExceptionReason {
168
185
  /**
169
186
  * <p>Your current service quotas do not allow you to perform this action.</p>
170
187
  */
171
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
172
- name: "ServiceQuotaExceededException";
173
- $fault: "client";
188
+ export declare class ServiceQuotaExceededException extends __BaseException {
189
+ readonly name: "ServiceQuotaExceededException";
190
+ readonly $fault: "client";
174
191
  Message?: string;
175
192
  /**
176
193
  * <p>The reason for the exception.</p>
177
194
  */
178
195
  Reason?: ServiceQuotaExceededExceptionReason | string;
196
+ /**
197
+ * @internal
198
+ */
199
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
179
200
  }
180
201
  export declare enum ValidationExceptionReason {
181
202
  INVALID_BLOCK = "INVALID_BLOCK",
@@ -193,33 +214,45 @@ export declare enum ValidationExceptionReason {
193
214
  /**
194
215
  * <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
195
216
  */
196
- export interface ValidationException extends __SmithyException, $MetadataBearer {
197
- name: "ValidationException";
198
- $fault: "client";
217
+ export declare class ValidationException extends __BaseException {
218
+ readonly name: "ValidationException";
219
+ readonly $fault: "client";
199
220
  Message?: string;
200
221
  /**
201
222
  * <p>The reason for the validation exception.</p>
202
223
  */
203
224
  Reason?: ValidationExceptionReason | string;
225
+ /**
226
+ * @internal
227
+ */
228
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
204
229
  }
205
230
  /**
206
231
  * <p>You have reached the limit for concurrent API requests. For more information, see
207
232
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance">Optimizing performance of the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud
208
233
  * User Guide</i>.</p>
209
234
  */
210
- export interface ConcurrentLimitExceededException extends __SmithyException, $MetadataBearer {
211
- name: "ConcurrentLimitExceededException";
212
- $fault: "client";
235
+ export declare class ConcurrentLimitExceededException extends __BaseException {
236
+ readonly name: "ConcurrentLimitExceededException";
237
+ readonly $fault: "client";
213
238
  Message?: string;
239
+ /**
240
+ * @internal
241
+ */
242
+ constructor(opts: __ExceptionOptionType<ConcurrentLimitExceededException, __BaseException>);
214
243
  }
215
244
  /**
216
245
  * <p>The request uses the same client token as a previous, but non-identical
217
246
  * request.</p>
218
247
  */
219
- export interface ConflictException extends __SmithyException, $MetadataBearer {
220
- name: "ConflictException";
221
- $fault: "server";
248
+ export declare class ConflictException extends __BaseException {
249
+ readonly name: "ConflictException";
250
+ readonly $fault: "server";
222
251
  Message?: string;
252
+ /**
253
+ * @internal
254
+ */
255
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
223
256
  }
224
257
  export interface GetSnapshotBlockRequest {
225
258
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
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: (body: any) => number | undefined;
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: EBSClientConfig) => {
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: (body: any) => number | undefined;
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: EBSClientConfig) => {
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: (body: any) => number | undefined;
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 { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
10
10
  import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
11
11
  import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
@@ -22,7 +22,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
22
22
 
23
23
  urlParser?: __UrlParser;
24
24
 
25
- bodyLengthChecker?: (body: any) => number | undefined;
25
+ bodyLengthChecker?: __BodyLengthCalculator;
26
26
 
27
27
  streamCollector?: __StreamCollector;
28
28
 
@@ -3,3 +3,4 @@ export * from "./EBSClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { EBSServiceException } from "./models/EBSServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class EBSServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,17 +1,20 @@
1
1
 
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { EBSServiceException as __BaseException } from "./EBSServiceException";
4
5
  export declare enum AccessDeniedExceptionReason {
5
6
  DEPENDENCY_ACCESS_DENIED = "DEPENDENCY_ACCESS_DENIED",
6
7
  UNAUTHORIZED_ACCOUNT = "UNAUTHORIZED_ACCOUNT"
7
8
  }
8
9
 
9
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
10
- name: "AccessDeniedException";
11
- $fault: "client";
10
+ export declare class AccessDeniedException extends __BaseException {
11
+ readonly name: "AccessDeniedException";
12
+ readonly $fault: "client";
12
13
  Message?: string;
13
14
 
14
15
  Reason: AccessDeniedExceptionReason | string | undefined;
16
+
17
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
18
  }
16
19
 
17
20
  export interface Block {
@@ -73,45 +76,53 @@ export declare namespace CompleteSnapshotResponse {
73
76
  const filterSensitiveLog: (obj: CompleteSnapshotResponse) => any;
74
77
  }
75
78
 
76
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
77
- name: "InternalServerException";
78
- $fault: "server";
79
+ export declare class InternalServerException extends __BaseException {
80
+ readonly name: "InternalServerException";
81
+ readonly $fault: "server";
79
82
  Message?: string;
83
+
84
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
80
85
  }
81
86
  export declare enum RequestThrottledExceptionReason {
82
87
  ACCOUNT_THROTTLED = "ACCOUNT_THROTTLED",
83
88
  DEPENDENCY_REQUEST_THROTTLED = "DEPENDENCY_REQUEST_THROTTLED"
84
89
  }
85
90
 
86
- export interface RequestThrottledException extends __SmithyException, $MetadataBearer {
87
- name: "RequestThrottledException";
88
- $fault: "client";
91
+ export declare class RequestThrottledException extends __BaseException {
92
+ readonly name: "RequestThrottledException";
93
+ readonly $fault: "client";
89
94
  Message?: string;
90
95
 
91
96
  Reason?: RequestThrottledExceptionReason | string;
97
+
98
+ constructor(opts: __ExceptionOptionType<RequestThrottledException, __BaseException>);
92
99
  }
93
100
  export declare enum ResourceNotFoundExceptionReason {
94
101
  DEPENDENCY_RESOURCE_NOT_FOUND = "DEPENDENCY_RESOURCE_NOT_FOUND",
95
102
  SNAPSHOT_NOT_FOUND = "SNAPSHOT_NOT_FOUND"
96
103
  }
97
104
 
98
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
99
- name: "ResourceNotFoundException";
100
- $fault: "client";
105
+ export declare class ResourceNotFoundException extends __BaseException {
106
+ readonly name: "ResourceNotFoundException";
107
+ readonly $fault: "client";
101
108
  Message?: string;
102
109
 
103
110
  Reason?: ResourceNotFoundExceptionReason | string;
111
+
112
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
104
113
  }
105
114
  export declare enum ServiceQuotaExceededExceptionReason {
106
115
  DEPENDENCY_SERVICE_QUOTA_EXCEEDED = "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"
107
116
  }
108
117
 
109
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
110
- name: "ServiceQuotaExceededException";
111
- $fault: "client";
118
+ export declare class ServiceQuotaExceededException extends __BaseException {
119
+ readonly name: "ServiceQuotaExceededException";
120
+ readonly $fault: "client";
112
121
  Message?: string;
113
122
 
114
123
  Reason?: ServiceQuotaExceededExceptionReason | string;
124
+
125
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
115
126
  }
116
127
  export declare enum ValidationExceptionReason {
117
128
  INVALID_BLOCK = "INVALID_BLOCK",
@@ -127,24 +138,30 @@ export declare enum ValidationExceptionReason {
127
138
  UNRELATED_SNAPSHOTS = "UNRELATED_SNAPSHOTS"
128
139
  }
129
140
 
130
- export interface ValidationException extends __SmithyException, $MetadataBearer {
131
- name: "ValidationException";
132
- $fault: "client";
141
+ export declare class ValidationException extends __BaseException {
142
+ readonly name: "ValidationException";
143
+ readonly $fault: "client";
133
144
  Message?: string;
134
145
 
135
146
  Reason?: ValidationExceptionReason | string;
147
+
148
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
136
149
  }
137
150
 
138
- export interface ConcurrentLimitExceededException extends __SmithyException, $MetadataBearer {
139
- name: "ConcurrentLimitExceededException";
140
- $fault: "client";
151
+ export declare class ConcurrentLimitExceededException extends __BaseException {
152
+ readonly name: "ConcurrentLimitExceededException";
153
+ readonly $fault: "client";
141
154
  Message?: string;
155
+
156
+ constructor(opts: __ExceptionOptionType<ConcurrentLimitExceededException, __BaseException>);
142
157
  }
143
158
 
144
- export interface ConflictException extends __SmithyException, $MetadataBearer {
145
- name: "ConflictException";
146
- $fault: "server";
159
+ export declare class ConflictException extends __BaseException {
160
+ readonly name: "ConflictException";
161
+ readonly $fault: "server";
147
162
  Message?: string;
163
+
164
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
148
165
  }
149
166
  export interface GetSnapshotBlockRequest {
150
167
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
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: (body: any) => number | undefined;
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: EBSClientConfig) => {
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: (body: any) => number | undefined;
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: EBSClientConfig) => {
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: (body: any) => number | undefined;
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-ebs",
3
3
  "description": "AWS SDK for JavaScript Ebs Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
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,41 +18,41 @@
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.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
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
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",