diff --git a/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts b/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts index c847b6249316..0afbd36d2a4b 100644 --- a/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts +++ b/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts @@ -56,10 +56,10 @@ export interface AddDraftAppVersionResourceMappingsCommandOutput * logicalStackName: "STRING_VALUE", * appRegistryAppName: "STRING_VALUE", * resourceGroupName: "STRING_VALUE", - * mappingType: "STRING_VALUE", // required + * mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required * physicalResourceId: { // PhysicalResourceId * identifier: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "Arn" || "Native", // required * awsRegion: "STRING_VALUE", * awsAccountId: "STRING_VALUE", * }, @@ -79,10 +79,10 @@ export interface AddDraftAppVersionResourceMappingsCommandOutput * // logicalStackName: "STRING_VALUE", * // appRegistryAppName: "STRING_VALUE", * // resourceGroupName: "STRING_VALUE", - * // mappingType: "STRING_VALUE", // required + * // mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, diff --git a/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts b/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts index 98fb81b4caa3..17376e51ea79 100644 --- a/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts +++ b/clients/client-resiliencehub/src/commands/BatchUpdateRecommendationStatusCommand.ts @@ -52,7 +52,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput * targetRegion: "STRING_VALUE", * }, * excluded: true || false, // required - * excludeReason: "STRING_VALUE", + * excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * }, * ], * }; @@ -70,7 +70,7 @@ export interface BatchUpdateRecommendationStatusCommandOutput * // targetRegion: "STRING_VALUE", * // }, * // excluded: true || false, // required - * // excludeReason: "STRING_VALUE", + * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // }, * // ], * // failedEntries: [ // BatchUpdateRecommendationStatusFailedEntries // required diff --git a/clients/client-resiliencehub/src/commands/CreateAppCommand.ts b/clients/client-resiliencehub/src/commands/CreateAppCommand.ts index b0ce495b5ab2..ec42af82f9c7 100644 --- a/clients/client-resiliencehub/src/commands/CreateAppCommand.ts +++ b/clients/client-resiliencehub/src/commands/CreateAppCommand.ts @@ -58,9 +58,9 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea * "": "STRING_VALUE", * }, * clientToken: "STRING_VALUE", - * assessmentSchedule: "STRING_VALUE", + * assessmentSchedule: "Disabled" || "Daily", * permissionModel: { // PermissionModel - * type: "STRING_VALUE", // required + * type: "LegacyIAMUser" || "RoleBased", // required * invokerRoleName: "STRING_VALUE", * crossAccountRoleArns: [ // IamRoleArnList * "STRING_VALUE", @@ -69,10 +69,11 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea * eventSubscriptions: [ // EventSubscriptionList * { // EventSubscription * name: "STRING_VALUE", // required - * eventType: "STRING_VALUE", // required + * eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required * snsTopicArn: "STRING_VALUE", * }, * ], + * awsApplicationArn: "STRING_VALUE", * }; * const command = new CreateAppCommand(input); * const response = await client.send(command); @@ -83,17 +84,17 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea * // description: "STRING_VALUE", * // policyArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", + * // status: "Active" || "Deleting", + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy", * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"), * // resiliencyScore: Number("double"), * // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, - * // assessmentSchedule: "STRING_VALUE", + * // assessmentSchedule: "Disabled" || "Daily", * // permissionModel: { // PermissionModel - * // type: "STRING_VALUE", // required + * // type: "LegacyIAMUser" || "RoleBased", // required * // invokerRoleName: "STRING_VALUE", * // crossAccountRoleArns: [ // IamRoleArnList * // "STRING_VALUE", @@ -102,14 +103,15 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea * // eventSubscriptions: [ // EventSubscriptionList * // { // EventSubscription * // name: "STRING_VALUE", // required - * // eventType: "STRING_VALUE", // required + * // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required * // snsTopicArn: "STRING_VALUE", * // }, * // ], - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // lastDriftEvaluationTime: new Date("TIMESTAMP"), * // rtoInSecs: Number("int"), * // rpoInSecs: Number("int"), + * // awsApplicationArn: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-resiliencehub/src/commands/CreateAppVersionResourceCommand.ts b/clients/client-resiliencehub/src/commands/CreateAppVersionResourceCommand.ts index f44ca4cd8041..0c4b690cf058 100644 --- a/clients/client-resiliencehub/src/commands/CreateAppVersionResourceCommand.ts +++ b/clients/client-resiliencehub/src/commands/CreateAppVersionResourceCommand.ts @@ -93,7 +93,7 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -116,7 +116,7 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR * // ], * // }, * // excluded: true || false, - * // sourceType: "STRING_VALUE", + * // sourceType: "AppTemplate" || "Discovered", * // parentResourceName: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts b/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts index 6c4756086cc5..bd20609ee83d 100644 --- a/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts +++ b/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts @@ -49,9 +49,9 @@ export interface CreateRecommendationTemplateCommandOutput * recommendationIds: [ // RecommendationIdList * "STRING_VALUE", * ], - * format: "STRING_VALUE", + * format: "CfnYaml" || "CfnJson", * recommendationTypes: [ // RenderRecommendationTypeList - * "STRING_VALUE", + * "Alarm" || "Sop" || "Test", * ], * assessmentArn: "STRING_VALUE", // required * name: "STRING_VALUE", // required @@ -75,12 +75,12 @@ export interface CreateRecommendationTemplateCommandOutput * // "STRING_VALUE", * // ], * // recommendationTypes: [ // RenderRecommendationTypeList // required - * // "STRING_VALUE", + * // "Alarm" || "Sop" || "Test", * // ], - * // format: "STRING_VALUE", // required + * // format: "CfnYaml" || "CfnJson", // required * // recommendationTemplateArn: "STRING_VALUE", // required * // message: "STRING_VALUE", - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // name: "STRING_VALUE", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), diff --git a/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts index 05f38fe23c23..01501255aa0e 100644 --- a/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts +++ b/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts @@ -52,8 +52,8 @@ export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPol * const input = { // CreateResiliencyPolicyRequest * policyName: "STRING_VALUE", // required * policyDescription: "STRING_VALUE", - * dataLocationConstraint: "STRING_VALUE", - * tier: "STRING_VALUE", // required + * dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", // required * policy: { // DisruptionPolicy // required * "": { // FailurePolicy * rtoInSecs: Number("int"), // required @@ -72,9 +72,9 @@ export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPol * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required diff --git a/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts index 8ec83366d12f..ab6426af3d44 100644 --- a/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts +++ b/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts @@ -44,7 +44,7 @@ export interface DeleteAppAssessmentCommandOutput extends DeleteAppAssessmentRes * const response = await client.send(command); * // { // DeleteAppAssessmentResponse * // assessmentArn: "STRING_VALUE", // required - * // assessmentStatus: "STRING_VALUE", // required + * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required * // }; * * ``` diff --git a/clients/client-resiliencehub/src/commands/DeleteAppInputSourceCommand.ts b/clients/client-resiliencehub/src/commands/DeleteAppInputSourceCommand.ts index 00802e67f0ed..a11c3c368863 100644 --- a/clients/client-resiliencehub/src/commands/DeleteAppInputSourceCommand.ts +++ b/clients/client-resiliencehub/src/commands/DeleteAppInputSourceCommand.ts @@ -54,7 +54,7 @@ export interface DeleteAppInputSourceCommandOutput extends DeleteAppInputSourceR * // appArn: "STRING_VALUE", * // appInputSource: { // AppInputSource * // sourceName: "STRING_VALUE", - * // importType: "STRING_VALUE", // required + * // importType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required * // sourceArn: "STRING_VALUE", * // terraformSource: { // TerraformSource * // s3StateFileUrl: "STRING_VALUE", // required diff --git a/clients/client-resiliencehub/src/commands/DeleteAppVersionResourceCommand.ts b/clients/client-resiliencehub/src/commands/DeleteAppVersionResourceCommand.ts index 4cffcb4c40fe..84e35a47e299 100644 --- a/clients/client-resiliencehub/src/commands/DeleteAppVersionResourceCommand.ts +++ b/clients/client-resiliencehub/src/commands/DeleteAppVersionResourceCommand.ts @@ -82,7 +82,7 @@ export interface DeleteAppVersionResourceCommandOutput extends DeleteAppVersionR * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -105,7 +105,7 @@ export interface DeleteAppVersionResourceCommandOutput extends DeleteAppVersionR * // ], * // }, * // excluded: true || false, - * // sourceType: "STRING_VALUE", + * // sourceType: "AppTemplate" || "Discovered", * // parentResourceName: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts b/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts index d5310ec96573..c3af1a9778fd 100644 --- a/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts +++ b/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts @@ -49,7 +49,7 @@ export interface DeleteRecommendationTemplateCommandOutput * const response = await client.send(command); * // { // DeleteRecommendationTemplateResponse * // recommendationTemplateArn: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // }; * * ``` diff --git a/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts index 718ff8ca1135..e173147d433a 100644 --- a/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts @@ -48,11 +48,11 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen * // assessment: { // AppAssessment * // appArn: "STRING_VALUE", * // appVersion: "STRING_VALUE", - * // invoker: "STRING_VALUE", // required + * // invoker: "User" || "System", // required * // cost: { // Cost * // amount: Number("double"), // required * // currency: "STRING_VALUE", // required - * // frequency: "STRING_VALUE", // required + * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required * // }, * // resiliencyScore: { // ResiliencyScore * // score: Number("double"), // required @@ -77,13 +77,13 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, * // }, - * // complianceStatus: "STRING_VALUE", - * // assessmentStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", + * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // message: "STRING_VALUE", @@ -93,9 +93,9 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required @@ -121,7 +121,7 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen * // hasMoreErrors: true || false, * // }, * // versionName: "STRING_VALUE", - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // summary: { // AssessmentSummary * // summary: "STRING_VALUE", * // riskRecommendations: [ // AssessmentRiskRecommendationList diff --git a/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts index 14bdf0f9116a..36d436b06392 100644 --- a/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts @@ -47,17 +47,17 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat * // description: "STRING_VALUE", * // policyArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", + * // status: "Active" || "Deleting", + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy", * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"), * // resiliencyScore: Number("double"), * // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, - * // assessmentSchedule: "STRING_VALUE", + * // assessmentSchedule: "Disabled" || "Daily", * // permissionModel: { // PermissionModel - * // type: "STRING_VALUE", // required + * // type: "LegacyIAMUser" || "RoleBased", // required * // invokerRoleName: "STRING_VALUE", * // crossAccountRoleArns: [ // IamRoleArnList * // "STRING_VALUE", @@ -66,14 +66,15 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat * // eventSubscriptions: [ // EventSubscriptionList * // { // EventSubscription * // name: "STRING_VALUE", // required - * // eventType: "STRING_VALUE", // required + * // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required * // snsTopicArn: "STRING_VALUE", * // }, * // ], - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // lastDriftEvaluationTime: new Date("TIMESTAMP"), * // rtoInSecs: Number("int"), * // rpoInSecs: Number("int"), + * // awsApplicationArn: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-resiliencehub/src/commands/DescribeAppVersionResourceCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourceCommand.ts index 4f8c3a353e98..f954968fde93 100644 --- a/clients/client-resiliencehub/src/commands/DescribeAppVersionResourceCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourceCommand.ts @@ -86,7 +86,7 @@ export interface DescribeAppVersionResourceCommandOutput extends DescribeAppVers * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -109,7 +109,7 @@ export interface DescribeAppVersionResourceCommandOutput extends DescribeAppVers * // ], * // }, * // excluded: true || false, - * // sourceType: "STRING_VALUE", + * // sourceType: "AppTemplate" || "Discovered", * // parentResourceName: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts index 7215c3dab127..5c9121415a25 100644 --- a/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts @@ -57,7 +57,7 @@ export interface DescribeAppVersionResourcesResolutionStatusCommandOutput * // appArn: "STRING_VALUE", // required * // appVersion: "STRING_VALUE", // required * // resolutionId: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // errorMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts b/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts index e2d6fa648c2b..862fbdf0ba2d 100644 --- a/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts @@ -59,9 +59,14 @@ export interface DescribeDraftAppVersionResourcesImportStatusCommandOutput * // { // DescribeDraftAppVersionResourcesImportStatusResponse * // appArn: "STRING_VALUE", // required * // appVersion: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // statusChangeTime: new Date("TIMESTAMP"), // required * // errorMessage: "STRING_VALUE", + * // errorDetails: [ // ErrorDetailList + * // { // ErrorDetail + * // errorMessage: "STRING_VALUE", + * // }, + * // ], * // }; * * ``` diff --git a/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts index 75c93926a1a8..e8c29eb2956c 100644 --- a/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts @@ -51,9 +51,9 @@ export interface DescribeResiliencyPolicyCommandOutput extends DescribeResilienc * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required diff --git a/clients/client-resiliencehub/src/commands/DescribeResourceGroupingRecommendationTaskCommand.ts b/clients/client-resiliencehub/src/commands/DescribeResourceGroupingRecommendationTaskCommand.ts index 0f5f277497fa..a2d7cce0ec8c 100644 --- a/clients/client-resiliencehub/src/commands/DescribeResourceGroupingRecommendationTaskCommand.ts +++ b/clients/client-resiliencehub/src/commands/DescribeResourceGroupingRecommendationTaskCommand.ts @@ -52,7 +52,7 @@ export interface DescribeResourceGroupingRecommendationTaskCommandOutput * const response = await client.send(command); * // { // DescribeResourceGroupingRecommendationTaskResponse * // groupingId: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // errorMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts b/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts index 2ba980262206..5dcd111b6934 100644 --- a/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts +++ b/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts @@ -52,7 +52,7 @@ export interface ImportResourcesToDraftAppVersionCommandOutput * s3StateFileUrl: "STRING_VALUE", // required * }, * ], - * importStrategy: "STRING_VALUE", + * importStrategy: "AddOnly" || "ReplaceAll", * eksSources: [ // EksSourceList * { // EksSource * eksClusterArn: "STRING_VALUE", // required @@ -70,7 +70,7 @@ export interface ImportResourcesToDraftAppVersionCommandOutput * // sourceArns: [ // ArnList * // "STRING_VALUE", * // ], - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // terraformSources: [ // TerraformSourceList * // { // TerraformSource * // s3StateFileUrl: "STRING_VALUE", // required diff --git a/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts index 327e00b51484..d5643d23d4e2 100644 --- a/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts @@ -49,7 +49,7 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen * // referenceId: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", - * // type: "STRING_VALUE", // required + * // type: "Metric" || "Composite" || "Canary" || "Logs" || "Event", // required * // appComponentName: "STRING_VALUE", * // items: [ // RecommendationItemList * // { // RecommendationItem @@ -58,14 +58,14 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen * // targetRegion: "STRING_VALUE", * // alreadyImplemented: true || false, * // excluded: true || false, - * // excludeReason: "STRING_VALUE", + * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // }, * // ], * // prerequisite: "STRING_VALUE", * // appComponentNames: [ // AppComponentNameList * // "STRING_VALUE", * // ], - * // recommendationStatus: "STRING_VALUE", + * // recommendationStatus: "Implemented" || "Inactive" || "NotImplemented" || "Excluded", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListAppAssessmentComplianceDriftsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppAssessmentComplianceDriftsCommand.ts index 63feb06d39b7..461dce4f58bf 100644 --- a/clients/client-resiliencehub/src/commands/ListAppAssessmentComplianceDriftsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppAssessmentComplianceDriftsCommand.ts @@ -36,7 +36,8 @@ export interface ListAppAssessmentComplianceDriftsCommandOutput __MetadataBearer {} /** - *

List of compliance drifts that were detected while running an assessment.

+ *

Indicates the list of compliance drifts that were detected while running an + * assessment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -55,7 +56,7 @@ export interface ListAppAssessmentComplianceDriftsCommandOutput * // { // ComplianceDrift * // entityId: "STRING_VALUE", * // entityType: "STRING_VALUE", - * // driftType: "STRING_VALUE", + * // driftType: "ApplicationCompliance" || "AppComponentResiliencyComplianceStatus", * // appId: "STRING_VALUE", * // appVersion: "STRING_VALUE", * // expectedReferenceId: "STRING_VALUE", @@ -68,7 +69,7 @@ export interface ListAppAssessmentComplianceDriftsCommandOutput * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, @@ -83,12 +84,12 @@ export interface ListAppAssessmentComplianceDriftsCommandOutput * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, * // }, - * // diffType: "STRING_VALUE", + * // diffType: "NotEqual" || "Added" || "Removed", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListAppAssessmentResourceDriftsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppAssessmentResourceDriftsCommand.ts index f3aeba4c1ead..7ccf34970a43 100644 --- a/clients/client-resiliencehub/src/commands/ListAppAssessmentResourceDriftsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppAssessmentResourceDriftsCommand.ts @@ -64,7 +64,7 @@ export interface ListAppAssessmentResourceDriftsCommandOutput * // }, * // resourceType: "STRING_VALUE", * // }, - * // diffType: "STRING_VALUE", + * // diffType: "NotEqual" || "Added" || "Removed", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts index 34a59cac0dee..dd1486c3a752 100644 --- a/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts @@ -40,10 +40,10 @@ export interface ListAppAssessmentsCommandOutput extends ListAppAssessmentsRespo * appArn: "STRING_VALUE", * assessmentName: "STRING_VALUE", * assessmentStatus: [ // AssessmentStatusList - * "STRING_VALUE", + * "Pending" || "InProgress" || "Failed" || "Success", * ], - * complianceStatus: "STRING_VALUE", - * invoker: "STRING_VALUE", + * complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", + * invoker: "User" || "System", * reverseOrder: true || false, * nextToken: "STRING_VALUE", * maxResults: Number("int"), @@ -56,22 +56,22 @@ export interface ListAppAssessmentsCommandOutput extends ListAppAssessmentsRespo * // { // AppAssessmentSummary * // appArn: "STRING_VALUE", * // appVersion: "STRING_VALUE", - * // assessmentStatus: "STRING_VALUE", // required - * // invoker: "STRING_VALUE", + * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required + * // invoker: "User" || "System", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // message: "STRING_VALUE", * // assessmentName: "STRING_VALUE", * // assessmentArn: "STRING_VALUE", // required - * // complianceStatus: "STRING_VALUE", + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", * // cost: { // Cost * // amount: Number("double"), // required * // currency: "STRING_VALUE", // required - * // frequency: "STRING_VALUE", // required + * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required * // }, * // resiliencyScore: Number("double"), * // versionName: "STRING_VALUE", - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // }, * // ], * // }; diff --git a/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts b/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts index 253ceaba8bc2..aad880553451 100644 --- a/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts @@ -53,7 +53,7 @@ export interface ListAppComponentCompliancesCommandOutput * // cost: { // Cost * // amount: Number("double"), // required * // currency: "STRING_VALUE", // required - * // frequency: "STRING_VALUE", // required + * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required * // }, * // appComponentName: "STRING_VALUE", * // compliance: { // AssessmentCompliance @@ -65,13 +65,13 @@ export interface ListAppComponentCompliancesCommandOutput * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, * // }, * // message: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", * // resiliencyScore: { // ResiliencyScore * // score: Number("double"), // required * // disruptionScore: { // DisruptionResiliencyScore // required diff --git a/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts index a34a5e92fa5d..1e8bdaef7631 100644 --- a/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts @@ -51,13 +51,13 @@ export interface ListAppComponentRecommendationsCommandOutput * // componentRecommendations: [ // ComponentRecommendationList // required * // { // ComponentRecommendation * // appComponentName: "STRING_VALUE", // required - * // recommendationStatus: "STRING_VALUE", // required + * // recommendationStatus: "BreachedUnattainable" || "BreachedCanMeet" || "MetCanImprove" || "MissingPolicy", // required * // configRecommendations: [ // ConfigRecommendationList // required * // { // ConfigRecommendation * // cost: { // Cost * // amount: Number("double"), // required * // currency: "STRING_VALUE", // required - * // frequency: "STRING_VALUE", // required + * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required * // }, * // appComponentName: "STRING_VALUE", * // compliance: { // AssessmentCompliance @@ -69,27 +69,27 @@ export interface ListAppComponentRecommendationsCommandOutput * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, * // }, * // recommendationCompliance: { // RecommendationCompliance * // "": { // RecommendationDisruptionCompliance - * // expectedComplianceStatus: "STRING_VALUE", // required + * // expectedComplianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // expectedRtoInSecs: Number("int"), * // expectedRtoDescription: "STRING_VALUE", * // expectedRpoInSecs: Number("int"), * // expectedRpoDescription: "STRING_VALUE", * // }, * // }, - * // optimizationType: "STRING_VALUE", // required + * // optimizationType: "LeastCost" || "LeastChange" || "BestAZRecovery" || "LeastErrors" || "BestAttainable" || "BestRegionRecovery", // required * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", * // suggestedChanges: [ // SuggestedChangesList * // "STRING_VALUE", * // ], - * // haArchitecture: "STRING_VALUE", + * // haArchitecture: "MultiSite" || "WarmStandby" || "PilotLight" || "BackupAndRestore" || "NoRecoveryPlan", * // referenceId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-resiliencehub/src/commands/ListAppInputSourcesCommand.ts b/clients/client-resiliencehub/src/commands/ListAppInputSourcesCommand.ts index b876c4d130cc..c0b72c235b86 100644 --- a/clients/client-resiliencehub/src/commands/ListAppInputSourcesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppInputSourcesCommand.ts @@ -49,7 +49,7 @@ export interface ListAppInputSourcesCommandOutput extends ListAppInputSourcesRes * // appInputSources: [ // AppInputSourceList // required * // { // AppInputSource * // sourceName: "STRING_VALUE", - * // importType: "STRING_VALUE", // required + * // importType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required * // sourceArn: "STRING_VALUE", * // terraformSource: { // TerraformSource * // s3StateFileUrl: "STRING_VALUE", // required diff --git a/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts index 7c23b469f767..346da8f3558e 100644 --- a/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts @@ -57,10 +57,10 @@ export interface ListAppVersionResourceMappingsCommandOutput * // logicalStackName: "STRING_VALUE", * // appRegistryAppName: "STRING_VALUE", * // resourceGroupName: "STRING_VALUE", - * // mappingType: "STRING_VALUE", // required + * // mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, diff --git a/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts index 22df944f2bc3..83bb482d4163 100644 --- a/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts @@ -57,7 +57,7 @@ export interface ListAppVersionResourcesCommandOutput extends ListAppVersionReso * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -80,7 +80,7 @@ export interface ListAppVersionResourcesCommandOutput extends ListAppVersionReso * // ], * // }, * // excluded: true || false, - * // sourceType: "STRING_VALUE", + * // sourceType: "AppTemplate" || "Discovered", * // parentResourceName: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-resiliencehub/src/commands/ListAppsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppsCommand.ts index d7f5565bb7b0..5b1f128ef758 100644 --- a/clients/client-resiliencehub/src/commands/ListAppsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListAppsCommand.ts @@ -52,6 +52,7 @@ export interface ListAppsCommandOutput extends ListAppsResponse, __MetadataBeare * fromLastAssessmentTime: new Date("TIMESTAMP"), * toLastAssessmentTime: new Date("TIMESTAMP"), * reverseOrder: true || false, + * awsApplicationArn: "STRING_VALUE", * }; * const command = new ListAppsCommand(input); * const response = await client.send(command); @@ -62,14 +63,15 @@ export interface ListAppsCommandOutput extends ListAppsResponse, __MetadataBeare * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), // required - * // complianceStatus: "STRING_VALUE", + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy", * // resiliencyScore: Number("double"), - * // assessmentSchedule: "STRING_VALUE", - * // status: "STRING_VALUE", - * // driftStatus: "STRING_VALUE", + * // assessmentSchedule: "Disabled" || "Daily", + * // status: "Active" || "Deleting", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"), * // rtoInSecs: Number("int"), * // rpoInSecs: Number("int"), + * // awsApplicationArn: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts b/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts index 02849c95e80d..740914ed0554 100644 --- a/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts @@ -48,7 +48,7 @@ export interface ListRecommendationTemplatesCommandOutput * assessmentArn: "STRING_VALUE", * reverseOrder: true || false, * status: [ // RecommendationTemplateStatusList - * "STRING_VALUE", + * "Pending" || "InProgress" || "Failed" || "Success", * ], * recommendationTemplateArn: "STRING_VALUE", * name: "STRING_VALUE", @@ -71,12 +71,12 @@ export interface ListRecommendationTemplatesCommandOutput * // "STRING_VALUE", * // ], * // recommendationTypes: [ // RenderRecommendationTypeList // required - * // "STRING_VALUE", + * // "Alarm" || "Sop" || "Test", * // ], - * // format: "STRING_VALUE", // required + * // format: "CfnYaml" || "CfnJson", // required * // recommendationTemplateArn: "STRING_VALUE", // required * // message: "STRING_VALUE", - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // name: "STRING_VALUE", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), diff --git a/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts b/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts index 8b020991a0df..e2bc58274dbe 100644 --- a/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts @@ -52,9 +52,9 @@ export interface ListResiliencyPoliciesCommandOutput extends ListResiliencyPolic * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required diff --git a/clients/client-resiliencehub/src/commands/ListResourceGroupingRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListResourceGroupingRecommendationsCommand.ts index fd9c19920a24..ac0c1ed11fbd 100644 --- a/clients/client-resiliencehub/src/commands/ListResourceGroupingRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListResourceGroupingRecommendationsCommand.ts @@ -65,7 +65,7 @@ export interface ListResourceGroupingRecommendationsCommandOutput * // resourceType: "STRING_VALUE", // required * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -85,10 +85,10 @@ export interface ListResourceGroupingRecommendationsCommandOutput * // recommendationReasons: [ // required * // "STRING_VALUE", * // ], - * // status: "STRING_VALUE", // required - * // confidenceLevel: "STRING_VALUE", // required + * // status: "Accepted" || "Rejected" || "PendingDecision", // required + * // confidenceLevel: "High" || "Medium", // required * // creationTime: new Date("TIMESTAMP"), // required - * // rejectionReason: "STRING_VALUE", + * // rejectionReason: "DistinctBusinessPurpose" || "SeparateDataConcern" || "DistinctUserGroupHandling" || "Other", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts index fe237b3271ce..7356168b7d1c 100644 --- a/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts @@ -46,7 +46,7 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati * // nextToken: "STRING_VALUE", * // sopRecommendations: [ // SopRecommendationList // required * // { // SopRecommendation - * // serviceType: "STRING_VALUE", // required + * // serviceType: "SSM", // required * // appComponentName: "STRING_VALUE", * // description: "STRING_VALUE", * // recommendationId: "STRING_VALUE", // required @@ -58,12 +58,12 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati * // targetRegion: "STRING_VALUE", * // alreadyImplemented: true || false, * // excluded: true || false, - * // excludeReason: "STRING_VALUE", + * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // }, * // ], * // referenceId: "STRING_VALUE", // required * // prerequisite: "STRING_VALUE", - * // recommendationStatus: "STRING_VALUE", + * // recommendationStatus: "Implemented" || "Inactive" || "NotImplemented" || "Excluded", * // }, * // ], * // }; diff --git a/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts b/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts index a55048153a84..9c4f36725533 100644 --- a/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts @@ -57,9 +57,9 @@ export interface ListSuggestedResiliencyPoliciesCommandOutput * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required diff --git a/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts index aa6ace007dab..ce113fb9d99e 100644 --- a/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts @@ -51,8 +51,8 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda * // appComponentName: "STRING_VALUE", * // name: "STRING_VALUE", * // intent: "STRING_VALUE", - * // risk: "STRING_VALUE", - * // type: "STRING_VALUE", + * // risk: "Small" || "Medium" || "High", + * // type: "Software" || "Hardware" || "AZ" || "Region", * // description: "STRING_VALUE", * // items: [ // RecommendationItemList * // { // RecommendationItem @@ -61,14 +61,14 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda * // targetRegion: "STRING_VALUE", * // alreadyImplemented: true || false, * // excluded: true || false, - * // excludeReason: "STRING_VALUE", + * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // }, * // ], * // prerequisite: "STRING_VALUE", * // dependsOnAlarms: [ // AlarmReferenceIdList * // "STRING_VALUE", * // ], - * // recommendationStatus: "STRING_VALUE", + * // recommendationStatus: "Implemented" || "Inactive" || "NotImplemented" || "Excluded", * // }, * // ], * // }; diff --git a/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts index 64a8b7a53da7..d7b184b8526a 100644 --- a/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts @@ -66,7 +66,7 @@ export interface ListUnsupportedAppVersionResourcesCommandOutput * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, diff --git a/clients/client-resiliencehub/src/commands/RejectResourceGroupingRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/RejectResourceGroupingRecommendationsCommand.ts index b4e7037aa494..8d37989b6d79 100644 --- a/clients/client-resiliencehub/src/commands/RejectResourceGroupingRecommendationsCommand.ts +++ b/clients/client-resiliencehub/src/commands/RejectResourceGroupingRecommendationsCommand.ts @@ -49,7 +49,7 @@ export interface RejectResourceGroupingRecommendationsCommandOutput * entries: [ // RejectGroupingRecommendationEntries // required * { // RejectGroupingRecommendationEntry * groupingRecommendationId: "STRING_VALUE", // required - * rejectionReason: "STRING_VALUE", + * rejectionReason: "DistinctBusinessPurpose" || "SeparateDataConcern" || "DistinctUserGroupHandling" || "Other", * }, * ], * }; diff --git a/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts index 9c4bffbd8164..ced5e0cfbe90 100644 --- a/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts +++ b/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts @@ -45,7 +45,7 @@ export interface ResolveAppVersionResourcesCommandOutput extends ResolveAppVersi * // appArn: "STRING_VALUE", // required * // appVersion: "STRING_VALUE", // required * // resolutionId: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // }; * * ``` diff --git a/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts index 36ec0dc4cff3..fe242f3fc7a5 100644 --- a/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts +++ b/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts @@ -55,11 +55,11 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo * // assessment: { // AppAssessment * // appArn: "STRING_VALUE", * // appVersion: "STRING_VALUE", - * // invoker: "STRING_VALUE", // required + * // invoker: "User" || "System", // required * // cost: { // Cost * // amount: Number("double"), // required * // currency: "STRING_VALUE", // required - * // frequency: "STRING_VALUE", // required + * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required * // }, * // resiliencyScore: { // ResiliencyScore * // score: Number("double"), // required @@ -84,13 +84,13 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo * // currentRpoInSecs: Number("int"), * // rpoReferenceId: "STRING_VALUE", * // rpoDescription: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required * // achievableRpoInSecs: Number("int"), * // message: "STRING_VALUE", * // }, * // }, - * // complianceStatus: "STRING_VALUE", - * // assessmentStatus: "STRING_VALUE", // required + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", + * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // message: "STRING_VALUE", @@ -100,9 +100,9 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required @@ -128,7 +128,7 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo * // hasMoreErrors: true || false, * // }, * // versionName: "STRING_VALUE", - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // summary: { // AssessmentSummary * // summary: "STRING_VALUE", * // riskRecommendations: [ // AssessmentRiskRecommendationList diff --git a/clients/client-resiliencehub/src/commands/StartResourceGroupingRecommendationTaskCommand.ts b/clients/client-resiliencehub/src/commands/StartResourceGroupingRecommendationTaskCommand.ts index bdc36198a962..94b904eb532c 100644 --- a/clients/client-resiliencehub/src/commands/StartResourceGroupingRecommendationTaskCommand.ts +++ b/clients/client-resiliencehub/src/commands/StartResourceGroupingRecommendationTaskCommand.ts @@ -52,7 +52,7 @@ export interface StartResourceGroupingRecommendationTaskCommandOutput * // { // StartResourceGroupingRecommendationTaskResponse * // appArn: "STRING_VALUE", // required * // groupingId: "STRING_VALUE", // required - * // status: "STRING_VALUE", // required + * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // errorMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts b/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts index 8cb8ebd1cf45..ef12e727346c 100644 --- a/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts +++ b/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts @@ -40,9 +40,9 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea * description: "STRING_VALUE", * policyArn: "STRING_VALUE", * clearResiliencyPolicyArn: true || false, - * assessmentSchedule: "STRING_VALUE", + * assessmentSchedule: "Disabled" || "Daily", * permissionModel: { // PermissionModel - * type: "STRING_VALUE", // required + * type: "LegacyIAMUser" || "RoleBased", // required * invokerRoleName: "STRING_VALUE", * crossAccountRoleArns: [ // IamRoleArnList * "STRING_VALUE", @@ -51,7 +51,7 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea * eventSubscriptions: [ // EventSubscriptionList * { // EventSubscription * name: "STRING_VALUE", // required - * eventType: "STRING_VALUE", // required + * eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required * snsTopicArn: "STRING_VALUE", * }, * ], @@ -65,17 +65,17 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea * // description: "STRING_VALUE", * // policyArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", - * // complianceStatus: "STRING_VALUE", + * // status: "Active" || "Deleting", + * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy", * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"), * // resiliencyScore: Number("double"), * // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, - * // assessmentSchedule: "STRING_VALUE", + * // assessmentSchedule: "Disabled" || "Daily", * // permissionModel: { // PermissionModel - * // type: "STRING_VALUE", // required + * // type: "LegacyIAMUser" || "RoleBased", // required * // invokerRoleName: "STRING_VALUE", * // crossAccountRoleArns: [ // IamRoleArnList * // "STRING_VALUE", @@ -84,14 +84,15 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea * // eventSubscriptions: [ // EventSubscriptionList * // { // EventSubscription * // name: "STRING_VALUE", // required - * // eventType: "STRING_VALUE", // required + * // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required * // snsTopicArn: "STRING_VALUE", * // }, * // ], - * // driftStatus: "STRING_VALUE", + * // driftStatus: "NotChecked" || "NotDetected" || "Detected", * // lastDriftEvaluationTime: new Date("TIMESTAMP"), * // rtoInSecs: Number("int"), * // rpoInSecs: Number("int"), + * // awsApplicationArn: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-resiliencehub/src/commands/UpdateAppVersionResourceCommand.ts b/clients/client-resiliencehub/src/commands/UpdateAppVersionResourceCommand.ts index ede7d963a46d..0d0b5ba2a206 100644 --- a/clients/client-resiliencehub/src/commands/UpdateAppVersionResourceCommand.ts +++ b/clients/client-resiliencehub/src/commands/UpdateAppVersionResourceCommand.ts @@ -91,7 +91,7 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR * // }, * // physicalResourceId: { // PhysicalResourceId * // identifier: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "Arn" || "Native", // required * // awsRegion: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // }, @@ -114,7 +114,7 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR * // ], * // }, * // excluded: true || false, - * // sourceType: "STRING_VALUE", + * // sourceType: "AppTemplate" || "Discovered", * // parentResourceName: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts index 74b7a3a0e100..6f45034f38cb 100644 --- a/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts +++ b/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts @@ -52,8 +52,8 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol * policyArn: "STRING_VALUE", // required * policyName: "STRING_VALUE", * policyDescription: "STRING_VALUE", - * dataLocationConstraint: "STRING_VALUE", - * tier: "STRING_VALUE", + * dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", * policy: { // DisruptionPolicy * "": { // FailurePolicy * rtoInSecs: Number("int"), // required @@ -68,9 +68,9 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol * // policyArn: "STRING_VALUE", * // policyName: "STRING_VALUE", * // policyDescription: "STRING_VALUE", - * // dataLocationConstraint: "STRING_VALUE", - * // tier: "STRING_VALUE", - * // estimatedCostTier: "STRING_VALUE", + * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry", + * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", + * // estimatedCostTier: "L1" || "L2" || "L3" || "L4", * // policy: { // DisruptionPolicy * // "": { // FailurePolicy * // rtoInSecs: Number("int"), // required diff --git a/clients/client-resiliencehub/src/models/models_0.ts b/clients/client-resiliencehub/src/models/models_0.ts index 37ec45f81139..281fbf36a21f 100644 --- a/clients/client-resiliencehub/src/models/models_0.ts +++ b/clients/client-resiliencehub/src/models/models_0.ts @@ -1032,6 +1032,15 @@ export interface App { * @public */ rpoInSecs?: number; + + /** + *

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, + * see + * Amazon Resource Names (ARNs) in the + * Amazon Web Services General Reference guide.

+ * @public + */ + awsApplicationArn?: string; } /** @@ -1688,7 +1697,10 @@ export interface AppAssessment { driftStatus?: DriftStatus; /** - *

Indicates a concise summary that provides an overview of the Resilience Hub assessment.

+ *

Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

+ * + *

This property is available only in the US East (N. Virginia) Region.

+ *
* @public */ summary?: AssessmentSummary; @@ -2034,6 +2046,15 @@ export interface AppSummary { * @public */ rpoInSecs?: number; + + /** + *

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, + * see + * Amazon Resource Names (ARNs) in the + * Amazon Web Services General Reference guide.

+ * @public + */ + awsApplicationArn?: string; } /** @@ -2114,7 +2135,7 @@ export interface UpdateRecommendationStatusRequestEntry { *

The operational recommendation item.

* @public */ - item: UpdateRecommendationStatusItem | undefined; + item?: UpdateRecommendationStatusItem; /** *

Indicates if the operational recommendation needs to be excluded. If set to True, the @@ -2197,7 +2218,7 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry { *

The operational recommendation item.

* @public */ - item: UpdateRecommendationStatusItem | undefined; + item?: UpdateRecommendationStatusItem; /** *

Indicates if the operational recommendation was successfully excluded.

@@ -2300,6 +2321,15 @@ export interface CreateAppRequest { * @public */ eventSubscriptions?: EventSubscription[]; + + /** + *

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, + * see + * Amazon Resource Names (ARNs) in the + * Amazon Web Services General Reference guide.

+ * @public + */ + awsApplicationArn?: string; } /** @@ -3953,6 +3983,18 @@ export interface DescribeDraftAppVersionResourcesImportStatusRequest { appArn: string | undefined; } +/** + *

Indicates the error that was encountered while importing a resource.

+ * @public + */ +export interface ErrorDetail { + /** + *

Provides additional information about the error.

+ * @public + */ + errorMessage?: string; +} + /** * @public * @enum @@ -4002,10 +4044,16 @@ export interface DescribeDraftAppVersionResourcesImportStatusResponse { statusChangeTime: Date | undefined; /** - *

The returned error message for the request.

+ *

The error message returned for the resource request.

* @public */ errorMessage?: string; + + /** + *

List of errors that were encountered while importing resources.

+ * @public + */ + errorDetails?: ErrorDetail[]; } /** @@ -4979,6 +5027,15 @@ export interface ListAppsRequest { * @public */ reverseOrder?: boolean; + + /** + *

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, + * see + * Amazon Resource Names (ARNs) in the + * Amazon Web Services General Reference guide.

+ * @public + */ + awsApplicationArn?: string; } /** @@ -6721,8 +6778,7 @@ export interface UpdateAppRequest { assessmentSchedule?: AppAssessmentScheduleType; /** - *

Defines the roles and credentials that Resilience Hub would use while creating - * an + *

Defines the roles and credentials that Resilience Hub would use while creating an * application, importing its resources, and running an assessment.

* @public */ diff --git a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts index 6d0248c72449..5e5243a916e9 100644 --- a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts +++ b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts @@ -356,6 +356,7 @@ export const se_CreateAppCommand = async ( body = JSON.stringify( take(input, { assessmentSchedule: [], + awsApplicationArn: [], clientToken: [true, (_) => _ ?? generateIdempotencyToken()], description: [], eventSubscriptions: (_) => _json(_), @@ -1102,6 +1103,7 @@ export const se_ListAppsCommand = async ( [_fLAT]: [() => input.fromLastAssessmentTime !== void 0, () => __serializeDateTime(input[_fLAT]!).toString()], [_tLAT]: [() => input.toLastAssessmentTime !== void 0, () => __serializeDateTime(input[_tLAT]!).toString()], [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO]!.toString()], + [_aAA]: [, input[_aAA]!], }); let body: any; b.m("GET").h(headers).q(query).b(body); @@ -2235,6 +2237,7 @@ export const de_DescribeDraftAppVersionResourcesImportStatusCommand = async ( const doc = take(data, { appArn: __expectString, appVersion: __expectString, + errorDetails: _json, errorMessage: __expectString, status: __expectString, statusChangeTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), @@ -3319,6 +3322,7 @@ const de_App = (output: any, context: __SerdeContext): App => { return take(output, { appArn: __expectString, assessmentSchedule: __expectString, + awsApplicationArn: __expectString, complianceStatus: __expectString, creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), description: __expectString, @@ -3430,6 +3434,7 @@ const de_AppSummary = (output: any, context: __SerdeContext): AppSummary => { return take(output, { appArn: __expectString, assessmentSchedule: __expectString, + awsApplicationArn: __expectString, complianceStatus: __expectString, creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), description: __expectString, @@ -3605,6 +3610,10 @@ const de_DisruptionResiliencyScore = ( // de_EksSourceList omitted. +// de_ErrorDetail omitted. + +// de_ErrorDetailList omitted. + // de_EventSubscription omitted. // de_EventSubscriptionList omitted. @@ -3834,6 +3843,7 @@ const collectBodyString = (streamBody: any, context: __SerdeContext): Promise context.utf8Encoder(body)); const _aA = "appArn"; +const _aAA = "awsApplicationArn"; const _aAs = "assessmentArn"; const _aN = "assessmentName"; const _aS = "assessmentStatus"; diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index 64da7fbb4c72..2fbaaa7562b0 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -319,30 +319,38 @@ } }, "com.amazonaws.resiliencehub#AlarmType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Metric", - "name": "METRIC" - }, - { - "value": "Composite", - "name": "COMPOSITE" - }, - { - "value": "Canary", - "name": "CANARY" - }, - { - "value": "Logs", - "name": "LOGS" - }, - { - "value": "Event", - "name": "EVENT" + "type": "enum", + "members": { + "METRIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Metric" + } + }, + "COMPOSITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Composite" + } + }, + "CANARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canary" + } + }, + "LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Logs" + } + }, + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Event" } - ] + } } }, "com.amazonaws.resiliencehub#App": { @@ -459,6 +467,12 @@ "traits": { "smithy.api#documentation": "

Recovery Point Objective (RPO) in seconds.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } }, "traits": { @@ -582,7 +596,7 @@ "summary": { "target": "com.amazonaws.resiliencehub#AssessmentSummary", "traits": { - "smithy.api#documentation": "

Indicates a concise summary that provides an overview of the Resilience Hub assessment.

" + "smithy.api#documentation": "

Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.

\n \n

This property is available only in the US East (N. Virginia) Region.

\n
" } } }, @@ -591,18 +605,20 @@ } }, "com.amazonaws.resiliencehub#AppAssessmentScheduleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Disabled", - "name": "DISABLED" - }, - { - "value": "Daily", - "name": "DAILY" + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disabled" + } + }, + "DAILY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daily" } - ] + } } }, "com.amazonaws.resiliencehub#AppAssessmentSummary": { @@ -707,34 +723,44 @@ } }, "com.amazonaws.resiliencehub#AppComplianceStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PolicyBreached", - "name": "POLICY_BREACHED" - }, - { - "value": "PolicyMet", - "name": "POLICY_MET" - }, - { - "value": "NotAssessed", - "name": "NOT_ASSESSED" - }, - { - "value": "ChangesDetected", - "name": "CHANGES_DETECTED" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "POLICY_BREACHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyBreached" + } + }, + "POLICY_MET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyMet" + } + }, + "NOT_ASSESSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAssessed" + } + }, + "CHANGES_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChangesDetected" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" } - ] + } } }, "com.amazonaws.resiliencehub#AppComponent": { @@ -828,22 +854,26 @@ } }, "com.amazonaws.resiliencehub#AppDriftStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotChecked", - "name": "NOT_CHECKED" - }, - { - "value": "NotDetected", - "name": "NOT_DETECTED" - }, - { - "value": "Detected", - "name": "DETECTED" + "type": "enum", + "members": { + "NOT_CHECKED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotChecked" + } + }, + "NOT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotDetected" } - ] + }, + "DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Detected" + } + } } }, "com.amazonaws.resiliencehub#AppInputSource": { @@ -899,18 +929,20 @@ } }, "com.amazonaws.resiliencehub#AppStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Active", - "name": "ACTIVE" - }, - { - "value": "Deleting", - "name": "DELETING" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deleting" } - ] + } } }, "com.amazonaws.resiliencehub#AppSummary": { @@ -991,6 +1023,12 @@ "traits": { "smithy.api#documentation": "

Recovery Point Objective (RPO) in seconds.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } }, "traits": { @@ -1074,18 +1112,20 @@ } }, "com.amazonaws.resiliencehub#AssessmentInvoker": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "User", - "name": "USER" - }, - { - "value": "System", - "name": "SYSTEM" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "User" + } + }, + "SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "System" } - ] + } } }, "com.amazonaws.resiliencehub#AssessmentRiskRecommendation": { @@ -1121,26 +1161,32 @@ } }, "com.amazonaws.resiliencehub#AssessmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "INPROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "INPROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#AssessmentStatusList": { @@ -2400,8 +2446,7 @@ "item": { "target": "com.amazonaws.resiliencehub#UpdateRecommendationStatusItem", "traits": { - "smithy.api#documentation": "

The operational recommendation item.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The operational recommendation item.

" } }, "excluded": { @@ -2510,26 +2555,32 @@ } }, "com.amazonaws.resiliencehub#ComplianceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PolicyBreached", - "name": "POLICY_BREACHED" - }, - { - "value": "PolicyMet", - "name": "POLICY_MET" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "POLICY_BREACHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyBreached" + } + }, + "POLICY_MET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PolicyMet" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" } - ] + } } }, "com.amazonaws.resiliencehub#ComponentCompliancesList": { @@ -2651,34 +2702,44 @@ } }, "com.amazonaws.resiliencehub#ConfigRecommendationOptimizationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LeastCost", - "name": "LEAST_COST" - }, - { - "value": "LeastChange", - "name": "LEAST_CHANGE" - }, - { - "value": "BestAZRecovery", - "name": "BEST_AZ_RECOVERY" - }, - { - "value": "LeastErrors", - "name": "LEAST_ERRORS" - }, - { - "value": "BestAttainable", - "name": "BEST_ATTAINABLE" - }, - { - "value": "BestRegionRecovery", - "name": "BEST_REGION_RECOVERY" + "type": "enum", + "members": { + "LEAST_COST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastCost" + } + }, + "LEAST_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastChange" + } + }, + "BEST_AZ_RECOVERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestAZRecovery" } - ] + }, + "LEAST_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LeastErrors" + } + }, + "BEST_ATTAINABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestAttainable" + } + }, + "BEST_REGION_RECOVERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BestRegionRecovery" + } + } } }, "com.amazonaws.resiliencehub#ConflictException": { @@ -2737,26 +2798,32 @@ } }, "com.amazonaws.resiliencehub#CostFrequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Hourly", - "name": "HOURLY" - }, - { - "value": "Daily", - "name": "DAILY" - }, - { - "value": "Monthly", - "name": "MONTHLY" - }, - { - "value": "Yearly", - "name": "YEARLY" + "type": "enum", + "members": { + "HOURLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hourly" + } + }, + "DAILY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daily" + } + }, + "MONTHLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Monthly" + } + }, + "YEARLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Yearly" } - ] + } } }, "com.amazonaws.resiliencehub#CreateApp": { @@ -2851,6 +2918,12 @@ "traits": { "smithy.api#documentation": "

The list of events you would like to subscribe and get notification for. Currently,\n Resilience Hub supports only Drift detected and\n Scheduled assessment failure events notification.

" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

" + } } } }, @@ -3335,22 +3408,26 @@ } }, "com.amazonaws.resiliencehub#DataLocationConstraint": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AnyLocation", - "name": "ANY_LOCATION" - }, - { - "value": "SameContinent", - "name": "SAME_CONTINENT" - }, - { - "value": "SameCountry", - "name": "SAME_COUNTRY" + "type": "enum", + "members": { + "ANY_LOCATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AnyLocation" + } + }, + "SAME_CONTINENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SameContinent" } - ] + }, + "SAME_COUNTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SameCountry" + } + } } }, "com.amazonaws.resiliencehub#DeleteApp": { @@ -4579,7 +4656,13 @@ "errorMessage": { "target": "com.amazonaws.resiliencehub#String500", "traits": { - "smithy.api#documentation": "

The returned error message for the request.

" + "smithy.api#documentation": "

The error message returned for the resource request.

" + } + }, + "errorDetails": { + "target": "com.amazonaws.resiliencehub#ErrorDetailList", + "traits": { + "smithy.api#documentation": "

List of errors that were encountered while importing resources.

" } } } @@ -4726,22 +4809,26 @@ } }, "com.amazonaws.resiliencehub#DifferenceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotEqual", - "name": "NOT_EQUAL" - }, - { - "value": "Added", - "name": "ADDED" - }, - { - "value": "Removed", - "name": "REMOVED" + "type": "enum", + "members": { + "NOT_EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotEqual" + } + }, + "ADDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Added" + } + }, + "REMOVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Removed" } - ] + } } }, "com.amazonaws.resiliencehub#DisruptionCompliance": { @@ -4836,26 +4923,32 @@ } }, "com.amazonaws.resiliencehub#DisruptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Software", - "name": "SOFTWARE" - }, - { - "value": "Hardware", - "name": "HARDWARE" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "Region", - "name": "REGION" + "type": "enum", + "members": { + "SOFTWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Software" + } + }, + "HARDWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hardware" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Region" } - ] + } } }, "com.amazonaws.resiliencehub#DocumentName": { @@ -4874,37 +4967,43 @@ } }, "com.amazonaws.resiliencehub#DriftStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotChecked", - "name": "NOT_CHECKED" - }, - { - "value": "NotDetected", - "name": "NOT_DETECTED" - }, - { - "value": "Detected", - "name": "DETECTED" + "type": "enum", + "members": { + "NOT_CHECKED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotChecked" + } + }, + "NOT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotDetected" + } + }, + "DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Detected" } - ] + } } }, "com.amazonaws.resiliencehub#DriftType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ApplicationCompliance", - "name": "APPLICATION_COMPLIANCE" - }, - { - "value": "AppComponentResiliencyComplianceStatus", - "name": "APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS" + "type": "enum", + "members": { + "APPLICATION_COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ApplicationCompliance" } - ] + }, + "APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppComponentResiliencyComplianceStatus" + } + } } }, "com.amazonaws.resiliencehub#EksNamespace": { @@ -5012,36 +5111,62 @@ "smithy.api#pattern": "^\\S{1,50}$" } }, - "com.amazonaws.resiliencehub#ErrorMessage": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 500 + "com.amazonaws.resiliencehub#ErrorDetail": { + "type": "structure", + "members": { + "errorMessage": { + "target": "com.amazonaws.resiliencehub#ErrorMessage", + "traits": { + "smithy.api#documentation": "

Provides additional information about the error.

" + } } + }, + "traits": { + "smithy.api#documentation": "

Indicates the error that was encountered while importing a resource.

" } }, - "com.amazonaws.resiliencehub#EstimatedCostTier": { + "com.amazonaws.resiliencehub#ErrorDetailList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ErrorDetail" + } + }, + "com.amazonaws.resiliencehub#ErrorMessage": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "L1", - "name": "L1" - }, - { - "value": "L2", - "name": "L2" - }, - { - "value": "L3", - "name": "L3" - }, - { - "value": "L4", - "name": "L4" + "smithy.api#length": { + "min": 0, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#EstimatedCostTier": { + "type": "enum", + "members": { + "L1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L1" + } + }, + "L2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L2" + } + }, + "L3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L3" + } + }, + "L4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L4" } - ] + } } }, "com.amazonaws.resiliencehub#EventSubscription": { @@ -5085,37 +5210,43 @@ } }, "com.amazonaws.resiliencehub#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ScheduledAssessmentFailure", - "name": "SCHEDULED_ASSESSMENT_FAILURE" - }, - { - "value": "DriftDetected", - "name": "DRIFT_DETECTED" + "type": "enum", + "members": { + "SCHEDULED_ASSESSMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduledAssessmentFailure" + } + }, + "DRIFT_DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DriftDetected" } - ] + } } }, "com.amazonaws.resiliencehub#ExcludeRecommendationReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AlreadyImplemented", - "name": "ALREADY_IMPLEMENTED" - }, - { - "value": "NotRelevant", - "name": "NOT_RELEVANT" - }, - { - "value": "ComplexityOfImplementation", - "name": "COMPLEXITY_OF_IMPLEMENTATION" + "type": "enum", + "members": { + "ALREADY_IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AlreadyImplemented" + } + }, + "NOT_RELEVANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotRelevant" } - ] + }, + "COMPLEXITY_OF_IMPLEMENTATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ComplexityOfImplementation" + } + } } }, "com.amazonaws.resiliencehub#FailedGroupingRecommendationEntries": { @@ -5271,18 +5402,20 @@ } }, "com.amazonaws.resiliencehub#GroupingRecommendationConfidenceLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "HIGH", - "value": "High" - }, - { - "name": "MEDIUM", - "value": "Medium" + "type": "enum", + "members": { + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" } - ] + } } }, "com.amazonaws.resiliencehub#GroupingRecommendationList": { @@ -5292,45 +5425,55 @@ } }, "com.amazonaws.resiliencehub#GroupingRecommendationRejectionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "DISTINCT_BUSINESS_PURPOSE", - "value": "DistinctBusinessPurpose" - }, - { - "name": "SEPARATE_DATA_CONCERN", - "value": "SeparateDataConcern" - }, - { - "name": "DISTINCT_USER_GROUP_HANDLING", - "value": "DistinctUserGroupHandling" - }, - { - "name": "OTHER", - "value": "Other" + "type": "enum", + "members": { + "DISTINCT_BUSINESS_PURPOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DistinctBusinessPurpose" + } + }, + "SEPARATE_DATA_CONCERN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SeparateDataConcern" } - ] + }, + "DISTINCT_USER_GROUP_HANDLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DistinctUserGroupHandling" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Other" + } + } } }, "com.amazonaws.resiliencehub#GroupingRecommendationStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "ACCEPTED", - "value": "Accepted" - }, - { - "name": "REJECTED", - "value": "Rejected" - }, - { - "name": "PENDING_DECISION", - "value": "PendingDecision" + "type": "enum", + "members": { + "ACCEPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Accepted" } - ] + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Rejected" + } + }, + "PENDING_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PendingDecision" + } + } } }, "com.amazonaws.resiliencehub#GroupingResource": { @@ -5383,30 +5526,38 @@ } }, "com.amazonaws.resiliencehub#HaArchitecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MultiSite", - "name": "MULTI_SITE" - }, - { - "value": "WarmStandby", - "name": "WARM_STANDBY" - }, - { - "value": "PilotLight", - "name": "PILOT_LIGHT" - }, - { - "value": "BackupAndRestore", - "name": "BACKUP_AND_RESTORE" - }, - { - "value": "NoRecoveryPlan", - "name": "NO_RECOVERY_PLAN" + "type": "enum", + "members": { + "MULTI_SITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MultiSite" + } + }, + "WARM_STANDBY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WarmStandby" + } + }, + "PILOT_LIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PilotLight" + } + }, + "BACKUP_AND_RESTORE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BackupAndRestore" + } + }, + "NO_RECOVERY_PLAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NoRecoveryPlan" } - ] + } } }, "com.amazonaws.resiliencehub#IamRoleArn": { @@ -5679,7 +5830,7 @@ } ], "traits": { - "smithy.api#documentation": "

List of compliance drifts that were detected while running an assessment.

", + "smithy.api#documentation": "

Indicates the list of compliance drifts that were detected while running an\n assessment.

", "smithy.api#http": { "method": "POST", "uri": "/list-app-assessment-compliance-drifts", @@ -6668,6 +6819,13 @@ "smithy.api#documentation": "

The application list is sorted based on the values of\n lastAppComplianceEvaluationTime field. By default, application list is sorted\n in ascending order. To sort the application list in descending order, set this field to\n True.

", "smithy.api#httpQuery": "reverseOrder" } + }, + "awsApplicationArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference guide.

", + "smithy.api#httpQuery": "awsApplicationArn" + } } } }, @@ -7471,33 +7629,37 @@ } }, "com.amazonaws.resiliencehub#PermissionModelType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LegacyIAMUser", - "name": "LEGACY_IAM_USER" - }, - { - "value": "RoleBased", - "name": "ROLE_BASED" + "type": "enum", + "members": { + "LEGACY_IAM_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LegacyIAMUser" + } + }, + "ROLE_BASED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RoleBased" } - ] + } } }, "com.amazonaws.resiliencehub#PhysicalIdentifierType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Arn", - "name": "ARN" - }, - { - "value": "Native", - "name": "NATIVE" + "type": "enum", + "members": { + "ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arn" + } + }, + "NATIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Native" } - ] + } } }, "com.amazonaws.resiliencehub#PhysicalResource": { @@ -7773,26 +7935,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationComplianceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BreachedUnattainable", - "name": "BREACHED_UNATTAINABLE" - }, - { - "value": "BreachedCanMeet", - "name": "BREACHED_CAN_MEET" - }, - { - "value": "MetCanImprove", - "name": "MET_CAN_IMPROVE" - }, - { - "value": "MissingPolicy", - "name": "MISSING_POLICY" + "type": "enum", + "members": { + "BREACHED_UNATTAINABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BreachedUnattainable" } - ] + }, + "BREACHED_CAN_MEET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BreachedCanMeet" + } + }, + "MET_CAN_IMPROVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MetCanImprove" + } + }, + "MISSING_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingPolicy" + } + } } }, "com.amazonaws.resiliencehub#RecommendationDisruptionCompliance": { @@ -7899,26 +8067,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Implemented", - "name": "IMPLEMENTED" - }, - { - "value": "Inactive", - "name": "INACTIVE" - }, - { - "value": "NotImplemented", - "name": "NOT_IMPLEMENTED" - }, - { - "value": "Excluded", - "name": "EXCLUDED" + "type": "enum", + "members": { + "IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Implemented" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Inactive" + } + }, + "NOT_IMPLEMENTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotImplemented" + } + }, + "EXCLUDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Excluded" } - ] + } } }, "com.amazonaws.resiliencehub#RecommendationTemplate": { @@ -8026,26 +8200,32 @@ } }, "com.amazonaws.resiliencehub#RecommendationTemplateStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#RecommendationTemplateStatusList": { @@ -8274,22 +8454,26 @@ } }, "com.amazonaws.resiliencehub#RenderRecommendationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Alarm", - "name": "ALARM" - }, - { - "value": "Sop", - "name": "SOP" - }, - { - "value": "Test", - "name": "TEST" + "type": "enum", + "members": { + "ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Alarm" + } + }, + "SOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sop" + } + }, + "TEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Test" } - ] + } } }, "com.amazonaws.resiliencehub#RenderRecommendationTypeList": { @@ -8373,34 +8557,44 @@ } }, "com.amazonaws.resiliencehub#ResiliencyPolicyTier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MissionCritical", - "name": "MISSION_CRITICAL" - }, - { - "value": "Critical", - "name": "CRITICAL" - }, - { - "value": "Important", - "name": "IMPORTANT" - }, - { - "value": "CoreServices", - "name": "CORE_SERVICES" - }, - { - "value": "NonCritical", - "name": "NON_CRITICAL" - }, - { - "value": "NotApplicable", - "name": "NOT_APPLICABLE" + "type": "enum", + "members": { + "MISSION_CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissionCritical" + } + }, + "CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Critical" + } + }, + "IMPORTANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Important" + } + }, + "CORE_SERVICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CoreServices" + } + }, + "NON_CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NonCritical" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotApplicable" } - ] + } } }, "com.amazonaws.resiliencehub#ResiliencyScore": { @@ -8433,26 +8627,32 @@ } }, "com.amazonaws.resiliencehub#ResiliencyScoreType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Compliance", - "name": "COMPLIANCE" - }, - { - "value": "Test", - "name": "TEST" - }, - { - "value": "Alarm", - "name": "ALARM" - }, - { - "value": "Sop", - "name": "SOP" + "type": "enum", + "members": { + "COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Compliance" + } + }, + "TEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Test" + } + }, + "ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Alarm" } - ] + }, + "SOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sop" + } + } } }, "com.amazonaws.resiliencehub#ResolveAppVersionResources": { @@ -8667,41 +8867,49 @@ } }, "com.amazonaws.resiliencehub#ResourceImportStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "PENDING", - "value": "Pending" - }, - { - "name": "IN_PROGRESS", - "value": "InProgress" - }, - { - "name": "FAILED", - "value": "Failed" - }, - { - "name": "SUCCESS", - "value": "Success" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + } } }, "com.amazonaws.resiliencehub#ResourceImportStrategyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AddOnly", - "name": "ADD_ONLY" - }, - { - "value": "ReplaceAll", - "name": "REPLACE_ALL" + "type": "enum", + "members": { + "ADD_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AddOnly" } - ] + }, + "REPLACE_ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReplaceAll" + } + } } }, "com.amazonaws.resiliencehub#ResourceMapping": { @@ -8769,34 +8977,44 @@ } }, "com.amazonaws.resiliencehub#ResourceMappingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CfnStack", - "name": "CFN_STACK" - }, - { - "value": "Resource", - "name": "RESOURCE" - }, - { - "value": "AppRegistryApp", - "name": "APP_REGISTRY_APP" - }, - { - "value": "ResourceGroup", - "name": "RESOURCE_GROUP" - }, - { - "value": "Terraform", - "name": "TERRAFORM" - }, - { - "value": "EKS", - "name": "EKS" + "type": "enum", + "members": { + "CFN_STACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnStack" + } + }, + "RESOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Resource" } - ] + }, + "APP_REGISTRY_APP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppRegistryApp" + } + }, + "RESOURCE_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceGroup" + } + }, + "TERRAFORM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Terraform" + } + }, + "EKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EKS" + } + } } }, "com.amazonaws.resiliencehub#ResourceNotFoundException": { @@ -8825,41 +9043,49 @@ } }, "com.amazonaws.resiliencehub#ResourceResolutionStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Success", - "name": "SUCCESS" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" } - ] + } } }, "com.amazonaws.resiliencehub#ResourceSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AppTemplate", - "name": "APP_TEMPLATE" - }, - { - "value": "Discovered", - "name": "DISCOVERED" + "type": "enum", + "members": { + "APP_TEMPLATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppTemplate" + } + }, + "DISCOVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Discovered" } - ] + } } }, "com.amazonaws.resiliencehub#ResourceType": { @@ -8869,26 +9095,32 @@ } }, "com.amazonaws.resiliencehub#ResourcesGroupingRecGenStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "PENDING", - "value": "Pending" - }, - { - "name": "IN_PROGRESS", - "value": "InProgress" - }, - { - "name": "FAILED", - "value": "Failed" - }, - { - "name": "SUCCESS", - "value": "Success" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" } - ] + } } }, "com.amazonaws.resiliencehub#RetryAfterSeconds": { @@ -9062,14 +9294,14 @@ } }, "com.amazonaws.resiliencehub#SopServiceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SSM", - "name": "SSM" + "type": "enum", + "members": { + "SSM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSM" } - ] + } } }, "com.amazonaws.resiliencehub#SpecReferenceId": { @@ -9421,18 +9653,20 @@ } }, "com.amazonaws.resiliencehub#TemplateFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CfnYaml", - "name": "CFN_YAML" - }, - { - "value": "CfnJson", - "name": "CFN_JSON" + "type": "enum", + "members": { + "CFN_YAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnYaml" } - ] + }, + "CFN_JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CfnJson" + } + } } }, "com.amazonaws.resiliencehub#TerraformSource": { @@ -9544,45 +9778,55 @@ } }, "com.amazonaws.resiliencehub#TestRisk": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Small", - "name": "SMALL" - }, - { - "value": "Medium", - "name": "MEDIUM" - }, - { - "value": "High", - "name": "HIGH" + "type": "enum", + "members": { + "SMALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Small" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + } } }, "com.amazonaws.resiliencehub#TestType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Software", - "name": "SOFTWARE" - }, - { - "value": "Hardware", - "name": "HARDWARE" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "Region", - "name": "REGION" + "type": "enum", + "members": { + "SOFTWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Software" } - ] + }, + "HARDWARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hardware" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Region" + } + } } }, "com.amazonaws.resiliencehub#ThrottlingException": { @@ -9781,7 +10025,7 @@ "permissionModel": { "target": "com.amazonaws.resiliencehub#PermissionModel", "traits": { - "smithy.api#documentation": "

Defines the roles and credentials that Resilience Hub would use while creating\n an\n application, importing its resources, and running an assessment.

" + "smithy.api#documentation": "

Defines the roles and credentials that Resilience Hub would use while creating an\n application, importing its resources, and running an assessment.

" } }, "eventSubscriptions": { @@ -10172,8 +10416,7 @@ "item": { "target": "com.amazonaws.resiliencehub#UpdateRecommendationStatusItem", "traits": { - "smithy.api#documentation": "

The operational recommendation item.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The operational recommendation item.

" } }, "excluded": {