aws-sdk-resiliencehub 1.2.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +106 -39
- data/lib/aws-sdk-resiliencehub/client_api.rb +40 -2
- data/lib/aws-sdk-resiliencehub/types.rb +263 -131
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +4 -4
@@ -18,9 +18,11 @@ module Aws::ResilienceHub
|
|
18
18
|
AddDraftAppVersionResourceMappingsResponse = Shapes::StructureShape.new(name: 'AddDraftAppVersionResourceMappingsResponse')
|
19
19
|
AlarmRecommendation = Shapes::StructureShape.new(name: 'AlarmRecommendation')
|
20
20
|
AlarmRecommendationList = Shapes::ListShape.new(name: 'AlarmRecommendationList')
|
21
|
+
AlarmReferenceIdList = Shapes::ListShape.new(name: 'AlarmReferenceIdList')
|
21
22
|
AlarmType = Shapes::StringShape.new(name: 'AlarmType')
|
22
23
|
App = Shapes::StructureShape.new(name: 'App')
|
23
24
|
AppAssessment = Shapes::StructureShape.new(name: 'AppAssessment')
|
25
|
+
AppAssessmentScheduleType = Shapes::StringShape.new(name: 'AppAssessmentScheduleType')
|
24
26
|
AppAssessmentSummary = Shapes::StructureShape.new(name: 'AppAssessmentSummary')
|
25
27
|
AppAssessmentSummaryList = Shapes::ListShape.new(name: 'AppAssessmentSummaryList')
|
26
28
|
AppComplianceStatusType = Shapes::StringShape.new(name: 'AppComplianceStatusType')
|
@@ -92,6 +94,7 @@ module Aws::ResilienceHub
|
|
92
94
|
EntityName = Shapes::StringShape.new(name: 'EntityName')
|
93
95
|
EntityNameList = Shapes::ListShape.new(name: 'EntityNameList')
|
94
96
|
EntityVersion = Shapes::StringShape.new(name: 'EntityVersion')
|
97
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
95
98
|
EstimatedCostTier = Shapes::StringShape.new(name: 'EstimatedCostTier')
|
96
99
|
FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy')
|
97
100
|
HaArchitecture = Shapes::StringShape.new(name: 'HaArchitecture')
|
@@ -159,6 +162,9 @@ module Aws::ResilienceHub
|
|
159
162
|
ResiliencyScore = Shapes::StructureShape.new(name: 'ResiliencyScore')
|
160
163
|
ResolveAppVersionResourcesRequest = Shapes::StructureShape.new(name: 'ResolveAppVersionResourcesRequest')
|
161
164
|
ResolveAppVersionResourcesResponse = Shapes::StructureShape.new(name: 'ResolveAppVersionResourcesResponse')
|
165
|
+
ResourceError = Shapes::StructureShape.new(name: 'ResourceError')
|
166
|
+
ResourceErrorList = Shapes::ListShape.new(name: 'ResourceErrorList')
|
167
|
+
ResourceErrorsDetails = Shapes::StructureShape.new(name: 'ResourceErrorsDetails')
|
162
168
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
163
169
|
ResourceImportStatusType = Shapes::StringShape.new(name: 'ResourceImportStatusType')
|
164
170
|
ResourceMapping = Shapes::StructureShape.new(name: 'ResourceMapping')
|
@@ -169,6 +175,7 @@ module Aws::ResilienceHub
|
|
169
175
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
170
176
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
171
177
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
178
|
+
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
172
179
|
Seconds = Shapes::IntegerShape.new(name: 'Seconds')
|
173
180
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
174
181
|
SopRecommendation = Shapes::StructureShape.new(name: 'SopRecommendation')
|
@@ -188,6 +195,8 @@ module Aws::ResilienceHub
|
|
188
195
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
189
196
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
190
197
|
TemplateFormat = Shapes::StringShape.new(name: 'TemplateFormat')
|
198
|
+
TerraformSource = Shapes::StructureShape.new(name: 'TerraformSource')
|
199
|
+
TerraformSourceList = Shapes::ListShape.new(name: 'TerraformSourceList')
|
191
200
|
TestRecommendation = Shapes::StructureShape.new(name: 'TestRecommendation')
|
192
201
|
TestRecommendationList = Shapes::ListShape.new(name: 'TestRecommendationList')
|
193
202
|
TestRisk = Shapes::StringShape.new(name: 'TestRisk')
|
@@ -229,7 +238,10 @@ module Aws::ResilienceHub
|
|
229
238
|
|
230
239
|
AlarmRecommendationList.member = Shapes::ShapeRef.new(shape: AlarmRecommendation)
|
231
240
|
|
241
|
+
AlarmReferenceIdList.member = Shapes::ShapeRef.new(shape: String500)
|
242
|
+
|
232
243
|
App.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
244
|
+
App.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
233
245
|
App.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
|
234
246
|
App.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
|
235
247
|
App.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
@@ -255,6 +267,7 @@ module Aws::ResilienceHub
|
|
255
267
|
AppAssessment.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message"))
|
256
268
|
AppAssessment.add_member(:policy, Shapes::ShapeRef.new(shape: ResiliencyPolicy, location_name: "policy"))
|
257
269
|
AppAssessment.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: ResiliencyScore, location_name: "resiliencyScore"))
|
270
|
+
AppAssessment.add_member(:resource_errors_details, Shapes::ShapeRef.new(shape: ResourceErrorsDetails, location_name: "resourceErrorsDetails"))
|
258
271
|
AppAssessment.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
|
259
272
|
AppAssessment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
260
273
|
AppAssessment.struct_class = Types::AppAssessment
|
@@ -290,6 +303,7 @@ module Aws::ResilienceHub
|
|
290
303
|
AppComponentList.member = Shapes::ShapeRef.new(shape: AppComponent)
|
291
304
|
|
292
305
|
AppSummary.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
306
|
+
AppSummary.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
293
307
|
AppSummary.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
|
294
308
|
AppSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
|
295
309
|
AppSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
@@ -344,6 +358,7 @@ module Aws::ResilienceHub
|
|
344
358
|
Cost.add_member(:frequency, Shapes::ShapeRef.new(shape: CostFrequency, required: true, location_name: "frequency"))
|
345
359
|
Cost.struct_class = Types::Cost
|
346
360
|
|
361
|
+
CreateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
347
362
|
CreateAppRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
348
363
|
CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
349
364
|
CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
@@ -484,13 +499,15 @@ module Aws::ResilienceHub
|
|
484
499
|
FailurePolicy.struct_class = Types::FailurePolicy
|
485
500
|
|
486
501
|
ImportResourcesToDraftAppVersionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
487
|
-
ImportResourcesToDraftAppVersionRequest.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList,
|
502
|
+
ImportResourcesToDraftAppVersionRequest.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "sourceArns"))
|
503
|
+
ImportResourcesToDraftAppVersionRequest.add_member(:terraform_sources, Shapes::ShapeRef.new(shape: TerraformSourceList, location_name: "terraformSources"))
|
488
504
|
ImportResourcesToDraftAppVersionRequest.struct_class = Types::ImportResourcesToDraftAppVersionRequest
|
489
505
|
|
490
506
|
ImportResourcesToDraftAppVersionResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
491
507
|
ImportResourcesToDraftAppVersionResponse.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
|
492
|
-
ImportResourcesToDraftAppVersionResponse.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList,
|
508
|
+
ImportResourcesToDraftAppVersionResponse.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "sourceArns"))
|
493
509
|
ImportResourcesToDraftAppVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourceImportStatusType, required: true, location_name: "status"))
|
510
|
+
ImportResourcesToDraftAppVersionResponse.add_member(:terraform_sources, Shapes::ShapeRef.new(shape: TerraformSourceList, location_name: "terraformSources"))
|
494
511
|
ImportResourcesToDraftAppVersionResponse.struct_class = Types::ImportResourcesToDraftAppVersionResponse
|
495
512
|
|
496
513
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message"))
|
@@ -647,6 +664,7 @@ module Aws::ResilienceHub
|
|
647
664
|
LogicalResourceId.add_member(:identifier, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "identifier"))
|
648
665
|
LogicalResourceId.add_member(:logical_stack_name, Shapes::ShapeRef.new(shape: String255, location_name: "logicalStackName"))
|
649
666
|
LogicalResourceId.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceGroupName"))
|
667
|
+
LogicalResourceId.add_member(:terraform_source_name, Shapes::ShapeRef.new(shape: String255, location_name: "terraformSourceName"))
|
650
668
|
LogicalResourceId.struct_class = Types::LogicalResourceId
|
651
669
|
|
652
670
|
PhysicalResource.add_member(:app_components, Shapes::ShapeRef.new(shape: AppComponentList, location_name: "appComponents"))
|
@@ -724,6 +742,7 @@ module Aws::ResilienceHub
|
|
724
742
|
RemoveDraftAppVersionResourceMappingsRequest.add_member(:logical_stack_names, Shapes::ShapeRef.new(shape: String255List, location_name: "logicalStackNames"))
|
725
743
|
RemoveDraftAppVersionResourceMappingsRequest.add_member(:resource_group_names, Shapes::ShapeRef.new(shape: EntityNameList, location_name: "resourceGroupNames"))
|
726
744
|
RemoveDraftAppVersionResourceMappingsRequest.add_member(:resource_names, Shapes::ShapeRef.new(shape: EntityNameList, location_name: "resourceNames"))
|
745
|
+
RemoveDraftAppVersionResourceMappingsRequest.add_member(:terraform_source_names, Shapes::ShapeRef.new(shape: String255List, location_name: "terraformSourceNames"))
|
727
746
|
RemoveDraftAppVersionResourceMappingsRequest.struct_class = Types::RemoveDraftAppVersionResourceMappingsRequest
|
728
747
|
|
729
748
|
RemoveDraftAppVersionResourceMappingsResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "appArn"))
|
@@ -759,12 +778,24 @@ module Aws::ResilienceHub
|
|
759
778
|
ResolveAppVersionResourcesResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourceResolutionStatusType, required: true, location_name: "status"))
|
760
779
|
ResolveAppVersionResourcesResponse.struct_class = Types::ResolveAppVersionResourcesResponse
|
761
780
|
|
781
|
+
ResourceError.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: String255, location_name: "logicalResourceId"))
|
782
|
+
ResourceError.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: String255, location_name: "physicalResourceId"))
|
783
|
+
ResourceError.add_member(:reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "reason"))
|
784
|
+
ResourceError.struct_class = Types::ResourceError
|
785
|
+
|
786
|
+
ResourceErrorList.member = Shapes::ShapeRef.new(shape: ResourceError)
|
787
|
+
|
788
|
+
ResourceErrorsDetails.add_member(:has_more_errors, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "hasMoreErrors"))
|
789
|
+
ResourceErrorsDetails.add_member(:resource_errors, Shapes::ShapeRef.new(shape: ResourceErrorList, location_name: "resourceErrors"))
|
790
|
+
ResourceErrorsDetails.struct_class = Types::ResourceErrorsDetails
|
791
|
+
|
762
792
|
ResourceMapping.add_member(:app_registry_app_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "appRegistryAppName"))
|
763
793
|
ResourceMapping.add_member(:logical_stack_name, Shapes::ShapeRef.new(shape: String255, location_name: "logicalStackName"))
|
764
794
|
ResourceMapping.add_member(:mapping_type, Shapes::ShapeRef.new(shape: ResourceMappingType, required: true, location_name: "mappingType"))
|
765
795
|
ResourceMapping.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, required: true, location_name: "physicalResourceId"))
|
766
796
|
ResourceMapping.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceGroupName"))
|
767
797
|
ResourceMapping.add_member(:resource_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceName"))
|
798
|
+
ResourceMapping.add_member(:terraform_source_name, Shapes::ShapeRef.new(shape: String255, location_name: "terraformSourceName"))
|
768
799
|
ResourceMapping.struct_class = Types::ResourceMapping
|
769
800
|
|
770
801
|
ResourceMappingList.member = Shapes::ShapeRef.new(shape: ResourceMapping)
|
@@ -818,7 +849,13 @@ module Aws::ResilienceHub
|
|
818
849
|
|
819
850
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
820
851
|
|
852
|
+
TerraformSource.add_member(:s3_state_file_url, Shapes::ShapeRef.new(shape: S3Url, required: true, location_name: "s3StateFileUrl"))
|
853
|
+
TerraformSource.struct_class = Types::TerraformSource
|
854
|
+
|
855
|
+
TerraformSourceList.member = Shapes::ShapeRef.new(shape: TerraformSource)
|
856
|
+
|
821
857
|
TestRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName"))
|
858
|
+
TestRecommendation.add_member(:depends_on_alarms, Shapes::ShapeRef.new(shape: AlarmReferenceIdList, location_name: "dependsOnAlarms"))
|
822
859
|
TestRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: String500, location_name: "description"))
|
823
860
|
TestRecommendation.add_member(:intent, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "intent"))
|
824
861
|
TestRecommendation.add_member(:items, Shapes::ShapeRef.new(shape: RecommendationItemList, location_name: "items"))
|
@@ -850,6 +887,7 @@ module Aws::ResilienceHub
|
|
850
887
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
851
888
|
|
852
889
|
UpdateAppRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
890
|
+
UpdateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
853
891
|
UpdateAppRequest.add_member(:clear_resiliency_policy_arn, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "clearResiliencyPolicyArn"))
|
854
892
|
UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
855
893
|
UpdateAppRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
|