@aws-sdk/client-resiliencehub 3.622.0 → 3.624.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 +40 -0
- package/dist-cjs/index.js +366 -57
- package/dist-es/Resiliencehub.js +10 -0
- package/dist-es/commands/AcceptResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/DescribeResourceGroupingRecommendationTaskCommand.js +24 -0
- package/dist-es/commands/ListResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/RejectResourceGroupingRecommendationsCommand.js +24 -0
- package/dist-es/commands/StartResourceGroupingRecommendationTaskCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +64 -38
- package/dist-es/pagination/ListResourceGroupingRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +171 -3
- package/dist-types/Resiliencehub.d.ts +36 -0
- package/dist-types/ResiliencehubClient.d.ts +7 -2
- package/dist-types/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +89 -0
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +10 -1
- package/dist-types/commands/CreateAppCommand.d.ts +8 -7
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +3 -1
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +5 -5
- package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +5 -3
- package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +5 -2
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +5 -2
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +12 -0
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +81 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +3 -2
- package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +2 -1
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListResourceGroupingRecommendationsCommand.d.ts +120 -0
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -2
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +3 -3
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +2 -1
- package/dist-types/commands/RejectResourceGroupingRecommendationsCommand.d.ts +90 -0
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +12 -0
- package/dist-types/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +87 -0
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +3 -1
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +5 -3
- package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +600 -111
- package/dist-types/pagination/ListResourceGroupingRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +116 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/RejectResourceGroupingRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +155 -34
- package/dist-types/ts3.4/pagination/ListResourceGroupingRecommendationsPaginator.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 +60 -0
- package/package.json +5 -5
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ResiliencehubServiceException as __BaseException } from "./ResiliencehubServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Indicates the grouping recommendation you have accepted to include in your application.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AcceptGroupingRecommendationEntry {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Indicates the identifier of the grouping recommendation.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
groupingRecommendationId: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface AcceptResourceGroupingRecommendationsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
20
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
21
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
22
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
23
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
appArn: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>Indicates the list of resource grouping recommendations you want to include in your application.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
entries: AcceptGroupingRecommendationEntry[] | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* <p>Indicates the accepted grouping recommendation whose implementation failed.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface FailedGroupingRecommendationEntry {
|
|
38
|
+
/**
|
|
39
|
+
* <p>Indicates the identifier of the grouping recommendation.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
groupingRecommendationId: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Indicates the error that occurred while implementing a grouping recommendation.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
errorMessage: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface AcceptResourceGroupingRecommendationsResponse {
|
|
53
|
+
/**
|
|
54
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
55
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
56
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
57
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
58
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
appArn: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Indicates the list of resource grouping recommendations that could not be included in your application.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
failedEntries: FailedGroupingRecommendationEntry[] | undefined;
|
|
67
|
+
}
|
|
3
68
|
/**
|
|
4
69
|
* <p>You don't have permissions to perform the requested operation. The user or role that is
|
|
5
70
|
* making the request must have at least one IAM permissions policy attached that grants the
|
|
@@ -14,6 +79,70 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
79
|
*/
|
|
15
80
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>This exception occurs when there is an internal failure in the Resilience Hub
|
|
84
|
+
* service.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class InternalServerException extends __BaseException {
|
|
88
|
+
readonly name: "InternalServerException";
|
|
89
|
+
readonly $fault: "server";
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
readonly name: "ResourceNotFoundException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
/**
|
|
103
|
+
* <p>The identifier of the resource that the exception applies to.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
resourceId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* <p>The type of the resource that the exception applies to.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
resourceType?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class ThrottlingException extends __BaseException {
|
|
122
|
+
readonly name: "ThrottlingException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
/**
|
|
125
|
+
* <p>The number of seconds to wait before retrying the operation.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
retryAfterSeconds?: number;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* <p>This exception occurs when a request is not valid.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class ValidationException extends __BaseException {
|
|
139
|
+
readonly name: "ValidationException";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
145
|
+
}
|
|
17
146
|
/**
|
|
18
147
|
* @public
|
|
19
148
|
* @enum
|
|
@@ -329,68 +458,17 @@ export declare class ConflictException extends __BaseException {
|
|
|
329
458
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
330
459
|
}
|
|
331
460
|
/**
|
|
332
|
-
* <p>This exception occurs when
|
|
333
|
-
* service.</p>
|
|
334
|
-
* @public
|
|
335
|
-
*/
|
|
336
|
-
export declare class InternalServerException extends __BaseException {
|
|
337
|
-
readonly name: "InternalServerException";
|
|
338
|
-
readonly $fault: "server";
|
|
339
|
-
/**
|
|
340
|
-
* @internal
|
|
341
|
-
*/
|
|
342
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
346
|
-
* @public
|
|
347
|
-
*/
|
|
348
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
349
|
-
readonly name: "ResourceNotFoundException";
|
|
350
|
-
readonly $fault: "client";
|
|
351
|
-
/**
|
|
352
|
-
* <p>The identifier of the resource that the exception applies to.</p>
|
|
353
|
-
* @public
|
|
354
|
-
*/
|
|
355
|
-
resourceId?: string;
|
|
356
|
-
/**
|
|
357
|
-
* <p>The type of the resource that the exception applies to.</p>
|
|
358
|
-
* @public
|
|
359
|
-
*/
|
|
360
|
-
resourceType?: string;
|
|
361
|
-
/**
|
|
362
|
-
* @internal
|
|
363
|
-
*/
|
|
364
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
368
|
-
* @public
|
|
369
|
-
*/
|
|
370
|
-
export declare class ThrottlingException extends __BaseException {
|
|
371
|
-
readonly name: "ThrottlingException";
|
|
372
|
-
readonly $fault: "client";
|
|
373
|
-
/**
|
|
374
|
-
* <p>The number of seconds to wait before retrying the operation.</p>
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
retryAfterSeconds?: number;
|
|
378
|
-
/**
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* <p>This exception occurs when a request is not valid.</p>
|
|
461
|
+
* <p>This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the
|
|
462
|
+
* relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
385
463
|
* @public
|
|
386
464
|
*/
|
|
387
|
-
export declare class
|
|
388
|
-
readonly name: "
|
|
465
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
466
|
+
readonly name: "ServiceQuotaExceededException";
|
|
389
467
|
readonly $fault: "client";
|
|
390
468
|
/**
|
|
391
469
|
* @internal
|
|
392
470
|
*/
|
|
393
|
-
constructor(opts: __ExceptionOptionType<
|
|
471
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
394
472
|
}
|
|
395
473
|
/**
|
|
396
474
|
* @public
|
|
@@ -547,6 +625,8 @@ export type AppAssessmentScheduleType = (typeof AppAssessmentScheduleType)[keyof
|
|
|
547
625
|
*/
|
|
548
626
|
export declare const AppComplianceStatusType: {
|
|
549
627
|
readonly CHANGES_DETECTED: "ChangesDetected";
|
|
628
|
+
readonly MISSING_POLICY: "MissingPolicy";
|
|
629
|
+
readonly NOT_APPLICABLE: "NotApplicable";
|
|
550
630
|
readonly NOT_ASSESSED: "NotAssessed";
|
|
551
631
|
readonly POLICY_BREACHED: "PolicyBreached";
|
|
552
632
|
readonly POLICY_MET: "PolicyMet";
|
|
@@ -831,6 +911,8 @@ export type DisruptionType = (typeof DisruptionType)[keyof typeof DisruptionType
|
|
|
831
911
|
* @enum
|
|
832
912
|
*/
|
|
833
913
|
export declare const ComplianceStatus: {
|
|
914
|
+
readonly MISSING_POLICY: "MissingPolicy";
|
|
915
|
+
readonly NOT_APPLICABLE: "NotApplicable";
|
|
834
916
|
readonly POLICY_BREACHED: "PolicyBreached";
|
|
835
917
|
readonly POLICY_MET: "PolicyMet";
|
|
836
918
|
};
|
|
@@ -1190,11 +1272,80 @@ export interface ResourceErrorsDetails {
|
|
|
1190
1272
|
*/
|
|
1191
1273
|
resourceErrors?: ResourceError[];
|
|
1192
1274
|
/**
|
|
1193
|
-
* <p> This indicates if there are more errors not listed in the
|
|
1275
|
+
* <p> This indicates if there are more errors not listed in the
|
|
1276
|
+
* <code>resourceErrors</code>
|
|
1277
|
+
* list. </p>
|
|
1194
1278
|
* @public
|
|
1195
1279
|
*/
|
|
1196
1280
|
hasMoreErrors?: boolean;
|
|
1197
1281
|
}
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>Indicates a specific risk identified in the Resilience Hub assessment and the corresponding recommendation provided to address that risk.</p>
|
|
1284
|
+
* <note>
|
|
1285
|
+
* <p>The assessment summary generated by large language models (LLMs) on Amazon Bedrock are only suggestions.
|
|
1286
|
+
* The current level of generative AI technology is not perfect and LLMs are not infallible.
|
|
1287
|
+
* Bias and incorrect answers, although rare, should be expected. Review each recommendation in the assessment summary before you use the output from an LLM.
|
|
1288
|
+
* </p>
|
|
1289
|
+
* </note>
|
|
1290
|
+
* <note>
|
|
1291
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1292
|
+
* </note>
|
|
1293
|
+
* @public
|
|
1294
|
+
*/
|
|
1295
|
+
export interface AssessmentRiskRecommendation {
|
|
1296
|
+
/**
|
|
1297
|
+
* <p>Indicates the description of the potential risk identified in the application as part of the Resilience Hub assessment.</p>
|
|
1298
|
+
* <note>
|
|
1299
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1300
|
+
* </note>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
risk?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>Indicates the recommendation provided by the Resilience Hub to address the identified
|
|
1306
|
+
* risks in the application.</p>
|
|
1307
|
+
* <note>
|
|
1308
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1309
|
+
* </note>
|
|
1310
|
+
* @public
|
|
1311
|
+
*/
|
|
1312
|
+
recommendation?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Indicates the Application Components (AppComponents) that were assessed as part of the
|
|
1315
|
+
* assessnent and are associated with the identified risk and recommendation.</p>
|
|
1316
|
+
* <note>
|
|
1317
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1318
|
+
* </note>
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
appComponents?: string[];
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.</p>
|
|
1325
|
+
* <note>
|
|
1326
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1327
|
+
* </note>
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
export interface AssessmentSummary {
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>Indicates a concise summary that provides an overview of the Resilience Hub assessment.</p>
|
|
1333
|
+
* <note>
|
|
1334
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1335
|
+
* </note>
|
|
1336
|
+
* @public
|
|
1337
|
+
*/
|
|
1338
|
+
summary?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* <p>Indicates the top risks and recommendations identified by the Resilience Hub assessment,
|
|
1341
|
+
* each representing a specific risk and the corresponding recommendation to address it.</p>
|
|
1342
|
+
* <note>
|
|
1343
|
+
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1344
|
+
* </note>
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1347
|
+
riskRecommendations?: AssessmentRiskRecommendation[];
|
|
1348
|
+
}
|
|
1198
1349
|
/**
|
|
1199
1350
|
* <p>Defines an application assessment.</p>
|
|
1200
1351
|
* @public
|
|
@@ -1301,6 +1452,11 @@ export interface AppAssessment {
|
|
|
1301
1452
|
* @public
|
|
1302
1453
|
*/
|
|
1303
1454
|
driftStatus?: DriftStatus;
|
|
1455
|
+
/**
|
|
1456
|
+
* <p>Indicates a concise summary that provides an overview of the Resilience Hub assessment.</p>
|
|
1457
|
+
* @public
|
|
1458
|
+
*/
|
|
1459
|
+
summary?: AssessmentSummary;
|
|
1304
1460
|
}
|
|
1305
1461
|
/**
|
|
1306
1462
|
* <p>Defines an application assessment summary.</p>
|
|
@@ -1361,7 +1517,8 @@ export interface AppAssessmentSummary {
|
|
|
1361
1517
|
*/
|
|
1362
1518
|
assessmentArn: string | undefined;
|
|
1363
1519
|
/**
|
|
1364
|
-
* <p>
|
|
1520
|
+
* <p>Current
|
|
1521
|
+
* status of compliance for the resiliency policy.</p>
|
|
1365
1522
|
* @public
|
|
1366
1523
|
*/
|
|
1367
1524
|
complianceStatus?: ComplianceStatus;
|
|
@@ -1694,7 +1851,8 @@ export interface BatchUpdateRecommendationStatusRequest {
|
|
|
1694
1851
|
*/
|
|
1695
1852
|
appArn: string | undefined;
|
|
1696
1853
|
/**
|
|
1697
|
-
* <p>Defines the list of operational recommendations that need to be included or
|
|
1854
|
+
* <p>Defines the list of operational recommendations that need to be included or
|
|
1855
|
+
* excluded.</p>
|
|
1698
1856
|
* @public
|
|
1699
1857
|
*/
|
|
1700
1858
|
requestEntries: UpdateRecommendationStatusRequestEntry[] | undefined;
|
|
@@ -1771,7 +1929,8 @@ export interface BatchUpdateRecommendationStatusResponse {
|
|
|
1771
1929
|
*/
|
|
1772
1930
|
successfulEntries: BatchUpdateRecommendationStatusSuccessfulEntry[] | undefined;
|
|
1773
1931
|
/**
|
|
1774
|
-
* <p>A list of items with error details about each item, which could not be included or
|
|
1932
|
+
* <p>A list of items with error details about each item, which could not be included or
|
|
1933
|
+
* excluded.</p>
|
|
1775
1934
|
* @public
|
|
1776
1935
|
*/
|
|
1777
1936
|
failedEntries: BatchUpdateRecommendationStatusFailedEntry[] | undefined;
|
|
@@ -1812,9 +1971,7 @@ export interface CreateAppRequest {
|
|
|
1812
1971
|
*/
|
|
1813
1972
|
clientToken?: string;
|
|
1814
1973
|
/**
|
|
1815
|
-
* <p>
|
|
1816
|
-
* Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
1817
|
-
* </p>
|
|
1974
|
+
* <p> Assessment execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
1818
1975
|
* @public
|
|
1819
1976
|
*/
|
|
1820
1977
|
assessmentSchedule?: AppAssessmentScheduleType;
|
|
@@ -1825,7 +1982,9 @@ export interface CreateAppRequest {
|
|
|
1825
1982
|
*/
|
|
1826
1983
|
permissionModel?: PermissionModel;
|
|
1827
1984
|
/**
|
|
1828
|
-
* <p>The list of events you would like to subscribe and get notification for. Currently,
|
|
1985
|
+
* <p>The list of events you would like to subscribe and get notification for. Currently,
|
|
1986
|
+
* Resilience Hub supports only <b>Drift detected</b> and
|
|
1987
|
+
* <b>Scheduled assessment failure</b> events notification.</p>
|
|
1829
1988
|
* @public
|
|
1830
1989
|
*/
|
|
1831
1990
|
eventSubscriptions?: EventSubscription[];
|
|
@@ -1841,19 +2000,6 @@ export interface CreateAppResponse {
|
|
|
1841
2000
|
*/
|
|
1842
2001
|
app: App | undefined;
|
|
1843
2002
|
}
|
|
1844
|
-
/**
|
|
1845
|
-
* <p>This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the
|
|
1846
|
-
* relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
1847
|
-
* @public
|
|
1848
|
-
*/
|
|
1849
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1850
|
-
readonly name: "ServiceQuotaExceededException";
|
|
1851
|
-
readonly $fault: "client";
|
|
1852
|
-
/**
|
|
1853
|
-
* @internal
|
|
1854
|
-
*/
|
|
1855
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1856
|
-
}
|
|
1857
2003
|
/**
|
|
1858
2004
|
* @public
|
|
1859
2005
|
*/
|
|
@@ -2506,7 +2652,7 @@ export interface DeleteAppInputSourceRequest {
|
|
|
2506
2652
|
appArn: string | undefined;
|
|
2507
2653
|
/**
|
|
2508
2654
|
* <p>The Amazon Resource Name (ARN) of the imported resource you want to remove from the
|
|
2509
|
-
*
|
|
2655
|
+
* Resilience Hub application. For more information about ARNs,
|
|
2510
2656
|
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
2511
2657
|
* Amazon Resource Names (ARNs)</a> in the
|
|
2512
2658
|
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
@@ -2514,7 +2660,8 @@ export interface DeleteAppInputSourceRequest {
|
|
|
2514
2660
|
*/
|
|
2515
2661
|
sourceArn?: string;
|
|
2516
2662
|
/**
|
|
2517
|
-
* <p>The imported Terraform s3 state file you want to remove from the Resilience Hub
|
|
2663
|
+
* <p>The imported Terraform s3 state file you want to remove from the Resilience Hub
|
|
2664
|
+
* application.</p>
|
|
2518
2665
|
* @public
|
|
2519
2666
|
*/
|
|
2520
2667
|
terraformSource?: TerraformSource;
|
|
@@ -2525,7 +2672,8 @@ export interface DeleteAppInputSourceRequest {
|
|
|
2525
2672
|
*/
|
|
2526
2673
|
clientToken?: string;
|
|
2527
2674
|
/**
|
|
2528
|
-
* <p>The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the
|
|
2675
|
+
* <p>The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the
|
|
2676
|
+
* Resilience Hub application.</p>
|
|
2529
2677
|
* @public
|
|
2530
2678
|
*/
|
|
2531
2679
|
eksSourceClusterNamespace?: EksSourceClusterNamespace;
|
|
@@ -2776,8 +2924,8 @@ export interface DescribeAppAssessmentRequest {
|
|
|
2776
2924
|
*/
|
|
2777
2925
|
export interface DescribeAppAssessmentResponse {
|
|
2778
2926
|
/**
|
|
2779
|
-
* <p>The assessment for an Resilience Hub application, returned as an object. This
|
|
2780
|
-
* includes Amazon Resource Names (ARNs), compliance information, compliance status, cost,
|
|
2927
|
+
* <p>The assessment for an Resilience Hub application, returned as an object. This
|
|
2928
|
+
* object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost,
|
|
2781
2929
|
* messages, resiliency scores, and more.</p>
|
|
2782
2930
|
* @public
|
|
2783
2931
|
*/
|
|
@@ -3057,7 +3205,7 @@ export interface DescribeAppVersionTemplateResponse {
|
|
|
3057
3205
|
/**
|
|
3058
3206
|
* <p>A JSON string that provides information about your application structure. To learn more
|
|
3059
3207
|
* about the <code>appTemplateBody</code> template, see the sample template provided in the
|
|
3060
|
-
*
|
|
3208
|
+
* <i>Examples</i> section.</p>
|
|
3061
3209
|
* <p>The <code>appTemplateBody</code> JSON string has the following structure:</p>
|
|
3062
3210
|
* <ul>
|
|
3063
3211
|
* <li>
|
|
@@ -3407,6 +3555,59 @@ export interface DescribeResiliencyPolicyResponse {
|
|
|
3407
3555
|
*/
|
|
3408
3556
|
policy: ResiliencyPolicy | undefined;
|
|
3409
3557
|
}
|
|
3558
|
+
/**
|
|
3559
|
+
* @public
|
|
3560
|
+
*/
|
|
3561
|
+
export interface DescribeResourceGroupingRecommendationTaskRequest {
|
|
3562
|
+
/**
|
|
3563
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
3564
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
3565
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
3566
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
3567
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
3568
|
+
* @public
|
|
3569
|
+
*/
|
|
3570
|
+
appArn: string | undefined;
|
|
3571
|
+
/**
|
|
3572
|
+
* <p>Indicates the identifier of the grouping recommendation task.</p>
|
|
3573
|
+
* @public
|
|
3574
|
+
*/
|
|
3575
|
+
groupingId?: string;
|
|
3576
|
+
}
|
|
3577
|
+
/**
|
|
3578
|
+
* @public
|
|
3579
|
+
* @enum
|
|
3580
|
+
*/
|
|
3581
|
+
export declare const ResourcesGroupingRecGenStatusType: {
|
|
3582
|
+
readonly FAILED: "Failed";
|
|
3583
|
+
readonly IN_PROGRESS: "InProgress";
|
|
3584
|
+
readonly PENDING: "Pending";
|
|
3585
|
+
readonly SUCCESS: "Success";
|
|
3586
|
+
};
|
|
3587
|
+
/**
|
|
3588
|
+
* @public
|
|
3589
|
+
*/
|
|
3590
|
+
export type ResourcesGroupingRecGenStatusType = (typeof ResourcesGroupingRecGenStatusType)[keyof typeof ResourcesGroupingRecGenStatusType];
|
|
3591
|
+
/**
|
|
3592
|
+
* @public
|
|
3593
|
+
*/
|
|
3594
|
+
export interface DescribeResourceGroupingRecommendationTaskResponse {
|
|
3595
|
+
/**
|
|
3596
|
+
* <p>Indicates the identifier of the grouping recommendation task.</p>
|
|
3597
|
+
* @public
|
|
3598
|
+
*/
|
|
3599
|
+
groupingId: string | undefined;
|
|
3600
|
+
/**
|
|
3601
|
+
* <p>Status of the action.</p>
|
|
3602
|
+
* @public
|
|
3603
|
+
*/
|
|
3604
|
+
status: ResourcesGroupingRecGenStatusType | undefined;
|
|
3605
|
+
/**
|
|
3606
|
+
* <p>Indicates the error that occurred while generating a grouping recommendation.</p>
|
|
3607
|
+
* @public
|
|
3608
|
+
*/
|
|
3609
|
+
errorMessage?: string;
|
|
3610
|
+
}
|
|
3410
3611
|
/**
|
|
3411
3612
|
* <p>The input source of the Amazon Elastic Kubernetes Service cluster.</p>
|
|
3412
3613
|
* @public
|
|
@@ -3503,9 +3704,7 @@ export interface ImportResourcesToDraftAppVersionResponse {
|
|
|
3503
3704
|
*/
|
|
3504
3705
|
status: ResourceImportStatusType | undefined;
|
|
3505
3706
|
/**
|
|
3506
|
-
* <p>
|
|
3507
|
-
* A list of terraform file s3 URLs you have imported.
|
|
3508
|
-
* </p>
|
|
3707
|
+
* <p> A list of terraform file s3 URLs you have imported. </p>
|
|
3509
3708
|
* @public
|
|
3510
3709
|
*/
|
|
3511
3710
|
terraformSources?: TerraformSource[];
|
|
@@ -3545,8 +3744,8 @@ export interface ListAlarmRecommendationsRequest {
|
|
|
3545
3744
|
*/
|
|
3546
3745
|
export interface ListAlarmRecommendationsResponse {
|
|
3547
3746
|
/**
|
|
3548
|
-
* <p>The alarm recommendations for an Resilience Hub application, returned as an
|
|
3549
|
-
* object includes Application Component names, descriptions, information about whether a
|
|
3747
|
+
* <p>The alarm recommendations for an Resilience Hub application, returned as an
|
|
3748
|
+
* object. This object includes Application Component names, descriptions, information about whether a
|
|
3550
3749
|
* recommendation has already been implemented or not, prerequisites, and more.</p>
|
|
3551
3750
|
* @public
|
|
3552
3751
|
*/
|
|
@@ -3571,12 +3770,12 @@ export interface ListAppAssessmentComplianceDriftsRequest {
|
|
|
3571
3770
|
*/
|
|
3572
3771
|
assessmentArn: string | undefined;
|
|
3573
3772
|
/**
|
|
3574
|
-
* <p>
|
|
3773
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
3575
3774
|
* @public
|
|
3576
3775
|
*/
|
|
3577
3776
|
nextToken?: string;
|
|
3578
3777
|
/**
|
|
3579
|
-
* <p>Indicates the maximum number of
|
|
3778
|
+
* <p>Indicates the maximum number of compliance drifts requested.</p>
|
|
3580
3779
|
* @public
|
|
3581
3780
|
*/
|
|
3582
3781
|
maxResults?: number;
|
|
@@ -3662,7 +3861,8 @@ export interface ComplianceDrift {
|
|
|
3662
3861
|
actualValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
3663
3862
|
/**
|
|
3664
3863
|
* <p>Difference type between actual and expected recovery point objective (RPO) and recovery
|
|
3665
|
-
* time objective (RTO) values. Currently, Resilience Hub supports only
|
|
3864
|
+
* time objective (RTO) values. Currently, Resilience Hub supports only
|
|
3865
|
+
* <code>NotEqual</code> difference type.</p>
|
|
3666
3866
|
* @public
|
|
3667
3867
|
*/
|
|
3668
3868
|
diffType?: DifferenceType;
|
|
@@ -3672,12 +3872,13 @@ export interface ComplianceDrift {
|
|
|
3672
3872
|
*/
|
|
3673
3873
|
export interface ListAppAssessmentComplianceDriftsResponse {
|
|
3674
3874
|
/**
|
|
3675
|
-
* <p>Indicates compliance drifts (recovery time objective (RTO) and recovery point objective
|
|
3875
|
+
* <p>Indicates compliance drifts (recovery time objective (RTO) and recovery point objective
|
|
3876
|
+
* (RPO)) detected for an assessed entity.</p>
|
|
3676
3877
|
* @public
|
|
3677
3878
|
*/
|
|
3678
3879
|
complianceDrifts: ComplianceDrift[] | undefined;
|
|
3679
3880
|
/**
|
|
3680
|
-
* <p>
|
|
3881
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
3681
3882
|
* @public
|
|
3682
3883
|
*/
|
|
3683
3884
|
nextToken?: string;
|
|
@@ -3701,7 +3902,9 @@ export interface ListAppAssessmentResourceDriftsRequest {
|
|
|
3701
3902
|
*/
|
|
3702
3903
|
nextToken?: string;
|
|
3703
3904
|
/**
|
|
3704
|
-
* <p>Indicates the maximum number of drift results to include in the response. If more results
|
|
3905
|
+
* <p>Indicates the maximum number of drift results to include in the response. If more results
|
|
3906
|
+
* exist than the specified <code>MaxResults</code> value, a token is included in the response so
|
|
3907
|
+
* that the remaining results can be retrieved.</p>
|
|
3705
3908
|
* @public
|
|
3706
3909
|
*/
|
|
3707
3910
|
maxResults?: number;
|
|
@@ -3872,8 +4075,8 @@ export interface ListAppComponentCompliancesRequest {
|
|
|
3872
4075
|
export interface ListAppComponentCompliancesResponse {
|
|
3873
4076
|
/**
|
|
3874
4077
|
* <p>The compliances for an Resilience Hub Application Component, returned as an object. This
|
|
3875
|
-
* object contains the names of the Application Components, compliances, costs, resiliency scores,
|
|
3876
|
-
* more.</p>
|
|
4078
|
+
* object contains the names of the Application Components, compliances, costs, resiliency scores,
|
|
4079
|
+
* outage scores, and more.</p>
|
|
3877
4080
|
* @public
|
|
3878
4081
|
*/
|
|
3879
4082
|
componentCompliances: AppComponentCompliance[] | undefined;
|
|
@@ -4038,6 +4241,7 @@ export declare const RecommendationComplianceStatus: {
|
|
|
4038
4241
|
readonly BREACHED_CAN_MEET: "BreachedCanMeet";
|
|
4039
4242
|
readonly BREACHED_UNATTAINABLE: "BreachedUnattainable";
|
|
4040
4243
|
readonly MET_CAN_IMPROVE: "MetCanImprove";
|
|
4244
|
+
readonly MISSING_POLICY: "MissingPolicy";
|
|
4041
4245
|
};
|
|
4042
4246
|
/**
|
|
4043
4247
|
* @public
|
|
@@ -4071,9 +4275,9 @@ export interface ComponentRecommendation {
|
|
|
4071
4275
|
*/
|
|
4072
4276
|
export interface ListAppComponentRecommendationsResponse {
|
|
4073
4277
|
/**
|
|
4074
|
-
* <p>The recommendations for an Resilience Hub Application Component, returned as an object.
|
|
4075
|
-
* object contains the names of the Application Components, configuration recommendations, and
|
|
4076
|
-
* statuses.</p>
|
|
4278
|
+
* <p>The recommendations for an Resilience Hub Application Component, returned as an object.
|
|
4279
|
+
* This object contains the names of the Application Components, configuration recommendations, and
|
|
4280
|
+
* recommendation statuses.</p>
|
|
4077
4281
|
* @public
|
|
4078
4282
|
*/
|
|
4079
4283
|
componentRecommendations: ComponentRecommendation[] | undefined;
|
|
@@ -4107,7 +4311,8 @@ export interface ListAppInputSourcesRequest {
|
|
|
4107
4311
|
*/
|
|
4108
4312
|
nextToken?: string;
|
|
4109
4313
|
/**
|
|
4110
|
-
* <p>Maximum number of input sources to be displayed per Resilience Hub
|
|
4314
|
+
* <p>Maximum number of input sources to be displayed per Resilience Hub
|
|
4315
|
+
* application.</p>
|
|
4111
4316
|
* @public
|
|
4112
4317
|
*/
|
|
4113
4318
|
maxResults?: number;
|
|
@@ -4157,17 +4362,22 @@ export interface ListAppsRequest {
|
|
|
4157
4362
|
*/
|
|
4158
4363
|
appArn?: string;
|
|
4159
4364
|
/**
|
|
4160
|
-
* <p>Indicates the lower limit of the range that is used to filter applications based on their
|
|
4365
|
+
* <p>Indicates the lower limit of the range that is used to filter applications based on their
|
|
4366
|
+
* last assessment times.</p>
|
|
4161
4367
|
* @public
|
|
4162
4368
|
*/
|
|
4163
4369
|
fromLastAssessmentTime?: Date;
|
|
4164
4370
|
/**
|
|
4165
|
-
* <p>Indicates the upper limit of the range that is used to filter the applications based on
|
|
4371
|
+
* <p>Indicates the upper limit of the range that is used to filter the applications based on
|
|
4372
|
+
* their last assessment times.</p>
|
|
4166
4373
|
* @public
|
|
4167
4374
|
*/
|
|
4168
4375
|
toLastAssessmentTime?: Date;
|
|
4169
4376
|
/**
|
|
4170
|
-
* <p>The application list is sorted based on the values of
|
|
4377
|
+
* <p>The application list is sorted based on the values of
|
|
4378
|
+
* <code>lastAppComplianceEvaluationTime</code> field. By default, application list is sorted
|
|
4379
|
+
* in ascending order. To sort the application list in descending order, set this field to
|
|
4380
|
+
* <code>True</code>.</p>
|
|
4171
4381
|
* @public
|
|
4172
4382
|
*/
|
|
4173
4383
|
reverseOrder?: boolean;
|
|
@@ -4496,6 +4706,187 @@ export interface ListResiliencyPoliciesResponse {
|
|
|
4496
4706
|
*/
|
|
4497
4707
|
nextToken?: string;
|
|
4498
4708
|
}
|
|
4709
|
+
/**
|
|
4710
|
+
* @public
|
|
4711
|
+
*/
|
|
4712
|
+
export interface ListResourceGroupingRecommendationsRequest {
|
|
4713
|
+
/**
|
|
4714
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
4715
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
4716
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
4717
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
4718
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
4719
|
+
* @public
|
|
4720
|
+
*/
|
|
4721
|
+
appArn?: string;
|
|
4722
|
+
/**
|
|
4723
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
4724
|
+
* @public
|
|
4725
|
+
*/
|
|
4726
|
+
nextToken?: string;
|
|
4727
|
+
/**
|
|
4728
|
+
* <p>Maximum number of grouping recommendations to be displayed per Resilience Hub application.</p>
|
|
4729
|
+
* @public
|
|
4730
|
+
*/
|
|
4731
|
+
maxResults?: number;
|
|
4732
|
+
}
|
|
4733
|
+
/**
|
|
4734
|
+
* @public
|
|
4735
|
+
* @enum
|
|
4736
|
+
*/
|
|
4737
|
+
export declare const GroupingRecommendationConfidenceLevel: {
|
|
4738
|
+
readonly HIGH: "High";
|
|
4739
|
+
readonly MEDIUM: "Medium";
|
|
4740
|
+
};
|
|
4741
|
+
/**
|
|
4742
|
+
* @public
|
|
4743
|
+
*/
|
|
4744
|
+
export type GroupingRecommendationConfidenceLevel = (typeof GroupingRecommendationConfidenceLevel)[keyof typeof GroupingRecommendationConfidenceLevel];
|
|
4745
|
+
/**
|
|
4746
|
+
* <p>Creates a new recommended Application Component (AppComponent).</p>
|
|
4747
|
+
* @public
|
|
4748
|
+
*/
|
|
4749
|
+
export interface GroupingAppComponent {
|
|
4750
|
+
/**
|
|
4751
|
+
* <p>Indicates the identifier of an AppComponent.</p>
|
|
4752
|
+
* @public
|
|
4753
|
+
*/
|
|
4754
|
+
appComponentId: string | undefined;
|
|
4755
|
+
/**
|
|
4756
|
+
* <p>Indicates the type of an AppComponent.</p>
|
|
4757
|
+
* @public
|
|
4758
|
+
*/
|
|
4759
|
+
appComponentType: string | undefined;
|
|
4760
|
+
/**
|
|
4761
|
+
* <p>Indicates the name of an AppComponent.</p>
|
|
4762
|
+
* @public
|
|
4763
|
+
*/
|
|
4764
|
+
appComponentName: string | undefined;
|
|
4765
|
+
}
|
|
4766
|
+
/**
|
|
4767
|
+
* @public
|
|
4768
|
+
* @enum
|
|
4769
|
+
*/
|
|
4770
|
+
export declare const GroupingRecommendationRejectionReason: {
|
|
4771
|
+
readonly DISTINCT_BUSINESS_PURPOSE: "DistinctBusinessPurpose";
|
|
4772
|
+
readonly DISTINCT_USER_GROUP_HANDLING: "DistinctUserGroupHandling";
|
|
4773
|
+
readonly OTHER: "Other";
|
|
4774
|
+
readonly SEPARATE_DATA_CONCERN: "SeparateDataConcern";
|
|
4775
|
+
};
|
|
4776
|
+
/**
|
|
4777
|
+
* @public
|
|
4778
|
+
*/
|
|
4779
|
+
export type GroupingRecommendationRejectionReason = (typeof GroupingRecommendationRejectionReason)[keyof typeof GroupingRecommendationRejectionReason];
|
|
4780
|
+
/**
|
|
4781
|
+
* <p>Indicates the resource that will be grouped in the recommended Application Component (AppComponent).</p>
|
|
4782
|
+
* @public
|
|
4783
|
+
*/
|
|
4784
|
+
export interface GroupingResource {
|
|
4785
|
+
/**
|
|
4786
|
+
* <p>Indicates the resource name.</p>
|
|
4787
|
+
* @public
|
|
4788
|
+
*/
|
|
4789
|
+
resourceName: string | undefined;
|
|
4790
|
+
/**
|
|
4791
|
+
* <p>Indicates the resource type.</p>
|
|
4792
|
+
* @public
|
|
4793
|
+
*/
|
|
4794
|
+
resourceType: string | undefined;
|
|
4795
|
+
/**
|
|
4796
|
+
* <p>Indicates the physical identifier of the resource.</p>
|
|
4797
|
+
* @public
|
|
4798
|
+
*/
|
|
4799
|
+
physicalResourceId: PhysicalResourceId | undefined;
|
|
4800
|
+
/**
|
|
4801
|
+
* <p>Indicates the logical identifier of the resource.</p>
|
|
4802
|
+
* @public
|
|
4803
|
+
*/
|
|
4804
|
+
logicalResourceId: LogicalResourceId | undefined;
|
|
4805
|
+
/**
|
|
4806
|
+
* <p>Indicates the identifier of the source AppComponents in which the resources were previously grouped into.</p>
|
|
4807
|
+
* @public
|
|
4808
|
+
*/
|
|
4809
|
+
sourceAppComponentIds: string[] | undefined;
|
|
4810
|
+
}
|
|
4811
|
+
/**
|
|
4812
|
+
* @public
|
|
4813
|
+
* @enum
|
|
4814
|
+
*/
|
|
4815
|
+
export declare const GroupingRecommendationStatusType: {
|
|
4816
|
+
readonly ACCEPTED: "Accepted";
|
|
4817
|
+
readonly PENDING_DECISION: "PendingDecision";
|
|
4818
|
+
readonly REJECTED: "Rejected";
|
|
4819
|
+
};
|
|
4820
|
+
/**
|
|
4821
|
+
* @public
|
|
4822
|
+
*/
|
|
4823
|
+
export type GroupingRecommendationStatusType = (typeof GroupingRecommendationStatusType)[keyof typeof GroupingRecommendationStatusType];
|
|
4824
|
+
/**
|
|
4825
|
+
* <p>Creates a new grouping recommendation.</p>
|
|
4826
|
+
* @public
|
|
4827
|
+
*/
|
|
4828
|
+
export interface GroupingRecommendation {
|
|
4829
|
+
/**
|
|
4830
|
+
* <p>Indicates all the reasons available for rejecting a grouping recommendation.</p>
|
|
4831
|
+
* @public
|
|
4832
|
+
*/
|
|
4833
|
+
groupingRecommendationId: string | undefined;
|
|
4834
|
+
/**
|
|
4835
|
+
* <p>Indicates the name of the recommended Application Component (AppComponent).</p>
|
|
4836
|
+
* @public
|
|
4837
|
+
*/
|
|
4838
|
+
groupingAppComponent: GroupingAppComponent | undefined;
|
|
4839
|
+
/**
|
|
4840
|
+
* <p>Indicates the resources that are grouped in a recommended AppComponent.</p>
|
|
4841
|
+
* @public
|
|
4842
|
+
*/
|
|
4843
|
+
resources: GroupingResource[] | undefined;
|
|
4844
|
+
/**
|
|
4845
|
+
* <p>Indicates the confidence level of the grouping recommendation.</p>
|
|
4846
|
+
* @public
|
|
4847
|
+
*/
|
|
4848
|
+
score: number | undefined;
|
|
4849
|
+
/**
|
|
4850
|
+
* <p>Indicates all the reasons available for rejecting a grouping recommendation.</p>
|
|
4851
|
+
* @public
|
|
4852
|
+
*/
|
|
4853
|
+
recommendationReasons: string[] | undefined;
|
|
4854
|
+
/**
|
|
4855
|
+
* <p>Indicates the status of grouping resources into AppComponents.</p>
|
|
4856
|
+
* @public
|
|
4857
|
+
*/
|
|
4858
|
+
status: GroupingRecommendationStatusType | undefined;
|
|
4859
|
+
/**
|
|
4860
|
+
* <p>Indicates the confidence level of Resilience Hub on the grouping recommendation.</p>
|
|
4861
|
+
* @public
|
|
4862
|
+
*/
|
|
4863
|
+
confidenceLevel: GroupingRecommendationConfidenceLevel | undefined;
|
|
4864
|
+
/**
|
|
4865
|
+
* <p>Indicates the creation time of the grouping recommendation.</p>
|
|
4866
|
+
* @public
|
|
4867
|
+
*/
|
|
4868
|
+
creationTime: Date | undefined;
|
|
4869
|
+
/**
|
|
4870
|
+
* <p>Indicates the reason you had selected while rejecting a grouping recommendation.</p>
|
|
4871
|
+
* @public
|
|
4872
|
+
*/
|
|
4873
|
+
rejectionReason?: GroupingRecommendationRejectionReason;
|
|
4874
|
+
}
|
|
4875
|
+
/**
|
|
4876
|
+
* @public
|
|
4877
|
+
*/
|
|
4878
|
+
export interface ListResourceGroupingRecommendationsResponse {
|
|
4879
|
+
/**
|
|
4880
|
+
* <p>List of resource grouping recommendations generated by Resilience Hub.</p>
|
|
4881
|
+
* @public
|
|
4882
|
+
*/
|
|
4883
|
+
groupingRecommendations: GroupingRecommendation[] | undefined;
|
|
4884
|
+
/**
|
|
4885
|
+
* <p>Null, or the token from a previous call to get the next set of results.</p>
|
|
4886
|
+
* @public
|
|
4887
|
+
*/
|
|
4888
|
+
nextToken?: string;
|
|
4889
|
+
}
|
|
4499
4890
|
/**
|
|
4500
4891
|
* @public
|
|
4501
4892
|
*/
|
|
@@ -5212,6 +5603,60 @@ export interface PutDraftAppVersionTemplateResponse {
|
|
|
5212
5603
|
*/
|
|
5213
5604
|
appVersion?: string;
|
|
5214
5605
|
}
|
|
5606
|
+
/**
|
|
5607
|
+
* <p>Indicates the rejected grouping recommendation.</p>
|
|
5608
|
+
* @public
|
|
5609
|
+
*/
|
|
5610
|
+
export interface RejectGroupingRecommendationEntry {
|
|
5611
|
+
/**
|
|
5612
|
+
* <p>Indicates the identifier of the grouping recommendation.</p>
|
|
5613
|
+
* @public
|
|
5614
|
+
*/
|
|
5615
|
+
groupingRecommendationId: string | undefined;
|
|
5616
|
+
/**
|
|
5617
|
+
* <p>Indicates the reason you had selected while rejecting a grouping recommendation.</p>
|
|
5618
|
+
* @public
|
|
5619
|
+
*/
|
|
5620
|
+
rejectionReason?: GroupingRecommendationRejectionReason;
|
|
5621
|
+
}
|
|
5622
|
+
/**
|
|
5623
|
+
* @public
|
|
5624
|
+
*/
|
|
5625
|
+
export interface RejectResourceGroupingRecommendationsRequest {
|
|
5626
|
+
/**
|
|
5627
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
5628
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
5629
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
5630
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
5631
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
5632
|
+
* @public
|
|
5633
|
+
*/
|
|
5634
|
+
appArn: string | undefined;
|
|
5635
|
+
/**
|
|
5636
|
+
* <p>Indicates the list of resource grouping recommendations you have selected to exclude from your application.</p>
|
|
5637
|
+
* @public
|
|
5638
|
+
*/
|
|
5639
|
+
entries: RejectGroupingRecommendationEntry[] | undefined;
|
|
5640
|
+
}
|
|
5641
|
+
/**
|
|
5642
|
+
* @public
|
|
5643
|
+
*/
|
|
5644
|
+
export interface RejectResourceGroupingRecommendationsResponse {
|
|
5645
|
+
/**
|
|
5646
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
5647
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
5648
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
5649
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
5650
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
5651
|
+
* @public
|
|
5652
|
+
*/
|
|
5653
|
+
appArn: string | undefined;
|
|
5654
|
+
/**
|
|
5655
|
+
* <p>Indicates the list of resource grouping recommendations that failed to get excluded in your application.</p>
|
|
5656
|
+
* @public
|
|
5657
|
+
*/
|
|
5658
|
+
failedEntries: FailedGroupingRecommendationEntry[] | undefined;
|
|
5659
|
+
}
|
|
5215
5660
|
/**
|
|
5216
5661
|
* @public
|
|
5217
5662
|
*/
|
|
@@ -5236,7 +5681,8 @@ export interface RemoveDraftAppVersionResourceMappingsRequest {
|
|
|
5236
5681
|
*/
|
|
5237
5682
|
logicalStackNames?: string[];
|
|
5238
5683
|
/**
|
|
5239
|
-
* <p>The names of the registered applications you want to remove from the resource
|
|
5684
|
+
* <p>The names of the registered applications you want to remove from the resource
|
|
5685
|
+
* mappings.</p>
|
|
5240
5686
|
* @public
|
|
5241
5687
|
*/
|
|
5242
5688
|
appRegistryAppNames?: string[];
|
|
@@ -5251,7 +5697,8 @@ export interface RemoveDraftAppVersionResourceMappingsRequest {
|
|
|
5251
5697
|
*/
|
|
5252
5698
|
terraformSourceNames?: string[];
|
|
5253
5699
|
/**
|
|
5254
|
-
* <p>The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from
|
|
5700
|
+
* <p>The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from
|
|
5701
|
+
* the resource mappings.</p>
|
|
5255
5702
|
* <note>
|
|
5256
5703
|
* <p>This parameter accepts values in "eks-cluster/namespace" format.</p>
|
|
5257
5704
|
* </note>
|
|
@@ -5372,6 +5819,49 @@ export interface StartAppAssessmentResponse {
|
|
|
5372
5819
|
*/
|
|
5373
5820
|
assessment: AppAssessment | undefined;
|
|
5374
5821
|
}
|
|
5822
|
+
/**
|
|
5823
|
+
* @public
|
|
5824
|
+
*/
|
|
5825
|
+
export interface StartResourceGroupingRecommendationTaskRequest {
|
|
5826
|
+
/**
|
|
5827
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
5828
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
5829
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
5830
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
5831
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
5832
|
+
* @public
|
|
5833
|
+
*/
|
|
5834
|
+
appArn: string | undefined;
|
|
5835
|
+
}
|
|
5836
|
+
/**
|
|
5837
|
+
* @public
|
|
5838
|
+
*/
|
|
5839
|
+
export interface StartResourceGroupingRecommendationTaskResponse {
|
|
5840
|
+
/**
|
|
5841
|
+
* <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is:
|
|
5842
|
+
* arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs,
|
|
5843
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">
|
|
5844
|
+
* Amazon Resource Names (ARNs)</a> in the
|
|
5845
|
+
* <i>Amazon Web Services General Reference</i> guide.</p>
|
|
5846
|
+
* @public
|
|
5847
|
+
*/
|
|
5848
|
+
appArn: string | undefined;
|
|
5849
|
+
/**
|
|
5850
|
+
* <p>Indicates the identifier of the grouping recommendation task.</p>
|
|
5851
|
+
* @public
|
|
5852
|
+
*/
|
|
5853
|
+
groupingId: string | undefined;
|
|
5854
|
+
/**
|
|
5855
|
+
* <p>Status of the action.</p>
|
|
5856
|
+
* @public
|
|
5857
|
+
*/
|
|
5858
|
+
status: ResourcesGroupingRecGenStatusType | undefined;
|
|
5859
|
+
/**
|
|
5860
|
+
* <p>Indicates the error that occurred while executing a grouping recommendation task.</p>
|
|
5861
|
+
* @public
|
|
5862
|
+
*/
|
|
5863
|
+
errorMessage?: string;
|
|
5864
|
+
}
|
|
5375
5865
|
/**
|
|
5376
5866
|
* @public
|
|
5377
5867
|
*/
|
|
@@ -5445,9 +5935,7 @@ export interface UpdateAppRequest {
|
|
|
5445
5935
|
*/
|
|
5446
5936
|
clearResiliencyPolicyArn?: boolean;
|
|
5447
5937
|
/**
|
|
5448
|
-
* <p>
|
|
5449
|
-
* Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
5450
|
-
* </p>
|
|
5938
|
+
* <p> Assessment execution schedule with 'Daily' or 'Disabled' values. </p>
|
|
5451
5939
|
* @public
|
|
5452
5940
|
*/
|
|
5453
5941
|
assessmentSchedule?: AppAssessmentScheduleType;
|
|
@@ -5459,8 +5947,8 @@ export interface UpdateAppRequest {
|
|
|
5459
5947
|
*/
|
|
5460
5948
|
permissionModel?: PermissionModel;
|
|
5461
5949
|
/**
|
|
5462
|
-
* <p>The list of events you would like to subscribe and get notification for.
|
|
5463
|
-
*
|
|
5950
|
+
* <p>The list of events you would like to subscribe and get notification for. Currently,
|
|
5951
|
+
* Resilience Hub supports notifications only for <b>Drift
|
|
5464
5952
|
* detected</b> and <b>Scheduled assessment failure</b>
|
|
5465
5953
|
* events.</p>
|
|
5466
5954
|
* @public
|
|
@@ -5645,7 +6133,8 @@ export interface UpdateAppVersionResourceRequest {
|
|
|
5645
6133
|
/**
|
|
5646
6134
|
* <p>Indicates if a resource is excluded from an Resilience Hub application.</p>
|
|
5647
6135
|
* <note>
|
|
5648
|
-
* <p>You can exclude only imported resources from an Resilience Hub
|
|
6136
|
+
* <p>You can exclude only imported resources from an Resilience Hub
|
|
6137
|
+
* application.</p>
|
|
5649
6138
|
* </note>
|
|
5650
6139
|
* @public
|
|
5651
6140
|
*/
|