aws-sdk-resiliencehub 1.32.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,10 @@ module Aws::ResilienceHub
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AcceptGroupingRecommendationEntries = Shapes::ListShape.new(name: 'AcceptGroupingRecommendationEntries')
17
+ AcceptGroupingRecommendationEntry = Shapes::StructureShape.new(name: 'AcceptGroupingRecommendationEntry')
18
+ AcceptResourceGroupingRecommendationsRequest = Shapes::StructureShape.new(name: 'AcceptResourceGroupingRecommendationsRequest')
19
+ AcceptResourceGroupingRecommendationsResponse = Shapes::StructureShape.new(name: 'AcceptResourceGroupingRecommendationsResponse')
16
20
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
21
  AddDraftAppVersionResourceMappingsRequest = Shapes::StructureShape.new(name: 'AddDraftAppVersionResourceMappingsRequest')
18
22
  AddDraftAppVersionResourceMappingsResponse = Shapes::StructureShape.new(name: 'AddDraftAppVersionResourceMappingsResponse')
@@ -45,8 +49,11 @@ module Aws::ResilienceHub
45
49
  ArnList = Shapes::ListShape.new(name: 'ArnList')
46
50
  AssessmentCompliance = Shapes::MapShape.new(name: 'AssessmentCompliance')
47
51
  AssessmentInvoker = Shapes::StringShape.new(name: 'AssessmentInvoker')
52
+ AssessmentRiskRecommendation = Shapes::StructureShape.new(name: 'AssessmentRiskRecommendation')
53
+ AssessmentRiskRecommendationList = Shapes::ListShape.new(name: 'AssessmentRiskRecommendationList')
48
54
  AssessmentStatus = Shapes::StringShape.new(name: 'AssessmentStatus')
49
55
  AssessmentStatusList = Shapes::ListShape.new(name: 'AssessmentStatusList')
56
+ AssessmentSummary = Shapes::StructureShape.new(name: 'AssessmentSummary')
50
57
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
51
58
  BatchUpdateRecommendationStatusFailedEntries = Shapes::ListShape.new(name: 'BatchUpdateRecommendationStatusFailedEntries')
52
59
  BatchUpdateRecommendationStatusFailedEntry = Shapes::StructureShape.new(name: 'BatchUpdateRecommendationStatusFailedEntry')
@@ -113,6 +120,8 @@ module Aws::ResilienceHub
113
120
  DescribeDraftAppVersionResourcesImportStatusResponse = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusResponse')
114
121
  DescribeResiliencyPolicyRequest = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyRequest')
115
122
  DescribeResiliencyPolicyResponse = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyResponse')
123
+ DescribeResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'DescribeResourceGroupingRecommendationTaskRequest')
124
+ DescribeResourceGroupingRecommendationTaskResponse = Shapes::StructureShape.new(name: 'DescribeResourceGroupingRecommendationTaskResponse')
116
125
  DifferenceType = Shapes::StringShape.new(name: 'DifferenceType')
117
126
  DisruptionCompliance = Shapes::StructureShape.new(name: 'DisruptionCompliance')
118
127
  DisruptionPolicy = Shapes::MapShape.new(name: 'DisruptionPolicy')
@@ -130,6 +139,7 @@ module Aws::ResilienceHub
130
139
  EntityDescription = Shapes::StringShape.new(name: 'EntityDescription')
131
140
  EntityId = Shapes::StringShape.new(name: 'EntityId')
132
141
  EntityName = Shapes::StringShape.new(name: 'EntityName')
142
+ EntityName255 = Shapes::StringShape.new(name: 'EntityName255')
133
143
  EntityNameList = Shapes::ListShape.new(name: 'EntityNameList')
134
144
  EntityVersion = Shapes::StringShape.new(name: 'EntityVersion')
135
145
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -138,7 +148,17 @@ module Aws::ResilienceHub
138
148
  EventSubscriptionList = Shapes::ListShape.new(name: 'EventSubscriptionList')
139
149
  EventType = Shapes::StringShape.new(name: 'EventType')
140
150
  ExcludeRecommendationReason = Shapes::StringShape.new(name: 'ExcludeRecommendationReason')
151
+ FailedGroupingRecommendationEntries = Shapes::ListShape.new(name: 'FailedGroupingRecommendationEntries')
152
+ FailedGroupingRecommendationEntry = Shapes::StructureShape.new(name: 'FailedGroupingRecommendationEntry')
141
153
  FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy')
154
+ GroupingAppComponent = Shapes::StructureShape.new(name: 'GroupingAppComponent')
155
+ GroupingRecommendation = Shapes::StructureShape.new(name: 'GroupingRecommendation')
156
+ GroupingRecommendationConfidenceLevel = Shapes::StringShape.new(name: 'GroupingRecommendationConfidenceLevel')
157
+ GroupingRecommendationList = Shapes::ListShape.new(name: 'GroupingRecommendationList')
158
+ GroupingRecommendationRejectionReason = Shapes::StringShape.new(name: 'GroupingRecommendationRejectionReason')
159
+ GroupingRecommendationStatusType = Shapes::StringShape.new(name: 'GroupingRecommendationStatusType')
160
+ GroupingResource = Shapes::StructureShape.new(name: 'GroupingResource')
161
+ GroupingResourceList = Shapes::ListShape.new(name: 'GroupingResourceList')
142
162
  HaArchitecture = Shapes::StringShape.new(name: 'HaArchitecture')
143
163
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
144
164
  IamRoleArnList = Shapes::ListShape.new(name: 'IamRoleArnList')
@@ -176,6 +196,8 @@ module Aws::ResilienceHub
176
196
  ListRecommendationTemplatesResponse = Shapes::StructureShape.new(name: 'ListRecommendationTemplatesResponse')
177
197
  ListResiliencyPoliciesRequest = Shapes::StructureShape.new(name: 'ListResiliencyPoliciesRequest')
178
198
  ListResiliencyPoliciesResponse = Shapes::StructureShape.new(name: 'ListResiliencyPoliciesResponse')
199
+ ListResourceGroupingRecommendationsRequest = Shapes::StructureShape.new(name: 'ListResourceGroupingRecommendationsRequest')
200
+ ListResourceGroupingRecommendationsResponse = Shapes::StructureShape.new(name: 'ListResourceGroupingRecommendationsResponse')
179
201
  ListSopRecommendationsRequest = Shapes::StructureShape.new(name: 'ListSopRecommendationsRequest')
180
202
  ListSopRecommendationsResponse = Shapes::StructureShape.new(name: 'ListSopRecommendationsResponse')
181
203
  ListSuggestedResiliencyPoliciesRequest = Shapes::StructureShape.new(name: 'ListSuggestedResiliencyPoliciesRequest')
@@ -212,6 +234,10 @@ module Aws::ResilienceHub
212
234
  RecommendationTemplateList = Shapes::ListShape.new(name: 'RecommendationTemplateList')
213
235
  RecommendationTemplateStatus = Shapes::StringShape.new(name: 'RecommendationTemplateStatus')
214
236
  RecommendationTemplateStatusList = Shapes::ListShape.new(name: 'RecommendationTemplateStatusList')
237
+ RejectGroupingRecommendationEntries = Shapes::ListShape.new(name: 'RejectGroupingRecommendationEntries')
238
+ RejectGroupingRecommendationEntry = Shapes::StructureShape.new(name: 'RejectGroupingRecommendationEntry')
239
+ RejectResourceGroupingRecommendationsRequest = Shapes::StructureShape.new(name: 'RejectResourceGroupingRecommendationsRequest')
240
+ RejectResourceGroupingRecommendationsResponse = Shapes::StructureShape.new(name: 'RejectResourceGroupingRecommendationsResponse')
215
241
  RemoveDraftAppVersionResourceMappingsRequest = Shapes::StructureShape.new(name: 'RemoveDraftAppVersionResourceMappingsRequest')
216
242
  RemoveDraftAppVersionResourceMappingsResponse = Shapes::StructureShape.new(name: 'RemoveDraftAppVersionResourceMappingsResponse')
217
243
  RenderRecommendationType = Shapes::StringShape.new(name: 'RenderRecommendationType')
@@ -239,6 +265,7 @@ module Aws::ResilienceHub
239
265
  ResourceResolutionStatusType = Shapes::StringShape.new(name: 'ResourceResolutionStatusType')
240
266
  ResourceSourceType = Shapes::StringShape.new(name: 'ResourceSourceType')
241
267
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
268
+ ResourcesGroupingRecGenStatusType = Shapes::StringShape.new(name: 'ResourcesGroupingRecGenStatusType')
242
269
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
243
270
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
244
271
  S3Url = Shapes::StringShape.new(name: 'S3Url')
@@ -252,6 +279,8 @@ module Aws::ResilienceHub
252
279
  SpecReferenceId = Shapes::StringShape.new(name: 'SpecReferenceId')
253
280
  StartAppAssessmentRequest = Shapes::StructureShape.new(name: 'StartAppAssessmentRequest')
254
281
  StartAppAssessmentResponse = Shapes::StructureShape.new(name: 'StartAppAssessmentResponse')
282
+ StartResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskRequest')
283
+ StartResourceGroupingRecommendationTaskResponse = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskResponse')
255
284
  String1024 = Shapes::StringShape.new(name: 'String1024')
256
285
  String128WithoutWhitespace = Shapes::StringShape.new(name: 'String128WithoutWhitespace')
257
286
  String2048 = Shapes::StringShape.new(name: 'String2048')
@@ -294,6 +323,19 @@ module Aws::ResilienceHub
294
323
  Uuid = Shapes::StringShape.new(name: 'Uuid')
295
324
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
296
325
 
326
+ AcceptGroupingRecommendationEntries.member = Shapes::ShapeRef.new(shape: AcceptGroupingRecommendationEntry)
327
+
328
+ AcceptGroupingRecommendationEntry.add_member(:grouping_recommendation_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingRecommendationId"))
329
+ AcceptGroupingRecommendationEntry.struct_class = Types::AcceptGroupingRecommendationEntry
330
+
331
+ AcceptResourceGroupingRecommendationsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
332
+ AcceptResourceGroupingRecommendationsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: AcceptGroupingRecommendationEntries, required: true, location_name: "entries"))
333
+ AcceptResourceGroupingRecommendationsRequest.struct_class = Types::AcceptResourceGroupingRecommendationsRequest
334
+
335
+ AcceptResourceGroupingRecommendationsResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
336
+ AcceptResourceGroupingRecommendationsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: FailedGroupingRecommendationEntries, required: true, location_name: "failedEntries"))
337
+ AcceptResourceGroupingRecommendationsResponse.struct_class = Types::AcceptResourceGroupingRecommendationsResponse
338
+
297
339
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message"))
298
340
  AccessDeniedException.struct_class = Types::AccessDeniedException
299
341
 
@@ -363,6 +405,7 @@ module Aws::ResilienceHub
363
405
  AppAssessment.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: ResiliencyScore, location_name: "resiliencyScore"))
364
406
  AppAssessment.add_member(:resource_errors_details, Shapes::ShapeRef.new(shape: ResourceErrorsDetails, location_name: "resourceErrorsDetails"))
365
407
  AppAssessment.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
408
+ AppAssessment.add_member(:summary, Shapes::ShapeRef.new(shape: AssessmentSummary, location_name: "summary"))
366
409
  AppAssessment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
367
410
  AppAssessment.add_member(:version_name, Shapes::ShapeRef.new(shape: EntityVersion, location_name: "versionName"))
368
411
  AppAssessment.struct_class = Types::AppAssessment
@@ -386,8 +429,8 @@ module Aws::ResilienceHub
386
429
  AppAssessmentSummaryList.member = Shapes::ShapeRef.new(shape: AppAssessmentSummary)
387
430
 
388
431
  AppComponent.add_member(:additional_info, Shapes::ShapeRef.new(shape: AdditionalInfoMap, location_name: "additionalInfo"))
389
- AppComponent.add_member(:id, Shapes::ShapeRef.new(shape: String255, location_name: "id"))
390
- AppComponent.add_member(:name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "name"))
432
+ AppComponent.add_member(:id, Shapes::ShapeRef.new(shape: EntityName255, location_name: "id"))
433
+ AppComponent.add_member(:name, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "name"))
391
434
  AppComponent.add_member(:type, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "type"))
392
435
  AppComponent.struct_class = Types::AppComponent
393
436
 
@@ -442,8 +485,19 @@ module Aws::ResilienceHub
442
485
  AssessmentCompliance.key = Shapes::ShapeRef.new(shape: DisruptionType)
443
486
  AssessmentCompliance.value = Shapes::ShapeRef.new(shape: DisruptionCompliance)
444
487
 
488
+ AssessmentRiskRecommendation.add_member(:app_components, Shapes::ShapeRef.new(shape: AppComponentNameList, location_name: "appComponents"))
489
+ AssessmentRiskRecommendation.add_member(:recommendation, Shapes::ShapeRef.new(shape: String255, location_name: "recommendation"))
490
+ AssessmentRiskRecommendation.add_member(:risk, Shapes::ShapeRef.new(shape: String255, location_name: "risk"))
491
+ AssessmentRiskRecommendation.struct_class = Types::AssessmentRiskRecommendation
492
+
493
+ AssessmentRiskRecommendationList.member = Shapes::ShapeRef.new(shape: AssessmentRiskRecommendation)
494
+
445
495
  AssessmentStatusList.member = Shapes::ShapeRef.new(shape: AssessmentStatus)
446
496
 
497
+ AssessmentSummary.add_member(:risk_recommendations, Shapes::ShapeRef.new(shape: AssessmentRiskRecommendationList, location_name: "riskRecommendations"))
498
+ AssessmentSummary.add_member(:summary, Shapes::ShapeRef.new(shape: String500, location_name: "summary"))
499
+ AssessmentSummary.struct_class = Types::AssessmentSummary
500
+
447
501
  BatchUpdateRecommendationStatusFailedEntries.member = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusFailedEntry)
448
502
 
449
503
  BatchUpdateRecommendationStatusFailedEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
@@ -731,6 +785,15 @@ module Aws::ResilienceHub
731
785
  DescribeResiliencyPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResiliencyPolicy, required: true, location_name: "policy"))
732
786
  DescribeResiliencyPolicyResponse.struct_class = Types::DescribeResiliencyPolicyResponse
733
787
 
788
+ DescribeResourceGroupingRecommendationTaskRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
789
+ DescribeResourceGroupingRecommendationTaskRequest.add_member(:grouping_id, Shapes::ShapeRef.new(shape: String255, location_name: "groupingId"))
790
+ DescribeResourceGroupingRecommendationTaskRequest.struct_class = Types::DescribeResourceGroupingRecommendationTaskRequest
791
+
792
+ DescribeResourceGroupingRecommendationTaskResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String500, location_name: "errorMessage"))
793
+ DescribeResourceGroupingRecommendationTaskResponse.add_member(:grouping_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingId"))
794
+ DescribeResourceGroupingRecommendationTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourcesGroupingRecGenStatusType, required: true, location_name: "status"))
795
+ DescribeResourceGroupingRecommendationTaskResponse.struct_class = Types::DescribeResourceGroupingRecommendationTaskResponse
796
+
734
797
  DisruptionCompliance.add_member(:achievable_rpo_in_secs, Shapes::ShapeRef.new(shape: Seconds, location_name: "achievableRpoInSecs"))
735
798
  DisruptionCompliance.add_member(:achievable_rto_in_secs, Shapes::ShapeRef.new(shape: Seconds, location_name: "achievableRtoInSecs"))
736
799
  DisruptionCompliance.add_member(:compliance_status, Shapes::ShapeRef.new(shape: ComplianceStatus, required: true, location_name: "complianceStatus"))
@@ -770,10 +833,43 @@ module Aws::ResilienceHub
770
833
 
771
834
  EventSubscriptionList.member = Shapes::ShapeRef.new(shape: EventSubscription)
772
835
 
836
+ FailedGroupingRecommendationEntries.member = Shapes::ShapeRef.new(shape: FailedGroupingRecommendationEntry)
837
+
838
+ FailedGroupingRecommendationEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "errorMessage"))
839
+ FailedGroupingRecommendationEntry.add_member(:grouping_recommendation_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingRecommendationId"))
840
+ FailedGroupingRecommendationEntry.struct_class = Types::FailedGroupingRecommendationEntry
841
+
773
842
  FailurePolicy.add_member(:rpo_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rpoInSecs"))
774
843
  FailurePolicy.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rtoInSecs"))
775
844
  FailurePolicy.struct_class = Types::FailurePolicy
776
845
 
846
+ GroupingAppComponent.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentId"))
847
+ GroupingAppComponent.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentName"))
848
+ GroupingAppComponent.add_member(:app_component_type, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "appComponentType"))
849
+ GroupingAppComponent.struct_class = Types::GroupingAppComponent
850
+
851
+ GroupingRecommendation.add_member(:confidence_level, Shapes::ShapeRef.new(shape: GroupingRecommendationConfidenceLevel, required: true, location_name: "confidenceLevel"))
852
+ GroupingRecommendation.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
853
+ GroupingRecommendation.add_member(:grouping_app_component, Shapes::ShapeRef.new(shape: GroupingAppComponent, required: true, location_name: "groupingAppComponent"))
854
+ GroupingRecommendation.add_member(:grouping_recommendation_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingRecommendationId"))
855
+ GroupingRecommendation.add_member(:recommendation_reasons, Shapes::ShapeRef.new(shape: String255List, required: true, location_name: "recommendationReasons"))
856
+ GroupingRecommendation.add_member(:rejection_reason, Shapes::ShapeRef.new(shape: GroupingRecommendationRejectionReason, location_name: "rejectionReason"))
857
+ GroupingRecommendation.add_member(:resources, Shapes::ShapeRef.new(shape: GroupingResourceList, required: true, location_name: "resources"))
858
+ GroupingRecommendation.add_member(:score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "score"))
859
+ GroupingRecommendation.add_member(:status, Shapes::ShapeRef.new(shape: GroupingRecommendationStatusType, required: true, location_name: "status"))
860
+ GroupingRecommendation.struct_class = Types::GroupingRecommendation
861
+
862
+ GroupingRecommendationList.member = Shapes::ShapeRef.new(shape: GroupingRecommendation)
863
+
864
+ GroupingResource.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "logicalResourceId"))
865
+ GroupingResource.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, required: true, location_name: "physicalResourceId"))
866
+ GroupingResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "resourceName"))
867
+ GroupingResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "resourceType"))
868
+ GroupingResource.add_member(:source_app_component_ids, Shapes::ShapeRef.new(shape: String255List, required: true, location_name: "sourceAppComponentIds"))
869
+ GroupingResource.struct_class = Types::GroupingResource
870
+
871
+ GroupingResourceList.member = Shapes::ShapeRef.new(shape: GroupingResource)
872
+
777
873
  IamRoleArnList.member = Shapes::ShapeRef.new(shape: IamRoleArn)
778
874
 
779
875
  ImportResourcesToDraftAppVersionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
@@ -943,6 +1039,15 @@ module Aws::ResilienceHub
943
1039
  ListResiliencyPoliciesResponse.add_member(:resiliency_policies, Shapes::ShapeRef.new(shape: ResiliencyPolicies, required: true, location_name: "resiliencyPolicies"))
944
1040
  ListResiliencyPoliciesResponse.struct_class = Types::ListResiliencyPoliciesResponse
945
1041
 
1042
+ ListResourceGroupingRecommendationsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "appArn"))
1043
+ ListResourceGroupingRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1044
+ ListResourceGroupingRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1045
+ ListResourceGroupingRecommendationsRequest.struct_class = Types::ListResourceGroupingRecommendationsRequest
1046
+
1047
+ ListResourceGroupingRecommendationsResponse.add_member(:grouping_recommendations, Shapes::ShapeRef.new(shape: GroupingRecommendationList, required: true, location_name: "groupingRecommendations"))
1048
+ ListResourceGroupingRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1049
+ ListResourceGroupingRecommendationsResponse.struct_class = Types::ListResourceGroupingRecommendationsResponse
1050
+
946
1051
  ListSopRecommendationsRequest.add_member(:assessment_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentArn"))
947
1052
  ListSopRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
948
1053
  ListSopRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1078,6 +1183,20 @@ module Aws::ResilienceHub
1078
1183
 
1079
1184
  RecommendationTemplateStatusList.member = Shapes::ShapeRef.new(shape: RecommendationTemplateStatus)
1080
1185
 
1186
+ RejectGroupingRecommendationEntries.member = Shapes::ShapeRef.new(shape: RejectGroupingRecommendationEntry)
1187
+
1188
+ RejectGroupingRecommendationEntry.add_member(:grouping_recommendation_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingRecommendationId"))
1189
+ RejectGroupingRecommendationEntry.add_member(:rejection_reason, Shapes::ShapeRef.new(shape: GroupingRecommendationRejectionReason, location_name: "rejectionReason"))
1190
+ RejectGroupingRecommendationEntry.struct_class = Types::RejectGroupingRecommendationEntry
1191
+
1192
+ RejectResourceGroupingRecommendationsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
1193
+ RejectResourceGroupingRecommendationsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: RejectGroupingRecommendationEntries, required: true, location_name: "entries"))
1194
+ RejectResourceGroupingRecommendationsRequest.struct_class = Types::RejectResourceGroupingRecommendationsRequest
1195
+
1196
+ RejectResourceGroupingRecommendationsResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
1197
+ RejectResourceGroupingRecommendationsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: FailedGroupingRecommendationEntries, required: true, location_name: "failedEntries"))
1198
+ RejectResourceGroupingRecommendationsResponse.struct_class = Types::RejectResourceGroupingRecommendationsResponse
1199
+
1081
1200
  RemoveDraftAppVersionResourceMappingsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
1082
1201
  RemoveDraftAppVersionResourceMappingsRequest.add_member(:app_registry_app_names, Shapes::ShapeRef.new(shape: EntityNameList, location_name: "appRegistryAppNames"))
1083
1202
  RemoveDraftAppVersionResourceMappingsRequest.add_member(:eks_source_names, Shapes::ShapeRef.new(shape: String255List, location_name: "eksSourceNames"))
@@ -1201,6 +1320,15 @@ module Aws::ResilienceHub
1201
1320
  StartAppAssessmentResponse.add_member(:assessment, Shapes::ShapeRef.new(shape: AppAssessment, required: true, location_name: "assessment"))
1202
1321
  StartAppAssessmentResponse.struct_class = Types::StartAppAssessmentResponse
1203
1322
 
1323
+ StartResourceGroupingRecommendationTaskRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
1324
+ StartResourceGroupingRecommendationTaskRequest.struct_class = Types::StartResourceGroupingRecommendationTaskRequest
1325
+
1326
+ StartResourceGroupingRecommendationTaskResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
1327
+ StartResourceGroupingRecommendationTaskResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String500, location_name: "errorMessage"))
1328
+ StartResourceGroupingRecommendationTaskResponse.add_member(:grouping_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "groupingId"))
1329
+ StartResourceGroupingRecommendationTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourcesGroupingRecGenStatusType, required: true, location_name: "status"))
1330
+ StartResourceGroupingRecommendationTaskResponse.struct_class = Types::StartResourceGroupingRecommendationTaskResponse
1331
+
1204
1332
  String255List.member = Shapes::ShapeRef.new(shape: String255)
1205
1333
 
1206
1334
  SuggestedChangesList.member = Shapes::ShapeRef.new(shape: EntityDescription)
@@ -1341,6 +1469,7 @@ module Aws::ResilienceHub
1341
1469
 
1342
1470
  api.metadata = {
1343
1471
  "apiVersion" => "2020-04-30",
1472
+ "auth" => ["aws.auth#sigv4"],
1344
1473
  "endpointPrefix" => "resiliencehub",
1345
1474
  "jsonVersion" => "1.1",
1346
1475
  "protocol" => "rest-json",
@@ -1352,6 +1481,19 @@ module Aws::ResilienceHub
1352
1481
  "uid" => "resiliencehub-2020-04-30",
1353
1482
  }
1354
1483
 
1484
+ api.add_operation(:accept_resource_grouping_recommendations, Seahorse::Model::Operation.new.tap do |o|
1485
+ o.name = "AcceptResourceGroupingRecommendations"
1486
+ o.http_method = "POST"
1487
+ o.http_request_uri = "/accept-resource-grouping-recommendations"
1488
+ o.input = Shapes::ShapeRef.new(shape: AcceptResourceGroupingRecommendationsRequest)
1489
+ o.output = Shapes::ShapeRef.new(shape: AcceptResourceGroupingRecommendationsResponse)
1490
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1492
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1495
+ end)
1496
+
1355
1497
  api.add_operation(:add_draft_app_version_resource_mappings, Seahorse::Model::Operation.new.tap do |o|
1356
1498
  o.name = "AddDraftAppVersionResourceMappings"
1357
1499
  o.http_method = "POST"
@@ -1361,6 +1503,7 @@ module Aws::ResilienceHub
1361
1503
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1362
1504
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1363
1505
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1506
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1364
1507
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1365
1508
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1366
1509
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
@@ -1668,6 +1811,19 @@ module Aws::ResilienceHub
1668
1811
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1669
1812
  end)
1670
1813
 
1814
+ api.add_operation(:describe_resource_grouping_recommendation_task, Seahorse::Model::Operation.new.tap do |o|
1815
+ o.name = "DescribeResourceGroupingRecommendationTask"
1816
+ o.http_method = "POST"
1817
+ o.http_request_uri = "/describe-resource-grouping-recommendation-task"
1818
+ o.input = Shapes::ShapeRef.new(shape: DescribeResourceGroupingRecommendationTaskRequest)
1819
+ o.output = Shapes::ShapeRef.new(shape: DescribeResourceGroupingRecommendationTaskResponse)
1820
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1821
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1825
+ end)
1826
+
1671
1827
  api.add_operation(:import_resources_to_draft_app_version, Seahorse::Model::Operation.new.tap do |o|
1672
1828
  o.name = "ImportResourcesToDraftAppVersion"
1673
1829
  o.http_method = "POST"
@@ -1946,6 +2102,25 @@ module Aws::ResilienceHub
1946
2102
  )
1947
2103
  end)
1948
2104
 
2105
+ api.add_operation(:list_resource_grouping_recommendations, Seahorse::Model::Operation.new.tap do |o|
2106
+ o.name = "ListResourceGroupingRecommendations"
2107
+ o.http_method = "GET"
2108
+ o.http_request_uri = "/list-resource-grouping-recommendations"
2109
+ o.input = Shapes::ShapeRef.new(shape: ListResourceGroupingRecommendationsRequest)
2110
+ o.output = Shapes::ShapeRef.new(shape: ListResourceGroupingRecommendationsResponse)
2111
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2113
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2114
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2115
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2116
+ o[:pager] = Aws::Pager.new(
2117
+ limit_key: "max_results",
2118
+ tokens: {
2119
+ "next_token" => "next_token"
2120
+ }
2121
+ )
2122
+ end)
2123
+
1949
2124
  api.add_operation(:list_sop_recommendations, Seahorse::Model::Operation.new.tap do |o|
1950
2125
  o.name = "ListSopRecommendations"
1951
2126
  o.http_method = "POST"
@@ -2066,6 +2241,19 @@ module Aws::ResilienceHub
2066
2241
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2067
2242
  end)
2068
2243
 
2244
+ api.add_operation(:reject_resource_grouping_recommendations, Seahorse::Model::Operation.new.tap do |o|
2245
+ o.name = "RejectResourceGroupingRecommendations"
2246
+ o.http_method = "POST"
2247
+ o.http_request_uri = "/reject-resource-grouping-recommendations"
2248
+ o.input = Shapes::ShapeRef.new(shape: RejectResourceGroupingRecommendationsRequest)
2249
+ o.output = Shapes::ShapeRef.new(shape: RejectResourceGroupingRecommendationsResponse)
2250
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2251
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2253
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2254
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2255
+ end)
2256
+
2069
2257
  api.add_operation(:remove_draft_app_version_resource_mappings, Seahorse::Model::Operation.new.tap do |o|
2070
2258
  o.name = "RemoveDraftAppVersionResourceMappings"
2071
2259
  o.http_method = "POST"
@@ -2109,6 +2297,20 @@ module Aws::ResilienceHub
2109
2297
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2110
2298
  end)
2111
2299
 
2300
+ api.add_operation(:start_resource_grouping_recommendation_task, Seahorse::Model::Operation.new.tap do |o|
2301
+ o.name = "StartResourceGroupingRecommendationTask"
2302
+ o.http_method = "POST"
2303
+ o.http_request_uri = "/start-resource-grouping-recommendation-task"
2304
+ o.input = Shapes::ShapeRef.new(shape: StartResourceGroupingRecommendationTaskRequest)
2305
+ o.output = Shapes::ShapeRef.new(shape: StartResourceGroupingRecommendationTaskResponse)
2306
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2307
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2308
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2309
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2310
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2311
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2312
+ end)
2313
+
2112
2314
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2113
2315
  o.name = "TagResource"
2114
2316
  o.http_method = "POST"
@@ -12,6 +12,20 @@ module Aws::ResilienceHub
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class AcceptResourceGroupingRecommendations
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::ResilienceHub::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class AddDraftAppVersionResourceMappings
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -334,6 +348,20 @@ module Aws::ResilienceHub
334
348
  end
335
349
  end
336
350
 
351
+ class DescribeResourceGroupingRecommendationTask
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::ResilienceHub::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
337
365
  class ImportResourcesToDraftAppVersion
338
366
  def self.build(context)
339
367
  unless context.config.regional_endpoint
@@ -544,6 +572,20 @@ module Aws::ResilienceHub
544
572
  end
545
573
  end
546
574
 
575
+ class ListResourceGroupingRecommendations
576
+ def self.build(context)
577
+ unless context.config.regional_endpoint
578
+ endpoint = context.config.endpoint.to_s
579
+ end
580
+ Aws::ResilienceHub::EndpointParameters.new(
581
+ region: context.config.region,
582
+ use_dual_stack: context.config.use_dualstack_endpoint,
583
+ use_fips: context.config.use_fips_endpoint,
584
+ endpoint: endpoint,
585
+ )
586
+ end
587
+ end
588
+
547
589
  class ListSopRecommendations
548
590
  def self.build(context)
549
591
  unless context.config.regional_endpoint
@@ -642,6 +684,20 @@ module Aws::ResilienceHub
642
684
  end
643
685
  end
644
686
 
687
+ class RejectResourceGroupingRecommendations
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::ResilienceHub::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
645
701
  class RemoveDraftAppVersionResourceMappings
646
702
  def self.build(context)
647
703
  unless context.config.regional_endpoint
@@ -684,6 +740,20 @@ module Aws::ResilienceHub
684
740
  end
685
741
  end
686
742
 
743
+ class StartResourceGroupingRecommendationTask
744
+ def self.build(context)
745
+ unless context.config.regional_endpoint
746
+ endpoint = context.config.endpoint.to_s
747
+ end
748
+ Aws::ResilienceHub::EndpointParameters.new(
749
+ region: context.config.region,
750
+ use_dual_stack: context.config.use_dualstack_endpoint,
751
+ use_fips: context.config.use_fips_endpoint,
752
+ endpoint: endpoint,
753
+ )
754
+ end
755
+ end
756
+
687
757
  class TagResource
688
758
  def self.build(context)
689
759
  unless context.config.regional_endpoint
@@ -58,6 +58,8 @@ module Aws::ResilienceHub
58
58
 
59
59
  def parameters_for_operation(context)
60
60
  case context.operation_name
61
+ when :accept_resource_grouping_recommendations
62
+ Aws::ResilienceHub::Endpoints::AcceptResourceGroupingRecommendations.build(context)
61
63
  when :add_draft_app_version_resource_mappings
62
64
  Aws::ResilienceHub::Endpoints::AddDraftAppVersionResourceMappings.build(context)
63
65
  when :batch_update_recommendation_status
@@ -104,6 +106,8 @@ module Aws::ResilienceHub
104
106
  Aws::ResilienceHub::Endpoints::DescribeDraftAppVersionResourcesImportStatus.build(context)
105
107
  when :describe_resiliency_policy
106
108
  Aws::ResilienceHub::Endpoints::DescribeResiliencyPolicy.build(context)
109
+ when :describe_resource_grouping_recommendation_task
110
+ Aws::ResilienceHub::Endpoints::DescribeResourceGroupingRecommendationTask.build(context)
107
111
  when :import_resources_to_draft_app_version
108
112
  Aws::ResilienceHub::Endpoints::ImportResourcesToDraftAppVersion.build(context)
109
113
  when :list_alarm_recommendations
@@ -134,6 +138,8 @@ module Aws::ResilienceHub
134
138
  Aws::ResilienceHub::Endpoints::ListRecommendationTemplates.build(context)
135
139
  when :list_resiliency_policies
136
140
  Aws::ResilienceHub::Endpoints::ListResiliencyPolicies.build(context)
141
+ when :list_resource_grouping_recommendations
142
+ Aws::ResilienceHub::Endpoints::ListResourceGroupingRecommendations.build(context)
137
143
  when :list_sop_recommendations
138
144
  Aws::ResilienceHub::Endpoints::ListSopRecommendations.build(context)
139
145
  when :list_suggested_resiliency_policies
@@ -148,12 +154,16 @@ module Aws::ResilienceHub
148
154
  Aws::ResilienceHub::Endpoints::PublishAppVersion.build(context)
149
155
  when :put_draft_app_version_template
150
156
  Aws::ResilienceHub::Endpoints::PutDraftAppVersionTemplate.build(context)
157
+ when :reject_resource_grouping_recommendations
158
+ Aws::ResilienceHub::Endpoints::RejectResourceGroupingRecommendations.build(context)
151
159
  when :remove_draft_app_version_resource_mappings
152
160
  Aws::ResilienceHub::Endpoints::RemoveDraftAppVersionResourceMappings.build(context)
153
161
  when :resolve_app_version_resources
154
162
  Aws::ResilienceHub::Endpoints::ResolveAppVersionResources.build(context)
155
163
  when :start_app_assessment
156
164
  Aws::ResilienceHub::Endpoints::StartAppAssessment.build(context)
165
+ when :start_resource_grouping_recommendation_task
166
+ Aws::ResilienceHub::Endpoints::StartResourceGroupingRecommendationTask.build(context)
157
167
  when :tag_resource
158
168
  Aws::ResilienceHub::Endpoints::TagResource.build(context)
159
169
  when :untag_resource