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).

+ * @public + */ + source?: string | undefined; +} + /** * @public * @enum @@ -583,6 +603,24 @@ export const ExcludeRecommendationReason = { export type ExcludeRecommendationReason = (typeof ExcludeRecommendationReason)[keyof typeof ExcludeRecommendationReason]; +/** + *

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. + *

* *