aws-sdk-resiliencehub 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ module Aws::ResilienceHub
32
32
  AppComponentCompliance = Shapes::StructureShape.new(name: 'AppComponentCompliance')
33
33
  AppComponentList = Shapes::ListShape.new(name: 'AppComponentList')
34
34
  AppComponentNameList = Shapes::ListShape.new(name: 'AppComponentNameList')
35
+ AppDriftStatusType = Shapes::StringShape.new(name: 'AppDriftStatusType')
35
36
  AppInputSource = Shapes::StructureShape.new(name: 'AppInputSource')
36
37
  AppInputSourceList = Shapes::ListShape.new(name: 'AppInputSourceList')
37
38
  AppStatusType = Shapes::StringShape.new(name: 'AppStatusType')
@@ -47,8 +48,16 @@ module Aws::ResilienceHub
47
48
  AssessmentStatus = Shapes::StringShape.new(name: 'AssessmentStatus')
48
49
  AssessmentStatusList = Shapes::ListShape.new(name: 'AssessmentStatusList')
49
50
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
51
+ BatchUpdateRecommendationStatusFailedEntries = Shapes::ListShape.new(name: 'BatchUpdateRecommendationStatusFailedEntries')
52
+ BatchUpdateRecommendationStatusFailedEntry = Shapes::StructureShape.new(name: 'BatchUpdateRecommendationStatusFailedEntry')
53
+ BatchUpdateRecommendationStatusRequest = Shapes::StructureShape.new(name: 'BatchUpdateRecommendationStatusRequest')
54
+ BatchUpdateRecommendationStatusResponse = Shapes::StructureShape.new(name: 'BatchUpdateRecommendationStatusResponse')
55
+ BatchUpdateRecommendationStatusSuccessfulEntries = Shapes::ListShape.new(name: 'BatchUpdateRecommendationStatusSuccessfulEntries')
56
+ BatchUpdateRecommendationStatusSuccessfulEntry = Shapes::StructureShape.new(name: 'BatchUpdateRecommendationStatusSuccessfulEntry')
50
57
  BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
51
58
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
59
+ ComplianceDrift = Shapes::StructureShape.new(name: 'ComplianceDrift')
60
+ ComplianceDriftList = Shapes::ListShape.new(name: 'ComplianceDriftList')
52
61
  ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
53
62
  ComponentCompliancesList = Shapes::ListShape.new(name: 'ComponentCompliancesList')
54
63
  ComponentRecommendation = Shapes::StructureShape.new(name: 'ComponentRecommendation')
@@ -104,12 +113,15 @@ module Aws::ResilienceHub
104
113
  DescribeDraftAppVersionResourcesImportStatusResponse = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusResponse')
105
114
  DescribeResiliencyPolicyRequest = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyRequest')
106
115
  DescribeResiliencyPolicyResponse = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyResponse')
116
+ DifferenceType = Shapes::StringShape.new(name: 'DifferenceType')
107
117
  DisruptionCompliance = Shapes::StructureShape.new(name: 'DisruptionCompliance')
108
118
  DisruptionPolicy = Shapes::MapShape.new(name: 'DisruptionPolicy')
109
119
  DisruptionResiliencyScore = Shapes::MapShape.new(name: 'DisruptionResiliencyScore')
110
120
  DisruptionType = Shapes::StringShape.new(name: 'DisruptionType')
111
121
  DocumentName = Shapes::StringShape.new(name: 'DocumentName')
112
122
  Double = Shapes::FloatShape.new(name: 'Double')
123
+ DriftStatus = Shapes::StringShape.new(name: 'DriftStatus')
124
+ DriftType = Shapes::StringShape.new(name: 'DriftType')
113
125
  EksNamespace = Shapes::StringShape.new(name: 'EksNamespace')
114
126
  EksNamespaceList = Shapes::ListShape.new(name: 'EksNamespaceList')
115
127
  EksSource = Shapes::StructureShape.new(name: 'EksSource')
@@ -122,14 +134,23 @@ module Aws::ResilienceHub
122
134
  EntityVersion = Shapes::StringShape.new(name: 'EntityVersion')
123
135
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
124
136
  EstimatedCostTier = Shapes::StringShape.new(name: 'EstimatedCostTier')
137
+ EventSubscription = Shapes::StructureShape.new(name: 'EventSubscription')
138
+ EventSubscriptionList = Shapes::ListShape.new(name: 'EventSubscriptionList')
139
+ EventType = Shapes::StringShape.new(name: 'EventType')
140
+ ExcludeRecommendationReason = Shapes::StringShape.new(name: 'ExcludeRecommendationReason')
125
141
  FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy')
126
142
  HaArchitecture = Shapes::StringShape.new(name: 'HaArchitecture')
143
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
144
+ IamRoleArnList = Shapes::ListShape.new(name: 'IamRoleArnList')
145
+ IamRoleName = Shapes::StringShape.new(name: 'IamRoleName')
127
146
  ImportResourcesToDraftAppVersionRequest = Shapes::StructureShape.new(name: 'ImportResourcesToDraftAppVersionRequest')
128
147
  ImportResourcesToDraftAppVersionResponse = Shapes::StructureShape.new(name: 'ImportResourcesToDraftAppVersionResponse')
129
148
  Integer = Shapes::IntegerShape.new(name: 'Integer')
130
149
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
131
150
  ListAlarmRecommendationsRequest = Shapes::StructureShape.new(name: 'ListAlarmRecommendationsRequest')
132
151
  ListAlarmRecommendationsResponse = Shapes::StructureShape.new(name: 'ListAlarmRecommendationsResponse')
152
+ ListAppAssessmentComplianceDriftsRequest = Shapes::StructureShape.new(name: 'ListAppAssessmentComplianceDriftsRequest')
153
+ ListAppAssessmentComplianceDriftsResponse = Shapes::StructureShape.new(name: 'ListAppAssessmentComplianceDriftsResponse')
133
154
  ListAppAssessmentsRequest = Shapes::StructureShape.new(name: 'ListAppAssessmentsRequest')
134
155
  ListAppAssessmentsResponse = Shapes::StructureShape.new(name: 'ListAppAssessmentsResponse')
135
156
  ListAppComponentCompliancesRequest = Shapes::StructureShape.new(name: 'ListAppComponentCompliancesRequest')
@@ -163,8 +184,11 @@ module Aws::ResilienceHub
163
184
  ListUnsupportedAppVersionResourcesRequest = Shapes::StructureShape.new(name: 'ListUnsupportedAppVersionResourcesRequest')
164
185
  ListUnsupportedAppVersionResourcesResponse = Shapes::StructureShape.new(name: 'ListUnsupportedAppVersionResourcesResponse')
165
186
  LogicalResourceId = Shapes::StructureShape.new(name: 'LogicalResourceId')
187
+ LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
166
188
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
167
189
  NextToken = Shapes::StringShape.new(name: 'NextToken')
190
+ PermissionModel = Shapes::StructureShape.new(name: 'PermissionModel')
191
+ PermissionModelType = Shapes::StringShape.new(name: 'PermissionModelType')
168
192
  PhysicalIdentifierType = Shapes::StringShape.new(name: 'PhysicalIdentifierType')
169
193
  PhysicalResource = Shapes::StructureShape.new(name: 'PhysicalResource')
170
194
  PhysicalResourceId = Shapes::StructureShape.new(name: 'PhysicalResourceId')
@@ -251,6 +275,9 @@ module Aws::ResilienceHub
251
275
  UpdateAppVersionResourceRequest = Shapes::StructureShape.new(name: 'UpdateAppVersionResourceRequest')
252
276
  UpdateAppVersionResourceResponse = Shapes::StructureShape.new(name: 'UpdateAppVersionResourceResponse')
253
277
  UpdateAppVersionResponse = Shapes::StructureShape.new(name: 'UpdateAppVersionResponse')
278
+ UpdateRecommendationStatusItem = Shapes::StructureShape.new(name: 'UpdateRecommendationStatusItem')
279
+ UpdateRecommendationStatusRequestEntries = Shapes::ListShape.new(name: 'UpdateRecommendationStatusRequestEntries')
280
+ UpdateRecommendationStatusRequestEntry = Shapes::StructureShape.new(name: 'UpdateRecommendationStatusRequestEntry')
254
281
  UpdateResiliencyPolicyRequest = Shapes::StructureShape.new(name: 'UpdateResiliencyPolicyRequest')
255
282
  UpdateResiliencyPolicyResponse = Shapes::StructureShape.new(name: 'UpdateResiliencyPolicyResponse')
256
283
  Uuid = Shapes::StringShape.new(name: 'Uuid')
@@ -273,7 +300,8 @@ module Aws::ResilienceHub
273
300
 
274
301
  AdditionalInfoValueList.member = Shapes::ShapeRef.new(shape: String1024)
275
302
 
276
- AlarmRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName"))
303
+ AlarmRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, deprecated: true, location_name: "appComponentName", metadata: {"deprecatedMessage"=>"An alarm recommendation can be attached to multiple Application Components, hence this property will be replaced by the new property 'appComponentNames'."}))
304
+ AlarmRecommendation.add_member(:app_component_names, Shapes::ShapeRef.new(shape: AppComponentNameList, location_name: "appComponentNames"))
277
305
  AlarmRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
278
306
  AlarmRecommendation.add_member(:items, Shapes::ShapeRef.new(shape: RecommendationItemList, location_name: "items"))
279
307
  AlarmRecommendation.add_member(:name, Shapes::ShapeRef.new(shape: String500, required: true, location_name: "name"))
@@ -292,9 +320,13 @@ module Aws::ResilienceHub
292
320
  App.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
293
321
  App.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
294
322
  App.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
323
+ App.add_member(:drift_status, Shapes::ShapeRef.new(shape: AppDriftStatusType, location_name: "driftStatus"))
324
+ App.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, location_name: "eventSubscriptions"))
295
325
  App.add_member(:last_app_compliance_evaluation_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "lastAppComplianceEvaluationTime"))
326
+ App.add_member(:last_drift_evaluation_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "lastDriftEvaluationTime"))
296
327
  App.add_member(:last_resiliency_score_evaluation_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "lastResiliencyScoreEvaluationTime"))
297
328
  App.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
329
+ App.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModel, location_name: "permissionModel"))
298
330
  App.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
299
331
  App.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: Double, location_name: "resiliencyScore"))
300
332
  App.add_member(:status, Shapes::ShapeRef.new(shape: AppStatusType, location_name: "status"))
@@ -309,6 +341,7 @@ module Aws::ResilienceHub
309
341
  AppAssessment.add_member(:compliance, Shapes::ShapeRef.new(shape: AssessmentCompliance, location_name: "compliance"))
310
342
  AppAssessment.add_member(:compliance_status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "complianceStatus"))
311
343
  AppAssessment.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "cost"))
344
+ AppAssessment.add_member(:drift_status, Shapes::ShapeRef.new(shape: DriftStatus, location_name: "driftStatus"))
312
345
  AppAssessment.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
313
346
  AppAssessment.add_member(:invoker, Shapes::ShapeRef.new(shape: AssessmentInvoker, required: true, location_name: "invoker"))
314
347
  AppAssessment.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message"))
@@ -317,6 +350,7 @@ module Aws::ResilienceHub
317
350
  AppAssessment.add_member(:resource_errors_details, Shapes::ShapeRef.new(shape: ResourceErrorsDetails, location_name: "resourceErrorsDetails"))
318
351
  AppAssessment.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
319
352
  AppAssessment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
353
+ AppAssessment.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
320
354
  AppAssessment.struct_class = Types::AppAssessment
321
355
 
322
356
  AppAssessmentSummary.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "appArn"))
@@ -326,11 +360,13 @@ module Aws::ResilienceHub
326
360
  AppAssessmentSummary.add_member(:assessment_status, Shapes::ShapeRef.new(shape: AssessmentStatus, required: true, location_name: "assessmentStatus"))
327
361
  AppAssessmentSummary.add_member(:compliance_status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "complianceStatus"))
328
362
  AppAssessmentSummary.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "cost"))
363
+ AppAssessmentSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: DriftStatus, location_name: "driftStatus"))
329
364
  AppAssessmentSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
330
365
  AppAssessmentSummary.add_member(:invoker, Shapes::ShapeRef.new(shape: AssessmentInvoker, location_name: "invoker"))
331
366
  AppAssessmentSummary.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message"))
332
367
  AppAssessmentSummary.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: Double, location_name: "resiliencyScore"))
333
368
  AppAssessmentSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
369
+ AppAssessmentSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
334
370
  AppAssessmentSummary.struct_class = Types::AppAssessmentSummary
335
371
 
336
372
  AppAssessmentSummaryList.member = Shapes::ShapeRef.new(shape: AppAssessmentSummary)
@@ -368,6 +404,7 @@ module Aws::ResilienceHub
368
404
  AppSummary.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
369
405
  AppSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
370
406
  AppSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
407
+ AppSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: AppDriftStatusType, location_name: "driftStatus"))
371
408
  AppSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
372
409
  AppSummary.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: Double, location_name: "resiliencyScore"))
373
410
  AppSummary.add_member(:status, Shapes::ShapeRef.new(shape: AppStatusType, location_name: "status"))
@@ -378,6 +415,9 @@ module Aws::ResilienceHub
378
415
  AppVersionList.member = Shapes::ShapeRef.new(shape: AppVersionSummary)
379
416
 
380
417
  AppVersionSummary.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
418
+ AppVersionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "creationTime"))
419
+ AppVersionSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: LongOptional, location_name: "identifier"))
420
+ AppVersionSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
381
421
  AppVersionSummary.struct_class = Types::AppVersionSummary
382
422
 
383
423
  ArnList.member = Shapes::ShapeRef.new(shape: Arn)
@@ -387,6 +427,44 @@ module Aws::ResilienceHub
387
427
 
388
428
  AssessmentStatusList.member = Shapes::ShapeRef.new(shape: AssessmentStatus)
389
429
 
430
+ BatchUpdateRecommendationStatusFailedEntries.member = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusFailedEntry)
431
+
432
+ BatchUpdateRecommendationStatusFailedEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
433
+ BatchUpdateRecommendationStatusFailedEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "errorMessage"))
434
+ BatchUpdateRecommendationStatusFailedEntry.struct_class = Types::BatchUpdateRecommendationStatusFailedEntry
435
+
436
+ BatchUpdateRecommendationStatusRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
437
+ BatchUpdateRecommendationStatusRequest.add_member(:request_entries, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusRequestEntries, required: true, location_name: "requestEntries"))
438
+ BatchUpdateRecommendationStatusRequest.struct_class = Types::BatchUpdateRecommendationStatusRequest
439
+
440
+ BatchUpdateRecommendationStatusResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
441
+ BatchUpdateRecommendationStatusResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusFailedEntries, required: true, location_name: "failedEntries"))
442
+ BatchUpdateRecommendationStatusResponse.add_member(:successful_entries, Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusSuccessfulEntries, required: true, location_name: "successfulEntries"))
443
+ BatchUpdateRecommendationStatusResponse.struct_class = Types::BatchUpdateRecommendationStatusResponse
444
+
445
+ BatchUpdateRecommendationStatusSuccessfulEntries.member = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusSuccessfulEntry)
446
+
447
+ BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
448
+ BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
449
+ BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
450
+ BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem, required: true, location_name: "item"))
451
+ BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:reference_id, Shapes::ShapeRef.new(shape: SpecReferenceId, required: true, location_name: "referenceId"))
452
+ BatchUpdateRecommendationStatusSuccessfulEntry.struct_class = Types::BatchUpdateRecommendationStatusSuccessfulEntry
453
+
454
+ ComplianceDrift.add_member(:actual_reference_id, Shapes::ShapeRef.new(shape: String255, location_name: "actualReferenceId"))
455
+ ComplianceDrift.add_member(:actual_value, Shapes::ShapeRef.new(shape: AssessmentCompliance, location_name: "actualValue"))
456
+ ComplianceDrift.add_member(:app_id, Shapes::ShapeRef.new(shape: String255, location_name: "appId"))
457
+ ComplianceDrift.add_member(:app_version, Shapes::ShapeRef.new(shape: String255, location_name: "appVersion"))
458
+ ComplianceDrift.add_member(:diff_type, Shapes::ShapeRef.new(shape: DifferenceType, location_name: "diffType"))
459
+ ComplianceDrift.add_member(:drift_type, Shapes::ShapeRef.new(shape: DriftType, location_name: "driftType"))
460
+ ComplianceDrift.add_member(:entity_id, Shapes::ShapeRef.new(shape: String255, location_name: "entityId"))
461
+ ComplianceDrift.add_member(:entity_type, Shapes::ShapeRef.new(shape: String255, location_name: "entityType"))
462
+ ComplianceDrift.add_member(:expected_reference_id, Shapes::ShapeRef.new(shape: String255, location_name: "expectedReferenceId"))
463
+ ComplianceDrift.add_member(:expected_value, Shapes::ShapeRef.new(shape: AssessmentCompliance, location_name: "expectedValue"))
464
+ ComplianceDrift.struct_class = Types::ComplianceDrift
465
+
466
+ ComplianceDriftList.member = Shapes::ShapeRef.new(shape: ComplianceDrift)
467
+
390
468
  ComponentCompliancesList.member = Shapes::ShapeRef.new(shape: AppComponentCompliance)
391
469
 
392
470
  ComponentRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "appComponentName"))
@@ -423,7 +501,9 @@ module Aws::ResilienceHub
423
501
  CreateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
424
502
  CreateAppRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
425
503
  CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
504
+ CreateAppRequest.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, location_name: "eventSubscriptions"))
426
505
  CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
506
+ CreateAppRequest.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModel, location_name: "permissionModel"))
427
507
  CreateAppRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
428
508
  CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
429
509
  CreateAppRequest.struct_class = Types::CreateAppRequest
@@ -666,10 +746,19 @@ module Aws::ResilienceHub
666
746
 
667
747
  EntityNameList.member = Shapes::ShapeRef.new(shape: EntityName)
668
748
 
749
+ EventSubscription.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
750
+ EventSubscription.add_member(:name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "name"))
751
+ EventSubscription.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "snsTopicArn"))
752
+ EventSubscription.struct_class = Types::EventSubscription
753
+
754
+ EventSubscriptionList.member = Shapes::ShapeRef.new(shape: EventSubscription)
755
+
669
756
  FailurePolicy.add_member(:rpo_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rpoInSecs"))
670
757
  FailurePolicy.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rtoInSecs"))
671
758
  FailurePolicy.struct_class = Types::FailurePolicy
672
759
 
760
+ IamRoleArnList.member = Shapes::ShapeRef.new(shape: IamRoleArn)
761
+
673
762
  ImportResourcesToDraftAppVersionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
674
763
  ImportResourcesToDraftAppVersionRequest.add_member(:eks_sources, Shapes::ShapeRef.new(shape: EksSourceList, location_name: "eksSources"))
675
764
  ImportResourcesToDraftAppVersionRequest.add_member(:import_strategy, Shapes::ShapeRef.new(shape: ResourceImportStrategyType, location_name: "importStrategy"))
@@ -697,6 +786,15 @@ module Aws::ResilienceHub
697
786
  ListAlarmRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
698
787
  ListAlarmRecommendationsResponse.struct_class = Types::ListAlarmRecommendationsResponse
699
788
 
789
+ ListAppAssessmentComplianceDriftsRequest.add_member(:assessment_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentArn"))
790
+ ListAppAssessmentComplianceDriftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
791
+ ListAppAssessmentComplianceDriftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
792
+ ListAppAssessmentComplianceDriftsRequest.struct_class = Types::ListAppAssessmentComplianceDriftsRequest
793
+
794
+ ListAppAssessmentComplianceDriftsResponse.add_member(:compliance_drifts, Shapes::ShapeRef.new(shape: ComplianceDriftList, required: true, location_name: "complianceDrifts"))
795
+ ListAppAssessmentComplianceDriftsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
796
+ ListAppAssessmentComplianceDriftsResponse.struct_class = Types::ListAppAssessmentComplianceDriftsResponse
797
+
700
798
  ListAppAssessmentsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "appArn"))
701
799
  ListAppAssessmentsRequest.add_member(:assessment_name, Shapes::ShapeRef.new(shape: EntityName, location: "querystring", location_name: "assessmentName"))
702
800
  ListAppAssessmentsRequest.add_member(:assessment_status, Shapes::ShapeRef.new(shape: AssessmentStatusList, location: "querystring", location_name: "assessmentStatus"))
@@ -774,8 +872,10 @@ module Aws::ResilienceHub
774
872
  ListAppVersionResourcesResponse.struct_class = Types::ListAppVersionResourcesResponse
775
873
 
776
874
  ListAppVersionsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
875
+ ListAppVersionsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
777
876
  ListAppVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
778
877
  ListAppVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
878
+ ListAppVersionsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
779
879
  ListAppVersionsRequest.struct_class = Types::ListAppVersionsRequest
780
880
 
781
881
  ListAppVersionsResponse.add_member(:app_versions, Shapes::ShapeRef.new(shape: AppVersionList, required: true, location_name: "appVersions"))
@@ -865,6 +965,11 @@ module Aws::ResilienceHub
865
965
  LogicalResourceId.add_member(:terraform_source_name, Shapes::ShapeRef.new(shape: String255, location_name: "terraformSourceName"))
866
966
  LogicalResourceId.struct_class = Types::LogicalResourceId
867
967
 
968
+ PermissionModel.add_member(:cross_account_role_arns, Shapes::ShapeRef.new(shape: IamRoleArnList, location_name: "crossAccountRoleArns"))
969
+ PermissionModel.add_member(:invoker_role_name, Shapes::ShapeRef.new(shape: IamRoleName, location_name: "invokerRoleName"))
970
+ PermissionModel.add_member(:type, Shapes::ShapeRef.new(shape: PermissionModelType, required: true, location_name: "type"))
971
+ PermissionModel.struct_class = Types::PermissionModel
972
+
868
973
  PhysicalResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: AdditionalInfoMap, location_name: "additionalInfo"))
869
974
  PhysicalResource.add_member(:app_components, Shapes::ShapeRef.new(shape: AppComponentList, location_name: "appComponents"))
870
975
  PhysicalResource.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "excluded"))
@@ -885,10 +990,13 @@ module Aws::ResilienceHub
885
990
  PhysicalResourceList.member = Shapes::ShapeRef.new(shape: PhysicalResource)
886
991
 
887
992
  PublishAppVersionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
993
+ PublishAppVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
888
994
  PublishAppVersionRequest.struct_class = Types::PublishAppVersionRequest
889
995
 
890
996
  PublishAppVersionResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
891
997
  PublishAppVersionResponse.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "appVersion"))
998
+ PublishAppVersionResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: LongOptional, location_name: "identifier"))
999
+ PublishAppVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
892
1000
  PublishAppVersionResponse.struct_class = Types::PublishAppVersionResponse
893
1001
 
894
1002
  PutDraftAppVersionTemplateRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
@@ -912,6 +1020,8 @@ module Aws::ResilienceHub
912
1020
  RecommendationIdList.member = Shapes::ShapeRef.new(shape: Uuid)
913
1021
 
914
1022
  RecommendationItem.add_member(:already_implemented, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "alreadyImplemented"))
1023
+ RecommendationItem.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
1024
+ RecommendationItem.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "excluded"))
915
1025
  RecommendationItem.add_member(:resource_id, Shapes::ShapeRef.new(shape: String500, location_name: "resourceId"))
916
1026
  RecommendationItem.add_member(:target_account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "targetAccountId"))
917
1027
  RecommendationItem.add_member(:target_region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "targetRegion"))
@@ -1095,6 +1205,8 @@ module Aws::ResilienceHub
1095
1205
  UpdateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
1096
1206
  UpdateAppRequest.add_member(:clear_resiliency_policy_arn, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "clearResiliencyPolicyArn"))
1097
1207
  UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
1208
+ UpdateAppRequest.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, location_name: "eventSubscriptions"))
1209
+ UpdateAppRequest.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModel, location_name: "permissionModel"))
1098
1210
  UpdateAppRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
1099
1211
  UpdateAppRequest.struct_class = Types::UpdateAppRequest
1100
1212
 
@@ -1139,6 +1251,20 @@ module Aws::ResilienceHub
1139
1251
  UpdateAppVersionResponse.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
1140
1252
  UpdateAppVersionResponse.struct_class = Types::UpdateAppVersionResponse
1141
1253
 
1254
+ UpdateRecommendationStatusItem.add_member(:resource_id, Shapes::ShapeRef.new(shape: String500, location_name: "resourceId"))
1255
+ UpdateRecommendationStatusItem.add_member(:target_account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "targetAccountId"))
1256
+ UpdateRecommendationStatusItem.add_member(:target_region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "targetRegion"))
1257
+ UpdateRecommendationStatusItem.struct_class = Types::UpdateRecommendationStatusItem
1258
+
1259
+ UpdateRecommendationStatusRequestEntries.member = Shapes::ShapeRef.new(shape: UpdateRecommendationStatusRequestEntry)
1260
+
1261
+ UpdateRecommendationStatusRequestEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
1262
+ UpdateRecommendationStatusRequestEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
1263
+ UpdateRecommendationStatusRequestEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
1264
+ UpdateRecommendationStatusRequestEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem, required: true, location_name: "item"))
1265
+ UpdateRecommendationStatusRequestEntry.add_member(:reference_id, Shapes::ShapeRef.new(shape: SpecReferenceId, required: true, location_name: "referenceId"))
1266
+ UpdateRecommendationStatusRequestEntry.struct_class = Types::UpdateRecommendationStatusRequestEntry
1267
+
1142
1268
  UpdateResiliencyPolicyRequest.add_member(:data_location_constraint, Shapes::ShapeRef.new(shape: DataLocationConstraint, location_name: "dataLocationConstraint"))
1143
1269
  UpdateResiliencyPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: DisruptionPolicy, location_name: "policy"))
1144
1270
  UpdateResiliencyPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "policyArn"))
@@ -1185,6 +1311,19 @@ module Aws::ResilienceHub
1185
1311
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1186
1312
  end)
1187
1313
 
1314
+ api.add_operation(:batch_update_recommendation_status, Seahorse::Model::Operation.new.tap do |o|
1315
+ o.name = "BatchUpdateRecommendationStatus"
1316
+ o.http_method = "POST"
1317
+ o.http_request_uri = "/batch-update-recommendation-status"
1318
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusRequest)
1319
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusResponse)
1320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1322
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1323
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1324
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1325
+ end)
1326
+
1188
1327
  api.add_operation(:create_app, Seahorse::Model::Operation.new.tap do |o|
1189
1328
  o.name = "CreateApp"
1190
1329
  o.http_method = "POST"
@@ -1483,6 +1622,7 @@ module Aws::ResilienceHub
1483
1622
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1484
1623
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1485
1624
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1625
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1486
1626
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1487
1627
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1488
1628
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
@@ -1507,6 +1647,24 @@ module Aws::ResilienceHub
1507
1647
  )
1508
1648
  end)
1509
1649
 
1650
+ api.add_operation(:list_app_assessment_compliance_drifts, Seahorse::Model::Operation.new.tap do |o|
1651
+ o.name = "ListAppAssessmentComplianceDrifts"
1652
+ o.http_method = "POST"
1653
+ o.http_request_uri = "/list-app-assessment-compliance-drifts"
1654
+ o.input = Shapes::ShapeRef.new(shape: ListAppAssessmentComplianceDriftsRequest)
1655
+ o.output = Shapes::ShapeRef.new(shape: ListAppAssessmentComplianceDriftsResponse)
1656
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1657
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1660
+ o[:pager] = Aws::Pager.new(
1661
+ limit_key: "max_results",
1662
+ tokens: {
1663
+ "next_token" => "next_token"
1664
+ }
1665
+ )
1666
+ end)
1667
+
1510
1668
  api.add_operation(:list_app_assessments, Seahorse::Model::Operation.new.tap do |o|
1511
1669
  o.name = "ListAppAssessments"
1512
1670
  o.http_method = "GET"
@@ -26,6 +26,20 @@ module Aws::ResilienceHub
26
26
  end
27
27
  end
28
28
 
29
+ class BatchUpdateRecommendationStatus
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::ResilienceHub::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class CreateApp
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -348,6 +362,20 @@ module Aws::ResilienceHub
348
362
  end
349
363
  end
350
364
 
365
+ class ListAppAssessmentComplianceDrifts
366
+ def self.build(context)
367
+ unless context.config.regional_endpoint
368
+ endpoint = context.config.endpoint.to_s
369
+ end
370
+ Aws::ResilienceHub::EndpointParameters.new(
371
+ region: context.config.region,
372
+ use_dual_stack: context.config.use_dualstack_endpoint,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
351
379
  class ListAppAssessments
352
380
  def self.build(context)
353
381
  unless context.config.regional_endpoint
@@ -58,6 +58,8 @@ module Aws::ResilienceHub
58
58
  case context.operation_name
59
59
  when :add_draft_app_version_resource_mappings
60
60
  Aws::ResilienceHub::Endpoints::AddDraftAppVersionResourceMappings.build(context)
61
+ when :batch_update_recommendation_status
62
+ Aws::ResilienceHub::Endpoints::BatchUpdateRecommendationStatus.build(context)
61
63
  when :create_app
62
64
  Aws::ResilienceHub::Endpoints::CreateApp.build(context)
63
65
  when :create_app_version_app_component
@@ -104,6 +106,8 @@ module Aws::ResilienceHub
104
106
  Aws::ResilienceHub::Endpoints::ImportResourcesToDraftAppVersion.build(context)
105
107
  when :list_alarm_recommendations
106
108
  Aws::ResilienceHub::Endpoints::ListAlarmRecommendations.build(context)
109
+ when :list_app_assessment_compliance_drifts
110
+ Aws::ResilienceHub::Endpoints::ListAppAssessmentComplianceDrifts.build(context)
107
111
  when :list_app_assessments
108
112
  Aws::ResilienceHub::Endpoints::ListAppAssessments.build(context)
109
113
  when :list_app_component_compliances