Skip to content

Commit d4a0fb6

Browse files
author
awstools
committed
feat(client-resiliencehub): AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement.
1 parent bc971c9 commit d4a0fb6

File tree

45 files changed

+1150
-829
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1150
-829
lines changed

clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ export interface AddDraftAppVersionResourceMappingsCommandOutput
5656
* logicalStackName: "STRING_VALUE",
5757
* appRegistryAppName: "STRING_VALUE",
5858
* resourceGroupName: "STRING_VALUE",
59-
* mappingType: "STRING_VALUE", // required
59+
* mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
6060
* physicalResourceId: { // PhysicalResourceId
6161
* identifier: "STRING_VALUE", // required
62-
* type: "STRING_VALUE", // required
62+
* type: "Arn" || "Native", // required
6363
* awsRegion: "STRING_VALUE",
6464
* awsAccountId: "STRING_VALUE",
6565
* },
@@ -79,10 +79,10 @@ export interface AddDraftAppVersionResourceMappingsCommandOutput
7979
* // logicalStackName: "STRING_VALUE",
8080
* // appRegistryAppName: "STRING_VALUE",
8181
* // resourceGroupName: "STRING_VALUE",
82-
* // mappingType: "STRING_VALUE", // required
82+
* // mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
8383
* // physicalResourceId: { // PhysicalResourceId
8484
* // identifier: "STRING_VALUE", // required
85-
* // type: "STRING_VALUE", // required
85+
* // type: "Arn" || "Native", // required
8686
* // awsRegion: "STRING_VALUE",
8787
* // awsAccountId: "STRING_VALUE",
8888
* // },

clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput
5252
* targetRegion: "STRING_VALUE",
5353
* },
5454
* excluded: true || false, // required
55-
* excludeReason: "STRING_VALUE",
55+
* excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
5656
* },
5757
* ],
5858
* };
@@ -70,7 +70,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput
7070
* // targetRegion: "STRING_VALUE",
7171
* // },
7272
* // excluded: true || false, // required
73-
* // excludeReason: "STRING_VALUE",
73+
* // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
7474
* // },
7575
* // ],
7676
* // failedEntries: [ // BatchUpdateRecommendationStatusFailedEntries // required

clients/client-resiliencehub/src/commands/CreateAppCommand.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
5858
* "<keys>": "STRING_VALUE",
5959
* },
6060
* clientToken: "STRING_VALUE",
61-
* assessmentSchedule: "STRING_VALUE",
61+
* assessmentSchedule: "Disabled" || "Daily",
6262
* permissionModel: { // PermissionModel
63-
* type: "STRING_VALUE", // required
63+
* type: "LegacyIAMUser" || "RoleBased", // required
6464
* invokerRoleName: "STRING_VALUE",
6565
* crossAccountRoleArns: [ // IamRoleArnList
6666
* "STRING_VALUE",
@@ -69,10 +69,11 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
6969
* eventSubscriptions: [ // EventSubscriptionList
7070
* { // EventSubscription
7171
* name: "STRING_VALUE", // required
72-
* eventType: "STRING_VALUE", // required
72+
* eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required
7373
* snsTopicArn: "STRING_VALUE",
7474
* },
7575
* ],
76+
* awsApplicationArn: "STRING_VALUE",
7677
* };
7778
* const command = new CreateAppCommand(input);
7879
* const response = await client.send(command);
@@ -83,17 +84,17 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
8384
* // description: "STRING_VALUE",
8485
* // policyArn: "STRING_VALUE",
8586
* // creationTime: new Date("TIMESTAMP"), // required
86-
* // status: "STRING_VALUE",
87-
* // complianceStatus: "STRING_VALUE",
87+
* // status: "Active" || "Deleting",
88+
* // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy",
8889
* // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"),
8990
* // resiliencyScore: Number("double"),
9091
* // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"),
9192
* // tags: { // TagMap
9293
* // "<keys>": "STRING_VALUE",
9394
* // },
94-
* // assessmentSchedule: "STRING_VALUE",
95+
* // assessmentSchedule: "Disabled" || "Daily",
9596
* // permissionModel: { // PermissionModel
96-
* // type: "STRING_VALUE", // required
97+
* // type: "LegacyIAMUser" || "RoleBased", // required
9798
* // invokerRoleName: "STRING_VALUE",
9899
* // crossAccountRoleArns: [ // IamRoleArnList
99100
* // "STRING_VALUE",
@@ -102,14 +103,15 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
102103
* // eventSubscriptions: [ // EventSubscriptionList
103104
* // { // EventSubscription
104105
* // name: "STRING_VALUE", // required
105-
* // eventType: "STRING_VALUE", // required
106+
* // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required
106107
* // snsTopicArn: "STRING_VALUE",
107108
* // },
108109
* // ],
109-
* // driftStatus: "STRING_VALUE",
110+
* // driftStatus: "NotChecked" || "NotDetected" || "Detected",
110111
* // lastDriftEvaluationTime: new Date("TIMESTAMP"),
111112
* // rtoInSecs: Number("int"),
112113
* // rpoInSecs: Number("int"),
114+
* // awsApplicationArn: "STRING_VALUE",
113115
* // },
114116
* // };
115117
*

clients/client-resiliencehub/src/commands/CreateAppVersionResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR
9393
* // },
9494
* // physicalResourceId: { // PhysicalResourceId
9595
* // identifier: "STRING_VALUE", // required
96-
* // type: "STRING_VALUE", // required
96+
* // type: "Arn" || "Native", // required
9797
* // awsRegion: "STRING_VALUE",
9898
* // awsAccountId: "STRING_VALUE",
9999
* // },
@@ -116,7 +116,7 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR
116116
* // ],
117117
* // },
118118
* // excluded: true || false,
119-
* // sourceType: "STRING_VALUE",
119+
* // sourceType: "AppTemplate" || "Discovered",
120120
* // parentResourceName: "STRING_VALUE",
121121
* // },
122122
* // };

clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export interface CreateRecommendationTemplateCommandOutput
4949
* recommendationIds: [ // RecommendationIdList
5050
* "STRING_VALUE",
5151
* ],
52-
* format: "STRING_VALUE",
52+
* format: "CfnYaml" || "CfnJson",
5353
* recommendationTypes: [ // RenderRecommendationTypeList
54-
* "STRING_VALUE",
54+
* "Alarm" || "Sop" || "Test",
5555
* ],
5656
* assessmentArn: "STRING_VALUE", // required
5757
* name: "STRING_VALUE", // required
@@ -75,12 +75,12 @@ export interface CreateRecommendationTemplateCommandOutput
7575
* // "STRING_VALUE",
7676
* // ],
7777
* // recommendationTypes: [ // RenderRecommendationTypeList // required
78-
* // "STRING_VALUE",
78+
* // "Alarm" || "Sop" || "Test",
7979
* // ],
80-
* // format: "STRING_VALUE", // required
80+
* // format: "CfnYaml" || "CfnJson", // required
8181
* // recommendationTemplateArn: "STRING_VALUE", // required
8282
* // message: "STRING_VALUE",
83-
* // status: "STRING_VALUE", // required
83+
* // status: "Pending" || "InProgress" || "Failed" || "Success", // required
8484
* // name: "STRING_VALUE", // required
8585
* // startTime: new Date("TIMESTAMP"),
8686
* // endTime: new Date("TIMESTAMP"),

clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPol
5252
* const input = { // CreateResiliencyPolicyRequest
5353
* policyName: "STRING_VALUE", // required
5454
* policyDescription: "STRING_VALUE",
55-
* dataLocationConstraint: "STRING_VALUE",
56-
* tier: "STRING_VALUE", // required
55+
* dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
56+
* tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", // required
5757
* policy: { // DisruptionPolicy // required
5858
* "<keys>": { // FailurePolicy
5959
* rtoInSecs: Number("int"), // required
@@ -72,9 +72,9 @@ export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPol
7272
* // policyArn: "STRING_VALUE",
7373
* // policyName: "STRING_VALUE",
7474
* // policyDescription: "STRING_VALUE",
75-
* // dataLocationConstraint: "STRING_VALUE",
76-
* // tier: "STRING_VALUE",
77-
* // estimatedCostTier: "STRING_VALUE",
75+
* // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
76+
* // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable",
77+
* // estimatedCostTier: "L1" || "L2" || "L3" || "L4",
7878
* // policy: { // DisruptionPolicy
7979
* // "<keys>": { // FailurePolicy
8080
* // rtoInSecs: Number("int"), // required

clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface DeleteAppAssessmentCommandOutput extends DeleteAppAssessmentRes
4444
* const response = await client.send(command);
4545
* // { // DeleteAppAssessmentResponse
4646
* // assessmentArn: "STRING_VALUE", // required
47-
* // assessmentStatus: "STRING_VALUE", // required
47+
* // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required
4848
* // };
4949
*
5050
* ```

clients/client-resiliencehub/src/commands/DeleteAppInputSourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface DeleteAppInputSourceCommandOutput extends DeleteAppInputSourceR
5454
* // appArn: "STRING_VALUE",
5555
* // appInputSource: { // AppInputSource
5656
* // sourceName: "STRING_VALUE",
57-
* // importType: "STRING_VALUE", // required
57+
* // importType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
5858
* // sourceArn: "STRING_VALUE",
5959
* // terraformSource: { // TerraformSource
6060
* // s3StateFileUrl: "STRING_VALUE", // required

clients/client-resiliencehub/src/commands/DeleteAppVersionResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface DeleteAppVersionResourceCommandOutput extends DeleteAppVersionR
8282
* // },
8383
* // physicalResourceId: { // PhysicalResourceId
8484
* // identifier: "STRING_VALUE", // required
85-
* // type: "STRING_VALUE", // required
85+
* // type: "Arn" || "Native", // required
8686
* // awsRegion: "STRING_VALUE",
8787
* // awsAccountId: "STRING_VALUE",
8888
* // },
@@ -105,7 +105,7 @@ export interface DeleteAppVersionResourceCommandOutput extends DeleteAppVersionR
105105
* // ],
106106
* // },
107107
* // excluded: true || false,
108-
* // sourceType: "STRING_VALUE",
108+
* // sourceType: "AppTemplate" || "Discovered",
109109
* // parentResourceName: "STRING_VALUE",
110110
* // },
111111
* // };

clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface DeleteRecommendationTemplateCommandOutput
4949
* const response = await client.send(command);
5050
* // { // DeleteRecommendationTemplateResponse
5151
* // recommendationTemplateArn: "STRING_VALUE", // required
52-
* // status: "STRING_VALUE", // required
52+
* // status: "Pending" || "InProgress" || "Failed" || "Success", // required
5353
* // };
5454
*
5555
* ```

0 commit comments

Comments
 (0)