@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
|
@@ -59,12 +59,6 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
|
|
|
59
59
|
*/
|
|
60
60
|
Context?: string;
|
|
61
61
|
}
|
|
62
|
-
export declare namespace AlreadyExistsException {
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
const filterSensitiveLog: (obj: AlreadyExistsException) => any;
|
|
67
|
-
}
|
|
68
62
|
/**
|
|
69
63
|
* <p>Contains information about the backup plan and rule that Backup used to
|
|
70
64
|
* initiate the recovery point backup.</p>
|
|
@@ -291,7 +285,8 @@ export declare namespace CopyAction {
|
|
|
291
285
|
*/
|
|
292
286
|
export interface BackupRule {
|
|
293
287
|
/**
|
|
294
|
-
* <p>
|
|
288
|
+
* <p>A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.'
|
|
289
|
+
* characters.</p>
|
|
295
290
|
*/
|
|
296
291
|
RuleName: string | undefined;
|
|
297
292
|
/**
|
|
@@ -303,10 +298,11 @@ export interface BackupRule {
|
|
|
303
298
|
TargetBackupVaultName: string | undefined;
|
|
304
299
|
/**
|
|
305
300
|
* <p>A cron expression in UTC specifying when Backup initiates a backup job. For
|
|
306
|
-
* more information about cron expressions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html">Schedule Expressions for Rules</a> in the <i>Amazon CloudWatch Events User
|
|
307
|
-
* Guide.</i>.
|
|
308
|
-
*
|
|
309
|
-
*
|
|
301
|
+
* more information about Amazon Web Services cron expressions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html">Schedule Expressions for Rules</a> in the <i>Amazon CloudWatch Events User
|
|
302
|
+
* Guide.</i>. Two examples of Amazon Web Services cron expressions are <code> 15 * ?
|
|
303
|
+
* * * *</code> (take a backup every hour at 15 minutes past the hour) and <code>0 12 * * ?
|
|
304
|
+
* *</code> (take a backup every day at 12 noon UTC). For a table of examples, click the
|
|
305
|
+
* preceding link and scroll down the page.</p>
|
|
310
306
|
*/
|
|
311
307
|
ScheduleExpression?: string;
|
|
312
308
|
/**
|
|
@@ -367,7 +363,8 @@ export declare namespace BackupRule {
|
|
|
367
363
|
*/
|
|
368
364
|
export interface BackupPlan {
|
|
369
365
|
/**
|
|
370
|
-
* <p>The display name of a backup plan
|
|
366
|
+
* <p>The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.'
|
|
367
|
+
* characters.</p>
|
|
371
368
|
*/
|
|
372
369
|
BackupPlanName: string | undefined;
|
|
373
370
|
/**
|
|
@@ -391,7 +388,8 @@ export declare namespace BackupPlan {
|
|
|
391
388
|
*/
|
|
392
389
|
export interface BackupRuleInput {
|
|
393
390
|
/**
|
|
394
|
-
* <p>
|
|
391
|
+
* <p>A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.'
|
|
392
|
+
* characters.</p>
|
|
395
393
|
*/
|
|
396
394
|
RuleName: string | undefined;
|
|
397
395
|
/**
|
|
@@ -458,7 +456,8 @@ export declare namespace BackupRuleInput {
|
|
|
458
456
|
*/
|
|
459
457
|
export interface BackupPlanInput {
|
|
460
458
|
/**
|
|
461
|
-
* <p>The
|
|
459
|
+
* <p>The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.'
|
|
460
|
+
* characters.</p>
|
|
462
461
|
*/
|
|
463
462
|
BackupPlanName: string | undefined;
|
|
464
463
|
/**
|
|
@@ -516,7 +515,8 @@ export interface BackupPlansListMember {
|
|
|
516
515
|
BackupPlanName?: string;
|
|
517
516
|
/**
|
|
518
517
|
* <p>A unique string that identifies the request and allows failed requests to be retried
|
|
519
|
-
* without the risk of running the operation twice.</p>
|
|
518
|
+
* without the risk of running the operation twice. This parameter is optional.</p>
|
|
519
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
520
520
|
*/
|
|
521
521
|
CreatorRequestId?: string;
|
|
522
522
|
/**
|
|
@@ -556,8 +556,20 @@ export declare namespace BackupPlanTemplatesListMember {
|
|
|
556
556
|
*/
|
|
557
557
|
const filterSensitiveLog: (obj: BackupPlanTemplatesListMember) => any;
|
|
558
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
* <p>Includes information about tags you define to assign tagged resources to a backup
|
|
561
|
+
* plan.</p>
|
|
562
|
+
*/
|
|
559
563
|
export interface ConditionParameter {
|
|
564
|
+
/**
|
|
565
|
+
* <p>The key in a key-value pair. For example, in the tag <code>Department:
|
|
566
|
+
* Accounting</code>, <code>Department</code> is the key.</p>
|
|
567
|
+
*/
|
|
560
568
|
ConditionKey?: string;
|
|
569
|
+
/**
|
|
570
|
+
* <p>The value in a key-value pair. For example, in the tag <code>Department:
|
|
571
|
+
* Accounting</code>, <code>Accounting</code> is the value.</p>
|
|
572
|
+
*/
|
|
561
573
|
ConditionValue?: string;
|
|
562
574
|
}
|
|
563
575
|
export declare namespace ConditionParameter {
|
|
@@ -566,10 +578,31 @@ export declare namespace ConditionParameter {
|
|
|
566
578
|
*/
|
|
567
579
|
const filterSensitiveLog: (obj: ConditionParameter) => any;
|
|
568
580
|
}
|
|
581
|
+
/**
|
|
582
|
+
* <p>Contains information about which resources to include or exclude from a backup plan
|
|
583
|
+
* using their tags. Conditions are case sensitive.</p>
|
|
584
|
+
*/
|
|
569
585
|
export interface Conditions {
|
|
586
|
+
/**
|
|
587
|
+
* <p>Filters the values of your tagged resources for only those resources that you tagged
|
|
588
|
+
* with the same value. Also called "exact matching."</p>
|
|
589
|
+
*/
|
|
570
590
|
StringEquals?: ConditionParameter[];
|
|
591
|
+
/**
|
|
592
|
+
* <p>Filters the values of your tagged resources for only those resources that you tagged
|
|
593
|
+
* that do not have the same value. Also called "negated matching."</p>
|
|
594
|
+
*/
|
|
571
595
|
StringNotEquals?: ConditionParameter[];
|
|
596
|
+
/**
|
|
597
|
+
* <p>Filters the values of your tagged resources for matching tag values with the use of a
|
|
598
|
+
* wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the
|
|
599
|
+
* tag value "production".</p>
|
|
600
|
+
*/
|
|
572
601
|
StringLike?: ConditionParameter[];
|
|
602
|
+
/**
|
|
603
|
+
* <p>Filters the values of your tagged resources for non-matching tag values with the use of
|
|
604
|
+
* a wildcard character (*) anywhere in the string.</p>
|
|
605
|
+
*/
|
|
573
606
|
StringNotLike?: ConditionParameter[];
|
|
574
607
|
}
|
|
575
608
|
export declare namespace Conditions {
|
|
@@ -583,23 +616,27 @@ export declare enum ConditionType {
|
|
|
583
616
|
}
|
|
584
617
|
/**
|
|
585
618
|
* <p>Contains an array of triplets made up of a condition type (such as
|
|
586
|
-
* <code>StringEquals</code>), a key, and a value.
|
|
587
|
-
*
|
|
619
|
+
* <code>StringEquals</code>), a key, and a value. Used to filter resources using their
|
|
620
|
+
* tags and assign them to a backup plan. Case sensitive.</p>
|
|
588
621
|
*/
|
|
589
622
|
export interface Condition {
|
|
590
623
|
/**
|
|
591
|
-
* <p>An operation
|
|
592
|
-
*
|
|
624
|
+
* <p>An operation applied to a key-value pair used to assign resources to your backup plan.
|
|
625
|
+
* Condition only supports <code>StringEquals</code>. For more flexible assignment options,
|
|
626
|
+
* incluidng <code>StringLike</code> and the ability to exclude resources from your backup
|
|
627
|
+
* plan, use <code>Conditions</code> (with an "s" on the end) for your <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html">
|
|
628
|
+
* <code>BackupSelection</code>
|
|
629
|
+
* </a>.</p>
|
|
593
630
|
*/
|
|
594
631
|
ConditionType: ConditionType | string | undefined;
|
|
595
632
|
/**
|
|
596
|
-
* <p>The key in a key-value pair. For example, in <code>
|
|
597
|
-
*
|
|
633
|
+
* <p>The key in a key-value pair. For example, in the tag <code>Department:
|
|
634
|
+
* Accounting</code>, <code>Department</code> is the key.</p>
|
|
598
635
|
*/
|
|
599
636
|
ConditionKey: string | undefined;
|
|
600
637
|
/**
|
|
601
|
-
* <p>The value in a key-value pair. For example, in <code>
|
|
602
|
-
*
|
|
638
|
+
* <p>The value in a key-value pair. For example, in the tag <code>Department:
|
|
639
|
+
* Accounting</code>, <code>Accounting</code> is the value.</p>
|
|
603
640
|
*/
|
|
604
641
|
ConditionValue: string | undefined;
|
|
605
642
|
}
|
|
@@ -614,7 +651,8 @@ export declare namespace Condition {
|
|
|
614
651
|
*/
|
|
615
652
|
export interface BackupSelection {
|
|
616
653
|
/**
|
|
617
|
-
* <p>The display name of a resource selection document
|
|
654
|
+
* <p>The display name of a resource selection document. Must contain 1 to 50 alphanumeric or
|
|
655
|
+
* '-_.' characters.</p>
|
|
618
656
|
*/
|
|
619
657
|
SelectionName: string | undefined;
|
|
620
658
|
/**
|
|
@@ -623,18 +661,62 @@ export interface BackupSelection {
|
|
|
623
661
|
*/
|
|
624
662
|
IamRoleArn: string | undefined;
|
|
625
663
|
/**
|
|
626
|
-
* <p>
|
|
627
|
-
*
|
|
628
|
-
*
|
|
664
|
+
* <p>A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum number of
|
|
665
|
+
* ARNs is 500 without wildcards, or 30 ARNs with wildcards.</p>
|
|
666
|
+
* <p>If you need to assign many resources to a backup plan, consider a different resource
|
|
667
|
+
* selection strategy, such as assigning all resources of a resource type or refining your
|
|
668
|
+
* resource selection using tags.</p>
|
|
629
669
|
*/
|
|
630
670
|
Resources?: string[];
|
|
631
671
|
/**
|
|
632
|
-
* <p>
|
|
633
|
-
*
|
|
634
|
-
*
|
|
672
|
+
* <p>A list of conditions that you define to assign resources to your backup plans using
|
|
673
|
+
* tags. For example, <code>"StringEquals": {"Department": "accounting"</code>. Condition
|
|
674
|
+
* operators are case sensitive.</p>
|
|
675
|
+
* <p>
|
|
676
|
+
* <code>ListOfTags</code> differs from <code>Conditions</code> as follows:</p>
|
|
677
|
+
* <ul>
|
|
678
|
+
* <li>
|
|
679
|
+
* <p>When you specify more than one condition, you assign all resources that match AT
|
|
680
|
+
* LEAST ONE condition (using OR logic).</p>
|
|
681
|
+
* </li>
|
|
682
|
+
* <li>
|
|
683
|
+
* <p>
|
|
684
|
+
* <code>ListOfTags</code> only supports <code>StringEquals</code>.
|
|
685
|
+
* <code>Conditions</code> supports <code>StringEquals</code>,
|
|
686
|
+
* <code>StringLike</code>, <code>StringNotEquals</code>, and
|
|
687
|
+
* <code>StringNotLike</code>. </p>
|
|
688
|
+
* </li>
|
|
689
|
+
* </ul>
|
|
635
690
|
*/
|
|
636
691
|
ListOfTags?: Condition[];
|
|
692
|
+
/**
|
|
693
|
+
* <p>A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number
|
|
694
|
+
* of ARNs is 500 without wildcards, or 30 ARNs with wildcards.</p>
|
|
695
|
+
* <p>If you need to exclude many resources from a backup plan, consider a different resource
|
|
696
|
+
* selection strategy, such as assigning only one or a few resource types or refining your
|
|
697
|
+
* resource selection using tags.</p>
|
|
698
|
+
*/
|
|
637
699
|
NotResources?: string[];
|
|
700
|
+
/**
|
|
701
|
+
* <p>A list of conditions that you define to assign resources to your backup plans using
|
|
702
|
+
* tags. For example, <code>"StringEquals": {"Department": "accounting"</code>. Condition
|
|
703
|
+
* operators are case sensitive.</p>
|
|
704
|
+
* <p>
|
|
705
|
+
* <code>Conditions</code> differs from <code>ListOfTags</code> as follows:</p>
|
|
706
|
+
* <ul>
|
|
707
|
+
* <li>
|
|
708
|
+
* <p>When you specify more than one condition, you only assign the resources that match
|
|
709
|
+
* ALL conditions (using AND logic).</p>
|
|
710
|
+
* </li>
|
|
711
|
+
* <li>
|
|
712
|
+
* <p>
|
|
713
|
+
* <code>Conditions</code> supports <code>StringEquals</code>,
|
|
714
|
+
* <code>StringLike</code>, <code>StringNotEquals</code>, and
|
|
715
|
+
* <code>StringNotLike</code>. <code>ListOfTags</code> only supports
|
|
716
|
+
* <code>StringEquals</code>.</p>
|
|
717
|
+
* </li>
|
|
718
|
+
* </ul>
|
|
719
|
+
*/
|
|
638
720
|
Conditions?: Conditions;
|
|
639
721
|
}
|
|
640
722
|
export declare namespace BackupSelection {
|
|
@@ -668,7 +750,8 @@ export interface BackupSelectionsListMember {
|
|
|
668
750
|
CreationDate?: Date;
|
|
669
751
|
/**
|
|
670
752
|
* <p>A unique string that identifies the request and allows failed requests to be retried
|
|
671
|
-
* without the risk of running the operation twice.</p>
|
|
753
|
+
* without the risk of running the operation twice. This parameter is optional.</p>
|
|
754
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
672
755
|
*/
|
|
673
756
|
CreatorRequestId?: string;
|
|
674
757
|
/**
|
|
@@ -730,7 +813,8 @@ export interface BackupVaultListMember {
|
|
|
730
813
|
EncryptionKeyArn?: string;
|
|
731
814
|
/**
|
|
732
815
|
* <p>A unique string that identifies the request and allows failed requests to be retried
|
|
733
|
-
* without the risk of running the operation twice.</p>
|
|
816
|
+
* without the risk of running the operation twice. This parameter is optional.</p>
|
|
817
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
734
818
|
*/
|
|
735
819
|
CreatorRequestId?: string;
|
|
736
820
|
/**
|
|
@@ -831,12 +915,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
831
915
|
*/
|
|
832
916
|
Context?: string;
|
|
833
917
|
}
|
|
834
|
-
export declare namespace ConflictException {
|
|
835
|
-
/**
|
|
836
|
-
* @internal
|
|
837
|
-
*/
|
|
838
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
839
|
-
}
|
|
840
918
|
/**
|
|
841
919
|
* <p>A list of parameters for a control. A control can have zero, one, or more than one
|
|
842
920
|
* parameter. An example of a control with two parameters is: "backup plan frequency is at
|
|
@@ -861,9 +939,10 @@ export declare namespace ControlInputParameter {
|
|
|
861
939
|
}
|
|
862
940
|
/**
|
|
863
941
|
* <p>A framework consists of one or more controls. Each control has its own control scope.
|
|
864
|
-
* The control scope
|
|
865
|
-
*
|
|
866
|
-
*
|
|
942
|
+
* The control scope can include one or more resource types, a combination of a tag key and
|
|
943
|
+
* value, or a combination of one resource type and one resource ID. If no scope is specified,
|
|
944
|
+
* evaluations for the rule are triggered when any resource in your recording group changes in
|
|
945
|
+
* configuration.</p>
|
|
867
946
|
* <note>
|
|
868
947
|
* <p>To set a control scope that includes all of a particular resource, leave the
|
|
869
948
|
* <code>ControlScope</code> empty or do not pass it when calling
|
|
@@ -882,8 +961,10 @@ export interface ControlScope {
|
|
|
882
961
|
*/
|
|
883
962
|
ComplianceResourceTypes?: string[];
|
|
884
963
|
/**
|
|
885
|
-
* <p>
|
|
886
|
-
*
|
|
964
|
+
* <p>The tag key-value pair applied to those Amazon Web Services resources that you want to
|
|
965
|
+
* trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag
|
|
966
|
+
* value is optional, but it cannot be an empty string. The structure to assign a tag is:
|
|
967
|
+
* <code>[{"Key":"string","Value":"string"}]</code>.</p>
|
|
887
968
|
*/
|
|
888
969
|
Tags?: {
|
|
889
970
|
[key: string]: string;
|
|
@@ -1002,6 +1083,7 @@ export interface CreateBackupPlanInput {
|
|
|
1002
1083
|
* <p>Identifies the request and allows failed requests to be retried without the risk of
|
|
1003
1084
|
* running the operation twice. If the request includes a <code>CreatorRequestId</code> that
|
|
1004
1085
|
* matches an existing backup plan, that plan is returned. This parameter is optional.</p>
|
|
1086
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
1005
1087
|
*/
|
|
1006
1088
|
CreatorRequestId?: string;
|
|
1007
1089
|
}
|
|
@@ -1063,12 +1145,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
|
|
|
1063
1145
|
*/
|
|
1064
1146
|
Context?: string;
|
|
1065
1147
|
}
|
|
1066
|
-
export declare namespace InvalidParameterValueException {
|
|
1067
|
-
/**
|
|
1068
|
-
* @internal
|
|
1069
|
-
*/
|
|
1070
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
1071
|
-
}
|
|
1072
1148
|
/**
|
|
1073
1149
|
* <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
|
|
1074
1150
|
* in a request.</p>
|
|
@@ -1087,12 +1163,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1087
1163
|
*/
|
|
1088
1164
|
Context?: string;
|
|
1089
1165
|
}
|
|
1090
|
-
export declare namespace LimitExceededException {
|
|
1091
|
-
/**
|
|
1092
|
-
* @internal
|
|
1093
|
-
*/
|
|
1094
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1095
|
-
}
|
|
1096
1166
|
/**
|
|
1097
1167
|
* <p>Indicates that a required parameter is missing.</p>
|
|
1098
1168
|
*/
|
|
@@ -1110,12 +1180,6 @@ export interface MissingParameterValueException extends __SmithyException, $Meta
|
|
|
1110
1180
|
*/
|
|
1111
1181
|
Context?: string;
|
|
1112
1182
|
}
|
|
1113
|
-
export declare namespace MissingParameterValueException {
|
|
1114
|
-
/**
|
|
1115
|
-
* @internal
|
|
1116
|
-
*/
|
|
1117
|
-
const filterSensitiveLog: (obj: MissingParameterValueException) => any;
|
|
1118
|
-
}
|
|
1119
1183
|
/**
|
|
1120
1184
|
* <p>The request failed due to a temporary failure of the server.</p>
|
|
1121
1185
|
*/
|
|
@@ -1133,12 +1197,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
1133
1197
|
*/
|
|
1134
1198
|
Context?: string;
|
|
1135
1199
|
}
|
|
1136
|
-
export declare namespace ServiceUnavailableException {
|
|
1137
|
-
/**
|
|
1138
|
-
* @internal
|
|
1139
|
-
*/
|
|
1140
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
1141
|
-
}
|
|
1142
1200
|
export interface CreateBackupSelectionInput {
|
|
1143
1201
|
/**
|
|
1144
1202
|
* <p>Uniquely identifies the backup plan to be associated with the selection of
|
|
@@ -1151,7 +1209,8 @@ export interface CreateBackupSelectionInput {
|
|
|
1151
1209
|
BackupSelection: BackupSelection | undefined;
|
|
1152
1210
|
/**
|
|
1153
1211
|
* <p>A unique string that identifies the request and allows failed requests to be retried
|
|
1154
|
-
* without the risk of running the operation twice.</p>
|
|
1212
|
+
* without the risk of running the operation twice. This parameter is optional.</p>
|
|
1213
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
1155
1214
|
*/
|
|
1156
1215
|
CreatorRequestId?: string;
|
|
1157
1216
|
}
|
|
@@ -1206,7 +1265,8 @@ export interface CreateBackupVaultInput {
|
|
|
1206
1265
|
EncryptionKeyArn?: string;
|
|
1207
1266
|
/**
|
|
1208
1267
|
* <p>A unique string that identifies the request and allows failed requests to be retried
|
|
1209
|
-
* without the risk of running the operation twice.</p>
|
|
1268
|
+
* without the risk of running the operation twice. This parameter is optional.</p>
|
|
1269
|
+
* <p>If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.</p>
|
|
1210
1270
|
*/
|
|
1211
1271
|
CreatorRequestId?: string;
|
|
1212
1272
|
}
|
|
@@ -1511,12 +1571,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
1511
1571
|
*/
|
|
1512
1572
|
Context?: string;
|
|
1513
1573
|
}
|
|
1514
|
-
export declare namespace InvalidRequestException {
|
|
1515
|
-
/**
|
|
1516
|
-
* @internal
|
|
1517
|
-
*/
|
|
1518
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
1519
|
-
}
|
|
1520
1574
|
/**
|
|
1521
1575
|
* <p>A resource that is required for the action doesn't exist.</p>
|
|
1522
1576
|
*/
|
|
@@ -1534,12 +1588,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
1534
1588
|
*/
|
|
1535
1589
|
Context?: string;
|
|
1536
1590
|
}
|
|
1537
|
-
export declare namespace ResourceNotFoundException {
|
|
1538
|
-
/**
|
|
1539
|
-
* @internal
|
|
1540
|
-
*/
|
|
1541
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
1542
|
-
}
|
|
1543
1591
|
export interface DeleteBackupSelectionInput {
|
|
1544
1592
|
/**
|
|
1545
1593
|
* <p>Uniquely identifies a backup plan.</p>
|
|
@@ -1663,12 +1711,6 @@ export interface InvalidResourceStateException extends __SmithyException, $Metad
|
|
|
1663
1711
|
*/
|
|
1664
1712
|
Context?: string;
|
|
1665
1713
|
}
|
|
1666
|
-
export declare namespace InvalidResourceStateException {
|
|
1667
|
-
/**
|
|
1668
|
-
* @internal
|
|
1669
|
-
*/
|
|
1670
|
-
const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
|
|
1671
|
-
}
|
|
1672
1714
|
export interface DeleteReportPlanInput {
|
|
1673
1715
|
/**
|
|
1674
1716
|
* <p>The unique name of a report plan.</p>
|
|
@@ -1698,12 +1740,6 @@ export interface DependencyFailureException extends __SmithyException, $Metadata
|
|
|
1698
1740
|
*/
|
|
1699
1741
|
Context?: string;
|
|
1700
1742
|
}
|
|
1701
|
-
export declare namespace DependencyFailureException {
|
|
1702
|
-
/**
|
|
1703
|
-
* @internal
|
|
1704
|
-
*/
|
|
1705
|
-
const filterSensitiveLog: (obj: DependencyFailureException) => any;
|
|
1706
|
-
}
|
|
1707
1743
|
export interface DescribeBackupJobInput {
|
|
1708
1744
|
/**
|
|
1709
1745
|
* <p>Uniquely identifies a request to Backup to back up a resource.</p>
|
|
@@ -2283,6 +2319,15 @@ export interface DescribeRegionSettingsOutput {
|
|
|
2283
2319
|
ResourceTypeOptInPreference?: {
|
|
2284
2320
|
[key: string]: boolean;
|
|
2285
2321
|
};
|
|
2322
|
+
/**
|
|
2323
|
+
* <p>Returns whether a DynamoDB recovery point was taken using
|
|
2324
|
+
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html">
|
|
2325
|
+
* Backup's advanced DynamoDB backup features</a>.
|
|
2326
|
+
* </p>
|
|
2327
|
+
*/
|
|
2328
|
+
ResourceTypeManagementPreference?: {
|
|
2329
|
+
[key: string]: boolean;
|
|
2330
|
+
};
|
|
2286
2331
|
}
|
|
2287
2332
|
export declare namespace DescribeRegionSettingsOutput {
|
|
2288
2333
|
/**
|
|
@@ -4204,19 +4249,31 @@ export interface PutBackupVaultNotificationsInput {
|
|
|
4204
4249
|
/**
|
|
4205
4250
|
* <p>An array of events that indicate the status of jobs to back up resources to the backup
|
|
4206
4251
|
* vault.</p>
|
|
4252
|
+
* <p>For common use cases and code samples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html">Using Amazon SNS to
|
|
4253
|
+
* track Backup events</a>.</p>
|
|
4254
|
+
* <p>The following events are supported:</p>
|
|
4255
|
+
* <ul>
|
|
4256
|
+
* <li>
|
|
4257
|
+
* <p>
|
|
4258
|
+
* <code>BACKUP_JOB_STARTED</code> | <code>BACKUP_JOB_COMPLETED</code>
|
|
4259
|
+
* </p>
|
|
4260
|
+
* </li>
|
|
4261
|
+
* <li>
|
|
4262
|
+
* <p>
|
|
4263
|
+
* <code>COPY_JOB_STARTED</code> | <code>COPY_JOB_SUCCESSFUL</code> |
|
|
4264
|
+
* <code>COPY_JOB_FAILED</code>
|
|
4265
|
+
* </p>
|
|
4266
|
+
* </li>
|
|
4267
|
+
* <li>
|
|
4268
|
+
* <p>
|
|
4269
|
+
* <code>RESTORE_JOB_STARTED</code> | <code>RESTORE_JOB_COMPLETED</code> |
|
|
4270
|
+
* <code>RECOVERY_POINT_MODIFIED</code>
|
|
4271
|
+
* </p>
|
|
4272
|
+
* </li>
|
|
4273
|
+
* </ul>
|
|
4207
4274
|
* <note>
|
|
4208
|
-
* <p>
|
|
4209
|
-
*
|
|
4210
|
-
* <code>BACKUP_JOB_STARTED</code>, <code>BACKUP_JOB_COMPLETED</code>,</p>
|
|
4211
|
-
* <p>
|
|
4212
|
-
* <code>COPY_JOB_STARTED</code>, <code>COPY_JOB_SUCCESSFUL</code>,
|
|
4213
|
-
* <code>COPY_JOB_FAILED</code>,</p>
|
|
4214
|
-
* <p>
|
|
4215
|
-
* <code>RESTORE_JOB_STARTED</code>, <code>RESTORE_JOB_COMPLETED</code>, and
|
|
4216
|
-
* <code>RECOVERY_POINT_MODIFIED</code>.</p>
|
|
4217
|
-
* <p>To find failed backup jobs, use <code>BACKUP_JOB_COMPLETED</code> and filter using
|
|
4218
|
-
* event metadata.</p>
|
|
4219
|
-
* <p>Other events in the following list are deprecated.</p>
|
|
4275
|
+
* <p>Ignore the list below because it includes deprecated events. Refer to the list
|
|
4276
|
+
* above.</p>
|
|
4220
4277
|
* </note>
|
|
4221
4278
|
*/
|
|
4222
4279
|
BackupVaultEvents: (BackupVaultEvent | string)[] | undefined;
|
|
@@ -4565,7 +4622,8 @@ export interface TagResourceInput {
|
|
|
4565
4622
|
ResourceArn: string | undefined;
|
|
4566
4623
|
/**
|
|
4567
4624
|
* <p>Key-value pairs that are used to help organize your resources. You can assign your own
|
|
4568
|
-
* metadata to the resources you create
|
|
4625
|
+
* metadata to the resources you create. For clarity, this is the structure to assign tags:
|
|
4626
|
+
* <code>[{"Key":"string","Value":"string"}]</code>.</p>
|
|
4569
4627
|
*/
|
|
4570
4628
|
Tags: {
|
|
4571
4629
|
[key: string]: string;
|
|
@@ -4784,6 +4842,15 @@ export interface UpdateRegionSettingsInput {
|
|
|
4784
4842
|
ResourceTypeOptInPreference?: {
|
|
4785
4843
|
[key: string]: boolean;
|
|
4786
4844
|
};
|
|
4845
|
+
/**
|
|
4846
|
+
* <p>Enables or disables
|
|
4847
|
+
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html">
|
|
4848
|
+
* Backup's advanced DynamoDB backup features</a> for the
|
|
4849
|
+
* Region.</p>
|
|
4850
|
+
*/
|
|
4851
|
+
ResourceTypeManagementPreference?: {
|
|
4852
|
+
[key: string]: boolean;
|
|
4853
|
+
};
|
|
4787
4854
|
}
|
|
4788
4855
|
export declare namespace UpdateRegionSettingsInput {
|
|
4789
4856
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
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
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
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>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
|
|
10
10
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
|
|
@@ -117,6 +117,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
117
117
|
regionInfoProvider?: RegionInfoProvider;
|
|
118
118
|
|
|
119
119
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
120
|
+
|
|
121
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
120
122
|
}
|
|
121
123
|
declare type BackupClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
122
124
|
|