@aws-sdk/client-drs 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/DrsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +128 -3
- package/dist-cjs/protocols/Aws_restJson1.js +351 -1245
- package/dist-es/index.js +1 -0
- package/dist-es/models/DrsServiceException.js +12 -0
- package/dist-es/models/models_0.js +118 -1
- package/dist-es/protocols/Aws_restJson1.js +711 -1370
- package/dist-types/DrsClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DrsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- 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/DrsClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DrsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- 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 { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
10
10
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
11
11
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
@@ -57,7 +57,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
57
57
|
* A function that can calculate the length of a request body.
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
|
-
bodyLengthChecker?:
|
|
60
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
61
61
|
/**
|
|
62
62
|
* A function that converts a stream into an array of bytes.
|
|
63
63
|
* @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 Drs service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DrsServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { DrsServiceException as __BaseException } from "./DrsServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>TYou do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
message?: string;
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
9
|
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
14
|
}
|
|
11
15
|
/**
|
|
12
16
|
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
13
17
|
*/
|
|
14
|
-
export
|
|
15
|
-
name: "ConflictException";
|
|
16
|
-
$fault: "client";
|
|
17
|
-
message?: string;
|
|
18
|
+
export declare class ConflictException extends __BaseException {
|
|
19
|
+
readonly name: "ConflictException";
|
|
20
|
+
readonly $fault: "client";
|
|
18
21
|
code?: string;
|
|
19
22
|
/**
|
|
20
23
|
* <p>The ID of the resource.</p>
|
|
@@ -24,6 +27,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
24
27
|
* <p>The type of the resource.</p>
|
|
25
28
|
*/
|
|
26
29
|
resourceType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
34
|
}
|
|
28
35
|
/**
|
|
29
36
|
* <p>Information about a server's CPU.</p>
|
|
@@ -164,14 +171,17 @@ export declare namespace CreateReplicationConfigurationTemplateRequest {
|
|
|
164
171
|
/**
|
|
165
172
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
166
173
|
*/
|
|
167
|
-
export
|
|
168
|
-
name: "InternalServerException";
|
|
169
|
-
$fault: "server";
|
|
170
|
-
message: string | undefined;
|
|
174
|
+
export declare class InternalServerException extends __BaseException {
|
|
175
|
+
readonly name: "InternalServerException";
|
|
176
|
+
readonly $fault: "server";
|
|
171
177
|
/**
|
|
172
178
|
* <p>The number of seconds after which the request should be safe to retry.</p>
|
|
173
179
|
*/
|
|
174
180
|
retryAfterSeconds?: number;
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
175
185
|
}
|
|
176
186
|
export interface ReplicationConfigurationTemplate {
|
|
177
187
|
/**
|
|
@@ -252,10 +262,9 @@ export declare namespace ReplicationConfigurationTemplate {
|
|
|
252
262
|
/**
|
|
253
263
|
* <p>The request could not be completed because its exceeded the service quota.</p>
|
|
254
264
|
*/
|
|
255
|
-
export
|
|
256
|
-
name: "ServiceQuotaExceededException";
|
|
257
|
-
$fault: "client";
|
|
258
|
-
message?: string;
|
|
265
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
266
|
+
readonly name: "ServiceQuotaExceededException";
|
|
267
|
+
readonly $fault: "client";
|
|
259
268
|
code?: string;
|
|
260
269
|
/**
|
|
261
270
|
* <p>The ID of the resource.</p>
|
|
@@ -273,14 +282,17 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
273
282
|
* <p>Quota code.</p>
|
|
274
283
|
*/
|
|
275
284
|
quotaCode?: string;
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
276
289
|
}
|
|
277
290
|
/**
|
|
278
291
|
* <p>The request was denied due to request throttling.</p>
|
|
279
292
|
*/
|
|
280
|
-
export
|
|
281
|
-
name: "ThrottlingException";
|
|
282
|
-
$fault: "client";
|
|
283
|
-
message: string | undefined;
|
|
293
|
+
export declare class ThrottlingException extends __BaseException {
|
|
294
|
+
readonly name: "ThrottlingException";
|
|
295
|
+
readonly $fault: "client";
|
|
284
296
|
/**
|
|
285
297
|
* <p>Service code.</p>
|
|
286
298
|
*/
|
|
@@ -293,15 +305,22 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
293
305
|
* <p>The number of seconds after which the request should be safe to retry.</p>
|
|
294
306
|
*/
|
|
295
307
|
retryAfterSeconds?: string;
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
296
312
|
}
|
|
297
313
|
/**
|
|
298
314
|
* <p>The account performing the request has not been initialized.</p>
|
|
299
315
|
*/
|
|
300
|
-
export
|
|
301
|
-
name: "UninitializedAccountException";
|
|
302
|
-
$fault: "client";
|
|
303
|
-
message?: string;
|
|
316
|
+
export declare class UninitializedAccountException extends __BaseException {
|
|
317
|
+
readonly name: "UninitializedAccountException";
|
|
318
|
+
readonly $fault: "client";
|
|
304
319
|
code?: string;
|
|
320
|
+
/**
|
|
321
|
+
* @internal
|
|
322
|
+
*/
|
|
323
|
+
constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
|
|
305
324
|
}
|
|
306
325
|
/**
|
|
307
326
|
* <p>Validate exception field.</p>
|
|
@@ -331,10 +350,9 @@ export declare enum ValidationExceptionReason {
|
|
|
331
350
|
/**
|
|
332
351
|
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
333
352
|
*/
|
|
334
|
-
export
|
|
335
|
-
name: "ValidationException";
|
|
336
|
-
$fault: "client";
|
|
337
|
-
message?: string;
|
|
353
|
+
export declare class ValidationException extends __BaseException {
|
|
354
|
+
readonly name: "ValidationException";
|
|
355
|
+
readonly $fault: "client";
|
|
338
356
|
code?: string;
|
|
339
357
|
/**
|
|
340
358
|
* <p>Validation exception reason.</p>
|
|
@@ -344,6 +362,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
344
362
|
* <p>A list of fields that failed validation.</p>
|
|
345
363
|
*/
|
|
346
364
|
fieldList?: ValidationExceptionField[];
|
|
365
|
+
/**
|
|
366
|
+
* @internal
|
|
367
|
+
*/
|
|
368
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
347
369
|
}
|
|
348
370
|
export declare enum DataReplicationErrorString {
|
|
349
371
|
AGENT_NOT_SEEN = "AGENT_NOT_SEEN",
|
|
@@ -543,10 +565,9 @@ export declare namespace DeleteJobResponse {
|
|
|
543
565
|
/**
|
|
544
566
|
* <p>The resource for this operation was not found.</p>
|
|
545
567
|
*/
|
|
546
|
-
export
|
|
547
|
-
name: "ResourceNotFoundException";
|
|
548
|
-
$fault: "client";
|
|
549
|
-
message?: string;
|
|
568
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
569
|
+
readonly name: "ResourceNotFoundException";
|
|
570
|
+
readonly $fault: "client";
|
|
550
571
|
code?: string;
|
|
551
572
|
/**
|
|
552
573
|
* <p>The ID of the resource.</p>
|
|
@@ -556,6 +577,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
556
577
|
* <p>The type of the resource.</p>
|
|
557
578
|
*/
|
|
558
579
|
resourceType?: string;
|
|
580
|
+
/**
|
|
581
|
+
* @internal
|
|
582
|
+
*/
|
|
583
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
559
584
|
}
|
|
560
585
|
export interface DeleteRecoveryInstanceRequest {
|
|
561
586
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
|
|
|
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: DrsClientConfig) => {
|
|
|
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: DrsClientConfig) => {
|
|
|
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 { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
10
10
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
11
11
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
45
45
|
|
|
46
46
|
urlParser?: __UrlParser;
|
|
47
47
|
|
|
48
|
-
bodyLengthChecker?:
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
49
|
|
|
50
50
|
streamCollector?: __StreamCollector;
|
|
51
51
|
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { DrsServiceException as __BaseException } from "./DrsServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
message?: string;
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
7
|
code?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
10
|
}
|
|
9
11
|
|
|
10
|
-
export
|
|
11
|
-
name: "ConflictException";
|
|
12
|
-
$fault: "client";
|
|
13
|
-
message?: string;
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
14
15
|
code?: string;
|
|
15
16
|
|
|
16
17
|
resourceId?: string;
|
|
17
18
|
|
|
18
19
|
resourceType?: string;
|
|
20
|
+
|
|
21
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
export interface CPU {
|
|
@@ -102,12 +105,13 @@ export declare namespace CreateReplicationConfigurationTemplateRequest {
|
|
|
102
105
|
const filterSensitiveLog: (obj: CreateReplicationConfigurationTemplateRequest) => any;
|
|
103
106
|
}
|
|
104
107
|
|
|
105
|
-
export
|
|
106
|
-
name: "InternalServerException";
|
|
107
|
-
$fault: "server";
|
|
108
|
-
message: string | undefined;
|
|
108
|
+
export declare class InternalServerException extends __BaseException {
|
|
109
|
+
readonly name: "InternalServerException";
|
|
110
|
+
readonly $fault: "server";
|
|
109
111
|
|
|
110
112
|
retryAfterSeconds?: number;
|
|
113
|
+
|
|
114
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
111
115
|
}
|
|
112
116
|
export interface ReplicationConfigurationTemplate {
|
|
113
117
|
|
|
@@ -152,10 +156,9 @@ export declare namespace ReplicationConfigurationTemplate {
|
|
|
152
156
|
const filterSensitiveLog: (obj: ReplicationConfigurationTemplate) => any;
|
|
153
157
|
}
|
|
154
158
|
|
|
155
|
-
export
|
|
156
|
-
name: "ServiceQuotaExceededException";
|
|
157
|
-
$fault: "client";
|
|
158
|
-
message?: string;
|
|
159
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
160
|
+
readonly name: "ServiceQuotaExceededException";
|
|
161
|
+
readonly $fault: "client";
|
|
159
162
|
code?: string;
|
|
160
163
|
|
|
161
164
|
resourceId?: string;
|
|
@@ -165,25 +168,29 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
165
168
|
serviceCode?: string;
|
|
166
169
|
|
|
167
170
|
quotaCode?: string;
|
|
171
|
+
|
|
172
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
168
173
|
}
|
|
169
174
|
|
|
170
|
-
export
|
|
171
|
-
name: "ThrottlingException";
|
|
172
|
-
$fault: "client";
|
|
173
|
-
message: string | undefined;
|
|
175
|
+
export declare class ThrottlingException extends __BaseException {
|
|
176
|
+
readonly name: "ThrottlingException";
|
|
177
|
+
readonly $fault: "client";
|
|
174
178
|
|
|
175
179
|
serviceCode?: string;
|
|
176
180
|
|
|
177
181
|
quotaCode?: string;
|
|
178
182
|
|
|
179
183
|
retryAfterSeconds?: string;
|
|
184
|
+
|
|
185
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
180
186
|
}
|
|
181
187
|
|
|
182
|
-
export
|
|
183
|
-
name: "UninitializedAccountException";
|
|
184
|
-
$fault: "client";
|
|
185
|
-
message?: string;
|
|
188
|
+
export declare class UninitializedAccountException extends __BaseException {
|
|
189
|
+
readonly name: "UninitializedAccountException";
|
|
190
|
+
readonly $fault: "client";
|
|
186
191
|
code?: string;
|
|
192
|
+
|
|
193
|
+
constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
|
|
187
194
|
}
|
|
188
195
|
|
|
189
196
|
export interface ValidationExceptionField {
|
|
@@ -203,15 +210,16 @@ export declare enum ValidationExceptionReason {
|
|
|
203
210
|
UNKNOWN_OPERATION = "unknownOperation"
|
|
204
211
|
}
|
|
205
212
|
|
|
206
|
-
export
|
|
207
|
-
name: "ValidationException";
|
|
208
|
-
$fault: "client";
|
|
209
|
-
message?: string;
|
|
213
|
+
export declare class ValidationException extends __BaseException {
|
|
214
|
+
readonly name: "ValidationException";
|
|
215
|
+
readonly $fault: "client";
|
|
210
216
|
code?: string;
|
|
211
217
|
|
|
212
218
|
reason?: ValidationExceptionReason | string;
|
|
213
219
|
|
|
214
220
|
fieldList?: ValidationExceptionField[];
|
|
221
|
+
|
|
222
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
215
223
|
}
|
|
216
224
|
export declare enum DataReplicationErrorString {
|
|
217
225
|
AGENT_NOT_SEEN = "AGENT_NOT_SEEN",
|
|
@@ -347,15 +355,16 @@ export declare namespace DeleteJobResponse {
|
|
|
347
355
|
const filterSensitiveLog: (obj: DeleteJobResponse) => any;
|
|
348
356
|
}
|
|
349
357
|
|
|
350
|
-
export
|
|
351
|
-
name: "ResourceNotFoundException";
|
|
352
|
-
$fault: "client";
|
|
353
|
-
message?: string;
|
|
358
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
359
|
+
readonly name: "ResourceNotFoundException";
|
|
360
|
+
readonly $fault: "client";
|
|
354
361
|
code?: string;
|
|
355
362
|
|
|
356
363
|
resourceId?: string;
|
|
357
364
|
|
|
358
365
|
resourceType?: string;
|
|
366
|
+
|
|
367
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
359
368
|
}
|
|
360
369
|
export interface DeleteRecoveryInstanceRequest {
|
|
361
370
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
|
|
|
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: DrsClientConfig) => {
|
|
|
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: DrsClientConfig) => {
|
|
|
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-drs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Drs 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",
|