@aws-sdk/client-resiliencehub 3.568.0 → 3.571.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/README.md +8 -0
- package/dist-cjs/index.js +64 -3
- package/dist-es/Resiliencehub.js +2 -0
- package/dist-es/commands/ListAppAssessmentResourceDriftsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/ListAppAssessmentResourceDriftsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -1
- package/dist-types/Resiliencehub.d.ts +8 -0
- package/dist-types/ResiliencehubClient.d.ts +3 -2
- package/dist-types/commands/CreateAppCommand.d.ts +3 -4
- package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +94 -0
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +182 -173
- package/dist-types/pagination/ListAppAssessmentResourceDriftsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +18 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListAppAssessmentResourceDriftsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRecommendationTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -1
- package/dist-types/ts3.4/pagination/ListAppAssessmentResourceDriftsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -2
|
@@ -48,8 +48,7 @@ export type PhysicalIdentifierType = (typeof PhysicalIdentifierType)[keyof typeo
|
|
|
48
48
|
*/
|
|
49
49
|
export interface PhysicalResourceId {
|
|
50
50
|
/**
|
|
51
|
-
* <p>Identifier
|
|
52
|
-
* of the physical resource.</p>
|
|
51
|
+
* <p>Identifier of the physical resource.</p>
|
|
53
52
|
* @public
|
|
54
53
|
*/
|
|
55
54
|
identifier: string | undefined;
|
|
@@ -211,72 +210,43 @@ export interface PhysicalResourceId {
|
|
|
211
210
|
*/
|
|
212
211
|
export interface ResourceMapping {
|
|
213
212
|
/**
|
|
214
|
-
* <p>Name
|
|
215
|
-
* of the resource that
|
|
216
|
-
* the
|
|
217
|
-
* resource is mapped to.</p>
|
|
213
|
+
* <p>Name of the resource that this resource is mapped to when the <code>mappingType</code> is <code>Resource</code>.</p>
|
|
218
214
|
* @public
|
|
219
215
|
*/
|
|
220
216
|
resourceName?: string;
|
|
221
217
|
/**
|
|
222
|
-
* <p>
|
|
218
|
+
* <p>Name of the CloudFormation stack this resource is mapped to when the <code>mappingType</code> is <code>CfnStack</code>.</p>
|
|
223
219
|
* @public
|
|
224
220
|
*/
|
|
225
221
|
logicalStackName?: string;
|
|
226
222
|
/**
|
|
227
|
-
* <p>
|
|
223
|
+
* <p>Name of the application this resource is mapped to when the <code>mappingType</code> is <code>AppRegistryApp</code>.</p>
|
|
228
224
|
* @public
|
|
229
225
|
*/
|
|
230
226
|
appRegistryAppName?: string;
|
|
231
227
|
/**
|
|
232
|
-
* <p>Name
|
|
233
|
-
* of the resource group
|
|
234
|
-
* that
|
|
235
|
-
* the
|
|
236
|
-
* resource is mapped to.</p>
|
|
228
|
+
* <p>Name of the Resource Groups that this resource is mapped to when the <code>mappingType</code> is <code>ResourceGroup</code>.</p>
|
|
237
229
|
* @public
|
|
238
230
|
*/
|
|
239
231
|
resourceGroupName?: string;
|
|
240
232
|
/**
|
|
241
233
|
* <p>Specifies the type of resource mapping.</p>
|
|
242
|
-
* <dl>
|
|
243
|
-
* <dt>AppRegistryApp</dt>
|
|
244
|
-
* <dd>
|
|
245
|
-
* <p>The resource is mapped to another application. The name of the application is
|
|
246
|
-
* contained in the <code>appRegistryAppName</code> property.</p>
|
|
247
|
-
* </dd>
|
|
248
|
-
* <dt>CfnStack</dt>
|
|
249
|
-
* <dd>
|
|
250
|
-
* <p>The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in
|
|
251
|
-
* the <code>logicalStackName</code> property.</p>
|
|
252
|
-
* </dd>
|
|
253
|
-
* <dt>Resource</dt>
|
|
254
|
-
* <dd>
|
|
255
|
-
* <p>The resource is mapped to another resource. The name of the resource is contained in
|
|
256
|
-
* the <code>resourceName</code> property.</p>
|
|
257
|
-
* </dd>
|
|
258
|
-
* <dt>ResourceGroup</dt>
|
|
259
|
-
* <dd>
|
|
260
|
-
* <p>The resource is mapped to Resource Groups. The name of the resource group is
|
|
261
|
-
* contained in the <code>resourceGroupName</code> property.</p>
|
|
262
|
-
* </dd>
|
|
263
|
-
* </dl>
|
|
264
234
|
* @public
|
|
265
235
|
*/
|
|
266
236
|
mappingType: ResourceMappingType | undefined;
|
|
267
237
|
/**
|
|
268
|
-
* <p>Identifier
|
|
269
|
-
* of the physical resource.</p>
|
|
238
|
+
* <p>Identifier of the physical resource.</p>
|
|
270
239
|
* @public
|
|
271
240
|
*/
|
|
272
241
|
physicalResourceId: PhysicalResourceId | undefined;
|
|
273
242
|
/**
|
|
274
|
-
* <p>
|
|
243
|
+
* <p>Name of the Terraform source that this resource is mapped to when the <code>mappingType</code> is <code>Terraform</code>.</p>
|
|
275
244
|
* @public
|
|
276
245
|
*/
|
|
277
246
|
terraformSourceName?: string;
|
|
278
247
|
/**
|
|
279
|
-
* <p>Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource
|
|
248
|
+
* <p>Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the <code>mappingType</code> is
|
|
249
|
+
* <code>EKS</code>.</p>
|
|
280
250
|
* <note>
|
|
281
251
|
* <p>This parameter accepts values in "eks-cluster/namespace" format.</p>
|
|
282
252
|
* </note>
|
|
@@ -446,8 +416,7 @@ export interface RecommendationItem {
|
|
|
446
416
|
*/
|
|
447
417
|
resourceId?: string;
|
|
448
418
|
/**
|
|
449
|
-
* <p>Identifier
|
|
450
|
-
* of the target account.</p>
|
|
419
|
+
* <p>Identifier of the target account.</p>
|
|
451
420
|
* @public
|
|
452
421
|
*/
|
|
453
422
|
targetAccountId?: string;
|
|
@@ -507,14 +476,12 @@ export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
|
507
476
|
*/
|
|
508
477
|
export interface AlarmRecommendation {
|
|
509
478
|
/**
|
|
510
|
-
* <p>Identifier
|
|
511
|
-
* of the alarm recommendation.</p>
|
|
479
|
+
* <p>Identifier of the alarm recommendation.</p>
|
|
512
480
|
* @public
|
|
513
481
|
*/
|
|
514
482
|
recommendationId: string | undefined;
|
|
515
483
|
/**
|
|
516
|
-
* <p>Reference
|
|
517
|
-
* identifier of the alarm recommendation.</p>
|
|
484
|
+
* <p>Reference identifier of the alarm recommendation.</p>
|
|
518
485
|
* @public
|
|
519
486
|
*/
|
|
520
487
|
referenceId: string | undefined;
|
|
@@ -536,10 +503,8 @@ export interface AlarmRecommendation {
|
|
|
536
503
|
/**
|
|
537
504
|
* @deprecated
|
|
538
505
|
*
|
|
539
|
-
* <p>Application Component name for the CloudWatch alarm
|
|
540
|
-
*
|
|
541
|
-
* name is saved as the first item in the <code>appComponentNames</code>
|
|
542
|
-
* list.</p>
|
|
506
|
+
* <p>Application Component name for the CloudWatch alarm recommendation. This name is saved as the first
|
|
507
|
+
* item in the <code>appComponentNames</code> list.</p>
|
|
543
508
|
* @public
|
|
544
509
|
*/
|
|
545
510
|
appComponentName?: string;
|
|
@@ -617,9 +582,9 @@ export declare const EventType: {
|
|
|
617
582
|
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
618
583
|
/**
|
|
619
584
|
* <p>Indicates an event you would like to subscribe and get notification for. Currently,
|
|
620
|
-
* Resilience Hub
|
|
621
|
-
*
|
|
622
|
-
*
|
|
585
|
+
* Resilience Hub supports notifications only for <b>Drift
|
|
586
|
+
* detected</b> and <b>Scheduled assessment failure</b>
|
|
587
|
+
* events.</p>
|
|
623
588
|
* @public
|
|
624
589
|
*/
|
|
625
590
|
export interface EventSubscription {
|
|
@@ -629,17 +594,15 @@ export interface EventSubscription {
|
|
|
629
594
|
*/
|
|
630
595
|
name: string | undefined;
|
|
631
596
|
/**
|
|
632
|
-
* <p>The type of event you would like to subscribe and get notification for. Currently, Resilience Hub
|
|
633
|
-
*
|
|
634
|
-
*
|
|
635
|
-
* (<code>DriftDetected</code>) and <b>Scheduled assessment
|
|
636
|
-
* failure</b> (<code>ScheduledAssessmentFailure</code>) events.</p>
|
|
597
|
+
* <p>The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for <b>Drift
|
|
598
|
+
* detected</b> (<code>DriftDetected</code>) and <b>Scheduled
|
|
599
|
+
* assessment failure</b> (<code>ScheduledAssessmentFailure</code>) events.</p>
|
|
637
600
|
* @public
|
|
638
601
|
*/
|
|
639
602
|
eventType: EventType | undefined;
|
|
640
603
|
/**
|
|
641
|
-
* <p>Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN
|
|
642
|
-
* For more information about ARNs,
|
|
604
|
+
* <p>Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN
|
|
605
|
+
* is: <code>arn:partition:sns:region:account:topic-name</code>. For more information about ARNs,
|
|
643
606
|
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
644
607
|
* Amazon Resource Names (ARNs)</a> in the
|
|
645
608
|
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
@@ -680,10 +643,12 @@ export interface PermissionModel {
|
|
|
680
643
|
* <note>
|
|
681
644
|
* <ul>
|
|
682
645
|
* <li>
|
|
683
|
-
* <p>You must have <code>iam:passRole</code> permission for this role while creating or
|
|
646
|
+
* <p>You must have <code>iam:passRole</code> permission for this role while creating or
|
|
647
|
+
* updating the application.</p>
|
|
684
648
|
* </li>
|
|
685
649
|
* <li>
|
|
686
|
-
* <p>Currently, <code>invokerRoleName</code> accepts only <code>[A-Za-z0-9_+=,.@-]</code>
|
|
650
|
+
* <p>Currently, <code>invokerRoleName</code> accepts only <code>[A-Za-z0-9_+=,.@-]</code>
|
|
651
|
+
* characters.</p>
|
|
687
652
|
* </li>
|
|
688
653
|
* </ul>
|
|
689
654
|
* </note>
|
|
@@ -738,15 +703,12 @@ export interface App {
|
|
|
738
703
|
*/
|
|
739
704
|
appArn: string | undefined;
|
|
740
705
|
/**
|
|
741
|
-
* <p>Name
|
|
742
|
-
* for the application.</p>
|
|
706
|
+
* <p>Name for the application.</p>
|
|
743
707
|
* @public
|
|
744
708
|
*/
|
|
745
709
|
name: string | undefined;
|
|
746
710
|
/**
|
|
747
|
-
* <p>Optional
|
|
748
|
-
* description for an
|
|
749
|
-
* application.</p>
|
|
711
|
+
* <p>Optional description for an application.</p>
|
|
750
712
|
* @public
|
|
751
713
|
*/
|
|
752
714
|
description?: string;
|
|
@@ -760,8 +722,7 @@ export interface App {
|
|
|
760
722
|
*/
|
|
761
723
|
policyArn?: string;
|
|
762
724
|
/**
|
|
763
|
-
* <p>Date
|
|
764
|
-
* and time when the app was created.</p>
|
|
725
|
+
* <p>Date and time when the app was created.</p>
|
|
765
726
|
* @public
|
|
766
727
|
*/
|
|
767
728
|
creationTime: Date | undefined;
|
|
@@ -771,26 +732,22 @@ export interface App {
|
|
|
771
732
|
*/
|
|
772
733
|
status?: AppStatusType;
|
|
773
734
|
/**
|
|
774
|
-
* <p>Current
|
|
775
|
-
* status of compliance for the resiliency policy.</p>
|
|
735
|
+
* <p>Current status of compliance for the resiliency policy.</p>
|
|
776
736
|
* @public
|
|
777
737
|
*/
|
|
778
738
|
complianceStatus?: AppComplianceStatusType;
|
|
779
739
|
/**
|
|
780
|
-
* <p>Date
|
|
781
|
-
* and time the most recent compliance evaluation.</p>
|
|
740
|
+
* <p>Date and time the most recent compliance evaluation.</p>
|
|
782
741
|
* @public
|
|
783
742
|
*/
|
|
784
743
|
lastAppComplianceEvaluationTime?: Date;
|
|
785
744
|
/**
|
|
786
|
-
* <p>Current
|
|
787
|
-
* resiliency score for the application.</p>
|
|
745
|
+
* <p>Current resiliency score for the application.</p>
|
|
788
746
|
* @public
|
|
789
747
|
*/
|
|
790
748
|
resiliencyScore?: number;
|
|
791
749
|
/**
|
|
792
|
-
* <p>Date
|
|
793
|
-
* and time the most recent resiliency score evaluation.</p>
|
|
750
|
+
* <p>Date and time the most recent resiliency score evaluation.</p>
|
|
794
751
|
* @public
|
|
795
752
|
*/
|
|
796
753
|
lastResiliencyScoreEvaluationTime?: Date;
|
|
@@ -801,8 +758,7 @@ export interface App {
|
|
|
801
758
|
*/
|
|
802
759
|
tags?: Record<string, string>;
|
|
803
760
|
/**
|
|
804
|
-
* <p>Assessment
|
|
805
|
-
* execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
761
|
+
* <p>Assessment execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
806
762
|
* @public
|
|
807
763
|
*/
|
|
808
764
|
assessmentSchedule?: AppAssessmentScheduleType;
|
|
@@ -827,9 +783,7 @@ export interface App {
|
|
|
827
783
|
*/
|
|
828
784
|
driftStatus?: AppDriftStatusType;
|
|
829
785
|
/**
|
|
830
|
-
* <p>Indicates the last time
|
|
831
|
-
* that
|
|
832
|
-
* a drift was evaluated.</p>
|
|
786
|
+
* <p>Indicates the last time that a drift was evaluated.</p>
|
|
833
787
|
* @public
|
|
834
788
|
*/
|
|
835
789
|
lastDriftEvaluationTime?: Date;
|
|
@@ -900,8 +854,7 @@ export interface DisruptionCompliance {
|
|
|
900
854
|
*/
|
|
901
855
|
currentRtoInSecs?: number;
|
|
902
856
|
/**
|
|
903
|
-
* <p>Reference
|
|
904
|
-
* identifier of the RTO.</p>
|
|
857
|
+
* <p>Reference identifier of the RTO.</p>
|
|
905
858
|
* @public
|
|
906
859
|
*/
|
|
907
860
|
rtoReferenceId?: string;
|
|
@@ -916,11 +869,7 @@ export interface DisruptionCompliance {
|
|
|
916
869
|
*/
|
|
917
870
|
currentRpoInSecs?: number;
|
|
918
871
|
/**
|
|
919
|
-
* <p>Reference
|
|
920
|
-
* identifier of
|
|
921
|
-
* the
|
|
922
|
-
* RPO
|
|
923
|
-
* .</p>
|
|
872
|
+
* <p>Reference identifier of the RPO .</p>
|
|
924
873
|
* @public
|
|
925
874
|
*/
|
|
926
875
|
rpoReferenceId?: string;
|
|
@@ -1067,10 +1016,13 @@ export type ResiliencyPolicyTier = (typeof ResiliencyPolicyTier)[keyof typeof Re
|
|
|
1067
1016
|
/**
|
|
1068
1017
|
* <p>Defines a resiliency policy.</p>
|
|
1069
1018
|
* <note>
|
|
1070
|
-
* <p>Resilience Hub allows you to provide a value of zero for <code>rtoInSecs</code>
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1019
|
+
* <p>Resilience Hub allows you to provide a value of zero for <code>rtoInSecs</code>
|
|
1020
|
+
* and <code>rpoInSecs</code> of your resiliency policy. But, while assessing your application,
|
|
1021
|
+
* the lowest possible assessment result is near zero. Hence, if you provide value zero for
|
|
1022
|
+
* <code>rtoInSecs</code> and <code>rpoInSecs</code>, the estimated workload RTO and
|
|
1023
|
+
* estimated workload RPO result will be near zero and the <b>Compliance
|
|
1024
|
+
* status</b> for your application will be set to <b>Policy
|
|
1025
|
+
* breached</b>.</p>
|
|
1074
1026
|
* </note>
|
|
1075
1027
|
* @public
|
|
1076
1028
|
*/
|
|
@@ -1117,8 +1069,7 @@ export interface ResiliencyPolicy {
|
|
|
1117
1069
|
*/
|
|
1118
1070
|
policy?: Partial<Record<DisruptionType, FailurePolicy>>;
|
|
1119
1071
|
/**
|
|
1120
|
-
* <p>Date
|
|
1121
|
-
* and time when the resiliency policy was created.</p>
|
|
1072
|
+
* <p>Date and time when the resiliency policy was created.</p>
|
|
1122
1073
|
* @public
|
|
1123
1074
|
*/
|
|
1124
1075
|
creationTime?: Date;
|
|
@@ -1145,42 +1096,39 @@ export declare const ResiliencyScoreType: {
|
|
|
1145
1096
|
export type ResiliencyScoreType = (typeof ResiliencyScoreType)[keyof typeof ResiliencyScoreType];
|
|
1146
1097
|
/**
|
|
1147
1098
|
* <p>Resiliency score of each scoring component. For more information about scoring component,
|
|
1148
|
-
* see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/calculate-score.html">Calculating resiliency
|
|
1149
|
-
* score</a>.</p>
|
|
1099
|
+
* see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/calculate-score.html">Calculating resiliency score</a>.</p>
|
|
1150
1100
|
* @public
|
|
1151
1101
|
*/
|
|
1152
1102
|
export interface ScoringComponentResiliencyScore {
|
|
1153
1103
|
/**
|
|
1154
|
-
* <p>Resiliency score
|
|
1104
|
+
* <p>Resiliency score points given for the scoring component. The score is always less than or
|
|
1105
|
+
* equal to the <code>possibleScore</code>.</p>
|
|
1155
1106
|
* @public
|
|
1156
1107
|
*/
|
|
1157
1108
|
score?: number;
|
|
1158
1109
|
/**
|
|
1159
|
-
* <p>Maximum
|
|
1160
|
-
*
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1163
|
-
* recommendations.</p>
|
|
1110
|
+
* <p>Maximum possible score that can be obtained for the scoring component. </p>
|
|
1111
|
+
* <p>For example, if the <code>possibleScore</code> is 20 points, it indicates the maximum
|
|
1112
|
+
* possible score you can achieve for the scoring component when you run a new assessment after
|
|
1113
|
+
* implementing all the Resilience Hub recommendations.</p>
|
|
1164
1114
|
* @public
|
|
1165
1115
|
*/
|
|
1166
1116
|
possibleScore?: number;
|
|
1167
1117
|
/**
|
|
1168
|
-
* <p>Number
|
|
1169
|
-
*
|
|
1170
|
-
*
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1174
|
-
* alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the
|
|
1118
|
+
* <p>Number of recommendations that must be implemented to obtain the maximum possible score
|
|
1119
|
+
* for the scoring component. For SOPs, alarms, and tests, these are the number of
|
|
1120
|
+
* recommendations that must be implemented. For compliance, these are the number of Application
|
|
1121
|
+
* Components that have breached the resiliency policy.</p>
|
|
1122
|
+
* <p>For example, if the <code>outstandingCount</code> for Alarms coverage scoring component is
|
|
1123
|
+
* 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the
|
|
1175
1124
|
* maximum possible score.</p>
|
|
1176
1125
|
* @public
|
|
1177
1126
|
*/
|
|
1178
1127
|
outstandingCount?: number;
|
|
1179
1128
|
/**
|
|
1180
|
-
* <p>Number
|
|
1181
|
-
*
|
|
1182
|
-
*
|
|
1183
|
-
* is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.</p>
|
|
1129
|
+
* <p>Number of recommendations that were excluded from the assessment.</p>
|
|
1130
|
+
* <p>For example, if the <code>excludedCount</code> for Alarms coverage scoring component is 7,
|
|
1131
|
+
* it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.</p>
|
|
1184
1132
|
* @public
|
|
1185
1133
|
*/
|
|
1186
1134
|
excludedCount?: number;
|
|
@@ -1202,7 +1150,8 @@ export interface ResiliencyScore {
|
|
|
1202
1150
|
*/
|
|
1203
1151
|
disruptionScore: Partial<Record<DisruptionType, number>> | undefined;
|
|
1204
1152
|
/**
|
|
1205
|
-
* <p>The score generated by Resilience Hub for the scoring component after running an
|
|
1153
|
+
* <p>The score generated by Resilience Hub for the scoring component after running an
|
|
1154
|
+
* assessment.</p>
|
|
1206
1155
|
* <p>For example, if the <code>score</code> is 25 points, it indicates the overall score of
|
|
1207
1156
|
* your application generated by Resilience Hub after running an assessment.</p>
|
|
1208
1157
|
* @public
|
|
@@ -1215,15 +1164,12 @@ export interface ResiliencyScore {
|
|
|
1215
1164
|
*/
|
|
1216
1165
|
export interface ResourceError {
|
|
1217
1166
|
/**
|
|
1218
|
-
* <p>Identifier
|
|
1219
|
-
* of the
|
|
1220
|
-
* logical resource. </p>
|
|
1167
|
+
* <p>Identifier of the logical resource. </p>
|
|
1221
1168
|
* @public
|
|
1222
1169
|
*/
|
|
1223
1170
|
logicalResourceId?: string;
|
|
1224
1171
|
/**
|
|
1225
|
-
* <p>Identifier
|
|
1226
|
-
* of the physical resource. </p>
|
|
1172
|
+
* <p>Identifier of the physical resource. </p>
|
|
1227
1173
|
* @public
|
|
1228
1174
|
*/
|
|
1229
1175
|
physicalResourceId?: string;
|
|
@@ -1284,8 +1230,7 @@ export interface AppAssessment {
|
|
|
1284
1230
|
*/
|
|
1285
1231
|
resiliencyScore?: ResiliencyScore;
|
|
1286
1232
|
/**
|
|
1287
|
-
* <p>Application
|
|
1288
|
-
* compliance against the resiliency policy.</p>
|
|
1233
|
+
* <p>Application compliance against the resiliency policy.</p>
|
|
1289
1234
|
* @public
|
|
1290
1235
|
*/
|
|
1291
1236
|
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
@@ -1458,8 +1403,7 @@ export interface AppComponent {
|
|
|
1458
1403
|
*/
|
|
1459
1404
|
type: string | undefined;
|
|
1460
1405
|
/**
|
|
1461
|
-
* <p>Identifier
|
|
1462
|
-
* of the Application Component.</p>
|
|
1406
|
+
* <p>Identifier of the Application Component.</p>
|
|
1463
1407
|
* @public
|
|
1464
1408
|
*/
|
|
1465
1409
|
id?: string;
|
|
@@ -1608,8 +1552,7 @@ export interface AppSummary {
|
|
|
1608
1552
|
*/
|
|
1609
1553
|
description?: string;
|
|
1610
1554
|
/**
|
|
1611
|
-
* <p>Date
|
|
1612
|
-
* and time when the app was created.</p>
|
|
1555
|
+
* <p>Date and time when the app was created.</p>
|
|
1613
1556
|
* @public
|
|
1614
1557
|
*/
|
|
1615
1558
|
creationTime: Date | undefined;
|
|
@@ -1640,8 +1583,7 @@ export interface AppSummary {
|
|
|
1640
1583
|
*/
|
|
1641
1584
|
driftStatus?: AppDriftStatusType;
|
|
1642
1585
|
/**
|
|
1643
|
-
* <p>Date
|
|
1644
|
-
* and time of the most recent compliance evaluation.</p>
|
|
1586
|
+
* <p>Date and time of the most recent compliance evaluation.</p>
|
|
1645
1587
|
* @public
|
|
1646
1588
|
*/
|
|
1647
1589
|
lastAppComplianceEvaluationTime?: Date;
|
|
@@ -1758,8 +1700,7 @@ export interface BatchUpdateRecommendationStatusRequest {
|
|
|
1758
1700
|
requestEntries: UpdateRecommendationStatusRequestEntry[] | undefined;
|
|
1759
1701
|
}
|
|
1760
1702
|
/**
|
|
1761
|
-
* <p>List
|
|
1762
|
-
* of operational recommendations that did not get included or excluded.</p>
|
|
1703
|
+
* <p>List of operational recommendations that did not get included or excluded.</p>
|
|
1763
1704
|
* @public
|
|
1764
1705
|
*/
|
|
1765
1706
|
export interface BatchUpdateRecommendationStatusFailedEntry {
|
|
@@ -1778,8 +1719,7 @@ export interface BatchUpdateRecommendationStatusFailedEntry {
|
|
|
1778
1719
|
errorMessage: string | undefined;
|
|
1779
1720
|
}
|
|
1780
1721
|
/**
|
|
1781
|
-
* <p>List
|
|
1782
|
-
* of operational recommendations that were successfully included or excluded.</p>
|
|
1722
|
+
* <p>List of operational recommendations that were successfully included or excluded.</p>
|
|
1783
1723
|
* @public
|
|
1784
1724
|
*/
|
|
1785
1725
|
export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
@@ -1802,9 +1742,7 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
|
1802
1742
|
*/
|
|
1803
1743
|
item: UpdateRecommendationStatusItem | undefined;
|
|
1804
1744
|
/**
|
|
1805
|
-
* <p>Indicates
|
|
1806
|
-
* if
|
|
1807
|
-
* the operational recommendation was successfully excluded.</p>
|
|
1745
|
+
* <p>Indicates if the operational recommendation was successfully excluded.</p>
|
|
1808
1746
|
* @public
|
|
1809
1747
|
*/
|
|
1810
1748
|
excluded: boolean | undefined;
|
|
@@ -1986,8 +1924,7 @@ export interface CreateAppVersionAppComponentResponse {
|
|
|
1986
1924
|
*/
|
|
1987
1925
|
export interface LogicalResourceId {
|
|
1988
1926
|
/**
|
|
1989
|
-
* <p>Identifier
|
|
1990
|
-
* of the resource.</p>
|
|
1927
|
+
* <p>Identifier of the resource.</p>
|
|
1991
1928
|
* @public
|
|
1992
1929
|
*/
|
|
1993
1930
|
identifier: string | undefined;
|
|
@@ -2099,20 +2036,17 @@ export interface PhysicalResource {
|
|
|
2099
2036
|
*/
|
|
2100
2037
|
resourceName?: string;
|
|
2101
2038
|
/**
|
|
2102
|
-
* <p>Logical
|
|
2103
|
-
* identifier of the resource.</p>
|
|
2039
|
+
* <p>Logical identifier of the resource.</p>
|
|
2104
2040
|
* @public
|
|
2105
2041
|
*/
|
|
2106
2042
|
logicalResourceId: LogicalResourceId | undefined;
|
|
2107
2043
|
/**
|
|
2108
|
-
* <p>Identifier
|
|
2109
|
-
* of the physical
|
|
2110
|
-
* resource.</p>
|
|
2044
|
+
* <p>Identifier of the physical resource.</p>
|
|
2111
2045
|
* @public
|
|
2112
2046
|
*/
|
|
2113
2047
|
physicalResourceId: PhysicalResourceId | undefined;
|
|
2114
2048
|
/**
|
|
2115
|
-
* <p>
|
|
2049
|
+
* <p>Type of resource.</p>
|
|
2116
2050
|
* @public
|
|
2117
2051
|
*/
|
|
2118
2052
|
resourceType: string | undefined;
|
|
@@ -3652,7 +3586,9 @@ export interface ListAppAssessmentComplianceDriftsRequest {
|
|
|
3652
3586
|
* @enum
|
|
3653
3587
|
*/
|
|
3654
3588
|
export declare const DifferenceType: {
|
|
3589
|
+
readonly ADDED: "Added";
|
|
3655
3590
|
readonly NOT_EQUAL: "NotEqual";
|
|
3591
|
+
readonly REMOVED: "Removed";
|
|
3656
3592
|
};
|
|
3657
3593
|
/**
|
|
3658
3594
|
* @public
|
|
@@ -3664,16 +3600,15 @@ export type DifferenceType = (typeof DifferenceType)[keyof typeof DifferenceType
|
|
|
3664
3600
|
*/
|
|
3665
3601
|
export declare const DriftType: {
|
|
3666
3602
|
readonly APPLICATION_COMPLIANCE: "ApplicationCompliance";
|
|
3603
|
+
readonly APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS: "AppComponentResiliencyComplianceStatus";
|
|
3667
3604
|
};
|
|
3668
3605
|
/**
|
|
3669
3606
|
* @public
|
|
3670
3607
|
*/
|
|
3671
3608
|
export type DriftType = (typeof DriftType)[keyof typeof DriftType];
|
|
3672
3609
|
/**
|
|
3673
|
-
* <p>Indicates
|
|
3674
|
-
*
|
|
3675
|
-
* objective (RPO)) that
|
|
3676
|
-
* were detected for an assessed entity.</p>
|
|
3610
|
+
* <p>Indicates the compliance drifts (recovery time objective (RTO) and recovery point
|
|
3611
|
+
* objective (RPO)) that were detected for an assessed entity.</p>
|
|
3677
3612
|
* @public
|
|
3678
3613
|
*/
|
|
3679
3614
|
export interface ComplianceDrift {
|
|
@@ -3695,8 +3630,7 @@ export interface ComplianceDrift {
|
|
|
3695
3630
|
*/
|
|
3696
3631
|
driftType?: DriftType;
|
|
3697
3632
|
/**
|
|
3698
|
-
* <p>Identifier
|
|
3699
|
-
* of your application.</p>
|
|
3633
|
+
* <p>Identifier of your application.</p>
|
|
3700
3634
|
* @public
|
|
3701
3635
|
*/
|
|
3702
3636
|
appId?: string;
|
|
@@ -3722,22 +3656,13 @@ export interface ComplianceDrift {
|
|
|
3722
3656
|
*/
|
|
3723
3657
|
actualReferenceId?: string;
|
|
3724
3658
|
/**
|
|
3725
|
-
* <p>Actual
|
|
3726
|
-
* compliance value of the entity.</p>
|
|
3659
|
+
* <p>Actual compliance value of the entity.</p>
|
|
3727
3660
|
* @public
|
|
3728
3661
|
*/
|
|
3729
3662
|
actualValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
3730
3663
|
/**
|
|
3731
|
-
* <p>Difference
|
|
3732
|
-
*
|
|
3733
|
-
* recovery
|
|
3734
|
-
* point
|
|
3735
|
-
* objective
|
|
3736
|
-
* (RPO) and
|
|
3737
|
-
* recovery
|
|
3738
|
-
* time
|
|
3739
|
-
* objective
|
|
3740
|
-
* (RTO) values. Currently, Resilience Hub supports only <b>NotEqual</b> difference type.</p>
|
|
3664
|
+
* <p>Difference type between actual and expected recovery point objective (RPO) and recovery
|
|
3665
|
+
* time objective (RTO) values. Currently, Resilience Hub supports only <b>NotEqual</b> difference type.</p>
|
|
3741
3666
|
* @public
|
|
3742
3667
|
*/
|
|
3743
3668
|
diffType?: DifferenceType;
|
|
@@ -3757,6 +3682,96 @@ export interface ListAppAssessmentComplianceDriftsResponse {
|
|
|
3757
3682
|
*/
|
|
3758
3683
|
nextToken?: string;
|
|
3759
3684
|
}
|
|
3685
|
+
/**
|
|
3686
|
+
* @public
|
|
3687
|
+
*/
|
|
3688
|
+
export interface ListAppAssessmentResourceDriftsRequest {
|
|
3689
|
+
/**
|
|
3690
|
+
* <p>Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
|
|
3691
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app-assessment/<code>app-id</code>. For more information about ARNs,
|
|
3692
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
3693
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
3694
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
3695
|
+
* @public
|
|
3696
|
+
*/
|
|
3697
|
+
assessmentArn: string | undefined;
|
|
3698
|
+
/**
|
|
3699
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
3700
|
+
* @public
|
|
3701
|
+
*/
|
|
3702
|
+
nextToken?: string;
|
|
3703
|
+
/**
|
|
3704
|
+
* <p>Indicates the maximum number of drift results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p>
|
|
3705
|
+
* @public
|
|
3706
|
+
*/
|
|
3707
|
+
maxResults?: number;
|
|
3708
|
+
}
|
|
3709
|
+
/**
|
|
3710
|
+
* <p>Defines a resource identifier for the drifted resource.</p>
|
|
3711
|
+
* @public
|
|
3712
|
+
*/
|
|
3713
|
+
export interface ResourceIdentifier {
|
|
3714
|
+
/**
|
|
3715
|
+
* <p>Logical identifier of the drifted resource.</p>
|
|
3716
|
+
* @public
|
|
3717
|
+
*/
|
|
3718
|
+
logicalResourceId?: LogicalResourceId;
|
|
3719
|
+
/**
|
|
3720
|
+
* <p>Type of the drifted resource.</p>
|
|
3721
|
+
* @public
|
|
3722
|
+
*/
|
|
3723
|
+
resourceType?: string;
|
|
3724
|
+
}
|
|
3725
|
+
/**
|
|
3726
|
+
* <p>Indicates the resources that have drifted in the current application version.</p>
|
|
3727
|
+
* @public
|
|
3728
|
+
*/
|
|
3729
|
+
export interface ResourceDrift {
|
|
3730
|
+
/**
|
|
3731
|
+
* <p>Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is:
|
|
3732
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app-assessment/<code>app-id</code>. For more information about ARNs,
|
|
3733
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
3734
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
3735
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
3736
|
+
* @public
|
|
3737
|
+
*/
|
|
3738
|
+
appArn?: string;
|
|
3739
|
+
/**
|
|
3740
|
+
* <p>Version of the application whose resources have drifted.</p>
|
|
3741
|
+
* @public
|
|
3742
|
+
*/
|
|
3743
|
+
appVersion?: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* <p>Reference identifier of the resource drift.</p>
|
|
3746
|
+
* @public
|
|
3747
|
+
*/
|
|
3748
|
+
referenceId?: string;
|
|
3749
|
+
/**
|
|
3750
|
+
* <p>Identifier of the drifted resource.</p>
|
|
3751
|
+
* @public
|
|
3752
|
+
*/
|
|
3753
|
+
resourceIdentifier?: ResourceIdentifier;
|
|
3754
|
+
/**
|
|
3755
|
+
* <p>Indicates if the resource was added or removed.</p>
|
|
3756
|
+
* @public
|
|
3757
|
+
*/
|
|
3758
|
+
diffType?: DifferenceType;
|
|
3759
|
+
}
|
|
3760
|
+
/**
|
|
3761
|
+
* @public
|
|
3762
|
+
*/
|
|
3763
|
+
export interface ListAppAssessmentResourceDriftsResponse {
|
|
3764
|
+
/**
|
|
3765
|
+
* <p>Indicates all the resource drifts detected for an assessed entity.</p>
|
|
3766
|
+
* @public
|
|
3767
|
+
*/
|
|
3768
|
+
resourceDrifts: ResourceDrift[] | undefined;
|
|
3769
|
+
/**
|
|
3770
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
3771
|
+
* @public
|
|
3772
|
+
*/
|
|
3773
|
+
nextToken?: string;
|
|
3774
|
+
}
|
|
3760
3775
|
/**
|
|
3761
3776
|
* @public
|
|
3762
3777
|
*/
|
|
@@ -4010,8 +4025,7 @@ export interface ConfigRecommendation {
|
|
|
4010
4025
|
*/
|
|
4011
4026
|
haArchitecture?: HaArchitecture;
|
|
4012
4027
|
/**
|
|
4013
|
-
* <p>Reference
|
|
4014
|
-
* identifier for the recommendation configuration.</p>
|
|
4028
|
+
* <p>Reference identifier for the recommendation configuration.</p>
|
|
4015
4029
|
* @public
|
|
4016
4030
|
*/
|
|
4017
4031
|
referenceId: string | undefined;
|
|
@@ -4397,7 +4411,7 @@ export interface ListRecommendationTemplatesRequest {
|
|
|
4397
4411
|
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
4398
4412
|
* @public
|
|
4399
4413
|
*/
|
|
4400
|
-
assessmentArn
|
|
4414
|
+
assessmentArn?: string;
|
|
4401
4415
|
/**
|
|
4402
4416
|
* <p>The default is to sort by ascending <b>startTime</b>.
|
|
4403
4417
|
* To sort by descending <b>startTime</b>, set reverseOrder to <code>true</code>.</p>
|
|
@@ -4554,8 +4568,7 @@ export interface SopRecommendation {
|
|
|
4554
4568
|
*/
|
|
4555
4569
|
items?: RecommendationItem[];
|
|
4556
4570
|
/**
|
|
4557
|
-
* <p>Reference
|
|
4558
|
-
* identifier for the SOP recommendation.</p>
|
|
4571
|
+
* <p>Reference identifier for the SOP recommendation.</p>
|
|
4559
4572
|
* @public
|
|
4560
4573
|
*/
|
|
4561
4574
|
referenceId: string | undefined;
|
|
@@ -4702,8 +4715,7 @@ export interface TestRecommendation {
|
|
|
4702
4715
|
*/
|
|
4703
4716
|
recommendationId?: string;
|
|
4704
4717
|
/**
|
|
4705
|
-
* <p>Reference
|
|
4706
|
-
* identifier for the test recommendation.</p>
|
|
4718
|
+
* <p>Reference identifier for the test recommendation.</p>
|
|
4707
4719
|
* @public
|
|
4708
4720
|
*/
|
|
4709
4721
|
referenceId: string | undefined;
|
|
@@ -4815,14 +4827,12 @@ export interface ListUnsupportedAppVersionResourcesRequest {
|
|
|
4815
4827
|
*/
|
|
4816
4828
|
export interface UnsupportedResource {
|
|
4817
4829
|
/**
|
|
4818
|
-
* <p>Logical
|
|
4819
|
-
* resource identifier for the unsupported resource.</p>
|
|
4830
|
+
* <p>Logical resource identifier for the unsupported resource.</p>
|
|
4820
4831
|
* @public
|
|
4821
4832
|
*/
|
|
4822
4833
|
logicalResourceId: LogicalResourceId | undefined;
|
|
4823
4834
|
/**
|
|
4824
|
-
* <p>Physical
|
|
4825
|
-
* resource identifier for the unsupported resource.</p>
|
|
4835
|
+
* <p>Physical resource identifier for the unsupported resource.</p>
|
|
4826
4836
|
* @public
|
|
4827
4837
|
*/
|
|
4828
4838
|
physicalResourceId: PhysicalResourceId | undefined;
|
|
@@ -4832,8 +4842,7 @@ export interface UnsupportedResource {
|
|
|
4832
4842
|
*/
|
|
4833
4843
|
resourceType: string | undefined;
|
|
4834
4844
|
/**
|
|
4835
|
-
* <p>The status of the
|
|
4836
|
-
* unsupported resource.</p>
|
|
4845
|
+
* <p>The status of the unsupported resource.</p>
|
|
4837
4846
|
* @public
|
|
4838
4847
|
*/
|
|
4839
4848
|
unsupportedResourceStatus?: string;
|