diff --git a/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts b/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts index 17376e51ea79..241884cd30d8 100644 --- a/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts +++ b/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts @@ -52,6 +52,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput * targetRegion: "STRING_VALUE", * }, * excluded: true || false, // required + * appComponentId: "STRING_VALUE", * excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * }, * ], @@ -70,6 +71,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput * // targetRegion: "STRING_VALUE", * // }, * // excluded: true || false, // required + * // appComponentId: "STRING_VALUE", * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // }, * // ], diff --git a/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts index d5643d23d4e2..d13e3342d953 100644 --- a/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts @@ -59,6 +59,14 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen * // alreadyImplemented: true || false, * // excluded: true || false, * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", + * // latestDiscoveredExperiment: { // Experiment + * // experimentArn: "STRING_VALUE", + * // experimentTemplateId: "STRING_VALUE", + * // }, + * // discoveredAlarm: { // Alarm + * // alarmArn: "STRING_VALUE", + * // source: "STRING_VALUE", + * // }, * // }, * // ], * // prerequisite: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts index 7356168b7d1c..b7a76c21d98b 100644 --- a/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts @@ -59,6 +59,14 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati * // alreadyImplemented: true || false, * // excluded: true || false, * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", + * // latestDiscoveredExperiment: { // Experiment + * // experimentArn: "STRING_VALUE", + * // experimentTemplateId: "STRING_VALUE", + * // }, + * // discoveredAlarm: { // Alarm + * // alarmArn: "STRING_VALUE", + * // source: "STRING_VALUE", + * // }, * // }, * // ], * // referenceId: "STRING_VALUE", // required diff --git a/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts index ce113fb9d99e..9ffed9be0e8c 100644 --- a/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts @@ -48,6 +48,7 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda * // { // TestRecommendation * // recommendationId: "STRING_VALUE", * // referenceId: "STRING_VALUE", // required + * // appComponentId: "STRING_VALUE", * // appComponentName: "STRING_VALUE", * // name: "STRING_VALUE", * // intent: "STRING_VALUE", @@ -62,6 +63,14 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda * // alreadyImplemented: true || false, * // excluded: true || false, * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", + * // latestDiscoveredExperiment: { // Experiment + * // experimentArn: "STRING_VALUE", + * // experimentTemplateId: "STRING_VALUE", + * // }, + * // discoveredAlarm: { // Alarm + * // alarmArn: "STRING_VALUE", + * // source: "STRING_VALUE", + * // }, * // }, * // ], * // prerequisite: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/models/models_0.ts b/clients/client-resiliencehub/src/models/models_0.ts index fa2972448b8b..2cd0f0847664 100644 --- a/clients/client-resiliencehub/src/models/models_0.ts +++ b/clients/client-resiliencehub/src/models/models_0.ts @@ -567,6 +567,26 @@ export class ServiceQuotaExceededException extends __BaseException { } } +/** + *
Indicates the Amazon CloudWatch alarm detected while running an assessment.
+ * @public + */ +export interface Alarm { + /** + *Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
+ * @public + */ + alarmArn?: string | undefined; + + /** + *Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the
+ * alarm was created using Resilience Hub recommendation (AwsResilienceHub
),
+ * or if you had created the alarm in Amazon CloudWatch (Customer
).
Indicates the FIS experiment detected while running an assessment.
+ * @public + */ +export interface Experiment { + /** + *Amazon Resource Name (ARN) of the FIS experiment.
+ * @public + */ + experimentArn?: string | undefined; + + /** + *Identifier of the FIS experiment template.
+ * @public + */ + experimentTemplateId?: string | undefined; +} + /** *Defines a recommendation.
* @public @@ -623,6 +661,18 @@ export interface RecommendationItem { * @public */ excludeReason?: ExcludeRecommendationReason | undefined; + + /** + *Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.
+ * @public + */ + latestDiscoveredExperiment?: Experiment | undefined; + + /** + *Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.
+ * @public + */ + discoveredAlarm?: Alarm | undefined; } /** @@ -853,7 +903,10 @@ export interface PermissionModel { *Existing Amazon Web Services * IAM role name in the primary Amazon Web Services account that will be assumed by * Resilience Hub Service Principle to obtain a read-only access to your application - * resources while running an assessment.
+ * resources while running an assessment. + *If your IAM role includes a path, you must include the path in the invokerRoleName
parameter.
+ * For example, if your IAM role's ARN is arn:aws:iam:123456789012:role/my-path/role-name
, you should pass my-path/role-name
.
+ *
This indicates if there are more errors not listed in the
- * resourceErrors
+ *
This indicates if there are more errors not listed in the resourceErrors
* list.
Indicates the Application Components (AppComponents) that were assessed as part of the - * assessnent and are associated with the identified risk and recommendation.
+ * assessment and are associated with the identified risk and recommendation. *This property is available only in the US East (N. Virginia) Region.
*Current - * status of compliance for the resiliency policy.
+ *Current status of compliance for the resiliency policy.
* @public */ complianceStatus?: ComplianceStatus | undefined; @@ -2144,6 +2195,12 @@ export interface UpdateRecommendationStatusRequestEntry { */ excluded: boolean | undefined; + /** + *Indicates the identifier of the AppComponent.
+ * @public + */ + appComponentId?: string | undefined; + /** *Indicates the reason for excluding an operational recommendation.
* @public @@ -2226,6 +2283,12 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry { */ excluded: boolean | undefined; + /** + *Indicates the identifier of an AppComponent.
+ * @public + */ + appComponentId?: string | undefined; + /** *Indicates the reason for excluding an operational recommendation.
* @public @@ -4491,7 +4554,7 @@ export interface ComplianceDrift { /** *Difference type between actual and expected recovery point objective (RPO) and recovery
* time objective (RTO) values. Currently, Resilience Hub supports only
- * NotEqual
difference type.
NotEqual
difference type.
* @public
*/
diffType?: DifferenceType | undefined;
@@ -6082,6 +6145,12 @@ export interface TestRecommendation {
*/
referenceId: string | undefined;
+ /**
+ * Indicates the identifier of the AppComponent.
+ * @public + */ + appComponentId?: string | undefined; + /** *Name of the Application Component.
* @public diff --git a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts index 30db0135fc8c..e4a3cc5545cb 100644 --- a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts +++ b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts @@ -3470,6 +3470,8 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont // de_AdditionalInfoValueList omitted. +// de_Alarm omitted. + // de_AlarmRecommendation omitted. // de_AlarmRecommendationList omitted. @@ -3779,6 +3781,8 @@ const de_DisruptionResiliencyScore = ( // de_EventSubscriptionList omitted. +// de_Experiment omitted. + // de_FailedGroupingRecommendationEntries omitted. // de_FailedGroupingRecommendationEntry omitted. diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index 6b937f01b5ab..5655ac6d1a46 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -225,6 +225,26 @@ } } }, + "com.amazonaws.resiliencehub#Alarm": { + "type": "structure", + "members": { + "alarmArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
" + } + }, + "source": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the\n alarm was created using Resilience Hub recommendation (AwsResilienceHub
),\n or if you had created the alarm in Amazon CloudWatch (Customer
).
Indicates the Amazon CloudWatch alarm detected while running an assessment.
" + } + }, "com.amazonaws.resiliencehub#AlarmRecommendation": { "type": "structure", "members": { @@ -683,7 +703,7 @@ "complianceStatus": { "target": "com.amazonaws.resiliencehub#ComplianceStatus", "traits": { - "smithy.api#documentation": "Current\n status of compliance for the resiliency policy.
" + "smithy.api#documentation": "Current status of compliance for the resiliency policy.
" } }, "cost": { @@ -1146,7 +1166,7 @@ "appComponents": { "target": "com.amazonaws.resiliencehub#AppComponentNameList", "traits": { - "smithy.api#documentation": "Indicates the Application Components (AppComponents) that were assessed as part of the\n assessnent and are associated with the identified risk and recommendation.
\nThis property is available only in the US East (N. Virginia) Region.
\nIndicates the Application Components (AppComponents) that were assessed as part of the\n assessment and are associated with the identified risk and recommendation.
\nThis property is available only in the US East (N. Virginia) Region.
\nIndicates the identifier of an AppComponent.
" + } + }, "excludeReason": { "target": "com.amazonaws.resiliencehub#ExcludeRecommendationReason", "traits": { @@ -2549,7 +2575,7 @@ "diffType": { "target": "com.amazonaws.resiliencehub#DifferenceType", "traits": { - "smithy.api#documentation": "Difference type between actual and expected recovery point objective (RPO) and recovery\n time objective (RTO) values. Currently, Resilience Hub supports only\n NotEqual
difference type.
Difference type between actual and expected recovery point objective (RPO) and recovery\n time objective (RTO) values. Currently, Resilience Hub supports only\n NotEqual
difference type.
Amazon Resource Name (ARN) of the FIS experiment.
" + } + }, + "experimentTemplateId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "Identifier of the FIS experiment template.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Indicates the FIS experiment detected while running an assessment.
" + } + }, "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries": { "type": "list", "member": { @@ -7987,7 +8033,7 @@ "invokerRoleName": { "target": "com.amazonaws.resiliencehub#IamRoleName", "traits": { - "smithy.api#documentation": "Existing Amazon Web Services\n IAM role name in the primary Amazon Web Services account that will be assumed by\n Resilience Hub Service Principle to obtain a read-only access to your application\n resources while running an assessment.
\nYou must have iam:passRole
permission for this role while creating or\n updating the application.
Currently, invokerRoleName
accepts only [A-Za-z0-9_+=,.@-]
\n characters.
Existing Amazon Web Services\n IAM role name in the primary Amazon Web Services account that will be assumed by\n Resilience Hub Service Principle to obtain a read-only access to your application\n resources while running an assessment.
\nIf your IAM role includes a path, you must include the path in the invokerRoleName
parameter. \n For example, if your IAM role's ARN is arn:aws:iam:123456789012:role/my-path/role-name
, you should pass my-path/role-name
.\n
You must have iam:passRole
permission for this role while creating or\n updating the application.
Currently, invokerRoleName
accepts only [A-Za-z0-9_+=,.@-]
\n characters.
Indicates the reason for excluding an operational recommendation.
" } + }, + "latestDiscoveredExperiment": { + "target": "com.amazonaws.resiliencehub#Experiment", + "traits": { + "smithy.api#documentation": "Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.
" + } + }, + "discoveredAlarm": { + "target": "com.amazonaws.resiliencehub#Alarm", + "traits": { + "smithy.api#documentation": "Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.
" + } } }, "traits": { @@ -9205,7 +9263,7 @@ "hasMoreErrors": { "target": "com.amazonaws.resiliencehub#BooleanOptional", "traits": { - "smithy.api#documentation": " This indicates if there are more errors not listed in the\n resourceErrors
\n list.
This indicates if there are more errors not listed in the resourceErrors
\n list.
Indicates the identifier of the AppComponent.
" + } + }, "appComponentName": { "target": "com.amazonaws.resiliencehub#EntityId", "traits": { @@ -10924,6 +10988,12 @@ "smithy.api#required": {} } }, + "appComponentId": { + "target": "com.amazonaws.resiliencehub#EntityName255", + "traits": { + "smithy.api#documentation": "Indicates the identifier of the AppComponent.
" + } + }, "excludeReason": { "target": "com.amazonaws.resiliencehub#ExcludeRecommendationReason", "traits": {