aws-sdk-route53recoveryreadiness 1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 02e90f0dce055165e19fa7483a750575cf29f848ff217abf4ef0bc936e77a542
4
+ data.tar.gz: 3aaf4c28e30b595c2dd337ff3f6e74c4a2160698ffb2570e397859a8a76e3286
5
+ SHA512:
6
+ metadata.gz: b538e592307c1f620586e967d95b1ac49d78e9609bbf800ea8fe8525209ccf0a7898a5633cbdbc1fe554bc3041418fbbee2fe4951c2fc4cfa76deaf077518e03
7
+ data.tar.gz: 7a6ede7d044e5bc1b59f685f07871e03c8fb2d203429e805515ac0e609492c0cc9eef62cc070bfd317040f4b517d292ead20feacfa9ac81813a828858fa39b85
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.0.0 (2021-07-27)
5
+ ------------------
6
+
7
+ * Feature - Initial release of `aws-sdk-route53recoveryreadiness`.
8
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-route53recoveryreadiness/types'
15
+ require_relative 'aws-sdk-route53recoveryreadiness/client_api'
16
+ require_relative 'aws-sdk-route53recoveryreadiness/client'
17
+ require_relative 'aws-sdk-route53recoveryreadiness/errors'
18
+ require_relative 'aws-sdk-route53recoveryreadiness/resource'
19
+ require_relative 'aws-sdk-route53recoveryreadiness/customizations'
20
+
21
+ # This module provides support for AWS Route53 Recovery Readiness. This module is available in the
22
+ # `aws-sdk-route53recoveryreadiness` gem.
23
+ #
24
+ # # Client
25
+ #
26
+ # The {Client} class provides one method for each API operation. Operation
27
+ # methods each accept a hash of request parameters and return a response
28
+ # structure.
29
+ #
30
+ # route_53_recovery_readiness = Aws::Route53RecoveryReadiness::Client.new
31
+ # resp = route_53_recovery_readiness.create_cell(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from AWS Route53 Recovery Readiness are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::Route53RecoveryReadiness::Errors::ServiceError
43
+ # # rescues all AWS Route53 Recovery Readiness API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::Route53RecoveryReadiness
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,1600 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:route53recoveryreadiness)
34
+
35
+ module Aws::Route53RecoveryReadiness
36
+ # An API client for Route53RecoveryReadiness. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::Route53RecoveryReadiness::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :route53recoveryreadiness
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::RestJson)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
87
+ #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :stub_responses (false)
270
+ # Causes the client to return stubbed responses. By default
271
+ # fake responses are generated and returned. You can specify
272
+ # the response data to return or errors to raise by calling
273
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
274
+ #
275
+ # ** Please note ** When response stubbing is enabled, no HTTP
276
+ # requests are made, and retries are disabled.
277
+ #
278
+ # @option options [Boolean] :validate_params (true)
279
+ # When `true`, request parameters are validated before
280
+ # sending the request.
281
+ #
282
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
283
+ # requests through. Formatted like 'http://proxy.com:123'.
284
+ #
285
+ # @option options [Float] :http_open_timeout (15) The number of
286
+ # seconds to wait when opening a HTTP session before raising a
287
+ # `Timeout::Error`.
288
+ #
289
+ # @option options [Integer] :http_read_timeout (60) The default
290
+ # number of seconds to wait for response data. This value can
291
+ # safely be set per-request on the session.
292
+ #
293
+ # @option options [Float] :http_idle_timeout (5) The number of
294
+ # seconds a connection is allowed to sit idle before it is
295
+ # considered stale. Stale connections are closed and removed
296
+ # from the pool before making a request.
297
+ #
298
+ # @option options [Float] :http_continue_timeout (1) The number of
299
+ # seconds to wait for a 100-continue response before sending the
300
+ # request body. This option has no effect unless the request has
301
+ # "Expect" header set to "100-continue". Defaults to `nil` which
302
+ # disables this behaviour. This value can safely be set per
303
+ # request on the session.
304
+ #
305
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
306
+ # HTTP debug output will be sent to the `:logger`.
307
+ #
308
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
309
+ # SSL peer certificates are verified when establishing a
310
+ # connection.
311
+ #
312
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
313
+ # certificate authority bundle file that should be used when
314
+ # verifying peer certificates. If you do not pass
315
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
316
+ # will be used if available.
317
+ #
318
+ # @option options [String] :ssl_ca_directory Full path of the
319
+ # directory that contains the unbundled SSL certificate
320
+ # authority files for verifying peer certificates. If you do
321
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
322
+ # system default will be used if available.
323
+ #
324
+ def initialize(*args)
325
+ super
326
+ end
327
+
328
+ # @!group API Operations
329
+
330
+ # Creates a new Cell.
331
+ #
332
+ # @option params [required, String] :cell_name
333
+ #
334
+ # @option params [Array<String>] :cells
335
+ #
336
+ # @option params [Hash<String,String>] :tags
337
+ # A collection of tags associated with a resource
338
+ #
339
+ # @return [Types::CreateCellResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
340
+ #
341
+ # * {Types::CreateCellResponse#cell_arn #cell_arn} => String
342
+ # * {Types::CreateCellResponse#cell_name #cell_name} => String
343
+ # * {Types::CreateCellResponse#cells #cells} => Array&lt;String&gt;
344
+ # * {Types::CreateCellResponse#parent_readiness_scopes #parent_readiness_scopes} => Array&lt;String&gt;
345
+ # * {Types::CreateCellResponse#tags #tags} => Hash&lt;String,String&gt;
346
+ #
347
+ # @example Request syntax with placeholder values
348
+ #
349
+ # resp = client.create_cell({
350
+ # cell_name: "__string", # required
351
+ # cells: ["__string"],
352
+ # tags: {
353
+ # "__string" => "__string",
354
+ # },
355
+ # })
356
+ #
357
+ # @example Response structure
358
+ #
359
+ # resp.cell_arn #=> String
360
+ # resp.cell_name #=> String
361
+ # resp.cells #=> Array
362
+ # resp.cells[0] #=> String
363
+ # resp.parent_readiness_scopes #=> Array
364
+ # resp.parent_readiness_scopes[0] #=> String
365
+ # resp.tags #=> Hash
366
+ # resp.tags["__string"] #=> String
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCell AWS API Documentation
369
+ #
370
+ # @overload create_cell(params = {})
371
+ # @param [Hash] params ({})
372
+ def create_cell(params = {}, options = {})
373
+ req = build_request(:create_cell, params)
374
+ req.send_request(options)
375
+ end
376
+
377
+ # Create a new cross account readiness authorization.
378
+ #
379
+ # @option params [required, String] :cross_account_authorization
380
+ # A cross-account authorization, e.g. arn:aws:iam::123456789012:root
381
+ #
382
+ # @return [Types::CreateCrossAccountAuthorizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
383
+ #
384
+ # * {Types::CreateCrossAccountAuthorizationResponse#cross_account_authorization #cross_account_authorization} => String
385
+ #
386
+ # @example Request syntax with placeholder values
387
+ #
388
+ # resp = client.create_cross_account_authorization({
389
+ # cross_account_authorization: "CrossAccountAuthorization", # required
390
+ # })
391
+ #
392
+ # @example Response structure
393
+ #
394
+ # resp.cross_account_authorization #=> String
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCrossAccountAuthorization AWS API Documentation
397
+ #
398
+ # @overload create_cross_account_authorization(params = {})
399
+ # @param [Hash] params ({})
400
+ def create_cross_account_authorization(params = {}, options = {})
401
+ req = build_request(:create_cross_account_authorization, params)
402
+ req.send_request(options)
403
+ end
404
+
405
+ # Creates a new Readiness Check.
406
+ #
407
+ # @option params [required, String] :readiness_check_name
408
+ #
409
+ # @option params [required, String] :resource_set_name
410
+ #
411
+ # @option params [Hash<String,String>] :tags
412
+ # A collection of tags associated with a resource
413
+ #
414
+ # @return [Types::CreateReadinessCheckResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
415
+ #
416
+ # * {Types::CreateReadinessCheckResponse#readiness_check_arn #readiness_check_arn} => String
417
+ # * {Types::CreateReadinessCheckResponse#readiness_check_name #readiness_check_name} => String
418
+ # * {Types::CreateReadinessCheckResponse#resource_set #resource_set} => String
419
+ # * {Types::CreateReadinessCheckResponse#tags #tags} => Hash&lt;String,String&gt;
420
+ #
421
+ # @example Request syntax with placeholder values
422
+ #
423
+ # resp = client.create_readiness_check({
424
+ # readiness_check_name: "__string", # required
425
+ # resource_set_name: "__string", # required
426
+ # tags: {
427
+ # "__string" => "__string",
428
+ # },
429
+ # })
430
+ #
431
+ # @example Response structure
432
+ #
433
+ # resp.readiness_check_arn #=> String
434
+ # resp.readiness_check_name #=> String
435
+ # resp.resource_set #=> String
436
+ # resp.tags #=> Hash
437
+ # resp.tags["__string"] #=> String
438
+ #
439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateReadinessCheck AWS API Documentation
440
+ #
441
+ # @overload create_readiness_check(params = {})
442
+ # @param [Hash] params ({})
443
+ def create_readiness_check(params = {}, options = {})
444
+ req = build_request(:create_readiness_check, params)
445
+ req.send_request(options)
446
+ end
447
+
448
+ # Creates a new Recovery Group.
449
+ #
450
+ # @option params [Array<String>] :cells
451
+ #
452
+ # @option params [required, String] :recovery_group_name
453
+ #
454
+ # @option params [Hash<String,String>] :tags
455
+ # A collection of tags associated with a resource
456
+ #
457
+ # @return [Types::CreateRecoveryGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
458
+ #
459
+ # * {Types::CreateRecoveryGroupResponse#cells #cells} => Array&lt;String&gt;
460
+ # * {Types::CreateRecoveryGroupResponse#recovery_group_arn #recovery_group_arn} => String
461
+ # * {Types::CreateRecoveryGroupResponse#recovery_group_name #recovery_group_name} => String
462
+ # * {Types::CreateRecoveryGroupResponse#tags #tags} => Hash&lt;String,String&gt;
463
+ #
464
+ # @example Request syntax with placeholder values
465
+ #
466
+ # resp = client.create_recovery_group({
467
+ # cells: ["__string"],
468
+ # recovery_group_name: "__string", # required
469
+ # tags: {
470
+ # "__string" => "__string",
471
+ # },
472
+ # })
473
+ #
474
+ # @example Response structure
475
+ #
476
+ # resp.cells #=> Array
477
+ # resp.cells[0] #=> String
478
+ # resp.recovery_group_arn #=> String
479
+ # resp.recovery_group_name #=> String
480
+ # resp.tags #=> Hash
481
+ # resp.tags["__string"] #=> String
482
+ #
483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateRecoveryGroup AWS API Documentation
484
+ #
485
+ # @overload create_recovery_group(params = {})
486
+ # @param [Hash] params ({})
487
+ def create_recovery_group(params = {}, options = {})
488
+ req = build_request(:create_recovery_group, params)
489
+ req.send_request(options)
490
+ end
491
+
492
+ # Creates a new Resource Set.
493
+ #
494
+ # @option params [required, String] :resource_set_name
495
+ #
496
+ # @option params [required, String] :resource_set_type
497
+ #
498
+ # @option params [required, Array<Types::Resource>] :resources
499
+ #
500
+ # @option params [Hash<String,String>] :tags
501
+ # A collection of tags associated with a resource
502
+ #
503
+ # @return [Types::CreateResourceSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
504
+ #
505
+ # * {Types::CreateResourceSetResponse#resource_set_arn #resource_set_arn} => String
506
+ # * {Types::CreateResourceSetResponse#resource_set_name #resource_set_name} => String
507
+ # * {Types::CreateResourceSetResponse#resource_set_type #resource_set_type} => String
508
+ # * {Types::CreateResourceSetResponse#resources #resources} => Array&lt;Types::Resource&gt;
509
+ # * {Types::CreateResourceSetResponse#tags #tags} => Hash&lt;String,String&gt;
510
+ #
511
+ # @example Request syntax with placeholder values
512
+ #
513
+ # resp = client.create_resource_set({
514
+ # resource_set_name: "__string", # required
515
+ # resource_set_type: "__stringPatternAWSAZaZ09AZaZ09", # required
516
+ # resources: [ # required
517
+ # {
518
+ # component_id: "__string",
519
+ # dns_target_resource: {
520
+ # domain_name: "__string",
521
+ # hosted_zone_arn: "__string",
522
+ # record_set_id: "__string",
523
+ # record_type: "__string",
524
+ # target_resource: {
525
+ # nlb_resource: {
526
+ # arn: "__string",
527
+ # },
528
+ # r53_resource: {
529
+ # domain_name: "__string",
530
+ # record_set_id: "__string",
531
+ # },
532
+ # },
533
+ # },
534
+ # readiness_scopes: ["__string"],
535
+ # resource_arn: "__string",
536
+ # },
537
+ # ],
538
+ # tags: {
539
+ # "__string" => "__string",
540
+ # },
541
+ # })
542
+ #
543
+ # @example Response structure
544
+ #
545
+ # resp.resource_set_arn #=> String
546
+ # resp.resource_set_name #=> String
547
+ # resp.resource_set_type #=> String
548
+ # resp.resources #=> Array
549
+ # resp.resources[0].component_id #=> String
550
+ # resp.resources[0].dns_target_resource.domain_name #=> String
551
+ # resp.resources[0].dns_target_resource.hosted_zone_arn #=> String
552
+ # resp.resources[0].dns_target_resource.record_set_id #=> String
553
+ # resp.resources[0].dns_target_resource.record_type #=> String
554
+ # resp.resources[0].dns_target_resource.target_resource.nlb_resource.arn #=> String
555
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.domain_name #=> String
556
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.record_set_id #=> String
557
+ # resp.resources[0].readiness_scopes #=> Array
558
+ # resp.resources[0].readiness_scopes[0] #=> String
559
+ # resp.resources[0].resource_arn #=> String
560
+ # resp.tags #=> Hash
561
+ # resp.tags["__string"] #=> String
562
+ #
563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateResourceSet AWS API Documentation
564
+ #
565
+ # @overload create_resource_set(params = {})
566
+ # @param [Hash] params ({})
567
+ def create_resource_set(params = {}, options = {})
568
+ req = build_request(:create_resource_set, params)
569
+ req.send_request(options)
570
+ end
571
+
572
+ # Deletes an existing Cell.
573
+ #
574
+ # @option params [required, String] :cell_name
575
+ #
576
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
577
+ #
578
+ # @example Request syntax with placeholder values
579
+ #
580
+ # resp = client.delete_cell({
581
+ # cell_name: "__string", # required
582
+ # })
583
+ #
584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCell AWS API Documentation
585
+ #
586
+ # @overload delete_cell(params = {})
587
+ # @param [Hash] params ({})
588
+ def delete_cell(params = {}, options = {})
589
+ req = build_request(:delete_cell, params)
590
+ req.send_request(options)
591
+ end
592
+
593
+ # Delete cross account readiness authorization
594
+ #
595
+ # @option params [required, String] :cross_account_authorization
596
+ #
597
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
598
+ #
599
+ # @example Request syntax with placeholder values
600
+ #
601
+ # resp = client.delete_cross_account_authorization({
602
+ # cross_account_authorization: "__string", # required
603
+ # })
604
+ #
605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCrossAccountAuthorization AWS API Documentation
606
+ #
607
+ # @overload delete_cross_account_authorization(params = {})
608
+ # @param [Hash] params ({})
609
+ def delete_cross_account_authorization(params = {}, options = {})
610
+ req = build_request(:delete_cross_account_authorization, params)
611
+ req.send_request(options)
612
+ end
613
+
614
+ # Deletes an existing Readiness Check.
615
+ #
616
+ # @option params [required, String] :readiness_check_name
617
+ #
618
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
619
+ #
620
+ # @example Request syntax with placeholder values
621
+ #
622
+ # resp = client.delete_readiness_check({
623
+ # readiness_check_name: "__string", # required
624
+ # })
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteReadinessCheck AWS API Documentation
627
+ #
628
+ # @overload delete_readiness_check(params = {})
629
+ # @param [Hash] params ({})
630
+ def delete_readiness_check(params = {}, options = {})
631
+ req = build_request(:delete_readiness_check, params)
632
+ req.send_request(options)
633
+ end
634
+
635
+ # Deletes an existing Recovery Group.
636
+ #
637
+ # @option params [required, String] :recovery_group_name
638
+ #
639
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
640
+ #
641
+ # @example Request syntax with placeholder values
642
+ #
643
+ # resp = client.delete_recovery_group({
644
+ # recovery_group_name: "__string", # required
645
+ # })
646
+ #
647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteRecoveryGroup AWS API Documentation
648
+ #
649
+ # @overload delete_recovery_group(params = {})
650
+ # @param [Hash] params ({})
651
+ def delete_recovery_group(params = {}, options = {})
652
+ req = build_request(:delete_recovery_group, params)
653
+ req.send_request(options)
654
+ end
655
+
656
+ # Deletes an existing Resource Set.
657
+ #
658
+ # @option params [required, String] :resource_set_name
659
+ #
660
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
661
+ #
662
+ # @example Request syntax with placeholder values
663
+ #
664
+ # resp = client.delete_resource_set({
665
+ # resource_set_name: "__string", # required
666
+ # })
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteResourceSet AWS API Documentation
669
+ #
670
+ # @overload delete_resource_set(params = {})
671
+ # @param [Hash] params ({})
672
+ def delete_resource_set(params = {}, options = {})
673
+ req = build_request(:delete_resource_set, params)
674
+ req.send_request(options)
675
+ end
676
+
677
+ # Returns a collection of recommendations to improve resilliance and
678
+ # readiness check quality for a Recovery Group.
679
+ #
680
+ # @option params [Integer] :max_results
681
+ #
682
+ # @option params [String] :next_token
683
+ #
684
+ # @option params [required, String] :recovery_group_name
685
+ #
686
+ # @return [Types::GetArchitectureRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
687
+ #
688
+ # * {Types::GetArchitectureRecommendationsResponse#last_audit_timestamp #last_audit_timestamp} => Time
689
+ # * {Types::GetArchitectureRecommendationsResponse#next_token #next_token} => String
690
+ # * {Types::GetArchitectureRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::Recommendation&gt;
691
+ #
692
+ # @example Request syntax with placeholder values
693
+ #
694
+ # resp = client.get_architecture_recommendations({
695
+ # max_results: 1,
696
+ # next_token: "__string",
697
+ # recovery_group_name: "__string", # required
698
+ # })
699
+ #
700
+ # @example Response structure
701
+ #
702
+ # resp.last_audit_timestamp #=> Time
703
+ # resp.next_token #=> String
704
+ # resp.recommendations #=> Array
705
+ # resp.recommendations[0].recommendation_text #=> String
706
+ #
707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetArchitectureRecommendations AWS API Documentation
708
+ #
709
+ # @overload get_architecture_recommendations(params = {})
710
+ # @param [Hash] params ({})
711
+ def get_architecture_recommendations(params = {}, options = {})
712
+ req = build_request(:get_architecture_recommendations, params)
713
+ req.send_request(options)
714
+ end
715
+
716
+ # Returns information about a Cell.
717
+ #
718
+ # @option params [required, String] :cell_name
719
+ #
720
+ # @return [Types::GetCellResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
721
+ #
722
+ # * {Types::GetCellResponse#cell_arn #cell_arn} => String
723
+ # * {Types::GetCellResponse#cell_name #cell_name} => String
724
+ # * {Types::GetCellResponse#cells #cells} => Array&lt;String&gt;
725
+ # * {Types::GetCellResponse#parent_readiness_scopes #parent_readiness_scopes} => Array&lt;String&gt;
726
+ # * {Types::GetCellResponse#tags #tags} => Hash&lt;String,String&gt;
727
+ #
728
+ # @example Request syntax with placeholder values
729
+ #
730
+ # resp = client.get_cell({
731
+ # cell_name: "__string", # required
732
+ # })
733
+ #
734
+ # @example Response structure
735
+ #
736
+ # resp.cell_arn #=> String
737
+ # resp.cell_name #=> String
738
+ # resp.cells #=> Array
739
+ # resp.cells[0] #=> String
740
+ # resp.parent_readiness_scopes #=> Array
741
+ # resp.parent_readiness_scopes[0] #=> String
742
+ # resp.tags #=> Hash
743
+ # resp.tags["__string"] #=> String
744
+ #
745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCell AWS API Documentation
746
+ #
747
+ # @overload get_cell(params = {})
748
+ # @param [Hash] params ({})
749
+ def get_cell(params = {}, options = {})
750
+ req = build_request(:get_cell, params)
751
+ req.send_request(options)
752
+ end
753
+
754
+ # Returns information about readiness of a Cell.
755
+ #
756
+ # @option params [required, String] :cell_name
757
+ #
758
+ # @option params [Integer] :max_results
759
+ #
760
+ # @option params [String] :next_token
761
+ #
762
+ # @return [Types::GetCellReadinessSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
763
+ #
764
+ # * {Types::GetCellReadinessSummaryResponse#next_token #next_token} => String
765
+ # * {Types::GetCellReadinessSummaryResponse#readiness #readiness} => String
766
+ # * {Types::GetCellReadinessSummaryResponse#readiness_checks #readiness_checks} => Array&lt;Types::ReadinessCheckSummary&gt;
767
+ #
768
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
769
+ #
770
+ # @example Request syntax with placeholder values
771
+ #
772
+ # resp = client.get_cell_readiness_summary({
773
+ # cell_name: "__string", # required
774
+ # max_results: 1,
775
+ # next_token: "__string",
776
+ # })
777
+ #
778
+ # @example Response structure
779
+ #
780
+ # resp.next_token #=> String
781
+ # resp.readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
782
+ # resp.readiness_checks #=> Array
783
+ # resp.readiness_checks[0].readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
784
+ # resp.readiness_checks[0].readiness_check_name #=> String
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCellReadinessSummary AWS API Documentation
787
+ #
788
+ # @overload get_cell_readiness_summary(params = {})
789
+ # @param [Hash] params ({})
790
+ def get_cell_readiness_summary(params = {}, options = {})
791
+ req = build_request(:get_cell_readiness_summary, params)
792
+ req.send_request(options)
793
+ end
794
+
795
+ # Returns information about a ReadinessCheck.
796
+ #
797
+ # @option params [required, String] :readiness_check_name
798
+ #
799
+ # @return [Types::GetReadinessCheckResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
800
+ #
801
+ # * {Types::GetReadinessCheckResponse#readiness_check_arn #readiness_check_arn} => String
802
+ # * {Types::GetReadinessCheckResponse#readiness_check_name #readiness_check_name} => String
803
+ # * {Types::GetReadinessCheckResponse#resource_set #resource_set} => String
804
+ # * {Types::GetReadinessCheckResponse#tags #tags} => Hash&lt;String,String&gt;
805
+ #
806
+ # @example Request syntax with placeholder values
807
+ #
808
+ # resp = client.get_readiness_check({
809
+ # readiness_check_name: "__string", # required
810
+ # })
811
+ #
812
+ # @example Response structure
813
+ #
814
+ # resp.readiness_check_arn #=> String
815
+ # resp.readiness_check_name #=> String
816
+ # resp.resource_set #=> String
817
+ # resp.tags #=> Hash
818
+ # resp.tags["__string"] #=> String
819
+ #
820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheck AWS API Documentation
821
+ #
822
+ # @overload get_readiness_check(params = {})
823
+ # @param [Hash] params ({})
824
+ def get_readiness_check(params = {}, options = {})
825
+ req = build_request(:get_readiness_check, params)
826
+ req.send_request(options)
827
+ end
828
+
829
+ # Returns detailed information about the status of an individual
830
+ # resource within a Readiness Check's Resource Set.
831
+ #
832
+ # @option params [Integer] :max_results
833
+ #
834
+ # @option params [String] :next_token
835
+ #
836
+ # @option params [required, String] :readiness_check_name
837
+ #
838
+ # @option params [required, String] :resource_identifier
839
+ #
840
+ # @return [Types::GetReadinessCheckResourceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
841
+ #
842
+ # * {Types::GetReadinessCheckResourceStatusResponse#next_token #next_token} => String
843
+ # * {Types::GetReadinessCheckResourceStatusResponse#readiness #readiness} => String
844
+ # * {Types::GetReadinessCheckResourceStatusResponse#rules #rules} => Array&lt;Types::RuleResult&gt;
845
+ #
846
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
847
+ #
848
+ # @example Request syntax with placeholder values
849
+ #
850
+ # resp = client.get_readiness_check_resource_status({
851
+ # max_results: 1,
852
+ # next_token: "__string",
853
+ # readiness_check_name: "__string", # required
854
+ # resource_identifier: "__string", # required
855
+ # })
856
+ #
857
+ # @example Response structure
858
+ #
859
+ # resp.next_token #=> String
860
+ # resp.readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
861
+ # resp.rules #=> Array
862
+ # resp.rules[0].last_checked_timestamp #=> Time
863
+ # resp.rules[0].messages #=> Array
864
+ # resp.rules[0].messages[0].message_text #=> String
865
+ # resp.rules[0].readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
866
+ # resp.rules[0].rule_id #=> String
867
+ #
868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckResourceStatus AWS API Documentation
869
+ #
870
+ # @overload get_readiness_check_resource_status(params = {})
871
+ # @param [Hash] params ({})
872
+ def get_readiness_check_resource_status(params = {}, options = {})
873
+ req = build_request(:get_readiness_check_resource_status, params)
874
+ req.send_request(options)
875
+ end
876
+
877
+ # Returns information about the status of a Readiness Check.
878
+ #
879
+ # @option params [Integer] :max_results
880
+ #
881
+ # @option params [String] :next_token
882
+ #
883
+ # @option params [required, String] :readiness_check_name
884
+ #
885
+ # @return [Types::GetReadinessCheckStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
886
+ #
887
+ # * {Types::GetReadinessCheckStatusResponse#messages #messages} => Array&lt;Types::Message&gt;
888
+ # * {Types::GetReadinessCheckStatusResponse#next_token #next_token} => String
889
+ # * {Types::GetReadinessCheckStatusResponse#readiness #readiness} => String
890
+ # * {Types::GetReadinessCheckStatusResponse#resources #resources} => Array&lt;Types::ResourceResult&gt;
891
+ #
892
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
893
+ #
894
+ # @example Request syntax with placeholder values
895
+ #
896
+ # resp = client.get_readiness_check_status({
897
+ # max_results: 1,
898
+ # next_token: "__string",
899
+ # readiness_check_name: "__string", # required
900
+ # })
901
+ #
902
+ # @example Response structure
903
+ #
904
+ # resp.messages #=> Array
905
+ # resp.messages[0].message_text #=> String
906
+ # resp.next_token #=> String
907
+ # resp.readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
908
+ # resp.resources #=> Array
909
+ # resp.resources[0].component_id #=> String
910
+ # resp.resources[0].last_checked_timestamp #=> Time
911
+ # resp.resources[0].readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
912
+ # resp.resources[0].resource_arn #=> String
913
+ #
914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckStatus AWS API Documentation
915
+ #
916
+ # @overload get_readiness_check_status(params = {})
917
+ # @param [Hash] params ({})
918
+ def get_readiness_check_status(params = {}, options = {})
919
+ req = build_request(:get_readiness_check_status, params)
920
+ req.send_request(options)
921
+ end
922
+
923
+ # Returns information about a Recovery Group.
924
+ #
925
+ # @option params [required, String] :recovery_group_name
926
+ #
927
+ # @return [Types::GetRecoveryGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
928
+ #
929
+ # * {Types::GetRecoveryGroupResponse#cells #cells} => Array&lt;String&gt;
930
+ # * {Types::GetRecoveryGroupResponse#recovery_group_arn #recovery_group_arn} => String
931
+ # * {Types::GetRecoveryGroupResponse#recovery_group_name #recovery_group_name} => String
932
+ # * {Types::GetRecoveryGroupResponse#tags #tags} => Hash&lt;String,String&gt;
933
+ #
934
+ # @example Request syntax with placeholder values
935
+ #
936
+ # resp = client.get_recovery_group({
937
+ # recovery_group_name: "__string", # required
938
+ # })
939
+ #
940
+ # @example Response structure
941
+ #
942
+ # resp.cells #=> Array
943
+ # resp.cells[0] #=> String
944
+ # resp.recovery_group_arn #=> String
945
+ # resp.recovery_group_name #=> String
946
+ # resp.tags #=> Hash
947
+ # resp.tags["__string"] #=> String
948
+ #
949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroup AWS API Documentation
950
+ #
951
+ # @overload get_recovery_group(params = {})
952
+ # @param [Hash] params ({})
953
+ def get_recovery_group(params = {}, options = {})
954
+ req = build_request(:get_recovery_group, params)
955
+ req.send_request(options)
956
+ end
957
+
958
+ # Returns information about a Recovery Group.
959
+ #
960
+ # @option params [Integer] :max_results
961
+ #
962
+ # @option params [String] :next_token
963
+ #
964
+ # @option params [required, String] :recovery_group_name
965
+ #
966
+ # @return [Types::GetRecoveryGroupReadinessSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
967
+ #
968
+ # * {Types::GetRecoveryGroupReadinessSummaryResponse#next_token #next_token} => String
969
+ # * {Types::GetRecoveryGroupReadinessSummaryResponse#readiness #readiness} => String
970
+ # * {Types::GetRecoveryGroupReadinessSummaryResponse#readiness_checks #readiness_checks} => Array&lt;Types::ReadinessCheckSummary&gt;
971
+ #
972
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
973
+ #
974
+ # @example Request syntax with placeholder values
975
+ #
976
+ # resp = client.get_recovery_group_readiness_summary({
977
+ # max_results: 1,
978
+ # next_token: "__string",
979
+ # recovery_group_name: "__string", # required
980
+ # })
981
+ #
982
+ # @example Response structure
983
+ #
984
+ # resp.next_token #=> String
985
+ # resp.readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
986
+ # resp.readiness_checks #=> Array
987
+ # resp.readiness_checks[0].readiness #=> String, one of "READY", "NOT_READY", "UNKNOWN", "NOT_AUTHORIZED"
988
+ # resp.readiness_checks[0].readiness_check_name #=> String
989
+ #
990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroupReadinessSummary AWS API Documentation
991
+ #
992
+ # @overload get_recovery_group_readiness_summary(params = {})
993
+ # @param [Hash] params ({})
994
+ def get_recovery_group_readiness_summary(params = {}, options = {})
995
+ req = build_request(:get_recovery_group_readiness_summary, params)
996
+ req.send_request(options)
997
+ end
998
+
999
+ # Returns information about a Resource Set.
1000
+ #
1001
+ # @option params [required, String] :resource_set_name
1002
+ #
1003
+ # @return [Types::GetResourceSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1004
+ #
1005
+ # * {Types::GetResourceSetResponse#resource_set_arn #resource_set_arn} => String
1006
+ # * {Types::GetResourceSetResponse#resource_set_name #resource_set_name} => String
1007
+ # * {Types::GetResourceSetResponse#resource_set_type #resource_set_type} => String
1008
+ # * {Types::GetResourceSetResponse#resources #resources} => Array&lt;Types::Resource&gt;
1009
+ # * {Types::GetResourceSetResponse#tags #tags} => Hash&lt;String,String&gt;
1010
+ #
1011
+ # @example Request syntax with placeholder values
1012
+ #
1013
+ # resp = client.get_resource_set({
1014
+ # resource_set_name: "__string", # required
1015
+ # })
1016
+ #
1017
+ # @example Response structure
1018
+ #
1019
+ # resp.resource_set_arn #=> String
1020
+ # resp.resource_set_name #=> String
1021
+ # resp.resource_set_type #=> String
1022
+ # resp.resources #=> Array
1023
+ # resp.resources[0].component_id #=> String
1024
+ # resp.resources[0].dns_target_resource.domain_name #=> String
1025
+ # resp.resources[0].dns_target_resource.hosted_zone_arn #=> String
1026
+ # resp.resources[0].dns_target_resource.record_set_id #=> String
1027
+ # resp.resources[0].dns_target_resource.record_type #=> String
1028
+ # resp.resources[0].dns_target_resource.target_resource.nlb_resource.arn #=> String
1029
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.domain_name #=> String
1030
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.record_set_id #=> String
1031
+ # resp.resources[0].readiness_scopes #=> Array
1032
+ # resp.resources[0].readiness_scopes[0] #=> String
1033
+ # resp.resources[0].resource_arn #=> String
1034
+ # resp.tags #=> Hash
1035
+ # resp.tags["__string"] #=> String
1036
+ #
1037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetResourceSet AWS API Documentation
1038
+ #
1039
+ # @overload get_resource_set(params = {})
1040
+ # @param [Hash] params ({})
1041
+ def get_resource_set(params = {}, options = {})
1042
+ req = build_request(:get_resource_set, params)
1043
+ req.send_request(options)
1044
+ end
1045
+
1046
+ # Returns a collection of Cells.
1047
+ #
1048
+ # @option params [Integer] :max_results
1049
+ #
1050
+ # @option params [String] :next_token
1051
+ #
1052
+ # @return [Types::ListCellsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1053
+ #
1054
+ # * {Types::ListCellsResponse#cells #cells} => Array&lt;Types::CellOutput&gt;
1055
+ # * {Types::ListCellsResponse#next_token #next_token} => String
1056
+ #
1057
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1058
+ #
1059
+ # @example Request syntax with placeholder values
1060
+ #
1061
+ # resp = client.list_cells({
1062
+ # max_results: 1,
1063
+ # next_token: "__string",
1064
+ # })
1065
+ #
1066
+ # @example Response structure
1067
+ #
1068
+ # resp.cells #=> Array
1069
+ # resp.cells[0].cell_arn #=> String
1070
+ # resp.cells[0].cell_name #=> String
1071
+ # resp.cells[0].cells #=> Array
1072
+ # resp.cells[0].cells[0] #=> String
1073
+ # resp.cells[0].parent_readiness_scopes #=> Array
1074
+ # resp.cells[0].parent_readiness_scopes[0] #=> String
1075
+ # resp.cells[0].tags #=> Hash
1076
+ # resp.cells[0].tags["__string"] #=> String
1077
+ # resp.next_token #=> String
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCells AWS API Documentation
1080
+ #
1081
+ # @overload list_cells(params = {})
1082
+ # @param [Hash] params ({})
1083
+ def list_cells(params = {}, options = {})
1084
+ req = build_request(:list_cells, params)
1085
+ req.send_request(options)
1086
+ end
1087
+
1088
+ # Returns a collection of cross account readiness authorizations.
1089
+ #
1090
+ # @option params [Integer] :max_results
1091
+ #
1092
+ # @option params [String] :next_token
1093
+ #
1094
+ # @return [Types::ListCrossAccountAuthorizationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1095
+ #
1096
+ # * {Types::ListCrossAccountAuthorizationsResponse#cross_account_authorizations #cross_account_authorizations} => Array&lt;String&gt;
1097
+ # * {Types::ListCrossAccountAuthorizationsResponse#next_token #next_token} => String
1098
+ #
1099
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1100
+ #
1101
+ # @example Request syntax with placeholder values
1102
+ #
1103
+ # resp = client.list_cross_account_authorizations({
1104
+ # max_results: 1,
1105
+ # next_token: "__string",
1106
+ # })
1107
+ #
1108
+ # @example Response structure
1109
+ #
1110
+ # resp.cross_account_authorizations #=> Array
1111
+ # resp.cross_account_authorizations[0] #=> String
1112
+ # resp.next_token #=> String
1113
+ #
1114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCrossAccountAuthorizations AWS API Documentation
1115
+ #
1116
+ # @overload list_cross_account_authorizations(params = {})
1117
+ # @param [Hash] params ({})
1118
+ def list_cross_account_authorizations(params = {}, options = {})
1119
+ req = build_request(:list_cross_account_authorizations, params)
1120
+ req.send_request(options)
1121
+ end
1122
+
1123
+ # Returns a collection of Readiness Checks.
1124
+ #
1125
+ # @option params [Integer] :max_results
1126
+ #
1127
+ # @option params [String] :next_token
1128
+ #
1129
+ # @return [Types::ListReadinessChecksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1130
+ #
1131
+ # * {Types::ListReadinessChecksResponse#next_token #next_token} => String
1132
+ # * {Types::ListReadinessChecksResponse#readiness_checks #readiness_checks} => Array&lt;Types::ReadinessCheckOutput&gt;
1133
+ #
1134
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1135
+ #
1136
+ # @example Request syntax with placeholder values
1137
+ #
1138
+ # resp = client.list_readiness_checks({
1139
+ # max_results: 1,
1140
+ # next_token: "__string",
1141
+ # })
1142
+ #
1143
+ # @example Response structure
1144
+ #
1145
+ # resp.next_token #=> String
1146
+ # resp.readiness_checks #=> Array
1147
+ # resp.readiness_checks[0].readiness_check_arn #=> String
1148
+ # resp.readiness_checks[0].readiness_check_name #=> String
1149
+ # resp.readiness_checks[0].resource_set #=> String
1150
+ # resp.readiness_checks[0].tags #=> Hash
1151
+ # resp.readiness_checks[0].tags["__string"] #=> String
1152
+ #
1153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListReadinessChecks AWS API Documentation
1154
+ #
1155
+ # @overload list_readiness_checks(params = {})
1156
+ # @param [Hash] params ({})
1157
+ def list_readiness_checks(params = {}, options = {})
1158
+ req = build_request(:list_readiness_checks, params)
1159
+ req.send_request(options)
1160
+ end
1161
+
1162
+ # Returns a collection of Recovery Groups.
1163
+ #
1164
+ # @option params [Integer] :max_results
1165
+ #
1166
+ # @option params [String] :next_token
1167
+ #
1168
+ # @return [Types::ListRecoveryGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1169
+ #
1170
+ # * {Types::ListRecoveryGroupsResponse#next_token #next_token} => String
1171
+ # * {Types::ListRecoveryGroupsResponse#recovery_groups #recovery_groups} => Array&lt;Types::RecoveryGroupOutput&gt;
1172
+ #
1173
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1174
+ #
1175
+ # @example Request syntax with placeholder values
1176
+ #
1177
+ # resp = client.list_recovery_groups({
1178
+ # max_results: 1,
1179
+ # next_token: "__string",
1180
+ # })
1181
+ #
1182
+ # @example Response structure
1183
+ #
1184
+ # resp.next_token #=> String
1185
+ # resp.recovery_groups #=> Array
1186
+ # resp.recovery_groups[0].cells #=> Array
1187
+ # resp.recovery_groups[0].cells[0] #=> String
1188
+ # resp.recovery_groups[0].recovery_group_arn #=> String
1189
+ # resp.recovery_groups[0].recovery_group_name #=> String
1190
+ # resp.recovery_groups[0].tags #=> Hash
1191
+ # resp.recovery_groups[0].tags["__string"] #=> String
1192
+ #
1193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRecoveryGroups AWS API Documentation
1194
+ #
1195
+ # @overload list_recovery_groups(params = {})
1196
+ # @param [Hash] params ({})
1197
+ def list_recovery_groups(params = {}, options = {})
1198
+ req = build_request(:list_recovery_groups, params)
1199
+ req.send_request(options)
1200
+ end
1201
+
1202
+ # Returns a collection of Resource Sets.
1203
+ #
1204
+ # @option params [Integer] :max_results
1205
+ #
1206
+ # @option params [String] :next_token
1207
+ #
1208
+ # @return [Types::ListResourceSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1209
+ #
1210
+ # * {Types::ListResourceSetsResponse#next_token #next_token} => String
1211
+ # * {Types::ListResourceSetsResponse#resource_sets #resource_sets} => Array&lt;Types::ResourceSetOutput&gt;
1212
+ #
1213
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1214
+ #
1215
+ # @example Request syntax with placeholder values
1216
+ #
1217
+ # resp = client.list_resource_sets({
1218
+ # max_results: 1,
1219
+ # next_token: "__string",
1220
+ # })
1221
+ #
1222
+ # @example Response structure
1223
+ #
1224
+ # resp.next_token #=> String
1225
+ # resp.resource_sets #=> Array
1226
+ # resp.resource_sets[0].resource_set_arn #=> String
1227
+ # resp.resource_sets[0].resource_set_name #=> String
1228
+ # resp.resource_sets[0].resource_set_type #=> String
1229
+ # resp.resource_sets[0].resources #=> Array
1230
+ # resp.resource_sets[0].resources[0].component_id #=> String
1231
+ # resp.resource_sets[0].resources[0].dns_target_resource.domain_name #=> String
1232
+ # resp.resource_sets[0].resources[0].dns_target_resource.hosted_zone_arn #=> String
1233
+ # resp.resource_sets[0].resources[0].dns_target_resource.record_set_id #=> String
1234
+ # resp.resource_sets[0].resources[0].dns_target_resource.record_type #=> String
1235
+ # resp.resource_sets[0].resources[0].dns_target_resource.target_resource.nlb_resource.arn #=> String
1236
+ # resp.resource_sets[0].resources[0].dns_target_resource.target_resource.r53_resource.domain_name #=> String
1237
+ # resp.resource_sets[0].resources[0].dns_target_resource.target_resource.r53_resource.record_set_id #=> String
1238
+ # resp.resource_sets[0].resources[0].readiness_scopes #=> Array
1239
+ # resp.resource_sets[0].resources[0].readiness_scopes[0] #=> String
1240
+ # resp.resource_sets[0].resources[0].resource_arn #=> String
1241
+ # resp.resource_sets[0].tags #=> Hash
1242
+ # resp.resource_sets[0].tags["__string"] #=> String
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListResourceSets AWS API Documentation
1245
+ #
1246
+ # @overload list_resource_sets(params = {})
1247
+ # @param [Hash] params ({})
1248
+ def list_resource_sets(params = {}, options = {})
1249
+ req = build_request(:list_resource_sets, params)
1250
+ req.send_request(options)
1251
+ end
1252
+
1253
+ # Returns a collection of rules that are applied as part of Readiness
1254
+ # Checks.
1255
+ #
1256
+ # @option params [Integer] :max_results
1257
+ #
1258
+ # @option params [String] :next_token
1259
+ #
1260
+ # @option params [String] :resource_type
1261
+ #
1262
+ # @return [Types::ListRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1263
+ #
1264
+ # * {Types::ListRulesResponse#next_token #next_token} => String
1265
+ # * {Types::ListRulesResponse#rules #rules} => Array&lt;Types::ListRulesOutput&gt;
1266
+ #
1267
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1268
+ #
1269
+ # @example Request syntax with placeholder values
1270
+ #
1271
+ # resp = client.list_rules({
1272
+ # max_results: 1,
1273
+ # next_token: "__string",
1274
+ # resource_type: "__string",
1275
+ # })
1276
+ #
1277
+ # @example Response structure
1278
+ #
1279
+ # resp.next_token #=> String
1280
+ # resp.rules #=> Array
1281
+ # resp.rules[0].resource_type #=> String
1282
+ # resp.rules[0].rule_description #=> String
1283
+ # resp.rules[0].rule_id #=> String
1284
+ #
1285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRules AWS API Documentation
1286
+ #
1287
+ # @overload list_rules(params = {})
1288
+ # @param [Hash] params ({})
1289
+ def list_rules(params = {}, options = {})
1290
+ req = build_request(:list_rules, params)
1291
+ req.send_request(options)
1292
+ end
1293
+
1294
+ # Returns a list of the tags assigned to the specified resource.
1295
+ #
1296
+ # @option params [required, String] :resource_arn
1297
+ #
1298
+ # @return [Types::ListTagsForResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1299
+ #
1300
+ # * {Types::ListTagsForResourcesResponse#tags #tags} => Hash&lt;String,String&gt;
1301
+ #
1302
+ # @example Request syntax with placeholder values
1303
+ #
1304
+ # resp = client.list_tags_for_resources({
1305
+ # resource_arn: "__string", # required
1306
+ # })
1307
+ #
1308
+ # @example Response structure
1309
+ #
1310
+ # resp.tags #=> Hash
1311
+ # resp.tags["__string"] #=> String
1312
+ #
1313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListTagsForResources AWS API Documentation
1314
+ #
1315
+ # @overload list_tags_for_resources(params = {})
1316
+ # @param [Hash] params ({})
1317
+ def list_tags_for_resources(params = {}, options = {})
1318
+ req = build_request(:list_tags_for_resources, params)
1319
+ req.send_request(options)
1320
+ end
1321
+
1322
+ # Adds tags to the specified resource. You can specify one or more tags
1323
+ # to add.
1324
+ #
1325
+ # @option params [required, String] :resource_arn
1326
+ #
1327
+ # @option params [required, Hash<String,String>] :tags
1328
+ # A collection of tags associated with a resource
1329
+ #
1330
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1331
+ #
1332
+ # @example Request syntax with placeholder values
1333
+ #
1334
+ # resp = client.tag_resource({
1335
+ # resource_arn: "__string", # required
1336
+ # tags: { # required
1337
+ # "__string" => "__string",
1338
+ # },
1339
+ # })
1340
+ #
1341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/TagResource AWS API Documentation
1342
+ #
1343
+ # @overload tag_resource(params = {})
1344
+ # @param [Hash] params ({})
1345
+ def tag_resource(params = {}, options = {})
1346
+ req = build_request(:tag_resource, params)
1347
+ req.send_request(options)
1348
+ end
1349
+
1350
+ # Removes tags from the specified resource. You can specify one or more
1351
+ # tags to remove.
1352
+ #
1353
+ # @option params [required, String] :resource_arn
1354
+ #
1355
+ # @option params [required, Array<String>] :tag_keys
1356
+ #
1357
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1358
+ #
1359
+ # @example Request syntax with placeholder values
1360
+ #
1361
+ # resp = client.untag_resource({
1362
+ # resource_arn: "__string", # required
1363
+ # tag_keys: ["__string"], # required
1364
+ # })
1365
+ #
1366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UntagResource AWS API Documentation
1367
+ #
1368
+ # @overload untag_resource(params = {})
1369
+ # @param [Hash] params ({})
1370
+ def untag_resource(params = {}, options = {})
1371
+ req = build_request(:untag_resource, params)
1372
+ req.send_request(options)
1373
+ end
1374
+
1375
+ # Updates an existing Cell.
1376
+ #
1377
+ # @option params [required, String] :cell_name
1378
+ #
1379
+ # @option params [required, Array<String>] :cells
1380
+ #
1381
+ # @return [Types::UpdateCellResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1382
+ #
1383
+ # * {Types::UpdateCellResponse#cell_arn #cell_arn} => String
1384
+ # * {Types::UpdateCellResponse#cell_name #cell_name} => String
1385
+ # * {Types::UpdateCellResponse#cells #cells} => Array&lt;String&gt;
1386
+ # * {Types::UpdateCellResponse#parent_readiness_scopes #parent_readiness_scopes} => Array&lt;String&gt;
1387
+ # * {Types::UpdateCellResponse#tags #tags} => Hash&lt;String,String&gt;
1388
+ #
1389
+ # @example Request syntax with placeholder values
1390
+ #
1391
+ # resp = client.update_cell({
1392
+ # cell_name: "__string", # required
1393
+ # cells: ["__string"], # required
1394
+ # })
1395
+ #
1396
+ # @example Response structure
1397
+ #
1398
+ # resp.cell_arn #=> String
1399
+ # resp.cell_name #=> String
1400
+ # resp.cells #=> Array
1401
+ # resp.cells[0] #=> String
1402
+ # resp.parent_readiness_scopes #=> Array
1403
+ # resp.parent_readiness_scopes[0] #=> String
1404
+ # resp.tags #=> Hash
1405
+ # resp.tags["__string"] #=> String
1406
+ #
1407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateCell AWS API Documentation
1408
+ #
1409
+ # @overload update_cell(params = {})
1410
+ # @param [Hash] params ({})
1411
+ def update_cell(params = {}, options = {})
1412
+ req = build_request(:update_cell, params)
1413
+ req.send_request(options)
1414
+ end
1415
+
1416
+ # Updates an exisiting Readiness Check.
1417
+ #
1418
+ # @option params [required, String] :readiness_check_name
1419
+ #
1420
+ # @option params [required, String] :resource_set_name
1421
+ #
1422
+ # @return [Types::UpdateReadinessCheckResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1423
+ #
1424
+ # * {Types::UpdateReadinessCheckResponse#readiness_check_arn #readiness_check_arn} => String
1425
+ # * {Types::UpdateReadinessCheckResponse#readiness_check_name #readiness_check_name} => String
1426
+ # * {Types::UpdateReadinessCheckResponse#resource_set #resource_set} => String
1427
+ # * {Types::UpdateReadinessCheckResponse#tags #tags} => Hash&lt;String,String&gt;
1428
+ #
1429
+ # @example Request syntax with placeholder values
1430
+ #
1431
+ # resp = client.update_readiness_check({
1432
+ # readiness_check_name: "__string", # required
1433
+ # resource_set_name: "__string", # required
1434
+ # })
1435
+ #
1436
+ # @example Response structure
1437
+ #
1438
+ # resp.readiness_check_arn #=> String
1439
+ # resp.readiness_check_name #=> String
1440
+ # resp.resource_set #=> String
1441
+ # resp.tags #=> Hash
1442
+ # resp.tags["__string"] #=> String
1443
+ #
1444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateReadinessCheck AWS API Documentation
1445
+ #
1446
+ # @overload update_readiness_check(params = {})
1447
+ # @param [Hash] params ({})
1448
+ def update_readiness_check(params = {}, options = {})
1449
+ req = build_request(:update_readiness_check, params)
1450
+ req.send_request(options)
1451
+ end
1452
+
1453
+ # Updates an existing Recovery Group.
1454
+ #
1455
+ # @option params [required, Array<String>] :cells
1456
+ #
1457
+ # @option params [required, String] :recovery_group_name
1458
+ #
1459
+ # @return [Types::UpdateRecoveryGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1460
+ #
1461
+ # * {Types::UpdateRecoveryGroupResponse#cells #cells} => Array&lt;String&gt;
1462
+ # * {Types::UpdateRecoveryGroupResponse#recovery_group_arn #recovery_group_arn} => String
1463
+ # * {Types::UpdateRecoveryGroupResponse#recovery_group_name #recovery_group_name} => String
1464
+ # * {Types::UpdateRecoveryGroupResponse#tags #tags} => Hash&lt;String,String&gt;
1465
+ #
1466
+ # @example Request syntax with placeholder values
1467
+ #
1468
+ # resp = client.update_recovery_group({
1469
+ # cells: ["__string"], # required
1470
+ # recovery_group_name: "__string", # required
1471
+ # })
1472
+ #
1473
+ # @example Response structure
1474
+ #
1475
+ # resp.cells #=> Array
1476
+ # resp.cells[0] #=> String
1477
+ # resp.recovery_group_arn #=> String
1478
+ # resp.recovery_group_name #=> String
1479
+ # resp.tags #=> Hash
1480
+ # resp.tags["__string"] #=> String
1481
+ #
1482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateRecoveryGroup AWS API Documentation
1483
+ #
1484
+ # @overload update_recovery_group(params = {})
1485
+ # @param [Hash] params ({})
1486
+ def update_recovery_group(params = {}, options = {})
1487
+ req = build_request(:update_recovery_group, params)
1488
+ req.send_request(options)
1489
+ end
1490
+
1491
+ # Updates an existing Resource Set.
1492
+ #
1493
+ # @option params [required, String] :resource_set_name
1494
+ #
1495
+ # @option params [required, String] :resource_set_type
1496
+ #
1497
+ # @option params [required, Array<Types::Resource>] :resources
1498
+ #
1499
+ # @return [Types::UpdateResourceSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1500
+ #
1501
+ # * {Types::UpdateResourceSetResponse#resource_set_arn #resource_set_arn} => String
1502
+ # * {Types::UpdateResourceSetResponse#resource_set_name #resource_set_name} => String
1503
+ # * {Types::UpdateResourceSetResponse#resource_set_type #resource_set_type} => String
1504
+ # * {Types::UpdateResourceSetResponse#resources #resources} => Array&lt;Types::Resource&gt;
1505
+ # * {Types::UpdateResourceSetResponse#tags #tags} => Hash&lt;String,String&gt;
1506
+ #
1507
+ # @example Request syntax with placeholder values
1508
+ #
1509
+ # resp = client.update_resource_set({
1510
+ # resource_set_name: "__string", # required
1511
+ # resource_set_type: "__stringPatternAWSAZaZ09AZaZ09", # required
1512
+ # resources: [ # required
1513
+ # {
1514
+ # component_id: "__string",
1515
+ # dns_target_resource: {
1516
+ # domain_name: "__string",
1517
+ # hosted_zone_arn: "__string",
1518
+ # record_set_id: "__string",
1519
+ # record_type: "__string",
1520
+ # target_resource: {
1521
+ # nlb_resource: {
1522
+ # arn: "__string",
1523
+ # },
1524
+ # r53_resource: {
1525
+ # domain_name: "__string",
1526
+ # record_set_id: "__string",
1527
+ # },
1528
+ # },
1529
+ # },
1530
+ # readiness_scopes: ["__string"],
1531
+ # resource_arn: "__string",
1532
+ # },
1533
+ # ],
1534
+ # })
1535
+ #
1536
+ # @example Response structure
1537
+ #
1538
+ # resp.resource_set_arn #=> String
1539
+ # resp.resource_set_name #=> String
1540
+ # resp.resource_set_type #=> String
1541
+ # resp.resources #=> Array
1542
+ # resp.resources[0].component_id #=> String
1543
+ # resp.resources[0].dns_target_resource.domain_name #=> String
1544
+ # resp.resources[0].dns_target_resource.hosted_zone_arn #=> String
1545
+ # resp.resources[0].dns_target_resource.record_set_id #=> String
1546
+ # resp.resources[0].dns_target_resource.record_type #=> String
1547
+ # resp.resources[0].dns_target_resource.target_resource.nlb_resource.arn #=> String
1548
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.domain_name #=> String
1549
+ # resp.resources[0].dns_target_resource.target_resource.r53_resource.record_set_id #=> String
1550
+ # resp.resources[0].readiness_scopes #=> Array
1551
+ # resp.resources[0].readiness_scopes[0] #=> String
1552
+ # resp.resources[0].resource_arn #=> String
1553
+ # resp.tags #=> Hash
1554
+ # resp.tags["__string"] #=> String
1555
+ #
1556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateResourceSet AWS API Documentation
1557
+ #
1558
+ # @overload update_resource_set(params = {})
1559
+ # @param [Hash] params ({})
1560
+ def update_resource_set(params = {}, options = {})
1561
+ req = build_request(:update_resource_set, params)
1562
+ req.send_request(options)
1563
+ end
1564
+
1565
+ # @!endgroup
1566
+
1567
+ # @param params ({})
1568
+ # @api private
1569
+ def build_request(operation_name, params = {})
1570
+ handlers = @handlers.for(operation_name)
1571
+ context = Seahorse::Client::RequestContext.new(
1572
+ operation_name: operation_name,
1573
+ operation: config.api.operation(operation_name),
1574
+ client: self,
1575
+ params: params,
1576
+ config: config)
1577
+ context[:gem_name] = 'aws-sdk-route53recoveryreadiness'
1578
+ context[:gem_version] = '1.0.0'
1579
+ Seahorse::Client::Request.new(handlers, context)
1580
+ end
1581
+
1582
+ # @api private
1583
+ # @deprecated
1584
+ def waiter_names
1585
+ []
1586
+ end
1587
+
1588
+ class << self
1589
+
1590
+ # @api private
1591
+ attr_reader :identifier
1592
+
1593
+ # @api private
1594
+ def errors_module
1595
+ Errors
1596
+ end
1597
+
1598
+ end
1599
+ end
1600
+ end