@aws-sdk/client-resiliencehub 3.428.0 → 3.429.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.
|
@@ -193,7 +193,7 @@ export interface PhysicalResourceId {
|
|
|
193
193
|
* </dd>
|
|
194
194
|
* </dl>
|
|
195
195
|
*/
|
|
196
|
-
type: PhysicalIdentifierType |
|
|
196
|
+
type: PhysicalIdentifierType | undefined;
|
|
197
197
|
/**
|
|
198
198
|
* @public
|
|
199
199
|
* <p>The Amazon Web Services Region that the physical resource is located in.</p>
|
|
@@ -263,7 +263,7 @@ export interface ResourceMapping {
|
|
|
263
263
|
* </dd>
|
|
264
264
|
* </dl>
|
|
265
265
|
*/
|
|
266
|
-
mappingType: ResourceMappingType |
|
|
266
|
+
mappingType: ResourceMappingType | undefined;
|
|
267
267
|
/**
|
|
268
268
|
* @public
|
|
269
269
|
* <p>Identifier
|
|
@@ -470,7 +470,7 @@ export interface RecommendationItem {
|
|
|
470
470
|
* @public
|
|
471
471
|
* <p>Indicates the reason for excluding an operational recommendation.</p>
|
|
472
472
|
*/
|
|
473
|
-
excludeReason?: ExcludeRecommendationReason
|
|
473
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
476
476
|
* @public
|
|
@@ -518,7 +518,7 @@ export interface AlarmRecommendation {
|
|
|
518
518
|
* @public
|
|
519
519
|
* <p>Type of alarm recommendation.</p>
|
|
520
520
|
*/
|
|
521
|
-
type: AlarmType |
|
|
521
|
+
type: AlarmType | undefined;
|
|
522
522
|
/**
|
|
523
523
|
* @public
|
|
524
524
|
* @deprecated
|
|
@@ -617,7 +617,7 @@ export interface EventSubscription {
|
|
|
617
617
|
* (<code>DriftDetected</code>) and <b>Scheduled assessment
|
|
618
618
|
* failure</b> (<code>ScheduledAssessmentFailure</code>) events.</p>
|
|
619
619
|
*/
|
|
620
|
-
eventType: EventType |
|
|
620
|
+
eventType: EventType | undefined;
|
|
621
621
|
/**
|
|
622
622
|
* @public
|
|
623
623
|
* <p>Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is:
|
|
@@ -653,7 +653,7 @@ export interface PermissionModel {
|
|
|
653
653
|
* using a pre-existing role in your Amazon Web Services account, or by using the credentials of
|
|
654
654
|
* the current IAM user.</p>
|
|
655
655
|
*/
|
|
656
|
-
type: PermissionModelType |
|
|
656
|
+
type: PermissionModelType | undefined;
|
|
657
657
|
/**
|
|
658
658
|
* @public
|
|
659
659
|
* <p>Existing Amazon Web Services
|
|
@@ -745,13 +745,13 @@ export interface App {
|
|
|
745
745
|
* @public
|
|
746
746
|
* <p>Status of the application.</p>
|
|
747
747
|
*/
|
|
748
|
-
status?: AppStatusType
|
|
748
|
+
status?: AppStatusType;
|
|
749
749
|
/**
|
|
750
750
|
* @public
|
|
751
751
|
* <p>Current
|
|
752
752
|
* status of compliance for the resiliency policy.</p>
|
|
753
753
|
*/
|
|
754
|
-
complianceStatus?: AppComplianceStatusType
|
|
754
|
+
complianceStatus?: AppComplianceStatusType;
|
|
755
755
|
/**
|
|
756
756
|
* @public
|
|
757
757
|
* <p>Timestamp
|
|
@@ -781,7 +781,7 @@ export interface App {
|
|
|
781
781
|
* <p>Assessment
|
|
782
782
|
* execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
783
783
|
*/
|
|
784
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
784
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
785
785
|
/**
|
|
786
786
|
* @public
|
|
787
787
|
* <p>Defines the roles and credentials that Resilience Hub would use while creating the
|
|
@@ -801,7 +801,7 @@ export interface App {
|
|
|
801
801
|
* <p>Indicates if compliance drifts (deviations) were detected while running an assessment for
|
|
802
802
|
* your application.</p>
|
|
803
803
|
*/
|
|
804
|
-
driftStatus?: AppDriftStatusType
|
|
804
|
+
driftStatus?: AppDriftStatusType;
|
|
805
805
|
/**
|
|
806
806
|
* @public
|
|
807
807
|
* <p>Indicates the last time
|
|
@@ -899,7 +899,7 @@ export interface DisruptionCompliance {
|
|
|
899
899
|
* @public
|
|
900
900
|
* <p>The current status of compliance for the resiliency policy.</p>
|
|
901
901
|
*/
|
|
902
|
-
complianceStatus: ComplianceStatus |
|
|
902
|
+
complianceStatus: ComplianceStatus | undefined;
|
|
903
903
|
/**
|
|
904
904
|
* @public
|
|
905
905
|
* <p>The Recovery Point Objective (RPO) that is achievable, in seconds.</p>
|
|
@@ -944,7 +944,7 @@ export interface Cost {
|
|
|
944
944
|
* @public
|
|
945
945
|
* <p>The cost frequency.</p>
|
|
946
946
|
*/
|
|
947
|
-
frequency: CostFrequency |
|
|
947
|
+
frequency: CostFrequency | undefined;
|
|
948
948
|
}
|
|
949
949
|
/**
|
|
950
950
|
* @public
|
|
@@ -1059,23 +1059,23 @@ export interface ResiliencyPolicy {
|
|
|
1059
1059
|
* <p>Specifies a high-level geographical location constraint for where your resilience policy
|
|
1060
1060
|
* data can be stored.</p>
|
|
1061
1061
|
*/
|
|
1062
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
1062
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* @public
|
|
1065
1065
|
* <p>The tier for this resiliency policy, ranging from the highest severity
|
|
1066
1066
|
* (<code>MissionCritical</code>) to lowest (<code>NonCritical</code>).</p>
|
|
1067
1067
|
*/
|
|
1068
|
-
tier?: ResiliencyPolicyTier
|
|
1068
|
+
tier?: ResiliencyPolicyTier;
|
|
1069
1069
|
/**
|
|
1070
1070
|
* @public
|
|
1071
1071
|
* <p>Specifies the estimated cost tier of the resiliency policy.</p>
|
|
1072
1072
|
*/
|
|
1073
|
-
estimatedCostTier?: EstimatedCostTier
|
|
1073
|
+
estimatedCostTier?: EstimatedCostTier;
|
|
1074
1074
|
/**
|
|
1075
1075
|
* @public
|
|
1076
1076
|
* <p>The resiliency policy.</p>
|
|
1077
1077
|
*/
|
|
1078
|
-
policy?: Record<
|
|
1078
|
+
policy?: Record<DisruptionType, FailurePolicy>;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* @public
|
|
1081
1081
|
* <p>The timestamp for when the resiliency policy was created.</p>
|
|
@@ -1103,7 +1103,7 @@ export interface ResiliencyScore {
|
|
|
1103
1103
|
* @public
|
|
1104
1104
|
* <p>The disruption score for a valid key.</p>
|
|
1105
1105
|
*/
|
|
1106
|
-
disruptionScore: Record<
|
|
1106
|
+
disruptionScore: Record<DisruptionType, number> | undefined;
|
|
1107
1107
|
}
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @public
|
|
@@ -1168,7 +1168,7 @@ export interface AppAssessment {
|
|
|
1168
1168
|
* @public
|
|
1169
1169
|
* <p>The entity that invoked the assessment.</p>
|
|
1170
1170
|
*/
|
|
1171
|
-
invoker: AssessmentInvoker |
|
|
1171
|
+
invoker: AssessmentInvoker | undefined;
|
|
1172
1172
|
/**
|
|
1173
1173
|
* @public
|
|
1174
1174
|
* <p>Cost for the application.</p>
|
|
@@ -1184,17 +1184,17 @@ export interface AppAssessment {
|
|
|
1184
1184
|
* <p>Application
|
|
1185
1185
|
* compliance against the resiliency policy.</p>
|
|
1186
1186
|
*/
|
|
1187
|
-
compliance?: Record<
|
|
1187
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
1188
1188
|
/**
|
|
1189
1189
|
* @public
|
|
1190
1190
|
* <p>Current status of the compliance for the resiliency policy.</p>
|
|
1191
1191
|
*/
|
|
1192
|
-
complianceStatus?: ComplianceStatus
|
|
1192
|
+
complianceStatus?: ComplianceStatus;
|
|
1193
1193
|
/**
|
|
1194
1194
|
* @public
|
|
1195
1195
|
* <p>Current status of the assessment for the resiliency policy.</p>
|
|
1196
1196
|
*/
|
|
1197
|
-
assessmentStatus: AssessmentStatus |
|
|
1197
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
1198
1198
|
/**
|
|
1199
1199
|
* @public
|
|
1200
1200
|
* <p>Starting time for the action.</p>
|
|
@@ -1251,7 +1251,7 @@ export interface AppAssessment {
|
|
|
1251
1251
|
* <p>Indicates if compliance drifts (deviations) were detected while running an assessment for
|
|
1252
1252
|
* your application.</p>
|
|
1253
1253
|
*/
|
|
1254
|
-
driftStatus?: DriftStatus
|
|
1254
|
+
driftStatus?: DriftStatus;
|
|
1255
1255
|
}
|
|
1256
1256
|
/**
|
|
1257
1257
|
* @public
|
|
@@ -1276,12 +1276,12 @@ export interface AppAssessmentSummary {
|
|
|
1276
1276
|
* @public
|
|
1277
1277
|
* <p>Current status of the assessment for the resiliency policy.</p>
|
|
1278
1278
|
*/
|
|
1279
|
-
assessmentStatus: AssessmentStatus |
|
|
1279
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
1280
1280
|
/**
|
|
1281
1281
|
* @public
|
|
1282
1282
|
* <p>Entity that invoked the assessment.</p>
|
|
1283
1283
|
*/
|
|
1284
|
-
invoker?: AssessmentInvoker
|
|
1284
|
+
invoker?: AssessmentInvoker;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* @public
|
|
1287
1287
|
* <p>Starting time for the action.</p>
|
|
@@ -1315,7 +1315,7 @@ export interface AppAssessmentSummary {
|
|
|
1315
1315
|
* @public
|
|
1316
1316
|
* <p>TCurrent status of compliance for the resiliency policy.</p>
|
|
1317
1317
|
*/
|
|
1318
|
-
complianceStatus?: ComplianceStatus
|
|
1318
|
+
complianceStatus?: ComplianceStatus;
|
|
1319
1319
|
/**
|
|
1320
1320
|
* @public
|
|
1321
1321
|
* <p>Cost for an application.</p>
|
|
@@ -1336,7 +1336,7 @@ export interface AppAssessmentSummary {
|
|
|
1336
1336
|
* <p>Indicates if compliance drifts (deviations) were detected while running an assessment for
|
|
1337
1337
|
* your application.</p>
|
|
1338
1338
|
*/
|
|
1339
|
-
driftStatus?: DriftStatus
|
|
1339
|
+
driftStatus?: DriftStatus;
|
|
1340
1340
|
}
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @public
|
|
@@ -1391,7 +1391,7 @@ export interface AppComponentCompliance {
|
|
|
1391
1391
|
* @public
|
|
1392
1392
|
* <p>The compliance of the Application Component against the resiliency policy.</p>
|
|
1393
1393
|
*/
|
|
1394
|
-
compliance?: Record<
|
|
1394
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* @public
|
|
1397
1397
|
* <p>The compliance message.</p>
|
|
@@ -1401,7 +1401,7 @@ export interface AppComponentCompliance {
|
|
|
1401
1401
|
* @public
|
|
1402
1402
|
* <p>Status of the action.</p>
|
|
1403
1403
|
*/
|
|
1404
|
-
status?: ComplianceStatus
|
|
1404
|
+
status?: ComplianceStatus;
|
|
1405
1405
|
/**
|
|
1406
1406
|
* @public
|
|
1407
1407
|
* <p>The current resiliency score for the application.</p>
|
|
@@ -1454,7 +1454,7 @@ export interface AppInputSource {
|
|
|
1454
1454
|
* @public
|
|
1455
1455
|
* <p>The resource type of the input source.</p>
|
|
1456
1456
|
*/
|
|
1457
|
-
importType: ResourceMappingType |
|
|
1457
|
+
importType: ResourceMappingType | undefined;
|
|
1458
1458
|
/**
|
|
1459
1459
|
* @public
|
|
1460
1460
|
* <p>The Amazon Resource Name (ARN) of the input source. For more information about ARNs,
|
|
@@ -1512,7 +1512,7 @@ export interface AppSummary {
|
|
|
1512
1512
|
* @public
|
|
1513
1513
|
* <p>The current status of compliance for the resiliency policy.</p>
|
|
1514
1514
|
*/
|
|
1515
|
-
complianceStatus?: AppComplianceStatusType
|
|
1515
|
+
complianceStatus?: AppComplianceStatusType;
|
|
1516
1516
|
/**
|
|
1517
1517
|
* @public
|
|
1518
1518
|
* <p>The current resiliency score for the application.</p>
|
|
@@ -1522,18 +1522,18 @@ export interface AppSummary {
|
|
|
1522
1522
|
* @public
|
|
1523
1523
|
* <p> Assessment execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
1524
1524
|
*/
|
|
1525
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
1525
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* @public
|
|
1528
1528
|
* <p>Status of the application.</p>
|
|
1529
1529
|
*/
|
|
1530
|
-
status?: AppStatusType
|
|
1530
|
+
status?: AppStatusType;
|
|
1531
1531
|
/**
|
|
1532
1532
|
* @public
|
|
1533
1533
|
* <p>Indicates if compliance drifts (deviations) were detected while running an assessment for
|
|
1534
1534
|
* your application.</p>
|
|
1535
1535
|
*/
|
|
1536
|
-
driftStatus?: AppDriftStatusType
|
|
1536
|
+
driftStatus?: AppDriftStatusType;
|
|
1537
1537
|
}
|
|
1538
1538
|
/**
|
|
1539
1539
|
* @public
|
|
@@ -1615,7 +1615,7 @@ export interface UpdateRecommendationStatusRequestEntry {
|
|
|
1615
1615
|
* @public
|
|
1616
1616
|
* <p>Indicates the reason for excluding an operational recommendation.</p>
|
|
1617
1617
|
*/
|
|
1618
|
-
excludeReason?: ExcludeRecommendationReason
|
|
1618
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
1619
1619
|
}
|
|
1620
1620
|
/**
|
|
1621
1621
|
* @public
|
|
@@ -1691,7 +1691,7 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
|
1691
1691
|
* @public
|
|
1692
1692
|
* <p>Indicates the reason for excluding an operational recommendation.</p>
|
|
1693
1693
|
*/
|
|
1694
|
-
excludeReason?: ExcludeRecommendationReason
|
|
1694
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
1695
1695
|
}
|
|
1696
1696
|
/**
|
|
1697
1697
|
* @public
|
|
@@ -1758,7 +1758,7 @@ export interface CreateAppRequest {
|
|
|
1758
1758
|
* Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
1759
1759
|
* </p>
|
|
1760
1760
|
*/
|
|
1761
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
1761
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
1762
1762
|
/**
|
|
1763
1763
|
* @public
|
|
1764
1764
|
* <p>Defines the roles and credentials that Resilience Hub would use while creating the
|
|
@@ -2021,7 +2021,7 @@ export interface PhysicalResource {
|
|
|
2021
2021
|
* @public
|
|
2022
2022
|
* <p>Type of input source.</p>
|
|
2023
2023
|
*/
|
|
2024
|
-
sourceType?: ResourceSourceType
|
|
2024
|
+
sourceType?: ResourceSourceType;
|
|
2025
2025
|
/**
|
|
2026
2026
|
* @public
|
|
2027
2027
|
* <p>Name of the parent resource.</p>
|
|
@@ -2100,7 +2100,7 @@ export interface CreateRecommendationTemplateRequest {
|
|
|
2100
2100
|
* </dd>
|
|
2101
2101
|
* </dl>
|
|
2102
2102
|
*/
|
|
2103
|
-
format?: TemplateFormat
|
|
2103
|
+
format?: TemplateFormat;
|
|
2104
2104
|
/**
|
|
2105
2105
|
* @public
|
|
2106
2106
|
* <p>An array of strings that specify the recommendation template type or types.</p>
|
|
@@ -2119,7 +2119,7 @@ export interface CreateRecommendationTemplateRequest {
|
|
|
2119
2119
|
* </dd>
|
|
2120
2120
|
* </dl>
|
|
2121
2121
|
*/
|
|
2122
|
-
recommendationTypes?:
|
|
2122
|
+
recommendationTypes?: RenderRecommendationType[];
|
|
2123
2123
|
/**
|
|
2124
2124
|
* @public
|
|
2125
2125
|
* <p>Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
|
|
@@ -2233,7 +2233,7 @@ export interface RecommendationTemplate {
|
|
|
2233
2233
|
* </dd>
|
|
2234
2234
|
* </dl>
|
|
2235
2235
|
*/
|
|
2236
|
-
recommendationTypes:
|
|
2236
|
+
recommendationTypes: RenderRecommendationType[] | undefined;
|
|
2237
2237
|
/**
|
|
2238
2238
|
* @public
|
|
2239
2239
|
* <p>Format of the recommendation template.</p>
|
|
@@ -2248,7 +2248,7 @@ export interface RecommendationTemplate {
|
|
|
2248
2248
|
* </dd>
|
|
2249
2249
|
* </dl>
|
|
2250
2250
|
*/
|
|
2251
|
-
format: TemplateFormat |
|
|
2251
|
+
format: TemplateFormat | undefined;
|
|
2252
2252
|
/**
|
|
2253
2253
|
* @public
|
|
2254
2254
|
* <p>Amazon Resource Name (ARN) for the recommendation template.</p>
|
|
@@ -2263,7 +2263,7 @@ export interface RecommendationTemplate {
|
|
|
2263
2263
|
* @public
|
|
2264
2264
|
* <p>Status of the action.</p>
|
|
2265
2265
|
*/
|
|
2266
|
-
status: RecommendationTemplateStatus |
|
|
2266
|
+
status: RecommendationTemplateStatus | undefined;
|
|
2267
2267
|
/**
|
|
2268
2268
|
* @public
|
|
2269
2269
|
* <p>Name for the recommendation template.</p>
|
|
@@ -2321,19 +2321,19 @@ export interface CreateResiliencyPolicyRequest {
|
|
|
2321
2321
|
* <p>Specifies a high-level geographical location constraint for where your resilience policy
|
|
2322
2322
|
* data can be stored.</p>
|
|
2323
2323
|
*/
|
|
2324
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
2324
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
2325
2325
|
/**
|
|
2326
2326
|
* @public
|
|
2327
2327
|
* <p>The tier for this resiliency policy, ranging from the highest severity
|
|
2328
2328
|
* (<code>MissionCritical</code>) to lowest (<code>NonCritical</code>).</p>
|
|
2329
2329
|
*/
|
|
2330
|
-
tier: ResiliencyPolicyTier |
|
|
2330
|
+
tier: ResiliencyPolicyTier | undefined;
|
|
2331
2331
|
/**
|
|
2332
2332
|
* @public
|
|
2333
2333
|
* <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
|
|
2334
2334
|
* and recovery point objective (RPO) in seconds.</p>
|
|
2335
2335
|
*/
|
|
2336
|
-
policy: Record<
|
|
2336
|
+
policy: Record<DisruptionType, FailurePolicy> | undefined;
|
|
2337
2337
|
/**
|
|
2338
2338
|
* @public
|
|
2339
2339
|
* <p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters.
|
|
@@ -2434,7 +2434,7 @@ export interface DeleteAppAssessmentResponse {
|
|
|
2434
2434
|
* @public
|
|
2435
2435
|
* <p>The current status of the assessment for the resiliency policy.</p>
|
|
2436
2436
|
*/
|
|
2437
|
-
assessmentStatus: AssessmentStatus |
|
|
2437
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
2438
2438
|
}
|
|
2439
2439
|
/**
|
|
2440
2440
|
* @public
|
|
@@ -2641,7 +2641,7 @@ export interface DeleteRecommendationTemplateResponse {
|
|
|
2641
2641
|
* @public
|
|
2642
2642
|
* <p>Status of the action.</p>
|
|
2643
2643
|
*/
|
|
2644
|
-
status: RecommendationTemplateStatus |
|
|
2644
|
+
status: RecommendationTemplateStatus | undefined;
|
|
2645
2645
|
}
|
|
2646
2646
|
/**
|
|
2647
2647
|
* @public
|
|
@@ -2955,7 +2955,7 @@ export interface DescribeAppVersionResourcesResolutionStatusResponse {
|
|
|
2955
2955
|
* @public
|
|
2956
2956
|
* <p>Status of the action.</p>
|
|
2957
2957
|
*/
|
|
2958
|
-
status: ResourceResolutionStatusType |
|
|
2958
|
+
status: ResourceResolutionStatusType | undefined;
|
|
2959
2959
|
/**
|
|
2960
2960
|
* @public
|
|
2961
2961
|
* <p>The returned error message for the request.</p>
|
|
@@ -3314,7 +3314,7 @@ export interface DescribeDraftAppVersionResourcesImportStatusResponse {
|
|
|
3314
3314
|
* @public
|
|
3315
3315
|
* <p>Status of the action.</p>
|
|
3316
3316
|
*/
|
|
3317
|
-
status: ResourceImportStatusType |
|
|
3317
|
+
status: ResourceImportStatusType | undefined;
|
|
3318
3318
|
/**
|
|
3319
3319
|
* @public
|
|
3320
3320
|
* <p>The timestamp for when the status last changed.</p>
|
|
@@ -3412,7 +3412,7 @@ export interface ImportResourcesToDraftAppVersionRequest {
|
|
|
3412
3412
|
* <p>The import strategy you would like to set to import resources into Resilience Hub
|
|
3413
3413
|
* application.</p>
|
|
3414
3414
|
*/
|
|
3415
|
-
importStrategy?: ResourceImportStrategyType
|
|
3415
|
+
importStrategy?: ResourceImportStrategyType;
|
|
3416
3416
|
/**
|
|
3417
3417
|
* @public
|
|
3418
3418
|
* <p>The input sources of the Amazon Elastic Kubernetes Service resources you need to import.</p>
|
|
@@ -3446,7 +3446,7 @@ export interface ImportResourcesToDraftAppVersionResponse {
|
|
|
3446
3446
|
* @public
|
|
3447
3447
|
* <p>Status of the action.</p>
|
|
3448
3448
|
*/
|
|
3449
|
-
status: ResourceImportStatusType |
|
|
3449
|
+
status: ResourceImportStatusType | undefined;
|
|
3450
3450
|
/**
|
|
3451
3451
|
* @public
|
|
3452
3452
|
* <p>
|
|
@@ -3572,7 +3572,7 @@ export interface ComplianceDrift {
|
|
|
3572
3572
|
* @public
|
|
3573
3573
|
* <p>The type of drift detected. Currently, Resilience Hub supports only <b>ApplicationCompliance</b> drift type.</p>
|
|
3574
3574
|
*/
|
|
3575
|
-
driftType?: DriftType
|
|
3575
|
+
driftType?: DriftType;
|
|
3576
3576
|
/**
|
|
3577
3577
|
* @public
|
|
3578
3578
|
* <p>Identifier
|
|
@@ -3594,7 +3594,7 @@ export interface ComplianceDrift {
|
|
|
3594
3594
|
* @public
|
|
3595
3595
|
* <p>The expected compliance value of an entity.</p>
|
|
3596
3596
|
*/
|
|
3597
|
-
expectedValue?: Record<
|
|
3597
|
+
expectedValue?: Record<DisruptionType, DisruptionCompliance>;
|
|
3598
3598
|
/**
|
|
3599
3599
|
* @public
|
|
3600
3600
|
* <p>Assessment identifier that is associated with this drift item.</p>
|
|
@@ -3605,7 +3605,7 @@ export interface ComplianceDrift {
|
|
|
3605
3605
|
* <p>Actual
|
|
3606
3606
|
* compliance value of the entity.</p>
|
|
3607
3607
|
*/
|
|
3608
|
-
actualValue?: Record<
|
|
3608
|
+
actualValue?: Record<DisruptionType, DisruptionCompliance>;
|
|
3609
3609
|
/**
|
|
3610
3610
|
* @public
|
|
3611
3611
|
* <p>Difference
|
|
@@ -3619,7 +3619,7 @@ export interface ComplianceDrift {
|
|
|
3619
3619
|
* objective
|
|
3620
3620
|
* (RTO) values. Currently, Resilience Hub supports only <b>NotEqual</b> difference type.</p>
|
|
3621
3621
|
*/
|
|
3622
|
-
diffType?: DifferenceType
|
|
3622
|
+
diffType?: DifferenceType;
|
|
3623
3623
|
}
|
|
3624
3624
|
/**
|
|
3625
3625
|
* @public
|
|
@@ -3658,18 +3658,18 @@ export interface ListAppAssessmentsRequest {
|
|
|
3658
3658
|
* @public
|
|
3659
3659
|
* <p>The current status of the assessment for the resiliency policy.</p>
|
|
3660
3660
|
*/
|
|
3661
|
-
assessmentStatus?:
|
|
3661
|
+
assessmentStatus?: AssessmentStatus[];
|
|
3662
3662
|
/**
|
|
3663
3663
|
* @public
|
|
3664
3664
|
* <p>The current status of compliance for the resiliency policy.</p>
|
|
3665
3665
|
*/
|
|
3666
|
-
complianceStatus?: ComplianceStatus
|
|
3666
|
+
complianceStatus?: ComplianceStatus;
|
|
3667
3667
|
/**
|
|
3668
3668
|
* @public
|
|
3669
3669
|
* <p>Specifies the entity that invoked a specific assessment, either a <code>User</code> or the
|
|
3670
3670
|
* <code>System</code>.</p>
|
|
3671
3671
|
*/
|
|
3672
|
-
invoker?: AssessmentInvoker
|
|
3672
|
+
invoker?: AssessmentInvoker;
|
|
3673
3673
|
/**
|
|
3674
3674
|
* @public
|
|
3675
3675
|
* <p>The default is to sort by ascending <b>startTime</b>.
|
|
@@ -3812,7 +3812,7 @@ export interface RecommendationDisruptionCompliance {
|
|
|
3812
3812
|
* @public
|
|
3813
3813
|
* <p>The expected compliance status after applying the recommended configuration change.</p>
|
|
3814
3814
|
*/
|
|
3815
|
-
expectedComplianceStatus: ComplianceStatus |
|
|
3815
|
+
expectedComplianceStatus: ComplianceStatus | undefined;
|
|
3816
3816
|
/**
|
|
3817
3817
|
* @public
|
|
3818
3818
|
* <p>The expected RTO after applying the recommended configuration change.</p>
|
|
@@ -3856,18 +3856,18 @@ export interface ConfigRecommendation {
|
|
|
3856
3856
|
* <p>The current compliance against the resiliency policy before applying the configuration
|
|
3857
3857
|
* change.</p>
|
|
3858
3858
|
*/
|
|
3859
|
-
compliance?: Record<
|
|
3859
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
3860
3860
|
/**
|
|
3861
3861
|
* @public
|
|
3862
3862
|
* <p>The expected compliance against the resiliency policy after applying the configuration
|
|
3863
3863
|
* change.</p>
|
|
3864
3864
|
*/
|
|
3865
|
-
recommendationCompliance?: Record<
|
|
3865
|
+
recommendationCompliance?: Record<DisruptionType, RecommendationDisruptionCompliance>;
|
|
3866
3866
|
/**
|
|
3867
3867
|
* @public
|
|
3868
3868
|
* <p>The type of optimization.</p>
|
|
3869
3869
|
*/
|
|
3870
|
-
optimizationType: ConfigRecommendationOptimizationType |
|
|
3870
|
+
optimizationType: ConfigRecommendationOptimizationType | undefined;
|
|
3871
3871
|
/**
|
|
3872
3872
|
* @public
|
|
3873
3873
|
* <p>The name of the recommendation configuration.</p>
|
|
@@ -3887,7 +3887,7 @@ export interface ConfigRecommendation {
|
|
|
3887
3887
|
* @public
|
|
3888
3888
|
* <p>The architecture type.</p>
|
|
3889
3889
|
*/
|
|
3890
|
-
haArchitecture?: HaArchitecture
|
|
3890
|
+
haArchitecture?: HaArchitecture;
|
|
3891
3891
|
/**
|
|
3892
3892
|
* @public
|
|
3893
3893
|
* <p>Reference
|
|
@@ -3924,7 +3924,7 @@ export interface ComponentRecommendation {
|
|
|
3924
3924
|
* @public
|
|
3925
3925
|
* <p>Status of the recommendation.</p>
|
|
3926
3926
|
*/
|
|
3927
|
-
recommendationStatus: RecommendationComplianceStatus |
|
|
3927
|
+
recommendationStatus: RecommendationComplianceStatus | undefined;
|
|
3928
3928
|
/**
|
|
3929
3929
|
* @public
|
|
3930
3930
|
* <p>List of recommendations.</p>
|
|
@@ -4272,7 +4272,7 @@ export interface ListRecommendationTemplatesRequest {
|
|
|
4272
4272
|
* @public
|
|
4273
4273
|
* <p>Status of the action.</p>
|
|
4274
4274
|
*/
|
|
4275
|
-
status?:
|
|
4275
|
+
status?: RecommendationTemplateStatus[];
|
|
4276
4276
|
/**
|
|
4277
4277
|
* @public
|
|
4278
4278
|
* <p>The Amazon Resource Name (ARN) for a recommendation template.</p>
|
|
@@ -4391,7 +4391,7 @@ export interface SopRecommendation {
|
|
|
4391
4391
|
* @public
|
|
4392
4392
|
* <p>The service type.</p>
|
|
4393
4393
|
*/
|
|
4394
|
-
serviceType: SopServiceType |
|
|
4394
|
+
serviceType: SopServiceType | undefined;
|
|
4395
4395
|
/**
|
|
4396
4396
|
* @public
|
|
4397
4397
|
* <p>Name of the Application Component.</p>
|
|
@@ -4585,12 +4585,12 @@ export interface TestRecommendation {
|
|
|
4585
4585
|
* @public
|
|
4586
4586
|
* <p>Level of risk for this test recommendation.</p>
|
|
4587
4587
|
*/
|
|
4588
|
-
risk?: TestRisk
|
|
4588
|
+
risk?: TestRisk;
|
|
4589
4589
|
/**
|
|
4590
4590
|
* @public
|
|
4591
4591
|
* <p>Type of test recommendation.</p>
|
|
4592
4592
|
*/
|
|
4593
|
-
type?: TestType
|
|
4593
|
+
type?: TestType;
|
|
4594
4594
|
/**
|
|
4595
4595
|
* @public
|
|
4596
4596
|
* <p>Description for the test recommendation.</p>
|
|
@@ -5169,7 +5169,7 @@ export interface ResolveAppVersionResourcesResponse {
|
|
|
5169
5169
|
* @public
|
|
5170
5170
|
* <p>Status of the action.</p>
|
|
5171
5171
|
*/
|
|
5172
|
-
status: ResourceResolutionStatusType |
|
|
5172
|
+
status: ResourceResolutionStatusType | undefined;
|
|
5173
5173
|
}
|
|
5174
5174
|
/**
|
|
5175
5175
|
* @public
|
|
@@ -5295,7 +5295,7 @@ export interface UpdateAppRequest {
|
|
|
5295
5295
|
* Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
5296
5296
|
* </p>
|
|
5297
5297
|
*/
|
|
5298
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
5298
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
5299
5299
|
/**
|
|
5300
5300
|
* @public
|
|
5301
5301
|
* <p>Defines the roles and credentials that Resilience Hub would use while creating
|
|
@@ -5548,19 +5548,19 @@ export interface UpdateResiliencyPolicyRequest {
|
|
|
5548
5548
|
* <p>Specifies a high-level geographical location constraint for where your resilience policy
|
|
5549
5549
|
* data can be stored.</p>
|
|
5550
5550
|
*/
|
|
5551
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
5551
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
5552
5552
|
/**
|
|
5553
5553
|
* @public
|
|
5554
5554
|
* <p>The tier for this resiliency policy, ranging from the highest severity
|
|
5555
5555
|
* (<code>MissionCritical</code>) to lowest (<code>NonCritical</code>).</p>
|
|
5556
5556
|
*/
|
|
5557
|
-
tier?: ResiliencyPolicyTier
|
|
5557
|
+
tier?: ResiliencyPolicyTier;
|
|
5558
5558
|
/**
|
|
5559
5559
|
* @public
|
|
5560
5560
|
* <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
|
|
5561
5561
|
* and recovery point objective (RPO) in seconds.</p>
|
|
5562
5562
|
*/
|
|
5563
|
-
policy?: Record<
|
|
5563
|
+
policy?: Record<DisruptionType, FailurePolicy>;
|
|
5564
5564
|
}
|
|
5565
5565
|
/**
|
|
5566
5566
|
* @public
|
|
@@ -25,7 +25,7 @@ export type PhysicalIdentifierType =
|
|
|
25
25
|
(typeof PhysicalIdentifierType)[keyof typeof PhysicalIdentifierType];
|
|
26
26
|
export interface PhysicalResourceId {
|
|
27
27
|
identifier: string | undefined;
|
|
28
|
-
type: PhysicalIdentifierType |
|
|
28
|
+
type: PhysicalIdentifierType | undefined;
|
|
29
29
|
awsRegion?: string;
|
|
30
30
|
awsAccountId?: string;
|
|
31
31
|
}
|
|
@@ -34,7 +34,7 @@ export interface ResourceMapping {
|
|
|
34
34
|
logicalStackName?: string;
|
|
35
35
|
appRegistryAppName?: string;
|
|
36
36
|
resourceGroupName?: string;
|
|
37
|
-
mappingType: ResourceMappingType |
|
|
37
|
+
mappingType: ResourceMappingType | undefined;
|
|
38
38
|
physicalResourceId: PhysicalResourceId | undefined;
|
|
39
39
|
terraformSourceName?: string;
|
|
40
40
|
eksSourceName?: string;
|
|
@@ -99,7 +99,7 @@ export interface RecommendationItem {
|
|
|
99
99
|
targetRegion?: string;
|
|
100
100
|
alreadyImplemented?: boolean;
|
|
101
101
|
excluded?: boolean;
|
|
102
|
-
excludeReason?: ExcludeRecommendationReason
|
|
102
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
103
103
|
}
|
|
104
104
|
export declare const AlarmType: {
|
|
105
105
|
readonly CANARY: "Canary";
|
|
@@ -114,7 +114,7 @@ export interface AlarmRecommendation {
|
|
|
114
114
|
referenceId: string | undefined;
|
|
115
115
|
name: string | undefined;
|
|
116
116
|
description?: string;
|
|
117
|
-
type: AlarmType |
|
|
117
|
+
type: AlarmType | undefined;
|
|
118
118
|
appComponentName?: string;
|
|
119
119
|
items?: RecommendationItem[];
|
|
120
120
|
prerequisite?: string;
|
|
@@ -148,7 +148,7 @@ export declare const EventType: {
|
|
|
148
148
|
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
149
149
|
export interface EventSubscription {
|
|
150
150
|
name: string | undefined;
|
|
151
|
-
eventType: EventType |
|
|
151
|
+
eventType: EventType | undefined;
|
|
152
152
|
snsTopicArn?: string;
|
|
153
153
|
}
|
|
154
154
|
export declare const PermissionModelType: {
|
|
@@ -158,7 +158,7 @@ export declare const PermissionModelType: {
|
|
|
158
158
|
export type PermissionModelType =
|
|
159
159
|
(typeof PermissionModelType)[keyof typeof PermissionModelType];
|
|
160
160
|
export interface PermissionModel {
|
|
161
|
-
type: PermissionModelType |
|
|
161
|
+
type: PermissionModelType | undefined;
|
|
162
162
|
invokerRoleName?: string;
|
|
163
163
|
crossAccountRoleArns?: string[];
|
|
164
164
|
}
|
|
@@ -173,16 +173,16 @@ export interface App {
|
|
|
173
173
|
description?: string;
|
|
174
174
|
policyArn?: string;
|
|
175
175
|
creationTime: Date | undefined;
|
|
176
|
-
status?: AppStatusType
|
|
177
|
-
complianceStatus?: AppComplianceStatusType
|
|
176
|
+
status?: AppStatusType;
|
|
177
|
+
complianceStatus?: AppComplianceStatusType;
|
|
178
178
|
lastAppComplianceEvaluationTime?: Date;
|
|
179
179
|
resiliencyScore?: number;
|
|
180
180
|
lastResiliencyScoreEvaluationTime?: Date;
|
|
181
181
|
tags?: Record<string, string>;
|
|
182
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
182
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
183
183
|
permissionModel?: PermissionModel;
|
|
184
184
|
eventSubscriptions?: EventSubscription[];
|
|
185
|
-
driftStatus?: AppDriftStatusType
|
|
185
|
+
driftStatus?: AppDriftStatusType;
|
|
186
186
|
lastDriftEvaluationTime?: Date;
|
|
187
187
|
}
|
|
188
188
|
export declare const AssessmentStatus: {
|
|
@@ -215,7 +215,7 @@ export interface DisruptionCompliance {
|
|
|
215
215
|
currentRpoInSecs?: number;
|
|
216
216
|
rpoReferenceId?: string;
|
|
217
217
|
rpoDescription?: string;
|
|
218
|
-
complianceStatus: ComplianceStatus |
|
|
218
|
+
complianceStatus: ComplianceStatus | undefined;
|
|
219
219
|
achievableRpoInSecs?: number;
|
|
220
220
|
message?: string;
|
|
221
221
|
}
|
|
@@ -229,7 +229,7 @@ export type CostFrequency = (typeof CostFrequency)[keyof typeof CostFrequency];
|
|
|
229
229
|
export interface Cost {
|
|
230
230
|
amount: number | undefined;
|
|
231
231
|
currency: string | undefined;
|
|
232
|
-
frequency: CostFrequency |
|
|
232
|
+
frequency: CostFrequency | undefined;
|
|
233
233
|
}
|
|
234
234
|
export declare const DriftStatus: {
|
|
235
235
|
readonly DETECTED: "Detected";
|
|
@@ -276,16 +276,16 @@ export interface ResiliencyPolicy {
|
|
|
276
276
|
policyArn?: string;
|
|
277
277
|
policyName?: string;
|
|
278
278
|
policyDescription?: string;
|
|
279
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
280
|
-
tier?: ResiliencyPolicyTier
|
|
281
|
-
estimatedCostTier?: EstimatedCostTier
|
|
282
|
-
policy?: Record<
|
|
279
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
280
|
+
tier?: ResiliencyPolicyTier;
|
|
281
|
+
estimatedCostTier?: EstimatedCostTier;
|
|
282
|
+
policy?: Record<DisruptionType, FailurePolicy>;
|
|
283
283
|
creationTime?: Date;
|
|
284
284
|
tags?: Record<string, string>;
|
|
285
285
|
}
|
|
286
286
|
export interface ResiliencyScore {
|
|
287
287
|
score: number | undefined;
|
|
288
|
-
disruptionScore: Record<
|
|
288
|
+
disruptionScore: Record<DisruptionType, number> | undefined;
|
|
289
289
|
}
|
|
290
290
|
export interface ResourceError {
|
|
291
291
|
logicalResourceId?: string;
|
|
@@ -299,12 +299,12 @@ export interface ResourceErrorsDetails {
|
|
|
299
299
|
export interface AppAssessment {
|
|
300
300
|
appArn?: string;
|
|
301
301
|
appVersion?: string;
|
|
302
|
-
invoker: AssessmentInvoker |
|
|
302
|
+
invoker: AssessmentInvoker | undefined;
|
|
303
303
|
cost?: Cost;
|
|
304
304
|
resiliencyScore?: ResiliencyScore;
|
|
305
|
-
compliance?: Record<
|
|
306
|
-
complianceStatus?: ComplianceStatus
|
|
307
|
-
assessmentStatus: AssessmentStatus |
|
|
305
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
306
|
+
complianceStatus?: ComplianceStatus;
|
|
307
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
308
308
|
startTime?: Date;
|
|
309
309
|
endTime?: Date;
|
|
310
310
|
message?: string;
|
|
@@ -314,23 +314,23 @@ export interface AppAssessment {
|
|
|
314
314
|
tags?: Record<string, string>;
|
|
315
315
|
resourceErrorsDetails?: ResourceErrorsDetails;
|
|
316
316
|
versionName?: string;
|
|
317
|
-
driftStatus?: DriftStatus
|
|
317
|
+
driftStatus?: DriftStatus;
|
|
318
318
|
}
|
|
319
319
|
export interface AppAssessmentSummary {
|
|
320
320
|
appArn?: string;
|
|
321
321
|
appVersion?: string;
|
|
322
|
-
assessmentStatus: AssessmentStatus |
|
|
323
|
-
invoker?: AssessmentInvoker
|
|
322
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
323
|
+
invoker?: AssessmentInvoker;
|
|
324
324
|
startTime?: Date;
|
|
325
325
|
endTime?: Date;
|
|
326
326
|
message?: string;
|
|
327
327
|
assessmentName?: string;
|
|
328
328
|
assessmentArn: string | undefined;
|
|
329
|
-
complianceStatus?: ComplianceStatus
|
|
329
|
+
complianceStatus?: ComplianceStatus;
|
|
330
330
|
cost?: Cost;
|
|
331
331
|
resiliencyScore?: number;
|
|
332
332
|
versionName?: string;
|
|
333
|
-
driftStatus?: DriftStatus
|
|
333
|
+
driftStatus?: DriftStatus;
|
|
334
334
|
}
|
|
335
335
|
export interface AppComponent {
|
|
336
336
|
name: string | undefined;
|
|
@@ -341,9 +341,9 @@ export interface AppComponent {
|
|
|
341
341
|
export interface AppComponentCompliance {
|
|
342
342
|
cost?: Cost;
|
|
343
343
|
appComponentName?: string;
|
|
344
|
-
compliance?: Record<
|
|
344
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
345
345
|
message?: string;
|
|
346
|
-
status?: ComplianceStatus
|
|
346
|
+
status?: ComplianceStatus;
|
|
347
347
|
resiliencyScore?: ResiliencyScore;
|
|
348
348
|
}
|
|
349
349
|
export interface EksSourceClusterNamespace {
|
|
@@ -355,7 +355,7 @@ export interface TerraformSource {
|
|
|
355
355
|
}
|
|
356
356
|
export interface AppInputSource {
|
|
357
357
|
sourceName?: string;
|
|
358
|
-
importType: ResourceMappingType |
|
|
358
|
+
importType: ResourceMappingType | undefined;
|
|
359
359
|
sourceArn?: string;
|
|
360
360
|
terraformSource?: TerraformSource;
|
|
361
361
|
resourceCount?: number;
|
|
@@ -366,11 +366,11 @@ export interface AppSummary {
|
|
|
366
366
|
name: string | undefined;
|
|
367
367
|
description?: string;
|
|
368
368
|
creationTime: Date | undefined;
|
|
369
|
-
complianceStatus?: AppComplianceStatusType
|
|
369
|
+
complianceStatus?: AppComplianceStatusType;
|
|
370
370
|
resiliencyScore?: number;
|
|
371
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
372
|
-
status?: AppStatusType
|
|
373
|
-
driftStatus?: AppDriftStatusType
|
|
371
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
372
|
+
status?: AppStatusType;
|
|
373
|
+
driftStatus?: AppDriftStatusType;
|
|
374
374
|
}
|
|
375
375
|
export interface AppVersionSummary {
|
|
376
376
|
appVersion: string | undefined;
|
|
@@ -388,7 +388,7 @@ export interface UpdateRecommendationStatusRequestEntry {
|
|
|
388
388
|
referenceId: string | undefined;
|
|
389
389
|
item: UpdateRecommendationStatusItem | undefined;
|
|
390
390
|
excluded: boolean | undefined;
|
|
391
|
-
excludeReason?: ExcludeRecommendationReason
|
|
391
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
392
392
|
}
|
|
393
393
|
export interface BatchUpdateRecommendationStatusRequest {
|
|
394
394
|
appArn: string | undefined;
|
|
@@ -403,7 +403,7 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
|
403
403
|
referenceId: string | undefined;
|
|
404
404
|
item: UpdateRecommendationStatusItem | undefined;
|
|
405
405
|
excluded: boolean | undefined;
|
|
406
|
-
excludeReason?: ExcludeRecommendationReason
|
|
406
|
+
excludeReason?: ExcludeRecommendationReason;
|
|
407
407
|
}
|
|
408
408
|
export interface BatchUpdateRecommendationStatusResponse {
|
|
409
409
|
appArn: string | undefined;
|
|
@@ -418,7 +418,7 @@ export interface CreateAppRequest {
|
|
|
418
418
|
policyArn?: string;
|
|
419
419
|
tags?: Record<string, string>;
|
|
420
420
|
clientToken?: string;
|
|
421
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
421
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
422
422
|
permissionModel?: PermissionModel;
|
|
423
423
|
eventSubscriptions?: EventSubscription[];
|
|
424
424
|
}
|
|
@@ -478,7 +478,7 @@ export interface PhysicalResource {
|
|
|
478
478
|
appComponents?: AppComponent[];
|
|
479
479
|
additionalInfo?: Record<string, string[]>;
|
|
480
480
|
excluded?: boolean;
|
|
481
|
-
sourceType?: ResourceSourceType
|
|
481
|
+
sourceType?: ResourceSourceType;
|
|
482
482
|
parentResourceName?: string;
|
|
483
483
|
}
|
|
484
484
|
export interface CreateAppVersionResourceResponse {
|
|
@@ -501,8 +501,8 @@ export type RenderRecommendationType =
|
|
|
501
501
|
(typeof RenderRecommendationType)[keyof typeof RenderRecommendationType];
|
|
502
502
|
export interface CreateRecommendationTemplateRequest {
|
|
503
503
|
recommendationIds?: string[];
|
|
504
|
-
format?: TemplateFormat
|
|
505
|
-
recommendationTypes?:
|
|
504
|
+
format?: TemplateFormat;
|
|
505
|
+
recommendationTypes?: RenderRecommendationType[];
|
|
506
506
|
assessmentArn: string | undefined;
|
|
507
507
|
name: string | undefined;
|
|
508
508
|
clientToken?: string;
|
|
@@ -526,11 +526,11 @@ export interface RecommendationTemplate {
|
|
|
526
526
|
assessmentArn: string | undefined;
|
|
527
527
|
appArn?: string;
|
|
528
528
|
recommendationIds?: string[];
|
|
529
|
-
recommendationTypes:
|
|
530
|
-
format: TemplateFormat |
|
|
529
|
+
recommendationTypes: RenderRecommendationType[] | undefined;
|
|
530
|
+
format: TemplateFormat | undefined;
|
|
531
531
|
recommendationTemplateArn: string | undefined;
|
|
532
532
|
message?: string;
|
|
533
|
-
status: RecommendationTemplateStatus |
|
|
533
|
+
status: RecommendationTemplateStatus | undefined;
|
|
534
534
|
name: string | undefined;
|
|
535
535
|
startTime?: Date;
|
|
536
536
|
endTime?: Date;
|
|
@@ -543,9 +543,9 @@ export interface CreateRecommendationTemplateResponse {
|
|
|
543
543
|
export interface CreateResiliencyPolicyRequest {
|
|
544
544
|
policyName: string | undefined;
|
|
545
545
|
policyDescription?: string;
|
|
546
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
547
|
-
tier: ResiliencyPolicyTier |
|
|
548
|
-
policy: Record<
|
|
546
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
547
|
+
tier: ResiliencyPolicyTier | undefined;
|
|
548
|
+
policy: Record<DisruptionType, FailurePolicy> | undefined;
|
|
549
549
|
clientToken?: string;
|
|
550
550
|
tags?: Record<string, string>;
|
|
551
551
|
}
|
|
@@ -566,7 +566,7 @@ export interface DeleteAppAssessmentRequest {
|
|
|
566
566
|
}
|
|
567
567
|
export interface DeleteAppAssessmentResponse {
|
|
568
568
|
assessmentArn: string | undefined;
|
|
569
|
-
assessmentStatus: AssessmentStatus |
|
|
569
|
+
assessmentStatus: AssessmentStatus | undefined;
|
|
570
570
|
}
|
|
571
571
|
export interface DeleteAppInputSourceRequest {
|
|
572
572
|
appArn: string | undefined;
|
|
@@ -609,7 +609,7 @@ export interface DeleteRecommendationTemplateRequest {
|
|
|
609
609
|
}
|
|
610
610
|
export interface DeleteRecommendationTemplateResponse {
|
|
611
611
|
recommendationTemplateArn: string | undefined;
|
|
612
|
-
status: RecommendationTemplateStatus |
|
|
612
|
+
status: RecommendationTemplateStatus | undefined;
|
|
613
613
|
}
|
|
614
614
|
export interface DeleteResiliencyPolicyRequest {
|
|
615
615
|
policyArn: string | undefined;
|
|
@@ -680,7 +680,7 @@ export interface DescribeAppVersionResourcesResolutionStatusResponse {
|
|
|
680
680
|
appArn: string | undefined;
|
|
681
681
|
appVersion: string | undefined;
|
|
682
682
|
resolutionId: string | undefined;
|
|
683
|
-
status: ResourceResolutionStatusType |
|
|
683
|
+
status: ResourceResolutionStatusType | undefined;
|
|
684
684
|
errorMessage?: string;
|
|
685
685
|
}
|
|
686
686
|
export interface DescribeAppVersionTemplateRequest {
|
|
@@ -706,7 +706,7 @@ export type ResourceImportStatusType =
|
|
|
706
706
|
export interface DescribeDraftAppVersionResourcesImportStatusResponse {
|
|
707
707
|
appArn: string | undefined;
|
|
708
708
|
appVersion: string | undefined;
|
|
709
|
-
status: ResourceImportStatusType |
|
|
709
|
+
status: ResourceImportStatusType | undefined;
|
|
710
710
|
statusChangeTime: Date | undefined;
|
|
711
711
|
errorMessage?: string;
|
|
712
712
|
}
|
|
@@ -730,14 +730,14 @@ export interface ImportResourcesToDraftAppVersionRequest {
|
|
|
730
730
|
appArn: string | undefined;
|
|
731
731
|
sourceArns?: string[];
|
|
732
732
|
terraformSources?: TerraformSource[];
|
|
733
|
-
importStrategy?: ResourceImportStrategyType
|
|
733
|
+
importStrategy?: ResourceImportStrategyType;
|
|
734
734
|
eksSources?: EksSource[];
|
|
735
735
|
}
|
|
736
736
|
export interface ImportResourcesToDraftAppVersionResponse {
|
|
737
737
|
appArn: string | undefined;
|
|
738
738
|
appVersion: string | undefined;
|
|
739
739
|
sourceArns?: string[];
|
|
740
|
-
status: ResourceImportStatusType |
|
|
740
|
+
status: ResourceImportStatusType | undefined;
|
|
741
741
|
terraformSources?: TerraformSource[];
|
|
742
742
|
eksSources?: EksSource[];
|
|
743
743
|
}
|
|
@@ -767,14 +767,14 @@ export type DriftType = (typeof DriftType)[keyof typeof DriftType];
|
|
|
767
767
|
export interface ComplianceDrift {
|
|
768
768
|
entityId?: string;
|
|
769
769
|
entityType?: string;
|
|
770
|
-
driftType?: DriftType
|
|
770
|
+
driftType?: DriftType;
|
|
771
771
|
appId?: string;
|
|
772
772
|
appVersion?: string;
|
|
773
773
|
expectedReferenceId?: string;
|
|
774
|
-
expectedValue?: Record<
|
|
774
|
+
expectedValue?: Record<DisruptionType, DisruptionCompliance>;
|
|
775
775
|
actualReferenceId?: string;
|
|
776
|
-
actualValue?: Record<
|
|
777
|
-
diffType?: DifferenceType
|
|
776
|
+
actualValue?: Record<DisruptionType, DisruptionCompliance>;
|
|
777
|
+
diffType?: DifferenceType;
|
|
778
778
|
}
|
|
779
779
|
export interface ListAppAssessmentComplianceDriftsResponse {
|
|
780
780
|
complianceDrifts: ComplianceDrift[] | undefined;
|
|
@@ -783,9 +783,9 @@ export interface ListAppAssessmentComplianceDriftsResponse {
|
|
|
783
783
|
export interface ListAppAssessmentsRequest {
|
|
784
784
|
appArn?: string;
|
|
785
785
|
assessmentName?: string;
|
|
786
|
-
assessmentStatus?:
|
|
787
|
-
complianceStatus?: ComplianceStatus
|
|
788
|
-
invoker?: AssessmentInvoker
|
|
786
|
+
assessmentStatus?: AssessmentStatus[];
|
|
787
|
+
complianceStatus?: ComplianceStatus;
|
|
788
|
+
invoker?: AssessmentInvoker;
|
|
789
789
|
reverseOrder?: boolean;
|
|
790
790
|
nextToken?: string;
|
|
791
791
|
maxResults?: number;
|
|
@@ -828,7 +828,7 @@ export declare const ConfigRecommendationOptimizationType: {
|
|
|
828
828
|
export type ConfigRecommendationOptimizationType =
|
|
829
829
|
(typeof ConfigRecommendationOptimizationType)[keyof typeof ConfigRecommendationOptimizationType];
|
|
830
830
|
export interface RecommendationDisruptionCompliance {
|
|
831
|
-
expectedComplianceStatus: ComplianceStatus |
|
|
831
|
+
expectedComplianceStatus: ComplianceStatus | undefined;
|
|
832
832
|
expectedRtoInSecs?: number;
|
|
833
833
|
expectedRtoDescription?: string;
|
|
834
834
|
expectedRpoInSecs?: number;
|
|
@@ -837,13 +837,16 @@ export interface RecommendationDisruptionCompliance {
|
|
|
837
837
|
export interface ConfigRecommendation {
|
|
838
838
|
cost?: Cost;
|
|
839
839
|
appComponentName?: string;
|
|
840
|
-
compliance?: Record<
|
|
841
|
-
recommendationCompliance?: Record<
|
|
842
|
-
|
|
840
|
+
compliance?: Record<DisruptionType, DisruptionCompliance>;
|
|
841
|
+
recommendationCompliance?: Record<
|
|
842
|
+
DisruptionType,
|
|
843
|
+
RecommendationDisruptionCompliance
|
|
844
|
+
>;
|
|
845
|
+
optimizationType: ConfigRecommendationOptimizationType | undefined;
|
|
843
846
|
name: string | undefined;
|
|
844
847
|
description?: string;
|
|
845
848
|
suggestedChanges?: string[];
|
|
846
|
-
haArchitecture?: HaArchitecture
|
|
849
|
+
haArchitecture?: HaArchitecture;
|
|
847
850
|
referenceId: string | undefined;
|
|
848
851
|
}
|
|
849
852
|
export declare const RecommendationComplianceStatus: {
|
|
@@ -855,7 +858,7 @@ export type RecommendationComplianceStatus =
|
|
|
855
858
|
(typeof RecommendationComplianceStatus)[keyof typeof RecommendationComplianceStatus];
|
|
856
859
|
export interface ComponentRecommendation {
|
|
857
860
|
appComponentName: string | undefined;
|
|
858
|
-
recommendationStatus: RecommendationComplianceStatus |
|
|
861
|
+
recommendationStatus: RecommendationComplianceStatus | undefined;
|
|
859
862
|
configRecommendations: ConfigRecommendation[] | undefined;
|
|
860
863
|
}
|
|
861
864
|
export interface ListAppComponentRecommendationsResponse {
|
|
@@ -930,7 +933,7 @@ export interface ListAppVersionsResponse {
|
|
|
930
933
|
export interface ListRecommendationTemplatesRequest {
|
|
931
934
|
assessmentArn: string | undefined;
|
|
932
935
|
reverseOrder?: boolean;
|
|
933
|
-
status?:
|
|
936
|
+
status?: RecommendationTemplateStatus[];
|
|
934
937
|
recommendationTemplateArn?: string;
|
|
935
938
|
name?: string;
|
|
936
939
|
nextToken?: string;
|
|
@@ -960,7 +963,7 @@ export declare const SopServiceType: {
|
|
|
960
963
|
export type SopServiceType =
|
|
961
964
|
(typeof SopServiceType)[keyof typeof SopServiceType];
|
|
962
965
|
export interface SopRecommendation {
|
|
963
|
-
serviceType: SopServiceType |
|
|
966
|
+
serviceType: SopServiceType | undefined;
|
|
964
967
|
appComponentName?: string;
|
|
965
968
|
description?: string;
|
|
966
969
|
recommendationId: string | undefined;
|
|
@@ -1011,8 +1014,8 @@ export interface TestRecommendation {
|
|
|
1011
1014
|
appComponentName?: string;
|
|
1012
1015
|
name?: string;
|
|
1013
1016
|
intent?: string;
|
|
1014
|
-
risk?: TestRisk
|
|
1015
|
-
type?: TestType
|
|
1017
|
+
risk?: TestRisk;
|
|
1018
|
+
type?: TestType;
|
|
1016
1019
|
description?: string;
|
|
1017
1020
|
items?: RecommendationItem[];
|
|
1018
1021
|
prerequisite?: string;
|
|
@@ -1079,7 +1082,7 @@ export interface ResolveAppVersionResourcesResponse {
|
|
|
1079
1082
|
appArn: string | undefined;
|
|
1080
1083
|
appVersion: string | undefined;
|
|
1081
1084
|
resolutionId: string | undefined;
|
|
1082
|
-
status: ResourceResolutionStatusType |
|
|
1085
|
+
status: ResourceResolutionStatusType | undefined;
|
|
1083
1086
|
}
|
|
1084
1087
|
export interface StartAppAssessmentRequest {
|
|
1085
1088
|
appArn: string | undefined;
|
|
@@ -1106,7 +1109,7 @@ export interface UpdateAppRequest {
|
|
|
1106
1109
|
description?: string;
|
|
1107
1110
|
policyArn?: string;
|
|
1108
1111
|
clearResiliencyPolicyArn?: boolean;
|
|
1109
|
-
assessmentSchedule?: AppAssessmentScheduleType
|
|
1112
|
+
assessmentSchedule?: AppAssessmentScheduleType;
|
|
1110
1113
|
permissionModel?: PermissionModel;
|
|
1111
1114
|
eventSubscriptions?: EventSubscription[];
|
|
1112
1115
|
}
|
|
@@ -1155,9 +1158,9 @@ export interface UpdateResiliencyPolicyRequest {
|
|
|
1155
1158
|
policyArn: string | undefined;
|
|
1156
1159
|
policyName?: string;
|
|
1157
1160
|
policyDescription?: string;
|
|
1158
|
-
dataLocationConstraint?: DataLocationConstraint
|
|
1159
|
-
tier?: ResiliencyPolicyTier
|
|
1160
|
-
policy?: Record<
|
|
1161
|
+
dataLocationConstraint?: DataLocationConstraint;
|
|
1162
|
+
tier?: ResiliencyPolicyTier;
|
|
1163
|
+
policy?: Record<DisruptionType, FailurePolicy>;
|
|
1161
1164
|
}
|
|
1162
1165
|
export interface UpdateResiliencyPolicyResponse {
|
|
1163
1166
|
policy: ResiliencyPolicy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|