cdk-lambda-subminute 2.0.459 → 2.0.461
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +7 -1
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +422 -142
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/route53-2013-04-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/waf-regional-2016-11-28.min.json +7 -1
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +305 -14
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk.js +24 -6
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +24 -24
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
@@ -71,6 +71,12 @@
|
|
71
71
|
"output_token": "nextToken",
|
72
72
|
"limit_key": "maxResults"
|
73
73
|
},
|
74
|
+
"ListResourceGroupingRecommendations": {
|
75
|
+
"input_token": "nextToken",
|
76
|
+
"output_token": "nextToken",
|
77
|
+
"limit_key": "maxResults",
|
78
|
+
"result_key": "groupingRecommendations"
|
79
|
+
},
|
74
80
|
"ListSopRecommendations": {
|
75
81
|
"input_token": "nextToken",
|
76
82
|
"output_token": "nextToken",
|
@@ -5,11 +5,17 @@
|
|
5
5
|
"endpointPrefix": "route53",
|
6
6
|
"globalEndpoint": "route53.amazonaws.com",
|
7
7
|
"protocol": "rest-xml",
|
8
|
+
"protocols": [
|
9
|
+
"rest-xml"
|
10
|
+
],
|
8
11
|
"serviceAbbreviation": "Route 53",
|
9
12
|
"serviceFullName": "Amazon Route 53",
|
10
13
|
"serviceId": "Route 53",
|
11
14
|
"signatureVersion": "v4",
|
12
|
-
"uid": "route53-2013-04-01"
|
15
|
+
"uid": "route53-2013-04-01",
|
16
|
+
"auth": [
|
17
|
+
"aws.auth#sigv4"
|
18
|
+
]
|
13
19
|
},
|
14
20
|
"operations": {
|
15
21
|
"ActivateKeySigningKey": {
|
@@ -5,12 +5,18 @@
|
|
5
5
|
"endpointPrefix": "waf-regional",
|
6
6
|
"jsonVersion": "1.1",
|
7
7
|
"protocol": "json",
|
8
|
+
"protocols": [
|
9
|
+
"json"
|
10
|
+
],
|
8
11
|
"serviceAbbreviation": "WAF Regional",
|
9
12
|
"serviceFullName": "AWS WAF Regional",
|
10
13
|
"serviceId": "WAF Regional",
|
11
14
|
"signatureVersion": "v4",
|
12
15
|
"targetPrefix": "AWSWAF_Regional_20161128",
|
13
|
-
"uid": "waf-regional-2016-11-28"
|
16
|
+
"uid": "waf-regional-2016-11-28",
|
17
|
+
"auth": [
|
18
|
+
"aws.auth#sigv4"
|
19
|
+
]
|
14
20
|
},
|
15
21
|
"operations": {
|
16
22
|
"AssociateWebACL": {
|
@@ -12,11 +12,19 @@ declare class Resiliencehub extends Service {
|
|
12
12
|
constructor(options?: Resiliencehub.Types.ClientConfiguration)
|
13
13
|
config: Config & Resiliencehub.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
*
|
15
|
+
* Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
|
16
|
+
*/
|
17
|
+
acceptResourceGroupingRecommendations(params: Resiliencehub.Types.AcceptResourceGroupingRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.AcceptResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.AcceptResourceGroupingRecommendationsResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
|
20
|
+
*/
|
21
|
+
acceptResourceGroupingRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.AcceptResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.AcceptResourceGroupingRecommendationsResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources supported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
|
16
24
|
*/
|
17
25
|
addDraftAppVersionResourceMappings(params: Resiliencehub.Types.AddDraftAppVersionResourceMappingsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse) => void): Request<Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse, AWSError>;
|
18
26
|
/**
|
19
|
-
* Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources
|
27
|
+
* Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources supported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
|
20
28
|
*/
|
21
29
|
addDraftAppVersionResourceMappings(callback?: (err: AWSError, data: Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse) => void): Request<Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse, AWSError>;
|
22
30
|
/**
|
@@ -156,11 +164,11 @@ declare class Resiliencehub extends Service {
|
|
156
164
|
*/
|
157
165
|
describeAppVersionAppComponent(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionAppComponentResponse) => void): Request<Resiliencehub.Types.DescribeAppVersionAppComponentResponse, AWSError>;
|
158
166
|
/**
|
159
|
-
* Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to
|
167
|
+
* Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to describe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion)
|
160
168
|
*/
|
161
169
|
describeAppVersionResource(params: Resiliencehub.Types.DescribeAppVersionResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResourceResponse) => void): Request<Resiliencehub.Types.DescribeAppVersionResourceResponse, AWSError>;
|
162
170
|
/**
|
163
|
-
* Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to
|
171
|
+
* Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to describe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion)
|
164
172
|
*/
|
165
173
|
describeAppVersionResource(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResourceResponse) => void): Request<Resiliencehub.Types.DescribeAppVersionResourceResponse, AWSError>;
|
166
174
|
/**
|
@@ -195,6 +203,14 @@ declare class Resiliencehub extends Service {
|
|
195
203
|
* Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
|
196
204
|
*/
|
197
205
|
describeResiliencyPolicy(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeResiliencyPolicyResponse) => void): Request<Resiliencehub.Types.DescribeResiliencyPolicyResponse, AWSError>;
|
206
|
+
/**
|
207
|
+
* Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
|
208
|
+
*/
|
209
|
+
describeResourceGroupingRecommendationTask(params: Resiliencehub.Types.DescribeResourceGroupingRecommendationTaskRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeResourceGroupingRecommendationTaskResponse) => void): Request<Resiliencehub.Types.DescribeResourceGroupingRecommendationTaskResponse, AWSError>;
|
210
|
+
/**
|
211
|
+
* Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
|
212
|
+
*/
|
213
|
+
describeResourceGroupingRecommendationTask(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeResourceGroupingRecommendationTaskResponse) => void): Request<Resiliencehub.Types.DescribeResourceGroupingRecommendationTaskResponse, AWSError>;
|
198
214
|
/**
|
199
215
|
* Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
|
200
216
|
*/
|
@@ -315,6 +331,14 @@ declare class Resiliencehub extends Service {
|
|
315
331
|
* Lists the resiliency policies for the Resilience Hub applications.
|
316
332
|
*/
|
317
333
|
listResiliencyPolicies(callback?: (err: AWSError, data: Resiliencehub.Types.ListResiliencyPoliciesResponse) => void): Request<Resiliencehub.Types.ListResiliencyPoliciesResponse, AWSError>;
|
334
|
+
/**
|
335
|
+
* Lists the resource grouping recommendations suggested by Resilience Hub for your application.
|
336
|
+
*/
|
337
|
+
listResourceGroupingRecommendations(params: Resiliencehub.Types.ListResourceGroupingRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.ListResourceGroupingRecommendationsResponse, AWSError>;
|
338
|
+
/**
|
339
|
+
* Lists the resource grouping recommendations suggested by Resilience Hub for your application.
|
340
|
+
*/
|
341
|
+
listResourceGroupingRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.ListResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.ListResourceGroupingRecommendationsResponse, AWSError>;
|
318
342
|
/**
|
319
343
|
* Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
|
320
344
|
*/
|
@@ -371,6 +395,14 @@ declare class Resiliencehub extends Service {
|
|
371
395
|
* Adds or updates the app template for an Resilience Hub application draft version.
|
372
396
|
*/
|
373
397
|
putDraftAppVersionTemplate(callback?: (err: AWSError, data: Resiliencehub.Types.PutDraftAppVersionTemplateResponse) => void): Request<Resiliencehub.Types.PutDraftAppVersionTemplateResponse, AWSError>;
|
398
|
+
/**
|
399
|
+
* Rejects resource grouping recommendations.
|
400
|
+
*/
|
401
|
+
rejectResourceGroupingRecommendations(params: Resiliencehub.Types.RejectResourceGroupingRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.RejectResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.RejectResourceGroupingRecommendationsResponse, AWSError>;
|
402
|
+
/**
|
403
|
+
* Rejects resource grouping recommendations.
|
404
|
+
*/
|
405
|
+
rejectResourceGroupingRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.RejectResourceGroupingRecommendationsResponse) => void): Request<Resiliencehub.Types.RejectResourceGroupingRecommendationsResponse, AWSError>;
|
374
406
|
/**
|
375
407
|
* Removes resource mappings from a draft application version.
|
376
408
|
*/
|
@@ -395,6 +427,14 @@ declare class Resiliencehub extends Service {
|
|
395
427
|
* Creates a new application assessment for an application.
|
396
428
|
*/
|
397
429
|
startAppAssessment(callback?: (err: AWSError, data: Resiliencehub.Types.StartAppAssessmentResponse) => void): Request<Resiliencehub.Types.StartAppAssessmentResponse, AWSError>;
|
430
|
+
/**
|
431
|
+
* Starts grouping recommendation task.
|
432
|
+
*/
|
433
|
+
startResourceGroupingRecommendationTask(params: Resiliencehub.Types.StartResourceGroupingRecommendationTaskRequest, callback?: (err: AWSError, data: Resiliencehub.Types.StartResourceGroupingRecommendationTaskResponse) => void): Request<Resiliencehub.Types.StartResourceGroupingRecommendationTaskResponse, AWSError>;
|
434
|
+
/**
|
435
|
+
* Starts grouping recommendation task.
|
436
|
+
*/
|
437
|
+
startResourceGroupingRecommendationTask(callback?: (err: AWSError, data: Resiliencehub.Types.StartResourceGroupingRecommendationTaskResponse) => void): Request<Resiliencehub.Types.StartResourceGroupingRecommendationTaskResponse, AWSError>;
|
398
438
|
/**
|
399
439
|
* Applies one or more tags to a resource.
|
400
440
|
*/
|
@@ -453,6 +493,33 @@ declare class Resiliencehub extends Service {
|
|
453
493
|
updateResiliencyPolicy(callback?: (err: AWSError, data: Resiliencehub.Types.UpdateResiliencyPolicyResponse) => void): Request<Resiliencehub.Types.UpdateResiliencyPolicyResponse, AWSError>;
|
454
494
|
}
|
455
495
|
declare namespace Resiliencehub {
|
496
|
+
export type AcceptGroupingRecommendationEntries = AcceptGroupingRecommendationEntry[];
|
497
|
+
export interface AcceptGroupingRecommendationEntry {
|
498
|
+
/**
|
499
|
+
* Indicates the identifier of the grouping recommendation.
|
500
|
+
*/
|
501
|
+
groupingRecommendationId: String255;
|
502
|
+
}
|
503
|
+
export interface AcceptResourceGroupingRecommendationsRequest {
|
504
|
+
/**
|
505
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
506
|
+
*/
|
507
|
+
appArn: Arn;
|
508
|
+
/**
|
509
|
+
* Indicates the list of resource grouping recommendations you want to include in your application.
|
510
|
+
*/
|
511
|
+
entries: AcceptGroupingRecommendationEntries;
|
512
|
+
}
|
513
|
+
export interface AcceptResourceGroupingRecommendationsResponse {
|
514
|
+
/**
|
515
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
516
|
+
*/
|
517
|
+
appArn: Arn;
|
518
|
+
/**
|
519
|
+
* Indicates the list of resource grouping recommendations that could not be included in your application.
|
520
|
+
*/
|
521
|
+
failedEntries: FailedGroupingRecommendationEntries;
|
522
|
+
}
|
456
523
|
export interface AddDraftAppVersionResourceMappingsRequest {
|
457
524
|
/**
|
458
525
|
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -663,6 +730,10 @@ declare namespace Resiliencehub {
|
|
663
730
|
* Starting time for the action.
|
664
731
|
*/
|
665
732
|
startTime?: TimeStamp;
|
733
|
+
/**
|
734
|
+
* Indicates a concise summary that provides an overview of the Resilience Hub assessment.
|
735
|
+
*/
|
736
|
+
summary?: AssessmentSummary;
|
666
737
|
/**
|
667
738
|
* Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
|
668
739
|
*/
|
@@ -695,7 +766,7 @@ declare namespace Resiliencehub {
|
|
695
766
|
*/
|
696
767
|
assessmentStatus: AssessmentStatus;
|
697
768
|
/**
|
698
|
-
*
|
769
|
+
* Current status of compliance for the resiliency policy.
|
699
770
|
*/
|
700
771
|
complianceStatus?: ComplianceStatus;
|
701
772
|
/**
|
@@ -732,7 +803,7 @@ declare namespace Resiliencehub {
|
|
732
803
|
versionName?: EntityVersion;
|
733
804
|
}
|
734
805
|
export type AppAssessmentSummaryList = AppAssessmentSummary[];
|
735
|
-
export type AppComplianceStatusType = "PolicyBreached"|"PolicyMet"|"NotAssessed"|"ChangesDetected"|string;
|
806
|
+
export type AppComplianceStatusType = "PolicyBreached"|"PolicyMet"|"NotAssessed"|"ChangesDetected"|"NotApplicable"|"MissingPolicy"|string;
|
736
807
|
export interface AppComponent {
|
737
808
|
/**
|
738
809
|
* Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
|
@@ -741,11 +812,11 @@ declare namespace Resiliencehub {
|
|
741
812
|
/**
|
742
813
|
* Identifier of the Application Component.
|
743
814
|
*/
|
744
|
-
id?:
|
815
|
+
id?: EntityName255;
|
745
816
|
/**
|
746
817
|
* Name of the Application Component.
|
747
818
|
*/
|
748
|
-
name:
|
819
|
+
name: EntityName255;
|
749
820
|
/**
|
750
821
|
* The type of Application Component.
|
751
822
|
*/
|
@@ -883,8 +954,33 @@ declare namespace Resiliencehub {
|
|
883
954
|
export type ArnList = Arn[];
|
884
955
|
export type AssessmentCompliance = {[key: string]: DisruptionCompliance};
|
885
956
|
export type AssessmentInvoker = "User"|"System"|string;
|
957
|
+
export interface AssessmentRiskRecommendation {
|
958
|
+
/**
|
959
|
+
* Indicates the Application Components (AppComponents) that were assessed as part of the assessnent and are associated with the identified risk and recommendation. This property is available only in the US East (N. Virginia) Region.
|
960
|
+
*/
|
961
|
+
appComponents?: AppComponentNameList;
|
962
|
+
/**
|
963
|
+
* Indicates the recommendation provided by the Resilience Hub to address the identified risks in the application. This property is available only in the US East (N. Virginia) Region.
|
964
|
+
*/
|
965
|
+
recommendation?: String255;
|
966
|
+
/**
|
967
|
+
* Indicates the description of the potential risk identified in the application as part of the Resilience Hub assessment. This property is available only in the US East (N. Virginia) Region.
|
968
|
+
*/
|
969
|
+
risk?: String255;
|
970
|
+
}
|
971
|
+
export type AssessmentRiskRecommendationList = AssessmentRiskRecommendation[];
|
886
972
|
export type AssessmentStatus = "Pending"|"InProgress"|"Failed"|"Success"|string;
|
887
973
|
export type AssessmentStatusList = AssessmentStatus[];
|
974
|
+
export interface AssessmentSummary {
|
975
|
+
/**
|
976
|
+
* Indicates the top risks and recommendations identified by the Resilience Hub assessment, each representing a specific risk and the corresponding recommendation to address it. This property is available only in the US East (N. Virginia) Region.
|
977
|
+
*/
|
978
|
+
riskRecommendations?: AssessmentRiskRecommendationList;
|
979
|
+
/**
|
980
|
+
* Indicates a concise summary that provides an overview of the Resilience Hub assessment. This property is available only in the US East (N. Virginia) Region.
|
981
|
+
*/
|
982
|
+
summary?: String500;
|
983
|
+
}
|
888
984
|
export type AwsRegion = string;
|
889
985
|
export type BatchUpdateRecommendationStatusFailedEntries = BatchUpdateRecommendationStatusFailedEntry[];
|
890
986
|
export interface BatchUpdateRecommendationStatusFailedEntry {
|
@@ -989,7 +1085,7 @@ declare namespace Resiliencehub {
|
|
989
1085
|
expectedValue?: AssessmentCompliance;
|
990
1086
|
}
|
991
1087
|
export type ComplianceDriftList = ComplianceDrift[];
|
992
|
-
export type ComplianceStatus = "PolicyBreached"|"PolicyMet"|string;
|
1088
|
+
export type ComplianceStatus = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy"|string;
|
993
1089
|
export type ComponentCompliancesList = AppComponentCompliance[];
|
994
1090
|
export interface ComponentRecommendation {
|
995
1091
|
/**
|
@@ -1680,6 +1776,30 @@ declare namespace Resiliencehub {
|
|
1680
1776
|
*/
|
1681
1777
|
policy: ResiliencyPolicy;
|
1682
1778
|
}
|
1779
|
+
export interface DescribeResourceGroupingRecommendationTaskRequest {
|
1780
|
+
/**
|
1781
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
1782
|
+
*/
|
1783
|
+
appArn: Arn;
|
1784
|
+
/**
|
1785
|
+
* Indicates the identifier of the grouping recommendation task.
|
1786
|
+
*/
|
1787
|
+
groupingId?: String255;
|
1788
|
+
}
|
1789
|
+
export interface DescribeResourceGroupingRecommendationTaskResponse {
|
1790
|
+
/**
|
1791
|
+
* Indicates the error that occurred while generating a grouping recommendation.
|
1792
|
+
*/
|
1793
|
+
errorMessage?: String500;
|
1794
|
+
/**
|
1795
|
+
* Indicates the identifier of the grouping recommendation task.
|
1796
|
+
*/
|
1797
|
+
groupingId: String255;
|
1798
|
+
/**
|
1799
|
+
* Status of the action.
|
1800
|
+
*/
|
1801
|
+
status: ResourcesGroupingRecGenStatusType;
|
1802
|
+
}
|
1683
1803
|
export type DifferenceType = "NotEqual"|"Added"|"Removed"|string;
|
1684
1804
|
export interface DisruptionCompliance {
|
1685
1805
|
/**
|
@@ -1756,6 +1876,7 @@ declare namespace Resiliencehub {
|
|
1756
1876
|
export type EntityDescription = string;
|
1757
1877
|
export type EntityId = string;
|
1758
1878
|
export type EntityName = string;
|
1879
|
+
export type EntityName255 = string;
|
1759
1880
|
export type EntityNameList = EntityName[];
|
1760
1881
|
export type EntityVersion = string;
|
1761
1882
|
export type ErrorMessage = string;
|
@@ -1777,6 +1898,17 @@ declare namespace Resiliencehub {
|
|
1777
1898
|
export type EventSubscriptionList = EventSubscription[];
|
1778
1899
|
export type EventType = "ScheduledAssessmentFailure"|"DriftDetected"|string;
|
1779
1900
|
export type ExcludeRecommendationReason = "AlreadyImplemented"|"NotRelevant"|"ComplexityOfImplementation"|string;
|
1901
|
+
export type FailedGroupingRecommendationEntries = FailedGroupingRecommendationEntry[];
|
1902
|
+
export interface FailedGroupingRecommendationEntry {
|
1903
|
+
/**
|
1904
|
+
* Indicates the error that occurred while implementing a grouping recommendation.
|
1905
|
+
*/
|
1906
|
+
errorMessage: ErrorMessage;
|
1907
|
+
/**
|
1908
|
+
* Indicates the identifier of the grouping recommendation.
|
1909
|
+
*/
|
1910
|
+
groupingRecommendationId: String255;
|
1911
|
+
}
|
1780
1912
|
export interface FailurePolicy {
|
1781
1913
|
/**
|
1782
1914
|
* Recovery Point Objective (RPO) in seconds.
|
@@ -1787,6 +1919,85 @@ declare namespace Resiliencehub {
|
|
1787
1919
|
*/
|
1788
1920
|
rtoInSecs: Seconds;
|
1789
1921
|
}
|
1922
|
+
export interface GroupingAppComponent {
|
1923
|
+
/**
|
1924
|
+
* Indicates the identifier of an AppComponent.
|
1925
|
+
*/
|
1926
|
+
appComponentId: EntityName255;
|
1927
|
+
/**
|
1928
|
+
* Indicates the name of an AppComponent.
|
1929
|
+
*/
|
1930
|
+
appComponentName: EntityName255;
|
1931
|
+
/**
|
1932
|
+
* Indicates the type of an AppComponent.
|
1933
|
+
*/
|
1934
|
+
appComponentType: String255;
|
1935
|
+
}
|
1936
|
+
export interface GroupingRecommendation {
|
1937
|
+
/**
|
1938
|
+
* Indicates the confidence level of Resilience Hub on the grouping recommendation.
|
1939
|
+
*/
|
1940
|
+
confidenceLevel: GroupingRecommendationConfidenceLevel;
|
1941
|
+
/**
|
1942
|
+
* Indicates the creation time of the grouping recommendation.
|
1943
|
+
*/
|
1944
|
+
creationTime: TimeStamp;
|
1945
|
+
/**
|
1946
|
+
* Indicates the name of the recommended Application Component (AppComponent).
|
1947
|
+
*/
|
1948
|
+
groupingAppComponent: GroupingAppComponent;
|
1949
|
+
/**
|
1950
|
+
* Indicates all the reasons available for rejecting a grouping recommendation.
|
1951
|
+
*/
|
1952
|
+
groupingRecommendationId: String255;
|
1953
|
+
/**
|
1954
|
+
* Indicates all the reasons available for rejecting a grouping recommendation.
|
1955
|
+
*/
|
1956
|
+
recommendationReasons: String255List;
|
1957
|
+
/**
|
1958
|
+
* Indicates the reason you had selected while rejecting a grouping recommendation.
|
1959
|
+
*/
|
1960
|
+
rejectionReason?: GroupingRecommendationRejectionReason;
|
1961
|
+
/**
|
1962
|
+
* Indicates the resources that are grouped in a recommended AppComponent.
|
1963
|
+
*/
|
1964
|
+
resources: GroupingResourceList;
|
1965
|
+
/**
|
1966
|
+
* Indicates the confidence level of the grouping recommendation.
|
1967
|
+
*/
|
1968
|
+
score: Double;
|
1969
|
+
/**
|
1970
|
+
* Indicates the status of grouping resources into AppComponents.
|
1971
|
+
*/
|
1972
|
+
status: GroupingRecommendationStatusType;
|
1973
|
+
}
|
1974
|
+
export type GroupingRecommendationConfidenceLevel = "High"|"Medium"|string;
|
1975
|
+
export type GroupingRecommendationList = GroupingRecommendation[];
|
1976
|
+
export type GroupingRecommendationRejectionReason = "DistinctBusinessPurpose"|"SeparateDataConcern"|"DistinctUserGroupHandling"|"Other"|string;
|
1977
|
+
export type GroupingRecommendationStatusType = "Accepted"|"Rejected"|"PendingDecision"|string;
|
1978
|
+
export interface GroupingResource {
|
1979
|
+
/**
|
1980
|
+
* Indicates the logical identifier of the resource.
|
1981
|
+
*/
|
1982
|
+
logicalResourceId: LogicalResourceId;
|
1983
|
+
/**
|
1984
|
+
* Indicates the physical identifier of the resource.
|
1985
|
+
*/
|
1986
|
+
physicalResourceId: PhysicalResourceId;
|
1987
|
+
/**
|
1988
|
+
* Indicates the resource name.
|
1989
|
+
*/
|
1990
|
+
resourceName: String255;
|
1991
|
+
/**
|
1992
|
+
* Indicates the resource type.
|
1993
|
+
*/
|
1994
|
+
resourceType: String255;
|
1995
|
+
/**
|
1996
|
+
* Indicates the identifier of the source AppComponents in which the resources were previously grouped into.
|
1997
|
+
*/
|
1998
|
+
sourceAppComponentIds: String255List;
|
1999
|
+
}
|
2000
|
+
export type GroupingResourceList = GroupingResource[];
|
1790
2001
|
export type HaArchitecture = "MultiSite"|"WarmStandby"|"PilotLight"|"BackupAndRestore"|"NoRecoveryPlan"|string;
|
1791
2002
|
export type IamRoleArn = string;
|
1792
2003
|
export type IamRoleArnList = IamRoleArn[];
|
@@ -1871,11 +2082,11 @@ declare namespace Resiliencehub {
|
|
1871
2082
|
*/
|
1872
2083
|
assessmentArn: Arn;
|
1873
2084
|
/**
|
1874
|
-
* Indicates the maximum number of
|
2085
|
+
* Indicates the maximum number of compliance drifts requested.
|
1875
2086
|
*/
|
1876
2087
|
maxResults?: MaxResults;
|
1877
2088
|
/**
|
1878
|
-
*
|
2089
|
+
* Null, or the token from a previous call to get the next set of results.
|
1879
2090
|
*/
|
1880
2091
|
nextToken?: NextToken;
|
1881
2092
|
}
|
@@ -1885,7 +2096,7 @@ declare namespace Resiliencehub {
|
|
1885
2096
|
*/
|
1886
2097
|
complianceDrifts: ComplianceDriftList;
|
1887
2098
|
/**
|
1888
|
-
*
|
2099
|
+
* Null, or the token from a previous call to get the next set of results.
|
1889
2100
|
*/
|
1890
2101
|
nextToken?: NextToken;
|
1891
2102
|
}
|
@@ -2187,7 +2398,7 @@ declare namespace Resiliencehub {
|
|
2187
2398
|
*/
|
2188
2399
|
nextToken?: NextToken;
|
2189
2400
|
/**
|
2190
|
-
* The application list is sorted based on the values of lastAppComplianceEvaluationTime field. By default, application list is sorted in ascending order. To sort the
|
2401
|
+
* The application list is sorted based on the values of lastAppComplianceEvaluationTime field. By default, application list is sorted in ascending order. To sort the application list in descending order, set this field to True.
|
2191
2402
|
*/
|
2192
2403
|
reverseOrder?: BooleanOptional;
|
2193
2404
|
/**
|
@@ -2269,6 +2480,30 @@ declare namespace Resiliencehub {
|
|
2269
2480
|
*/
|
2270
2481
|
resiliencyPolicies: ResiliencyPolicies;
|
2271
2482
|
}
|
2483
|
+
export interface ListResourceGroupingRecommendationsRequest {
|
2484
|
+
/**
|
2485
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
2486
|
+
*/
|
2487
|
+
appArn?: Arn;
|
2488
|
+
/**
|
2489
|
+
* Maximum number of grouping recommendations to be displayed per Resilience Hub application.
|
2490
|
+
*/
|
2491
|
+
maxResults?: MaxResults;
|
2492
|
+
/**
|
2493
|
+
* Null, or the token from a previous call to get the next set of results.
|
2494
|
+
*/
|
2495
|
+
nextToken?: NextToken;
|
2496
|
+
}
|
2497
|
+
export interface ListResourceGroupingRecommendationsResponse {
|
2498
|
+
/**
|
2499
|
+
* List of resource grouping recommendations generated by Resilience Hub.
|
2500
|
+
*/
|
2501
|
+
groupingRecommendations: GroupingRecommendationList;
|
2502
|
+
/**
|
2503
|
+
* Null, or the token from a previous call to get the next set of results.
|
2504
|
+
*/
|
2505
|
+
nextToken?: NextToken;
|
2506
|
+
}
|
2272
2507
|
export interface ListSopRecommendationsRequest {
|
2273
2508
|
/**
|
2274
2509
|
* Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -2533,7 +2768,7 @@ declare namespace Resiliencehub {
|
|
2533
2768
|
appVersion?: EntityVersion;
|
2534
2769
|
}
|
2535
2770
|
export type RecommendationCompliance = {[key: string]: RecommendationDisruptionCompliance};
|
2536
|
-
export type RecommendationComplianceStatus = "BreachedUnattainable"|"BreachedCanMeet"|"MetCanImprove"|string;
|
2771
|
+
export type RecommendationComplianceStatus = "BreachedUnattainable"|"BreachedCanMeet"|"MetCanImprove"|"MissingPolicy"|string;
|
2537
2772
|
export interface RecommendationDisruptionCompliance {
|
2538
2773
|
/**
|
2539
2774
|
* The expected compliance status after applying the recommended configuration change.
|
@@ -2646,6 +2881,37 @@ declare namespace Resiliencehub {
|
|
2646
2881
|
export type RecommendationTemplateList = RecommendationTemplate[];
|
2647
2882
|
export type RecommendationTemplateStatus = "Pending"|"InProgress"|"Failed"|"Success"|string;
|
2648
2883
|
export type RecommendationTemplateStatusList = RecommendationTemplateStatus[];
|
2884
|
+
export type RejectGroupingRecommendationEntries = RejectGroupingRecommendationEntry[];
|
2885
|
+
export interface RejectGroupingRecommendationEntry {
|
2886
|
+
/**
|
2887
|
+
* Indicates the identifier of the grouping recommendation.
|
2888
|
+
*/
|
2889
|
+
groupingRecommendationId: String255;
|
2890
|
+
/**
|
2891
|
+
* Indicates the reason you had selected while rejecting a grouping recommendation.
|
2892
|
+
*/
|
2893
|
+
rejectionReason?: GroupingRecommendationRejectionReason;
|
2894
|
+
}
|
2895
|
+
export interface RejectResourceGroupingRecommendationsRequest {
|
2896
|
+
/**
|
2897
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
2898
|
+
*/
|
2899
|
+
appArn: Arn;
|
2900
|
+
/**
|
2901
|
+
* Indicates the list of resource grouping recommendations you have selected to exclude from your application.
|
2902
|
+
*/
|
2903
|
+
entries: RejectGroupingRecommendationEntries;
|
2904
|
+
}
|
2905
|
+
export interface RejectResourceGroupingRecommendationsResponse {
|
2906
|
+
/**
|
2907
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
2908
|
+
*/
|
2909
|
+
appArn: Arn;
|
2910
|
+
/**
|
2911
|
+
* Indicates the list of resource grouping recommendations that failed to get excluded in your application.
|
2912
|
+
*/
|
2913
|
+
failedEntries: FailedGroupingRecommendationEntries;
|
2914
|
+
}
|
2649
2915
|
export interface RemoveDraftAppVersionResourceMappingsRequest {
|
2650
2916
|
/**
|
2651
2917
|
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
@@ -2869,6 +3135,7 @@ declare namespace Resiliencehub {
|
|
2869
3135
|
export type ResourceMappingType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|"EKS"|string;
|
2870
3136
|
export type ResourceResolutionStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string;
|
2871
3137
|
export type ResourceSourceType = "AppTemplate"|"Discovered"|string;
|
3138
|
+
export type ResourcesGroupingRecGenStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string;
|
2872
3139
|
export interface S3Location {
|
2873
3140
|
/**
|
2874
3141
|
* The name of the Amazon S3 bucket.
|
@@ -2969,6 +3236,30 @@ declare namespace Resiliencehub {
|
|
2969
3236
|
*/
|
2970
3237
|
assessment: AppAssessment;
|
2971
3238
|
}
|
3239
|
+
export interface StartResourceGroupingRecommendationTaskRequest {
|
3240
|
+
/**
|
3241
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
3242
|
+
*/
|
3243
|
+
appArn: Arn;
|
3244
|
+
}
|
3245
|
+
export interface StartResourceGroupingRecommendationTaskResponse {
|
3246
|
+
/**
|
3247
|
+
* Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
|
3248
|
+
*/
|
3249
|
+
appArn: Arn;
|
3250
|
+
/**
|
3251
|
+
* Indicates the error that occurred while executing a grouping recommendation task.
|
3252
|
+
*/
|
3253
|
+
errorMessage?: String500;
|
3254
|
+
/**
|
3255
|
+
* Indicates the identifier of the grouping recommendation task.
|
3256
|
+
*/
|
3257
|
+
groupingId: String255;
|
3258
|
+
/**
|
3259
|
+
* Status of the action.
|
3260
|
+
*/
|
3261
|
+
status: ResourcesGroupingRecGenStatusType;
|
3262
|
+
}
|
2972
3263
|
export type String1024 = string;
|
2973
3264
|
export type String128WithoutWhitespace = string;
|
2974
3265
|
export type String2048 = string;
|