aws-sdk-resiliencehub 1.8.0 → 1.10.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +1421 -154
- data/lib/aws-sdk-resiliencehub/client_api.rb +410 -0
- data/lib/aws-sdk-resiliencehub/endpoint_provider.rb +38 -96
- data/lib/aws-sdk-resiliencehub/endpoints.rb +182 -0
- data/lib/aws-sdk-resiliencehub/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-resiliencehub/types.rb +1735 -748
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +2 -2
@@ -9,104 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::ResilienceHub
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON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VhZGVycyI6e319LCJ0eXBl
|
108
|
-
IjoiZW5kcG9pbnQifV19XX0=
|
109
|
-
|
110
|
-
JSON
|
111
53
|
end
|
112
54
|
end
|
@@ -39,6 +39,34 @@ module Aws::ResilienceHub
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
class CreateAppVersionAppComponent
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateAppVersionResource
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
42
70
|
class CreateRecommendationTemplate
|
43
71
|
def self.build(context)
|
44
72
|
unless context.config.regional_endpoint
|
@@ -95,6 +123,48 @@ module Aws::ResilienceHub
|
|
95
123
|
end
|
96
124
|
end
|
97
125
|
|
126
|
+
class DeleteAppInputSource
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DeleteAppVersionAppComponent
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DeleteAppVersionResource
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
98
168
|
class DeleteRecommendationTemplate
|
99
169
|
def self.build(context)
|
100
170
|
unless context.config.regional_endpoint
|
@@ -151,6 +221,48 @@ module Aws::ResilienceHub
|
|
151
221
|
end
|
152
222
|
end
|
153
223
|
|
224
|
+
class DescribeAppVersion
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class DescribeAppVersionAppComponent
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class DescribeAppVersionResource
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
154
266
|
class DescribeAppVersionResourcesResolutionStatus
|
155
267
|
def self.build(context)
|
156
268
|
unless context.config.regional_endpoint
|
@@ -277,6 +389,34 @@ module Aws::ResilienceHub
|
|
277
389
|
end
|
278
390
|
end
|
279
391
|
|
392
|
+
class ListAppInputSources
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class ListAppVersionAppComponents
|
407
|
+
def self.build(context)
|
408
|
+
unless context.config.regional_endpoint
|
409
|
+
endpoint = context.config.endpoint.to_s
|
410
|
+
end
|
411
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
412
|
+
region: context.config.region,
|
413
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
414
|
+
use_fips: context.config.use_fips_endpoint,
|
415
|
+
endpoint: endpoint,
|
416
|
+
)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
280
420
|
class ListAppVersionResourceMappings
|
281
421
|
def self.build(context)
|
282
422
|
unless context.config.regional_endpoint
|
@@ -543,6 +683,48 @@ module Aws::ResilienceHub
|
|
543
683
|
end
|
544
684
|
end
|
545
685
|
|
686
|
+
class UpdateAppVersion
|
687
|
+
def self.build(context)
|
688
|
+
unless context.config.regional_endpoint
|
689
|
+
endpoint = context.config.endpoint.to_s
|
690
|
+
end
|
691
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
692
|
+
region: context.config.region,
|
693
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
694
|
+
use_fips: context.config.use_fips_endpoint,
|
695
|
+
endpoint: endpoint,
|
696
|
+
)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
class UpdateAppVersionAppComponent
|
701
|
+
def self.build(context)
|
702
|
+
unless context.config.regional_endpoint
|
703
|
+
endpoint = context.config.endpoint.to_s
|
704
|
+
end
|
705
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
706
|
+
region: context.config.region,
|
707
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
708
|
+
use_fips: context.config.use_fips_endpoint,
|
709
|
+
endpoint: endpoint,
|
710
|
+
)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class UpdateAppVersionResource
|
715
|
+
def self.build(context)
|
716
|
+
unless context.config.regional_endpoint
|
717
|
+
endpoint = context.config.endpoint.to_s
|
718
|
+
end
|
719
|
+
Aws::ResilienceHub::EndpointParameters.new(
|
720
|
+
region: context.config.region,
|
721
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
722
|
+
use_fips: context.config.use_fips_endpoint,
|
723
|
+
endpoint: endpoint,
|
724
|
+
)
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
546
728
|
class UpdateResiliencyPolicy
|
547
729
|
def self.build(context)
|
548
730
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,10 @@ module Aws::ResilienceHub
|
|
60
60
|
Aws::ResilienceHub::Endpoints::AddDraftAppVersionResourceMappings.build(context)
|
61
61
|
when :create_app
|
62
62
|
Aws::ResilienceHub::Endpoints::CreateApp.build(context)
|
63
|
+
when :create_app_version_app_component
|
64
|
+
Aws::ResilienceHub::Endpoints::CreateAppVersionAppComponent.build(context)
|
65
|
+
when :create_app_version_resource
|
66
|
+
Aws::ResilienceHub::Endpoints::CreateAppVersionResource.build(context)
|
63
67
|
when :create_recommendation_template
|
64
68
|
Aws::ResilienceHub::Endpoints::CreateRecommendationTemplate.build(context)
|
65
69
|
when :create_resiliency_policy
|
@@ -68,6 +72,12 @@ module Aws::ResilienceHub
|
|
68
72
|
Aws::ResilienceHub::Endpoints::DeleteApp.build(context)
|
69
73
|
when :delete_app_assessment
|
70
74
|
Aws::ResilienceHub::Endpoints::DeleteAppAssessment.build(context)
|
75
|
+
when :delete_app_input_source
|
76
|
+
Aws::ResilienceHub::Endpoints::DeleteAppInputSource.build(context)
|
77
|
+
when :delete_app_version_app_component
|
78
|
+
Aws::ResilienceHub::Endpoints::DeleteAppVersionAppComponent.build(context)
|
79
|
+
when :delete_app_version_resource
|
80
|
+
Aws::ResilienceHub::Endpoints::DeleteAppVersionResource.build(context)
|
71
81
|
when :delete_recommendation_template
|
72
82
|
Aws::ResilienceHub::Endpoints::DeleteRecommendationTemplate.build(context)
|
73
83
|
when :delete_resiliency_policy
|
@@ -76,6 +86,12 @@ module Aws::ResilienceHub
|
|
76
86
|
Aws::ResilienceHub::Endpoints::DescribeApp.build(context)
|
77
87
|
when :describe_app_assessment
|
78
88
|
Aws::ResilienceHub::Endpoints::DescribeAppAssessment.build(context)
|
89
|
+
when :describe_app_version
|
90
|
+
Aws::ResilienceHub::Endpoints::DescribeAppVersion.build(context)
|
91
|
+
when :describe_app_version_app_component
|
92
|
+
Aws::ResilienceHub::Endpoints::DescribeAppVersionAppComponent.build(context)
|
93
|
+
when :describe_app_version_resource
|
94
|
+
Aws::ResilienceHub::Endpoints::DescribeAppVersionResource.build(context)
|
79
95
|
when :describe_app_version_resources_resolution_status
|
80
96
|
Aws::ResilienceHub::Endpoints::DescribeAppVersionResourcesResolutionStatus.build(context)
|
81
97
|
when :describe_app_version_template
|
@@ -94,6 +110,10 @@ module Aws::ResilienceHub
|
|
94
110
|
Aws::ResilienceHub::Endpoints::ListAppComponentCompliances.build(context)
|
95
111
|
when :list_app_component_recommendations
|
96
112
|
Aws::ResilienceHub::Endpoints::ListAppComponentRecommendations.build(context)
|
113
|
+
when :list_app_input_sources
|
114
|
+
Aws::ResilienceHub::Endpoints::ListAppInputSources.build(context)
|
115
|
+
when :list_app_version_app_components
|
116
|
+
Aws::ResilienceHub::Endpoints::ListAppVersionAppComponents.build(context)
|
97
117
|
when :list_app_version_resource_mappings
|
98
118
|
Aws::ResilienceHub::Endpoints::ListAppVersionResourceMappings.build(context)
|
99
119
|
when :list_app_version_resources
|
@@ -132,6 +152,12 @@ module Aws::ResilienceHub
|
|
132
152
|
Aws::ResilienceHub::Endpoints::UntagResource.build(context)
|
133
153
|
when :update_app
|
134
154
|
Aws::ResilienceHub::Endpoints::UpdateApp.build(context)
|
155
|
+
when :update_app_version
|
156
|
+
Aws::ResilienceHub::Endpoints::UpdateAppVersion.build(context)
|
157
|
+
when :update_app_version_app_component
|
158
|
+
Aws::ResilienceHub::Endpoints::UpdateAppVersionAppComponent.build(context)
|
159
|
+
when :update_app_version_resource
|
160
|
+
Aws::ResilienceHub::Endpoints::UpdateAppVersionResource.build(context)
|
135
161
|
when :update_resiliency_policy
|
136
162
|
Aws::ResilienceHub::Endpoints::UpdateResiliencyPolicy.build(context)
|
137
163
|
end
|