aws-sdk-resiliencehub 1.43.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +191 -26
- data/lib/aws-sdk-resiliencehub/client_api.rb +129 -0
- data/lib/aws-sdk-resiliencehub/types.rb +319 -37
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- data/sig/client.rbs +58 -0
- data/sig/types.rbs +77 -0
- metadata +2 -2
@@ -23,6 +23,7 @@ module Aws::ResilienceHub
|
|
23
23
|
AddDraftAppVersionResourceMappingsResponse = Shapes::StructureShape.new(name: 'AddDraftAppVersionResourceMappingsResponse')
|
24
24
|
AdditionalInfoMap = Shapes::MapShape.new(name: 'AdditionalInfoMap')
|
25
25
|
AdditionalInfoValueList = Shapes::ListShape.new(name: 'AdditionalInfoValueList')
|
26
|
+
Alarm = Shapes::StructureShape.new(name: 'Alarm')
|
26
27
|
AlarmRecommendation = Shapes::StructureShape.new(name: 'AlarmRecommendation')
|
27
28
|
AlarmRecommendationList = Shapes::ListShape.new(name: 'AlarmRecommendationList')
|
28
29
|
AlarmReferenceIdList = Shapes::ListShape.new(name: 'AlarmReferenceIdList')
|
@@ -70,6 +71,9 @@ module Aws::ResilienceHub
|
|
70
71
|
ComponentCompliancesList = Shapes::ListShape.new(name: 'ComponentCompliancesList')
|
71
72
|
ComponentRecommendation = Shapes::StructureShape.new(name: 'ComponentRecommendation')
|
72
73
|
ComponentRecommendationList = Shapes::ListShape.new(name: 'ComponentRecommendationList')
|
74
|
+
Condition = Shapes::StructureShape.new(name: 'Condition')
|
75
|
+
ConditionList = Shapes::ListShape.new(name: 'ConditionList')
|
76
|
+
ConditionOperatorType = Shapes::StringShape.new(name: 'ConditionOperatorType')
|
73
77
|
ConfigRecommendation = Shapes::StructureShape.new(name: 'ConfigRecommendation')
|
74
78
|
ConfigRecommendationList = Shapes::ListShape.new(name: 'ConfigRecommendationList')
|
75
79
|
ConfigRecommendationOptimizationType = Shapes::StringShape.new(name: 'ConfigRecommendationOptimizationType')
|
@@ -119,6 +123,8 @@ module Aws::ResilienceHub
|
|
119
123
|
DescribeAppVersionTemplateResponse = Shapes::StructureShape.new(name: 'DescribeAppVersionTemplateResponse')
|
120
124
|
DescribeDraftAppVersionResourcesImportStatusRequest = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusRequest')
|
121
125
|
DescribeDraftAppVersionResourcesImportStatusResponse = Shapes::StructureShape.new(name: 'DescribeDraftAppVersionResourcesImportStatusResponse')
|
126
|
+
DescribeMetricsExportRequest = Shapes::StructureShape.new(name: 'DescribeMetricsExportRequest')
|
127
|
+
DescribeMetricsExportResponse = Shapes::StructureShape.new(name: 'DescribeMetricsExportResponse')
|
122
128
|
DescribeResiliencyPolicyRequest = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyRequest')
|
123
129
|
DescribeResiliencyPolicyResponse = Shapes::StructureShape.new(name: 'DescribeResiliencyPolicyResponse')
|
124
130
|
DescribeResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'DescribeResourceGroupingRecommendationTaskRequest')
|
@@ -151,9 +157,13 @@ module Aws::ResilienceHub
|
|
151
157
|
EventSubscriptionList = Shapes::ListShape.new(name: 'EventSubscriptionList')
|
152
158
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
153
159
|
ExcludeRecommendationReason = Shapes::StringShape.new(name: 'ExcludeRecommendationReason')
|
160
|
+
Experiment = Shapes::StructureShape.new(name: 'Experiment')
|
154
161
|
FailedGroupingRecommendationEntries = Shapes::ListShape.new(name: 'FailedGroupingRecommendationEntries')
|
155
162
|
FailedGroupingRecommendationEntry = Shapes::StructureShape.new(name: 'FailedGroupingRecommendationEntry')
|
156
163
|
FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy')
|
164
|
+
Field = Shapes::StructureShape.new(name: 'Field')
|
165
|
+
FieldAggregationType = Shapes::StringShape.new(name: 'FieldAggregationType')
|
166
|
+
FieldList = Shapes::ListShape.new(name: 'FieldList')
|
157
167
|
GroupingAppComponent = Shapes::StructureShape.new(name: 'GroupingAppComponent')
|
158
168
|
GroupingRecommendation = Shapes::StructureShape.new(name: 'GroupingRecommendation')
|
159
169
|
GroupingRecommendationConfidenceLevel = Shapes::StringShape.new(name: 'GroupingRecommendationConfidenceLevel')
|
@@ -195,6 +205,8 @@ module Aws::ResilienceHub
|
|
195
205
|
ListAppVersionsResponse = Shapes::StructureShape.new(name: 'ListAppVersionsResponse')
|
196
206
|
ListAppsRequest = Shapes::StructureShape.new(name: 'ListAppsRequest')
|
197
207
|
ListAppsResponse = Shapes::StructureShape.new(name: 'ListAppsResponse')
|
208
|
+
ListMetricsRequest = Shapes::StructureShape.new(name: 'ListMetricsRequest')
|
209
|
+
ListMetricsResponse = Shapes::StructureShape.new(name: 'ListMetricsResponse')
|
198
210
|
ListRecommendationTemplatesRequest = Shapes::StructureShape.new(name: 'ListRecommendationTemplatesRequest')
|
199
211
|
ListRecommendationTemplatesResponse = Shapes::StructureShape.new(name: 'ListRecommendationTemplatesResponse')
|
200
212
|
ListResiliencyPoliciesRequest = Shapes::StructureShape.new(name: 'ListResiliencyPoliciesRequest')
|
@@ -215,6 +227,7 @@ module Aws::ResilienceHub
|
|
215
227
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
216
228
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
217
229
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
230
|
+
MetricsExportStatusType = Shapes::StringShape.new(name: 'MetricsExportStatusType')
|
218
231
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
219
232
|
PermissionModel = Shapes::StructureShape.new(name: 'PermissionModel')
|
220
233
|
PermissionModelType = Shapes::StringShape.new(name: 'PermissionModelType')
|
@@ -270,6 +283,8 @@ module Aws::ResilienceHub
|
|
270
283
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
271
284
|
ResourcesGroupingRecGenStatusType = Shapes::StringShape.new(name: 'ResourcesGroupingRecGenStatusType')
|
272
285
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
286
|
+
Row = Shapes::ListShape.new(name: 'Row')
|
287
|
+
RowList = Shapes::ListShape.new(name: 'RowList')
|
273
288
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
274
289
|
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
275
290
|
ScoringComponentResiliencyScore = Shapes::StructureShape.new(name: 'ScoringComponentResiliencyScore')
|
@@ -279,9 +294,13 @@ module Aws::ResilienceHub
|
|
279
294
|
SopRecommendation = Shapes::StructureShape.new(name: 'SopRecommendation')
|
280
295
|
SopRecommendationList = Shapes::ListShape.new(name: 'SopRecommendationList')
|
281
296
|
SopServiceType = Shapes::StringShape.new(name: 'SopServiceType')
|
297
|
+
Sort = Shapes::StructureShape.new(name: 'Sort')
|
298
|
+
SortList = Shapes::ListShape.new(name: 'SortList')
|
282
299
|
SpecReferenceId = Shapes::StringShape.new(name: 'SpecReferenceId')
|
283
300
|
StartAppAssessmentRequest = Shapes::StructureShape.new(name: 'StartAppAssessmentRequest')
|
284
301
|
StartAppAssessmentResponse = Shapes::StructureShape.new(name: 'StartAppAssessmentResponse')
|
302
|
+
StartMetricsExportRequest = Shapes::StructureShape.new(name: 'StartMetricsExportRequest')
|
303
|
+
StartMetricsExportResponse = Shapes::StructureShape.new(name: 'StartMetricsExportResponse')
|
285
304
|
StartResourceGroupingRecommendationTaskRequest = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskRequest')
|
286
305
|
StartResourceGroupingRecommendationTaskResponse = Shapes::StructureShape.new(name: 'StartResourceGroupingRecommendationTaskResponse')
|
287
306
|
String1024 = Shapes::StringShape.new(name: 'String1024')
|
@@ -356,6 +375,10 @@ module Aws::ResilienceHub
|
|
356
375
|
|
357
376
|
AdditionalInfoValueList.member = Shapes::ShapeRef.new(shape: String1024)
|
358
377
|
|
378
|
+
Alarm.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "alarmArn"))
|
379
|
+
Alarm.add_member(:source, Shapes::ShapeRef.new(shape: String255, location_name: "source"))
|
380
|
+
Alarm.struct_class = Types::Alarm
|
381
|
+
|
359
382
|
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'."}))
|
360
383
|
AlarmRecommendation.add_member(:app_component_names, Shapes::ShapeRef.new(shape: AppComponentNameList, location_name: "appComponentNames"))
|
361
384
|
AlarmRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
@@ -520,6 +543,7 @@ module Aws::ResilienceHub
|
|
520
543
|
|
521
544
|
BatchUpdateRecommendationStatusSuccessfulEntries.member = Shapes::ShapeRef.new(shape: BatchUpdateRecommendationStatusSuccessfulEntry)
|
522
545
|
|
546
|
+
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, location_name: "appComponentId"))
|
523
547
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
|
524
548
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
|
525
549
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
|
@@ -550,6 +574,13 @@ module Aws::ResilienceHub
|
|
550
574
|
|
551
575
|
ComponentRecommendationList.member = Shapes::ShapeRef.new(shape: ComponentRecommendation)
|
552
576
|
|
577
|
+
Condition.add_member(:field, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "field"))
|
578
|
+
Condition.add_member(:operator, Shapes::ShapeRef.new(shape: ConditionOperatorType, required: true, location_name: "operator"))
|
579
|
+
Condition.add_member(:value, Shapes::ShapeRef.new(shape: String255, location_name: "value"))
|
580
|
+
Condition.struct_class = Types::Condition
|
581
|
+
|
582
|
+
ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
|
583
|
+
|
553
584
|
ConfigRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName"))
|
554
585
|
ConfigRecommendation.add_member(:compliance, Shapes::ShapeRef.new(shape: AssessmentCompliance, location_name: "compliance"))
|
555
586
|
ConfigRecommendation.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "cost"))
|
@@ -786,6 +817,15 @@ module Aws::ResilienceHub
|
|
786
817
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:status_change_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "statusChangeTime"))
|
787
818
|
DescribeDraftAppVersionResourcesImportStatusResponse.struct_class = Types::DescribeDraftAppVersionResourcesImportStatusResponse
|
788
819
|
|
820
|
+
DescribeMetricsExportRequest.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
821
|
+
DescribeMetricsExportRequest.struct_class = Types::DescribeMetricsExportRequest
|
822
|
+
|
823
|
+
DescribeMetricsExportResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String500, location_name: "errorMessage"))
|
824
|
+
DescribeMetricsExportResponse.add_member(:export_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "exportLocation"))
|
825
|
+
DescribeMetricsExportResponse.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
826
|
+
DescribeMetricsExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: MetricsExportStatusType, required: true, location_name: "status"))
|
827
|
+
DescribeMetricsExportResponse.struct_class = Types::DescribeMetricsExportResponse
|
828
|
+
|
789
829
|
DescribeResiliencyPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "policyArn"))
|
790
830
|
DescribeResiliencyPolicyRequest.struct_class = Types::DescribeResiliencyPolicyRequest
|
791
831
|
|
@@ -845,6 +885,10 @@ module Aws::ResilienceHub
|
|
845
885
|
|
846
886
|
EventSubscriptionList.member = Shapes::ShapeRef.new(shape: EventSubscription)
|
847
887
|
|
888
|
+
Experiment.add_member(:experiment_arn, Shapes::ShapeRef.new(shape: String255, location_name: "experimentArn"))
|
889
|
+
Experiment.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: String255, location_name: "experimentTemplateId"))
|
890
|
+
Experiment.struct_class = Types::Experiment
|
891
|
+
|
848
892
|
FailedGroupingRecommendationEntries.member = Shapes::ShapeRef.new(shape: FailedGroupingRecommendationEntry)
|
849
893
|
|
850
894
|
FailedGroupingRecommendationEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "errorMessage"))
|
@@ -855,6 +899,12 @@ module Aws::ResilienceHub
|
|
855
899
|
FailurePolicy.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "rtoInSecs"))
|
856
900
|
FailurePolicy.struct_class = Types::FailurePolicy
|
857
901
|
|
902
|
+
Field.add_member(:aggregation, Shapes::ShapeRef.new(shape: FieldAggregationType, location_name: "aggregation"))
|
903
|
+
Field.add_member(:name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "name"))
|
904
|
+
Field.struct_class = Types::Field
|
905
|
+
|
906
|
+
FieldList.member = Shapes::ShapeRef.new(shape: Field)
|
907
|
+
|
858
908
|
GroupingAppComponent.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentId"))
|
859
909
|
GroupingAppComponent.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityName255, required: true, location_name: "appComponentName"))
|
860
910
|
GroupingAppComponent.add_member(:app_component_type, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "appComponentType"))
|
@@ -1030,6 +1080,18 @@ module Aws::ResilienceHub
|
|
1030
1080
|
ListAppsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1031
1081
|
ListAppsResponse.struct_class = Types::ListAppsResponse
|
1032
1082
|
|
1083
|
+
ListMetricsRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, location_name: "conditions"))
|
1084
|
+
ListMetricsRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: String255, location_name: "dataSource"))
|
1085
|
+
ListMetricsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "fields"))
|
1086
|
+
ListMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1087
|
+
ListMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1088
|
+
ListMetricsRequest.add_member(:sorts, Shapes::ShapeRef.new(shape: SortList, location_name: "sorts"))
|
1089
|
+
ListMetricsRequest.struct_class = Types::ListMetricsRequest
|
1090
|
+
|
1091
|
+
ListMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1092
|
+
ListMetricsResponse.add_member(:rows, Shapes::ShapeRef.new(shape: RowList, required: true, location_name: "rows"))
|
1093
|
+
ListMetricsResponse.struct_class = Types::ListMetricsResponse
|
1094
|
+
|
1033
1095
|
ListRecommendationTemplatesRequest.add_member(:assessment_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "assessmentArn"))
|
1034
1096
|
ListRecommendationTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1035
1097
|
ListRecommendationTemplatesRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location: "querystring", location_name: "name"))
|
@@ -1167,8 +1229,10 @@ module Aws::ResilienceHub
|
|
1167
1229
|
RecommendationIdList.member = Shapes::ShapeRef.new(shape: Uuid)
|
1168
1230
|
|
1169
1231
|
RecommendationItem.add_member(:already_implemented, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "alreadyImplemented"))
|
1232
|
+
RecommendationItem.add_member(:discovered_alarm, Shapes::ShapeRef.new(shape: Alarm, location_name: "discoveredAlarm"))
|
1170
1233
|
RecommendationItem.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
|
1171
1234
|
RecommendationItem.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "excluded"))
|
1235
|
+
RecommendationItem.add_member(:latest_discovered_experiment, Shapes::ShapeRef.new(shape: Experiment, location_name: "latestDiscoveredExperiment"))
|
1172
1236
|
RecommendationItem.add_member(:resource_id, Shapes::ShapeRef.new(shape: String500, location_name: "resourceId"))
|
1173
1237
|
RecommendationItem.add_member(:target_account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "targetAccountId"))
|
1174
1238
|
RecommendationItem.add_member(:target_region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "targetRegion"))
|
@@ -1294,6 +1358,10 @@ module Aws::ResilienceHub
|
|
1294
1358
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
1295
1359
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1296
1360
|
|
1361
|
+
Row.member = Shapes::ShapeRef.new(shape: String255)
|
1362
|
+
|
1363
|
+
RowList.member = Shapes::ShapeRef.new(shape: Row)
|
1364
|
+
|
1297
1365
|
S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: String500, location_name: "bucket"))
|
1298
1366
|
S3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: String500, location_name: "prefix"))
|
1299
1367
|
S3Location.struct_class = Types::S3Location
|
@@ -1323,6 +1391,12 @@ module Aws::ResilienceHub
|
|
1323
1391
|
|
1324
1392
|
SopRecommendationList.member = Shapes::ShapeRef.new(shape: SopRecommendation)
|
1325
1393
|
|
1394
|
+
Sort.add_member(:ascending, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ascending"))
|
1395
|
+
Sort.add_member(:field, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "field"))
|
1396
|
+
Sort.struct_class = Types::Sort
|
1397
|
+
|
1398
|
+
SortList.member = Shapes::ShapeRef.new(shape: Sort)
|
1399
|
+
|
1326
1400
|
StartAppAssessmentRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
1327
1401
|
StartAppAssessmentRequest.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
|
1328
1402
|
StartAppAssessmentRequest.add_member(:assessment_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "assessmentName"))
|
@@ -1333,6 +1407,14 @@ module Aws::ResilienceHub
|
|
1333
1407
|
StartAppAssessmentResponse.add_member(:assessment, Shapes::ShapeRef.new(shape: AppAssessment, required: true, location_name: "assessment"))
|
1334
1408
|
StartAppAssessmentResponse.struct_class = Types::StartAppAssessmentResponse
|
1335
1409
|
|
1410
|
+
StartMetricsExportRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "bucketName"))
|
1411
|
+
StartMetricsExportRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1412
|
+
StartMetricsExportRequest.struct_class = Types::StartMetricsExportRequest
|
1413
|
+
|
1414
|
+
StartMetricsExportResponse.add_member(:metrics_export_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "metricsExportId"))
|
1415
|
+
StartMetricsExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: MetricsExportStatusType, required: true, location_name: "status"))
|
1416
|
+
StartMetricsExportResponse.struct_class = Types::StartMetricsExportResponse
|
1417
|
+
|
1336
1418
|
StartResourceGroupingRecommendationTaskRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
1337
1419
|
StartResourceGroupingRecommendationTaskRequest.struct_class = Types::StartResourceGroupingRecommendationTaskRequest
|
1338
1420
|
|
@@ -1362,6 +1444,7 @@ module Aws::ResilienceHub
|
|
1362
1444
|
|
1363
1445
|
TerraformSourceList.member = Shapes::ShapeRef.new(shape: TerraformSource)
|
1364
1446
|
|
1447
|
+
TestRecommendation.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, location_name: "appComponentId"))
|
1365
1448
|
TestRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName"))
|
1366
1449
|
TestRecommendation.add_member(:depends_on_alarms, Shapes::ShapeRef.new(shape: AlarmReferenceIdList, location_name: "dependsOnAlarms"))
|
1367
1450
|
TestRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: String500, location_name: "description"))
|
@@ -1453,6 +1536,7 @@ module Aws::ResilienceHub
|
|
1453
1536
|
|
1454
1537
|
UpdateRecommendationStatusRequestEntries.member = Shapes::ShapeRef.new(shape: UpdateRecommendationStatusRequestEntry)
|
1455
1538
|
|
1539
|
+
UpdateRecommendationStatusRequestEntry.add_member(:app_component_id, Shapes::ShapeRef.new(shape: EntityName255, location_name: "appComponentId"))
|
1456
1540
|
UpdateRecommendationStatusRequestEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
|
1457
1541
|
UpdateRecommendationStatusRequestEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
|
1458
1542
|
UpdateRecommendationStatusRequestEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
|
@@ -1811,6 +1895,19 @@ module Aws::ResilienceHub
|
|
1811
1895
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1812
1896
|
end)
|
1813
1897
|
|
1898
|
+
api.add_operation(:describe_metrics_export, Seahorse::Model::Operation.new.tap do |o|
|
1899
|
+
o.name = "DescribeMetricsExport"
|
1900
|
+
o.http_method = "POST"
|
1901
|
+
o.http_request_uri = "/describe-metrics-export"
|
1902
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMetricsExportRequest)
|
1903
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMetricsExportResponse)
|
1904
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1905
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1906
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1907
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1908
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1909
|
+
end)
|
1910
|
+
|
1814
1911
|
api.add_operation(:describe_resiliency_policy, Seahorse::Model::Operation.new.tap do |o|
|
1815
1912
|
o.name = "DescribeResiliencyPolicy"
|
1816
1913
|
o.http_method = "POST"
|
@@ -2078,6 +2175,24 @@ module Aws::ResilienceHub
|
|
2078
2175
|
)
|
2079
2176
|
end)
|
2080
2177
|
|
2178
|
+
api.add_operation(:list_metrics, Seahorse::Model::Operation.new.tap do |o|
|
2179
|
+
o.name = "ListMetrics"
|
2180
|
+
o.http_method = "POST"
|
2181
|
+
o.http_request_uri = "/list-metrics"
|
2182
|
+
o.input = Shapes::ShapeRef.new(shape: ListMetricsRequest)
|
2183
|
+
o.output = Shapes::ShapeRef.new(shape: ListMetricsResponse)
|
2184
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2185
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2186
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2187
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2188
|
+
o[:pager] = Aws::Pager.new(
|
2189
|
+
limit_key: "max_results",
|
2190
|
+
tokens: {
|
2191
|
+
"next_token" => "next_token"
|
2192
|
+
}
|
2193
|
+
)
|
2194
|
+
end)
|
2195
|
+
|
2081
2196
|
api.add_operation(:list_recommendation_templates, Seahorse::Model::Operation.new.tap do |o|
|
2082
2197
|
o.name = "ListRecommendationTemplates"
|
2083
2198
|
o.http_method = "GET"
|
@@ -2310,6 +2425,20 @@ module Aws::ResilienceHub
|
|
2310
2425
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2311
2426
|
end)
|
2312
2427
|
|
2428
|
+
api.add_operation(:start_metrics_export, Seahorse::Model::Operation.new.tap do |o|
|
2429
|
+
o.name = "StartMetricsExport"
|
2430
|
+
o.http_method = "POST"
|
2431
|
+
o.http_request_uri = "/start-metrics-export"
|
2432
|
+
o.input = Shapes::ShapeRef.new(shape: StartMetricsExportRequest)
|
2433
|
+
o.output = Shapes::ShapeRef.new(shape: StartMetricsExportResponse)
|
2434
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2435
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2436
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2437
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2438
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2439
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2440
|
+
end)
|
2441
|
+
|
2313
2442
|
api.add_operation(:start_resource_grouping_recommendation_task, Seahorse::Model::Operation.new.tap do |o|
|
2314
2443
|
o.name = "StartResourceGroupingRecommendationTask"
|
2315
2444
|
o.http_method = "POST"
|