@aws-sdk/client-backup 3.42.0 → 3.47.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 +50 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +4 -64
- package/dist-cjs/protocols/Aws_restJson1.js +38 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -40
- package/dist-es/protocols/Aws_restJson1.js +62 -27
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Backup.d.ts +6 -40
- package/dist-types/BackupClient.d.ts +5 -1
- package/dist-types/commands/CreateBackupSelectionCommand.d.ts +2 -40
- package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +173 -106
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/BackupClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +18 -40
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -27,10 +27,6 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
|
|
|
27
27
|
|
|
28
28
|
Context?: string;
|
|
29
29
|
}
|
|
30
|
-
export declare namespace AlreadyExistsException {
|
|
31
|
-
|
|
32
|
-
const filterSensitiveLog: (obj: AlreadyExistsException) => any;
|
|
33
|
-
}
|
|
34
30
|
|
|
35
31
|
export interface RecoveryPointCreator {
|
|
36
32
|
|
|
@@ -245,18 +241,26 @@ export declare namespace BackupPlanTemplatesListMember {
|
|
|
245
241
|
|
|
246
242
|
const filterSensitiveLog: (obj: BackupPlanTemplatesListMember) => any;
|
|
247
243
|
}
|
|
244
|
+
|
|
248
245
|
export interface ConditionParameter {
|
|
246
|
+
|
|
249
247
|
ConditionKey?: string;
|
|
248
|
+
|
|
250
249
|
ConditionValue?: string;
|
|
251
250
|
}
|
|
252
251
|
export declare namespace ConditionParameter {
|
|
253
252
|
|
|
254
253
|
const filterSensitiveLog: (obj: ConditionParameter) => any;
|
|
255
254
|
}
|
|
255
|
+
|
|
256
256
|
export interface Conditions {
|
|
257
|
+
|
|
257
258
|
StringEquals?: ConditionParameter[];
|
|
259
|
+
|
|
258
260
|
StringNotEquals?: ConditionParameter[];
|
|
261
|
+
|
|
259
262
|
StringLike?: ConditionParameter[];
|
|
263
|
+
|
|
260
264
|
StringNotLike?: ConditionParameter[];
|
|
261
265
|
}
|
|
262
266
|
export declare namespace Conditions {
|
|
@@ -289,7 +293,9 @@ export interface BackupSelection {
|
|
|
289
293
|
Resources?: string[];
|
|
290
294
|
|
|
291
295
|
ListOfTags?: Condition[];
|
|
296
|
+
|
|
292
297
|
NotResources?: string[];
|
|
298
|
+
|
|
293
299
|
Conditions?: Conditions;
|
|
294
300
|
}
|
|
295
301
|
export declare namespace BackupSelection {
|
|
@@ -381,10 +387,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
381
387
|
|
|
382
388
|
Context?: string;
|
|
383
389
|
}
|
|
384
|
-
export declare namespace ConflictException {
|
|
385
|
-
|
|
386
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
387
|
-
}
|
|
388
390
|
|
|
389
391
|
export interface ControlInputParameter {
|
|
390
392
|
|
|
@@ -495,10 +497,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
|
|
|
495
497
|
|
|
496
498
|
Context?: string;
|
|
497
499
|
}
|
|
498
|
-
export declare namespace InvalidParameterValueException {
|
|
499
|
-
|
|
500
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
501
|
-
}
|
|
502
500
|
|
|
503
501
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
504
502
|
name: "LimitExceededException";
|
|
@@ -510,10 +508,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
510
508
|
|
|
511
509
|
Context?: string;
|
|
512
510
|
}
|
|
513
|
-
export declare namespace LimitExceededException {
|
|
514
|
-
|
|
515
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
516
|
-
}
|
|
517
511
|
|
|
518
512
|
export interface MissingParameterValueException extends __SmithyException, $MetadataBearer {
|
|
519
513
|
name: "MissingParameterValueException";
|
|
@@ -525,10 +519,6 @@ export interface MissingParameterValueException extends __SmithyException, $Meta
|
|
|
525
519
|
|
|
526
520
|
Context?: string;
|
|
527
521
|
}
|
|
528
|
-
export declare namespace MissingParameterValueException {
|
|
529
|
-
|
|
530
|
-
const filterSensitiveLog: (obj: MissingParameterValueException) => any;
|
|
531
|
-
}
|
|
532
522
|
|
|
533
523
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
534
524
|
name: "ServiceUnavailableException";
|
|
@@ -540,10 +530,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
540
530
|
|
|
541
531
|
Context?: string;
|
|
542
532
|
}
|
|
543
|
-
export declare namespace ServiceUnavailableException {
|
|
544
|
-
|
|
545
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
546
|
-
}
|
|
547
533
|
export interface CreateBackupSelectionInput {
|
|
548
534
|
|
|
549
535
|
BackupPlanId: string | undefined;
|
|
@@ -728,10 +714,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
728
714
|
|
|
729
715
|
Context?: string;
|
|
730
716
|
}
|
|
731
|
-
export declare namespace InvalidRequestException {
|
|
732
|
-
|
|
733
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
734
|
-
}
|
|
735
717
|
|
|
736
718
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
737
719
|
name: "ResourceNotFoundException";
|
|
@@ -743,10 +725,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
743
725
|
|
|
744
726
|
Context?: string;
|
|
745
727
|
}
|
|
746
|
-
export declare namespace ResourceNotFoundException {
|
|
747
|
-
|
|
748
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
749
|
-
}
|
|
750
728
|
export interface DeleteBackupSelectionInput {
|
|
751
729
|
|
|
752
730
|
BackupPlanId: string | undefined;
|
|
@@ -818,10 +796,6 @@ export interface InvalidResourceStateException extends __SmithyException, $Metad
|
|
|
818
796
|
|
|
819
797
|
Context?: string;
|
|
820
798
|
}
|
|
821
|
-
export declare namespace InvalidResourceStateException {
|
|
822
|
-
|
|
823
|
-
const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
|
|
824
|
-
}
|
|
825
799
|
export interface DeleteReportPlanInput {
|
|
826
800
|
|
|
827
801
|
ReportPlanName: string | undefined;
|
|
@@ -841,10 +815,6 @@ export interface DependencyFailureException extends __SmithyException, $Metadata
|
|
|
841
815
|
|
|
842
816
|
Context?: string;
|
|
843
817
|
}
|
|
844
|
-
export declare namespace DependencyFailureException {
|
|
845
|
-
|
|
846
|
-
const filterSensitiveLog: (obj: DependencyFailureException) => any;
|
|
847
|
-
}
|
|
848
818
|
export interface DescribeBackupJobInput {
|
|
849
819
|
|
|
850
820
|
BackupJobId: string | undefined;
|
|
@@ -1095,6 +1065,10 @@ export interface DescribeRegionSettingsOutput {
|
|
|
1095
1065
|
ResourceTypeOptInPreference?: {
|
|
1096
1066
|
[key: string]: boolean;
|
|
1097
1067
|
};
|
|
1068
|
+
|
|
1069
|
+
ResourceTypeManagementPreference?: {
|
|
1070
|
+
[key: string]: boolean;
|
|
1071
|
+
};
|
|
1098
1072
|
}
|
|
1099
1073
|
export declare namespace DescribeRegionSettingsOutput {
|
|
1100
1074
|
|
|
@@ -2198,6 +2172,10 @@ export interface UpdateRegionSettingsInput {
|
|
|
2198
2172
|
ResourceTypeOptInPreference?: {
|
|
2199
2173
|
[key: string]: boolean;
|
|
2200
2174
|
};
|
|
2175
|
+
|
|
2176
|
+
ResourceTypeManagementPreference?: {
|
|
2177
|
+
[key: string]: boolean;
|
|
2178
|
+
};
|
|
2201
2179
|
}
|
|
2202
2180
|
export declare namespace UpdateRegionSettingsInput {
|
|
2203
2181
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { BackupClientConfig } from "./BackupClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { BackupClientConfig } from "./BackupClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,50 +18,46 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
52
51
|
"tslib": "^2.3.0",
|
|
53
52
|
"uuid": "^8.3.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
57
56
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
-
"downlevel-dts": "0.7.0",
|
|
60
|
-
"jest": "^26.1.0",
|
|
61
|
-
"rimraf": "^3.0.0",
|
|
62
|
-
"ts-jest": "^26.4.1",
|
|
63
|
-
"typedoc": "^0.19.2",
|
|
64
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@types/uuid": "^8.3.0"
|
|
65
58
|
},
|
|
66
59
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
60
|
+
"node": ">=12.0.0"
|
|
68
61
|
},
|
|
69
62
|
"typesVersions": {
|
|
70
63
|
"<4.0": {
|