@aws-sdk/client-backup 3.121.0 → 3.128.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/protocols/Aws_restJson1.js +169 -296
- package/dist-es/protocols/Aws_restJson1.js +121 -248
- package/dist-types/Backup.d.ts +3 -4
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +3 -4
- package/dist-types/models/models_0.d.ts +42 -43
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/package.json +26 -26
package/dist-types/Backup.d.ts
CHANGED
|
@@ -545,10 +545,9 @@ export declare class Backup extends BackupClient {
|
|
|
545
545
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
546
546
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
547
547
|
* after a backup has been transitioned to cold.</p>
|
|
548
|
-
* <p>
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
548
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
549
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
550
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
552
551
|
* other resource types.</p>
|
|
553
552
|
* <p>This operation does not support continuous backups.</p>
|
|
554
553
|
*/
|
|
@@ -15,10 +15,9 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
|
|
|
15
15
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
16
16
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
17
17
|
* after a backup has been transitioned to cold.</p>
|
|
18
|
-
* <p>
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
18
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
19
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
20
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
22
21
|
* other resource types.</p>
|
|
23
22
|
* <p>This operation does not support continuous backups.</p>
|
|
24
23
|
* @example
|
|
@@ -234,10 +234,9 @@ export declare namespace BackupJob {
|
|
|
234
234
|
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
|
|
235
235
|
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
|
|
236
236
|
* be changed after a backup has been transitioned to cold.</p>
|
|
237
|
-
* <p>
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
237
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
238
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
239
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
241
240
|
* other resource types.</p>
|
|
242
241
|
*/
|
|
243
242
|
export interface Lifecycle {
|
|
@@ -269,10 +268,9 @@ export interface CopyAction {
|
|
|
269
268
|
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
|
|
270
269
|
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
|
|
271
270
|
* be changed after a backup has been transitioned to cold.</p>
|
|
272
|
-
* <p>
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
271
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
272
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
273
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
276
274
|
* other resource types.</p>
|
|
277
275
|
*/
|
|
278
276
|
Lifecycle?: Lifecycle;
|
|
@@ -332,10 +330,9 @@ export interface BackupRule {
|
|
|
332
330
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
333
331
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
334
332
|
* after a backup has been transitioned to cold. </p>
|
|
335
|
-
* <p>
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
333
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
334
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
335
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
339
336
|
* other resource types.</p>
|
|
340
337
|
*/
|
|
341
338
|
Lifecycle?: Lifecycle;
|
|
@@ -433,10 +430,9 @@ export interface BackupRuleInput {
|
|
|
433
430
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
434
431
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
435
432
|
* after a backup has been transitioned to cold.</p>
|
|
436
|
-
* <p>
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
433
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
434
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
435
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
440
436
|
* other resource types.</p>
|
|
441
437
|
*/
|
|
442
438
|
Lifecycle?: Lifecycle;
|
|
@@ -661,6 +657,9 @@ export declare namespace Condition {
|
|
|
661
657
|
}
|
|
662
658
|
/**
|
|
663
659
|
* <p>Used to specify a set of resources to a backup plan.</p>
|
|
660
|
+
* <p>Specifying your desired <code>Conditions</code>, <code>ListOfTags</code>, <code>NotResources</code>,
|
|
661
|
+
* and/or <code>Resources</code> is recommended. If none of these are specified, Backup will attempt to
|
|
662
|
+
* select all supported and opted-in storage resources, which could have unintended cost implications.</p>
|
|
664
663
|
*/
|
|
665
664
|
export interface BackupSelection {
|
|
666
665
|
/**
|
|
@@ -683,7 +682,10 @@ export interface BackupSelection {
|
|
|
683
682
|
Resources?: string[];
|
|
684
683
|
/**
|
|
685
684
|
* <p>A list of conditions that you define to assign resources to your backup plans using
|
|
686
|
-
* tags. For example, <code>"StringEquals":
|
|
685
|
+
* tags. For example, <code>"StringEquals": {
|
|
686
|
+
* "ConditionKey": "aws:ResourceTag/CreatedByCryo",
|
|
687
|
+
* "ConditionValue": "true"
|
|
688
|
+
* },</code>. Condition
|
|
687
689
|
* operators are case sensitive.</p>
|
|
688
690
|
* <p>
|
|
689
691
|
* <code>ListOfTags</code> differs from <code>Conditions</code> as follows:</p>
|
|
@@ -712,7 +714,10 @@ export interface BackupSelection {
|
|
|
712
714
|
NotResources?: string[];
|
|
713
715
|
/**
|
|
714
716
|
* <p>A list of conditions that you define to assign resources to your backup plans using
|
|
715
|
-
* tags. For example, <code>"StringEquals":
|
|
717
|
+
* tags. For example, <code>"StringEquals": {
|
|
718
|
+
* "ConditionKey": "aws:ResourceTag/CreatedByCryo",
|
|
719
|
+
* "ConditionValue": "true"
|
|
720
|
+
* },</code>. Condition
|
|
716
721
|
* operators are case sensitive.</p>
|
|
717
722
|
* <p>
|
|
718
723
|
* <code>Conditions</code> differs from <code>ListOfTags</code> as follows:</p>
|
|
@@ -902,10 +907,9 @@ export declare namespace BackupVaultListMember {
|
|
|
902
907
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
903
908
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
904
909
|
* after a backup has been transitioned to cold.</p>
|
|
905
|
-
* <p>
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
910
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
911
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
912
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
909
913
|
* other resource types.</p>
|
|
910
914
|
*/
|
|
911
915
|
export interface CalculatedLifecycle {
|
|
@@ -2323,10 +2327,9 @@ export interface DescribeRecoveryPointOutput {
|
|
|
2323
2327
|
* minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the
|
|
2324
2328
|
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
|
|
2325
2329
|
* be changed after a backup has been transitioned to cold. </p>
|
|
2326
|
-
* <p>
|
|
2327
|
-
*
|
|
2328
|
-
*
|
|
2329
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
2330
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
2331
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
2332
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
2330
2333
|
* other resource types.</p>
|
|
2331
2334
|
*/
|
|
2332
2335
|
Lifecycle?: Lifecycle;
|
|
@@ -3853,10 +3856,9 @@ export interface RecoveryPointByBackupVault {
|
|
|
3853
3856
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
3854
3857
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
3855
3858
|
* after a backup has been transitioned to cold. </p>
|
|
3856
|
-
* <p>
|
|
3857
|
-
*
|
|
3858
|
-
*
|
|
3859
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
3859
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
3860
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
3861
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
3860
3862
|
* other resource types.</p>
|
|
3861
3863
|
*/
|
|
3862
3864
|
Lifecycle?: Lifecycle;
|
|
@@ -4469,10 +4471,9 @@ export interface StartBackupJobInput {
|
|
|
4469
4471
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
4470
4472
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
4471
4473
|
* after a backup has been transitioned to cold. </p>
|
|
4472
|
-
* <p>
|
|
4473
|
-
*
|
|
4474
|
-
*
|
|
4475
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
4474
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
4475
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
4476
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
4476
4477
|
* other resource types.</p>
|
|
4477
4478
|
*/
|
|
4478
4479
|
Lifecycle?: Lifecycle;
|
|
@@ -4558,10 +4559,9 @@ export interface StartCopyJobInput {
|
|
|
4558
4559
|
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
|
|
4559
4560
|
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
|
|
4560
4561
|
* be changed after a backup has been transitioned to cold.</p>
|
|
4561
|
-
* <p>
|
|
4562
|
-
*
|
|
4563
|
-
*
|
|
4564
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
4562
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
4563
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
4564
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
4565
4565
|
* other resource types.</p>
|
|
4566
4566
|
*/
|
|
4567
4567
|
Lifecycle?: Lifecycle;
|
|
@@ -4685,7 +4685,7 @@ export interface StartRestoreJobInput {
|
|
|
4685
4685
|
* the target recovery point; for example,
|
|
4686
4686
|
* <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
|
|
4687
4687
|
*/
|
|
4688
|
-
IamRoleArn
|
|
4688
|
+
IamRoleArn?: string;
|
|
4689
4689
|
/**
|
|
4690
4690
|
* <p>A customer-chosen string that you can use to distinguish between otherwise identical
|
|
4691
4691
|
* calls to <code>StartRestoreJob</code>. Retrying a successful request with the same
|
|
@@ -4979,10 +4979,9 @@ export interface UpdateRecoveryPointLifecycleOutput {
|
|
|
4979
4979
|
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
4980
4980
|
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
4981
4981
|
* after a backup has been transitioned to cold.</p>
|
|
4982
|
-
* <p>
|
|
4983
|
-
*
|
|
4984
|
-
*
|
|
4985
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
4982
|
+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
|
|
4983
|
+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
4984
|
+
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
4986
4985
|
* other resource types.</p>
|
|
4987
4986
|
*/
|
|
4988
4987
|
Lifecycle?: Lifecycle;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.128.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
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-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.128.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.128.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.128.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.128.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.128.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|