aws-sdk-fis 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: '085aeb4985fd9e5e2fb219d22cd65118840fb9ccff349a1c3262b8eb8f4ff02c'
4
+ data.tar.gz: 42e8173602b9aaf753493478aeb4badda81ffb9849f22ac3ad16f9885a68824e
5
+ SHA512:
6
+ metadata.gz: 53df1515ba1ce9589fe5a5c997b925a963f71058e6fba24fc8cc7f5d6dd7661524891eb6934c342553cd0b83c5be877e4f7aab232ec137709426c0f13dc1850a
7
+ data.tar.gz: 5dae3bda649016efd292591a4db554ecbb61f6c71ee2f94e41dc1293a2b6e830f1fada35ceebc16d4a5736b8cfee009ccf87eb07b22a96390192f9f5e675e070
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.0.0 (2021-03-15)
5
+ ------------------
6
+
7
+ * Feature - Initial release of `aws-sdk-fis`.
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-fis/types'
15
+ require_relative 'aws-sdk-fis/client_api'
16
+ require_relative 'aws-sdk-fis/client'
17
+ require_relative 'aws-sdk-fis/errors'
18
+ require_relative 'aws-sdk-fis/resource'
19
+ require_relative 'aws-sdk-fis/customizations'
20
+
21
+ # This module provides support for AWS Fault Injection Simulator. This module is available in the
22
+ # `aws-sdk-fis` 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
+ # fis = Aws::FIS::Client.new
31
+ # resp = fis.create_experiment_template(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from AWS Fault Injection Simulator are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::FIS::Errors::ServiceError
43
+ # # rescues all AWS Fault Injection Simulator API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::FIS
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,1183 @@
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(:fis)
34
+
35
+ module Aws::FIS
36
+ # An API client for FIS. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::FIS::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 = :fis
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 an experiment template.
331
+ #
332
+ # To create a template, specify the following information:
333
+ #
334
+ # * **Targets**\: A target can be a specific resource in your AWS
335
+ # environment, or one or more resources that match criteria that you
336
+ # specify, for example, resources that have specific tags.
337
+ #
338
+ # * **Actions**\: The actions to carry out on the target. You can
339
+ # specify multiple actions, the duration of each action, and when to
340
+ # start each action during an experiment.
341
+ #
342
+ # * **Stop conditions**\: If a stop condition is triggered while an
343
+ # experiment is running, the experiment is automatically stopped. You
344
+ # can define a stop condition as a CloudWatch alarm.
345
+ #
346
+ # For more information, see the [AWS Fault Injection Simulator User
347
+ # Guide][1].
348
+ #
349
+ #
350
+ #
351
+ # [1]: https://docs.aws.amazon.com/fis/latest/userguide/
352
+ #
353
+ # @option params [required, String] :client_token
354
+ # Unique, case-sensitive identifier that you provide to ensure the
355
+ # idempotency of the request.
356
+ #
357
+ # **A suitable default value is auto-generated.** You should normally
358
+ # not need to pass this option.**
359
+ #
360
+ # @option params [required, String] :description
361
+ # A description for the experiment template. Can contain up to 64
362
+ # letters (A-Z and a-z).
363
+ #
364
+ # @option params [required, Array<Types::CreateExperimentTemplateStopConditionInput>] :stop_conditions
365
+ # The stop conditions.
366
+ #
367
+ # @option params [Hash<String,Types::CreateExperimentTemplateTargetInput>] :targets
368
+ # The targets for the experiment.
369
+ #
370
+ # @option params [required, Hash<String,Types::CreateExperimentTemplateActionInput>] :actions
371
+ # The actions for the experiment.
372
+ #
373
+ # @option params [required, String] :role_arn
374
+ # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
375
+ # service permission to perform service actions on your behalf.
376
+ #
377
+ # @option params [Hash<String,String>] :tags
378
+ # The tags to apply to the experiment template.
379
+ #
380
+ # @return [Types::CreateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
381
+ #
382
+ # * {Types::CreateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
383
+ #
384
+ # @example Request syntax with placeholder values
385
+ #
386
+ # resp = client.create_experiment_template({
387
+ # client_token: "ClientToken", # required
388
+ # description: "ExperimentTemplateDescription", # required
389
+ # stop_conditions: [ # required
390
+ # {
391
+ # source: "StopConditionSource", # required
392
+ # value: "StopConditionValue",
393
+ # },
394
+ # ],
395
+ # targets: {
396
+ # "ExperimentTemplateTargetName" => {
397
+ # resource_type: "ResourceType", # required
398
+ # resource_arns: ["ResourceArn"],
399
+ # resource_tags: {
400
+ # "TagKey" => "TagValue",
401
+ # },
402
+ # filters: [
403
+ # {
404
+ # path: "ExperimentTemplateTargetFilterPath", # required
405
+ # values: ["ExperimentTemplateTargetFilterValue"], # required
406
+ # },
407
+ # ],
408
+ # selection_mode: "ExperimentTemplateTargetSelectionMode", # required
409
+ # },
410
+ # },
411
+ # actions: { # required
412
+ # "ExperimentTemplateActionName" => {
413
+ # action_id: "ActionId", # required
414
+ # description: "ExperimentTemplateActionDescription",
415
+ # parameters: {
416
+ # "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
417
+ # },
418
+ # targets: {
419
+ # "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
420
+ # },
421
+ # start_after: ["ExperimentTemplateActionStartAfter"],
422
+ # },
423
+ # },
424
+ # role_arn: "RoleArn", # required
425
+ # tags: {
426
+ # "TagKey" => "TagValue",
427
+ # },
428
+ # })
429
+ #
430
+ # @example Response structure
431
+ #
432
+ # resp.experiment_template.id #=> String
433
+ # resp.experiment_template.description #=> String
434
+ # resp.experiment_template.targets #=> Hash
435
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
436
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns #=> Array
437
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns[0] #=> String
438
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags #=> Hash
439
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags["TagKey"] #=> String
440
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters #=> Array
441
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].path #=> String
442
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
443
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
444
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
445
+ # resp.experiment_template.actions #=> Hash
446
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
447
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
448
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters #=> Hash
449
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters["ExperimentTemplateActionParameterName"] #=> String
450
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets #=> Hash
451
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets["ExperimentTemplateActionTargetName"] #=> String
452
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after #=> Array
453
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after[0] #=> String
454
+ # resp.experiment_template.stop_conditions #=> Array
455
+ # resp.experiment_template.stop_conditions[0].source #=> String
456
+ # resp.experiment_template.stop_conditions[0].value #=> String
457
+ # resp.experiment_template.creation_time #=> Time
458
+ # resp.experiment_template.last_update_time #=> Time
459
+ # resp.experiment_template.role_arn #=> String
460
+ # resp.experiment_template.tags #=> Hash
461
+ # resp.experiment_template.tags["TagKey"] #=> String
462
+ #
463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate AWS API Documentation
464
+ #
465
+ # @overload create_experiment_template(params = {})
466
+ # @param [Hash] params ({})
467
+ def create_experiment_template(params = {}, options = {})
468
+ req = build_request(:create_experiment_template, params)
469
+ req.send_request(options)
470
+ end
471
+
472
+ # Deletes the specified experiment template.
473
+ #
474
+ # @option params [required, String] :id
475
+ # The ID of the experiment template.
476
+ #
477
+ # @return [Types::DeleteExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
478
+ #
479
+ # * {Types::DeleteExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
480
+ #
481
+ # @example Request syntax with placeholder values
482
+ #
483
+ # resp = client.delete_experiment_template({
484
+ # id: "ExperimentTemplateId", # required
485
+ # })
486
+ #
487
+ # @example Response structure
488
+ #
489
+ # resp.experiment_template.id #=> String
490
+ # resp.experiment_template.description #=> String
491
+ # resp.experiment_template.targets #=> Hash
492
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
493
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns #=> Array
494
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns[0] #=> String
495
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags #=> Hash
496
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags["TagKey"] #=> String
497
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters #=> Array
498
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].path #=> String
499
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
500
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
501
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
502
+ # resp.experiment_template.actions #=> Hash
503
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
504
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
505
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters #=> Hash
506
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters["ExperimentTemplateActionParameterName"] #=> String
507
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets #=> Hash
508
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets["ExperimentTemplateActionTargetName"] #=> String
509
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after #=> Array
510
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after[0] #=> String
511
+ # resp.experiment_template.stop_conditions #=> Array
512
+ # resp.experiment_template.stop_conditions[0].source #=> String
513
+ # resp.experiment_template.stop_conditions[0].value #=> String
514
+ # resp.experiment_template.creation_time #=> Time
515
+ # resp.experiment_template.last_update_time #=> Time
516
+ # resp.experiment_template.role_arn #=> String
517
+ # resp.experiment_template.tags #=> Hash
518
+ # resp.experiment_template.tags["TagKey"] #=> String
519
+ #
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate AWS API Documentation
521
+ #
522
+ # @overload delete_experiment_template(params = {})
523
+ # @param [Hash] params ({})
524
+ def delete_experiment_template(params = {}, options = {})
525
+ req = build_request(:delete_experiment_template, params)
526
+ req.send_request(options)
527
+ end
528
+
529
+ # Gets information about the specified AWS FIS action.
530
+ #
531
+ # @option params [required, String] :id
532
+ # The ID of the action.
533
+ #
534
+ # @return [Types::GetActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
535
+ #
536
+ # * {Types::GetActionResponse#action #action} => Types::Action
537
+ #
538
+ # @example Request syntax with placeholder values
539
+ #
540
+ # resp = client.get_action({
541
+ # id: "ActionId", # required
542
+ # })
543
+ #
544
+ # @example Response structure
545
+ #
546
+ # resp.action.id #=> String
547
+ # resp.action.description #=> String
548
+ # resp.action.parameters #=> Hash
549
+ # resp.action.parameters["ActionParameterName"].description #=> String
550
+ # resp.action.parameters["ActionParameterName"].required #=> Boolean
551
+ # resp.action.targets #=> Hash
552
+ # resp.action.targets["ActionTargetName"].resource_type #=> String
553
+ # resp.action.tags #=> Hash
554
+ # resp.action.tags["TagKey"] #=> String
555
+ #
556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetAction AWS API Documentation
557
+ #
558
+ # @overload get_action(params = {})
559
+ # @param [Hash] params ({})
560
+ def get_action(params = {}, options = {})
561
+ req = build_request(:get_action, params)
562
+ req.send_request(options)
563
+ end
564
+
565
+ # Gets information about the specified experiment.
566
+ #
567
+ # @option params [required, String] :id
568
+ # The ID of the experiment.
569
+ #
570
+ # @return [Types::GetExperimentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
571
+ #
572
+ # * {Types::GetExperimentResponse#experiment #experiment} => Types::Experiment
573
+ #
574
+ # @example Request syntax with placeholder values
575
+ #
576
+ # resp = client.get_experiment({
577
+ # id: "ExperimentId", # required
578
+ # })
579
+ #
580
+ # @example Response structure
581
+ #
582
+ # resp.experiment.id #=> String
583
+ # resp.experiment.experiment_template_id #=> String
584
+ # resp.experiment.role_arn #=> String
585
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
586
+ # resp.experiment.state.reason #=> String
587
+ # resp.experiment.targets #=> Hash
588
+ # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
589
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
590
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns[0] #=> String
591
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags #=> Hash
592
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags["TagKey"] #=> String
593
+ # resp.experiment.targets["ExperimentTargetName"].filters #=> Array
594
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].path #=> String
595
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
596
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
597
+ # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
598
+ # resp.experiment.actions #=> Hash
599
+ # resp.experiment.actions["ExperimentActionName"].action_id #=> String
600
+ # resp.experiment.actions["ExperimentActionName"].description #=> String
601
+ # resp.experiment.actions["ExperimentActionName"].parameters #=> Hash
602
+ # resp.experiment.actions["ExperimentActionName"].parameters["ExperimentActionParameterName"] #=> String
603
+ # resp.experiment.actions["ExperimentActionName"].targets #=> Hash
604
+ # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
605
+ # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
606
+ # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
607
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
608
+ # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
609
+ # resp.experiment.stop_conditions #=> Array
610
+ # resp.experiment.stop_conditions[0].source #=> String
611
+ # resp.experiment.stop_conditions[0].value #=> String
612
+ # resp.experiment.creation_time #=> Time
613
+ # resp.experiment.start_time #=> Time
614
+ # resp.experiment.end_time #=> Time
615
+ # resp.experiment.tags #=> Hash
616
+ # resp.experiment.tags["TagKey"] #=> String
617
+ #
618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment AWS API Documentation
619
+ #
620
+ # @overload get_experiment(params = {})
621
+ # @param [Hash] params ({})
622
+ def get_experiment(params = {}, options = {})
623
+ req = build_request(:get_experiment, params)
624
+ req.send_request(options)
625
+ end
626
+
627
+ # Gets information about the specified experiment template.
628
+ #
629
+ # @option params [required, String] :id
630
+ # The ID of the experiment template.
631
+ #
632
+ # @return [Types::GetExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
633
+ #
634
+ # * {Types::GetExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
635
+ #
636
+ # @example Request syntax with placeholder values
637
+ #
638
+ # resp = client.get_experiment_template({
639
+ # id: "ExperimentTemplateId", # required
640
+ # })
641
+ #
642
+ # @example Response structure
643
+ #
644
+ # resp.experiment_template.id #=> String
645
+ # resp.experiment_template.description #=> String
646
+ # resp.experiment_template.targets #=> Hash
647
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
648
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns #=> Array
649
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns[0] #=> String
650
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags #=> Hash
651
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags["TagKey"] #=> String
652
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters #=> Array
653
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].path #=> String
654
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
655
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
656
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
657
+ # resp.experiment_template.actions #=> Hash
658
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
659
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
660
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters #=> Hash
661
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters["ExperimentTemplateActionParameterName"] #=> String
662
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets #=> Hash
663
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets["ExperimentTemplateActionTargetName"] #=> String
664
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after #=> Array
665
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after[0] #=> String
666
+ # resp.experiment_template.stop_conditions #=> Array
667
+ # resp.experiment_template.stop_conditions[0].source #=> String
668
+ # resp.experiment_template.stop_conditions[0].value #=> String
669
+ # resp.experiment_template.creation_time #=> Time
670
+ # resp.experiment_template.last_update_time #=> Time
671
+ # resp.experiment_template.role_arn #=> String
672
+ # resp.experiment_template.tags #=> Hash
673
+ # resp.experiment_template.tags["TagKey"] #=> String
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate AWS API Documentation
676
+ #
677
+ # @overload get_experiment_template(params = {})
678
+ # @param [Hash] params ({})
679
+ def get_experiment_template(params = {}, options = {})
680
+ req = build_request(:get_experiment_template, params)
681
+ req.send_request(options)
682
+ end
683
+
684
+ # Lists the available AWS FIS actions.
685
+ #
686
+ # @option params [Integer] :max_results
687
+ # The maximum number of results to return with a single call. To
688
+ # retrieve the remaining results, make another call with the returned
689
+ # `nextToken` value.
690
+ #
691
+ # @option params [String] :next_token
692
+ # The token for the next page of results.
693
+ #
694
+ # @return [Types::ListActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
695
+ #
696
+ # * {Types::ListActionsResponse#actions #actions} => Array&lt;Types::ActionSummary&gt;
697
+ # * {Types::ListActionsResponse#next_token #next_token} => String
698
+ #
699
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
700
+ #
701
+ # @example Request syntax with placeholder values
702
+ #
703
+ # resp = client.list_actions({
704
+ # max_results: 1,
705
+ # next_token: "NextToken",
706
+ # })
707
+ #
708
+ # @example Response structure
709
+ #
710
+ # resp.actions #=> Array
711
+ # resp.actions[0].id #=> String
712
+ # resp.actions[0].description #=> String
713
+ # resp.actions[0].targets #=> Hash
714
+ # resp.actions[0].targets["ActionTargetName"].resource_type #=> String
715
+ # resp.actions[0].tags #=> Hash
716
+ # resp.actions[0].tags["TagKey"] #=> String
717
+ # resp.next_token #=> String
718
+ #
719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions AWS API Documentation
720
+ #
721
+ # @overload list_actions(params = {})
722
+ # @param [Hash] params ({})
723
+ def list_actions(params = {}, options = {})
724
+ req = build_request(:list_actions, params)
725
+ req.send_request(options)
726
+ end
727
+
728
+ # Lists your experiment templates.
729
+ #
730
+ # @option params [Integer] :max_results
731
+ # The maximum number of results to return with a single call. To
732
+ # retrieve the remaining results, make another call with the returned
733
+ # `nextToken` value.
734
+ #
735
+ # @option params [String] :next_token
736
+ # The token for the next page of results.
737
+ #
738
+ # @return [Types::ListExperimentTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
739
+ #
740
+ # * {Types::ListExperimentTemplatesResponse#experiment_templates #experiment_templates} => Array&lt;Types::ExperimentTemplateSummary&gt;
741
+ # * {Types::ListExperimentTemplatesResponse#next_token #next_token} => String
742
+ #
743
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
744
+ #
745
+ # @example Request syntax with placeholder values
746
+ #
747
+ # resp = client.list_experiment_templates({
748
+ # max_results: 1,
749
+ # next_token: "NextToken",
750
+ # })
751
+ #
752
+ # @example Response structure
753
+ #
754
+ # resp.experiment_templates #=> Array
755
+ # resp.experiment_templates[0].id #=> String
756
+ # resp.experiment_templates[0].description #=> String
757
+ # resp.experiment_templates[0].creation_time #=> Time
758
+ # resp.experiment_templates[0].last_update_time #=> Time
759
+ # resp.experiment_templates[0].tags #=> Hash
760
+ # resp.experiment_templates[0].tags["TagKey"] #=> String
761
+ # resp.next_token #=> String
762
+ #
763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTemplates AWS API Documentation
764
+ #
765
+ # @overload list_experiment_templates(params = {})
766
+ # @param [Hash] params ({})
767
+ def list_experiment_templates(params = {}, options = {})
768
+ req = build_request(:list_experiment_templates, params)
769
+ req.send_request(options)
770
+ end
771
+
772
+ # Lists your experiments.
773
+ #
774
+ # @option params [Integer] :max_results
775
+ # The maximum number of results to return with a single call. To
776
+ # retrieve the remaining results, make another call with the returned
777
+ # `nextToken` value.
778
+ #
779
+ # @option params [String] :next_token
780
+ # The token for the next page of results.
781
+ #
782
+ # @return [Types::ListExperimentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
783
+ #
784
+ # * {Types::ListExperimentsResponse#experiments #experiments} => Array&lt;Types::ExperimentSummary&gt;
785
+ # * {Types::ListExperimentsResponse#next_token #next_token} => String
786
+ #
787
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
788
+ #
789
+ # @example Request syntax with placeholder values
790
+ #
791
+ # resp = client.list_experiments({
792
+ # max_results: 1,
793
+ # next_token: "NextToken",
794
+ # })
795
+ #
796
+ # @example Response structure
797
+ #
798
+ # resp.experiments #=> Array
799
+ # resp.experiments[0].id #=> String
800
+ # resp.experiments[0].experiment_template_id #=> String
801
+ # resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
802
+ # resp.experiments[0].state.reason #=> String
803
+ # resp.experiments[0].creation_time #=> Time
804
+ # resp.experiments[0].tags #=> Hash
805
+ # resp.experiments[0].tags["TagKey"] #=> String
806
+ # resp.next_token #=> String
807
+ #
808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments AWS API Documentation
809
+ #
810
+ # @overload list_experiments(params = {})
811
+ # @param [Hash] params ({})
812
+ def list_experiments(params = {}, options = {})
813
+ req = build_request(:list_experiments, params)
814
+ req.send_request(options)
815
+ end
816
+
817
+ # Lists the tags for the specified resource.
818
+ #
819
+ # @option params [required, String] :resource_arn
820
+ # The Amazon Resource Name (ARN) of the resource.
821
+ #
822
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
823
+ #
824
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
825
+ #
826
+ # @example Request syntax with placeholder values
827
+ #
828
+ # resp = client.list_tags_for_resource({
829
+ # resource_arn: "ResourceArn", # required
830
+ # })
831
+ #
832
+ # @example Response structure
833
+ #
834
+ # resp.tags #=> Hash
835
+ # resp.tags["TagKey"] #=> String
836
+ #
837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTagsForResource AWS API Documentation
838
+ #
839
+ # @overload list_tags_for_resource(params = {})
840
+ # @param [Hash] params ({})
841
+ def list_tags_for_resource(params = {}, options = {})
842
+ req = build_request(:list_tags_for_resource, params)
843
+ req.send_request(options)
844
+ end
845
+
846
+ # Starts running an experiment from the specified experiment template.
847
+ #
848
+ # @option params [required, String] :client_token
849
+ # Unique, case-sensitive identifier that you provide to ensure the
850
+ # idempotency of the request.
851
+ #
852
+ # **A suitable default value is auto-generated.** You should normally
853
+ # not need to pass this option.**
854
+ #
855
+ # @option params [required, String] :experiment_template_id
856
+ # The ID of the experiment template.
857
+ #
858
+ # @option params [Hash<String,String>] :tags
859
+ # The tags to apply to the experiment.
860
+ #
861
+ # @return [Types::StartExperimentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
862
+ #
863
+ # * {Types::StartExperimentResponse#experiment #experiment} => Types::Experiment
864
+ #
865
+ # @example Request syntax with placeholder values
866
+ #
867
+ # resp = client.start_experiment({
868
+ # client_token: "ClientToken", # required
869
+ # experiment_template_id: "ExperimentTemplateId", # required
870
+ # tags: {
871
+ # "TagKey" => "TagValue",
872
+ # },
873
+ # })
874
+ #
875
+ # @example Response structure
876
+ #
877
+ # resp.experiment.id #=> String
878
+ # resp.experiment.experiment_template_id #=> String
879
+ # resp.experiment.role_arn #=> String
880
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
881
+ # resp.experiment.state.reason #=> String
882
+ # resp.experiment.targets #=> Hash
883
+ # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
884
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
885
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns[0] #=> String
886
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags #=> Hash
887
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags["TagKey"] #=> String
888
+ # resp.experiment.targets["ExperimentTargetName"].filters #=> Array
889
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].path #=> String
890
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
891
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
892
+ # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
893
+ # resp.experiment.actions #=> Hash
894
+ # resp.experiment.actions["ExperimentActionName"].action_id #=> String
895
+ # resp.experiment.actions["ExperimentActionName"].description #=> String
896
+ # resp.experiment.actions["ExperimentActionName"].parameters #=> Hash
897
+ # resp.experiment.actions["ExperimentActionName"].parameters["ExperimentActionParameterName"] #=> String
898
+ # resp.experiment.actions["ExperimentActionName"].targets #=> Hash
899
+ # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
900
+ # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
901
+ # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
902
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
903
+ # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
904
+ # resp.experiment.stop_conditions #=> Array
905
+ # resp.experiment.stop_conditions[0].source #=> String
906
+ # resp.experiment.stop_conditions[0].value #=> String
907
+ # resp.experiment.creation_time #=> Time
908
+ # resp.experiment.start_time #=> Time
909
+ # resp.experiment.end_time #=> Time
910
+ # resp.experiment.tags #=> Hash
911
+ # resp.experiment.tags["TagKey"] #=> String
912
+ #
913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment AWS API Documentation
914
+ #
915
+ # @overload start_experiment(params = {})
916
+ # @param [Hash] params ({})
917
+ def start_experiment(params = {}, options = {})
918
+ req = build_request(:start_experiment, params)
919
+ req.send_request(options)
920
+ end
921
+
922
+ # Stops the specified experiment.
923
+ #
924
+ # @option params [required, String] :id
925
+ # The ID of the experiment.
926
+ #
927
+ # @return [Types::StopExperimentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
928
+ #
929
+ # * {Types::StopExperimentResponse#experiment #experiment} => Types::Experiment
930
+ #
931
+ # @example Request syntax with placeholder values
932
+ #
933
+ # resp = client.stop_experiment({
934
+ # id: "ExperimentId", # required
935
+ # })
936
+ #
937
+ # @example Response structure
938
+ #
939
+ # resp.experiment.id #=> String
940
+ # resp.experiment.experiment_template_id #=> String
941
+ # resp.experiment.role_arn #=> String
942
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
943
+ # resp.experiment.state.reason #=> String
944
+ # resp.experiment.targets #=> Hash
945
+ # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
946
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
947
+ # resp.experiment.targets["ExperimentTargetName"].resource_arns[0] #=> String
948
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags #=> Hash
949
+ # resp.experiment.targets["ExperimentTargetName"].resource_tags["TagKey"] #=> String
950
+ # resp.experiment.targets["ExperimentTargetName"].filters #=> Array
951
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].path #=> String
952
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
953
+ # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
954
+ # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
955
+ # resp.experiment.actions #=> Hash
956
+ # resp.experiment.actions["ExperimentActionName"].action_id #=> String
957
+ # resp.experiment.actions["ExperimentActionName"].description #=> String
958
+ # resp.experiment.actions["ExperimentActionName"].parameters #=> Hash
959
+ # resp.experiment.actions["ExperimentActionName"].parameters["ExperimentActionParameterName"] #=> String
960
+ # resp.experiment.actions["ExperimentActionName"].targets #=> Hash
961
+ # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
962
+ # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
963
+ # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
964
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
965
+ # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
966
+ # resp.experiment.stop_conditions #=> Array
967
+ # resp.experiment.stop_conditions[0].source #=> String
968
+ # resp.experiment.stop_conditions[0].value #=> String
969
+ # resp.experiment.creation_time #=> Time
970
+ # resp.experiment.start_time #=> Time
971
+ # resp.experiment.end_time #=> Time
972
+ # resp.experiment.tags #=> Hash
973
+ # resp.experiment.tags["TagKey"] #=> String
974
+ #
975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment AWS API Documentation
976
+ #
977
+ # @overload stop_experiment(params = {})
978
+ # @param [Hash] params ({})
979
+ def stop_experiment(params = {}, options = {})
980
+ req = build_request(:stop_experiment, params)
981
+ req.send_request(options)
982
+ end
983
+
984
+ # Applies the specified tags to the specified resource.
985
+ #
986
+ # @option params [required, String] :resource_arn
987
+ # The Amazon Resource Name (ARN) of the resource.
988
+ #
989
+ # @option params [required, Hash<String,String>] :tags
990
+ # The tags for the resource.
991
+ #
992
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
993
+ #
994
+ # @example Request syntax with placeholder values
995
+ #
996
+ # resp = client.tag_resource({
997
+ # resource_arn: "ResourceArn", # required
998
+ # tags: { # required
999
+ # "TagKey" => "TagValue",
1000
+ # },
1001
+ # })
1002
+ #
1003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TagResource AWS API Documentation
1004
+ #
1005
+ # @overload tag_resource(params = {})
1006
+ # @param [Hash] params ({})
1007
+ def tag_resource(params = {}, options = {})
1008
+ req = build_request(:tag_resource, params)
1009
+ req.send_request(options)
1010
+ end
1011
+
1012
+ # Removes the specified tags from the specified resource.
1013
+ #
1014
+ # @option params [required, String] :resource_arn
1015
+ # The Amazon Resource Name (ARN) of the resource.
1016
+ #
1017
+ # @option params [Array<String>] :tag_keys
1018
+ # The tag keys to remove.
1019
+ #
1020
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1021
+ #
1022
+ # @example Request syntax with placeholder values
1023
+ #
1024
+ # resp = client.untag_resource({
1025
+ # resource_arn: "ResourceArn", # required
1026
+ # tag_keys: ["TagKey"],
1027
+ # })
1028
+ #
1029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UntagResource AWS API Documentation
1030
+ #
1031
+ # @overload untag_resource(params = {})
1032
+ # @param [Hash] params ({})
1033
+ def untag_resource(params = {}, options = {})
1034
+ req = build_request(:untag_resource, params)
1035
+ req.send_request(options)
1036
+ end
1037
+
1038
+ # Updates the specified experiment template.
1039
+ #
1040
+ # @option params [required, String] :id
1041
+ # The ID of the experiment template.
1042
+ #
1043
+ # @option params [String] :description
1044
+ # A description for the template.
1045
+ #
1046
+ # @option params [Array<Types::UpdateExperimentTemplateStopConditionInput>] :stop_conditions
1047
+ # The stop conditions for the experiment.
1048
+ #
1049
+ # @option params [Hash<String,Types::UpdateExperimentTemplateTargetInput>] :targets
1050
+ # The targets for the experiment.
1051
+ #
1052
+ # @option params [Hash<String,Types::UpdateExperimentTemplateActionInputItem>] :actions
1053
+ # The actions for the experiment.
1054
+ #
1055
+ # @option params [String] :role_arn
1056
+ # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
1057
+ # service permission to perform service actions on your behalf.
1058
+ #
1059
+ # @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1060
+ #
1061
+ # * {Types::UpdateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
1062
+ #
1063
+ # @example Request syntax with placeholder values
1064
+ #
1065
+ # resp = client.update_experiment_template({
1066
+ # id: "ExperimentTemplateId", # required
1067
+ # description: "ExperimentTemplateDescription",
1068
+ # stop_conditions: [
1069
+ # {
1070
+ # source: "StopConditionSource", # required
1071
+ # value: "StopConditionValue",
1072
+ # },
1073
+ # ],
1074
+ # targets: {
1075
+ # "ExperimentTemplateTargetName" => {
1076
+ # resource_type: "ResourceType", # required
1077
+ # resource_arns: ["ResourceArn"],
1078
+ # resource_tags: {
1079
+ # "TagKey" => "TagValue",
1080
+ # },
1081
+ # filters: [
1082
+ # {
1083
+ # path: "ExperimentTemplateTargetFilterPath", # required
1084
+ # values: ["ExperimentTemplateTargetFilterValue"], # required
1085
+ # },
1086
+ # ],
1087
+ # selection_mode: "ExperimentTemplateTargetSelectionMode", # required
1088
+ # },
1089
+ # },
1090
+ # actions: {
1091
+ # "ExperimentTemplateActionName" => {
1092
+ # action_id: "ActionId",
1093
+ # description: "ExperimentTemplateActionDescription",
1094
+ # parameters: {
1095
+ # "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
1096
+ # },
1097
+ # targets: {
1098
+ # "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
1099
+ # },
1100
+ # start_after: ["ExperimentTemplateActionStartAfter"],
1101
+ # },
1102
+ # },
1103
+ # role_arn: "RoleArn",
1104
+ # })
1105
+ #
1106
+ # @example Response structure
1107
+ #
1108
+ # resp.experiment_template.id #=> String
1109
+ # resp.experiment_template.description #=> String
1110
+ # resp.experiment_template.targets #=> Hash
1111
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
1112
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns #=> Array
1113
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_arns[0] #=> String
1114
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags #=> Hash
1115
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_tags["TagKey"] #=> String
1116
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters #=> Array
1117
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].path #=> String
1118
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
1119
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
1120
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
1121
+ # resp.experiment_template.actions #=> Hash
1122
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
1123
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
1124
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters #=> Hash
1125
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].parameters["ExperimentTemplateActionParameterName"] #=> String
1126
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets #=> Hash
1127
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].targets["ExperimentTemplateActionTargetName"] #=> String
1128
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after #=> Array
1129
+ # resp.experiment_template.actions["ExperimentTemplateActionName"].start_after[0] #=> String
1130
+ # resp.experiment_template.stop_conditions #=> Array
1131
+ # resp.experiment_template.stop_conditions[0].source #=> String
1132
+ # resp.experiment_template.stop_conditions[0].value #=> String
1133
+ # resp.experiment_template.creation_time #=> Time
1134
+ # resp.experiment_template.last_update_time #=> Time
1135
+ # resp.experiment_template.role_arn #=> String
1136
+ # resp.experiment_template.tags #=> Hash
1137
+ # resp.experiment_template.tags["TagKey"] #=> String
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate AWS API Documentation
1140
+ #
1141
+ # @overload update_experiment_template(params = {})
1142
+ # @param [Hash] params ({})
1143
+ def update_experiment_template(params = {}, options = {})
1144
+ req = build_request(:update_experiment_template, params)
1145
+ req.send_request(options)
1146
+ end
1147
+
1148
+ # @!endgroup
1149
+
1150
+ # @param params ({})
1151
+ # @api private
1152
+ def build_request(operation_name, params = {})
1153
+ handlers = @handlers.for(operation_name)
1154
+ context = Seahorse::Client::RequestContext.new(
1155
+ operation_name: operation_name,
1156
+ operation: config.api.operation(operation_name),
1157
+ client: self,
1158
+ params: params,
1159
+ config: config)
1160
+ context[:gem_name] = 'aws-sdk-fis'
1161
+ context[:gem_version] = '1.0.0'
1162
+ Seahorse::Client::Request.new(handlers, context)
1163
+ end
1164
+
1165
+ # @api private
1166
+ # @deprecated
1167
+ def waiter_names
1168
+ []
1169
+ end
1170
+
1171
+ class << self
1172
+
1173
+ # @api private
1174
+ attr_reader :identifier
1175
+
1176
+ # @api private
1177
+ def errors_module
1178
+ Errors
1179
+ end
1180
+
1181
+ end
1182
+ end
1183
+ end