aws-sdk-dlm 1.67.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dlm/client.rb +70 -46
- data/lib/aws-sdk-dlm/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-dlm.rb +1 -1
- data/sig/client.rbs +509 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +346 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79ab3b81d3916f21f783f0d43aa7442403a138acb3d42ed39d66f56f5ccbb791
|
4
|
+
data.tar.gz: ebe65fea76d9aa3b229c311377e28a824870aa248ef9bf8a9f54905ef8886209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1309f5b78649610544cb37b9229944b5429aad56769e55d29689aca33748986e5c6101d321b3609ebe06d2e13e17d7e225bd880cfdb694367e8e638f571f42e7
|
7
|
+
data.tar.gz: fa306b7cdebe23198e87ed31474a1038cd1f779601cf3e56475ed46ed95239eff962b160471873ac9783c37eea31eca5e15fffbe48c95005694397cc71ca3144
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.68.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.67.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::DLM
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::DLM
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::DLM
|
|
337
346
|
# @option options [Aws::DLM::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DLM::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -1305,7 +1329,7 @@ module Aws::DLM
|
|
1305
1329
|
params: params,
|
1306
1330
|
config: config)
|
1307
1331
|
context[:gem_name] = 'aws-sdk-dlm'
|
1308
|
-
context[:gem_version] = '1.
|
1332
|
+
context[:gem_version] = '1.69.0'
|
1309
1333
|
Seahorse::Client::Request.new(handlers, context)
|
1310
1334
|
end
|
1311
1335
|
|
@@ -14,6 +14,7 @@ module Aws::DLM
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::DLM::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,509 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DLM
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateLifecyclePolicyResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLifecyclePolicyResponse]
|
77
|
+
def policy_id: () -> ::String
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#create_lifecycle_policy-instance_method
|
80
|
+
def create_lifecycle_policy: (
|
81
|
+
execution_role_arn: ::String,
|
82
|
+
description: ::String,
|
83
|
+
state: ("ENABLED" | "DISABLED"),
|
84
|
+
?policy_details: {
|
85
|
+
policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
|
86
|
+
resource_types: Array[("VOLUME" | "INSTANCE")]?,
|
87
|
+
resource_locations: Array[("CLOUD" | "OUTPOST")]?,
|
88
|
+
target_tags: Array[
|
89
|
+
{
|
90
|
+
key: ::String,
|
91
|
+
value: ::String
|
92
|
+
},
|
93
|
+
]?,
|
94
|
+
schedules: Array[
|
95
|
+
{
|
96
|
+
name: ::String?,
|
97
|
+
copy_tags: bool?,
|
98
|
+
tags_to_add: Array[
|
99
|
+
{
|
100
|
+
key: ::String,
|
101
|
+
value: ::String
|
102
|
+
},
|
103
|
+
]?,
|
104
|
+
variable_tags: Array[
|
105
|
+
{
|
106
|
+
key: ::String,
|
107
|
+
value: ::String
|
108
|
+
},
|
109
|
+
]?,
|
110
|
+
create_rule: {
|
111
|
+
location: ("CLOUD" | "OUTPOST_LOCAL")?,
|
112
|
+
interval: ::Integer?,
|
113
|
+
interval_unit: ("HOURS")?,
|
114
|
+
times: Array[::String]?,
|
115
|
+
cron_expression: ::String?,
|
116
|
+
scripts: Array[
|
117
|
+
{
|
118
|
+
stages: Array[("PRE" | "POST")]?,
|
119
|
+
execution_handler_service: ("AWS_SYSTEMS_MANAGER")?,
|
120
|
+
execution_handler: ::String,
|
121
|
+
execute_operation_on_script_failure: bool?,
|
122
|
+
execution_timeout: ::Integer?,
|
123
|
+
maximum_retry_count: ::Integer?
|
124
|
+
},
|
125
|
+
]?
|
126
|
+
}?,
|
127
|
+
retain_rule: {
|
128
|
+
count: ::Integer?,
|
129
|
+
interval: ::Integer?,
|
130
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
131
|
+
}?,
|
132
|
+
fast_restore_rule: {
|
133
|
+
count: ::Integer?,
|
134
|
+
interval: ::Integer?,
|
135
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?,
|
136
|
+
availability_zones: Array[::String]
|
137
|
+
}?,
|
138
|
+
cross_region_copy_rules: Array[
|
139
|
+
{
|
140
|
+
target_region: ::String?,
|
141
|
+
target: ::String?,
|
142
|
+
encrypted: bool,
|
143
|
+
cmk_arn: ::String?,
|
144
|
+
copy_tags: bool?,
|
145
|
+
retain_rule: {
|
146
|
+
interval: ::Integer?,
|
147
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
148
|
+
}?,
|
149
|
+
deprecate_rule: {
|
150
|
+
interval: ::Integer?,
|
151
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
152
|
+
}?
|
153
|
+
},
|
154
|
+
]?,
|
155
|
+
share_rules: Array[
|
156
|
+
{
|
157
|
+
target_accounts: Array[::String],
|
158
|
+
unshare_interval: ::Integer?,
|
159
|
+
unshare_interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
160
|
+
},
|
161
|
+
]?,
|
162
|
+
deprecate_rule: {
|
163
|
+
count: ::Integer?,
|
164
|
+
interval: ::Integer?,
|
165
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
166
|
+
}?,
|
167
|
+
archive_rule: {
|
168
|
+
retain_rule: {
|
169
|
+
retention_archive_tier: {
|
170
|
+
count: ::Integer?,
|
171
|
+
interval: ::Integer?,
|
172
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}?
|
176
|
+
},
|
177
|
+
]?,
|
178
|
+
parameters: {
|
179
|
+
exclude_boot_volume: bool?,
|
180
|
+
no_reboot: bool?,
|
181
|
+
exclude_data_volume_tags: Array[
|
182
|
+
{
|
183
|
+
key: ::String,
|
184
|
+
value: ::String
|
185
|
+
},
|
186
|
+
]?
|
187
|
+
}?,
|
188
|
+
event_source: {
|
189
|
+
type: ("MANAGED_CWE"),
|
190
|
+
parameters: {
|
191
|
+
event_type: ("shareSnapshot"),
|
192
|
+
snapshot_owner: Array[::String],
|
193
|
+
description_regex: ::String
|
194
|
+
}?
|
195
|
+
}?,
|
196
|
+
actions: Array[
|
197
|
+
{
|
198
|
+
name: ::String,
|
199
|
+
cross_region_copy: Array[
|
200
|
+
{
|
201
|
+
target: ::String,
|
202
|
+
encryption_configuration: {
|
203
|
+
encrypted: bool,
|
204
|
+
cmk_arn: ::String?
|
205
|
+
},
|
206
|
+
retain_rule: {
|
207
|
+
interval: ::Integer?,
|
208
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
209
|
+
}?
|
210
|
+
},
|
211
|
+
]
|
212
|
+
},
|
213
|
+
]?,
|
214
|
+
policy_language: ("SIMPLIFIED" | "STANDARD")?,
|
215
|
+
resource_type: ("VOLUME" | "INSTANCE")?,
|
216
|
+
create_interval: ::Integer?,
|
217
|
+
retain_interval: ::Integer?,
|
218
|
+
copy_tags: bool?,
|
219
|
+
cross_region_copy_targets: Array[
|
220
|
+
{
|
221
|
+
target_region: ::String?
|
222
|
+
},
|
223
|
+
]?,
|
224
|
+
extend_deletion: bool?,
|
225
|
+
exclusions: {
|
226
|
+
exclude_boot_volumes: bool?,
|
227
|
+
exclude_volume_types: Array[::String]?,
|
228
|
+
exclude_tags: Array[
|
229
|
+
{
|
230
|
+
key: ::String,
|
231
|
+
value: ::String
|
232
|
+
},
|
233
|
+
]?
|
234
|
+
}?
|
235
|
+
},
|
236
|
+
?tags: Hash[::String, ::String],
|
237
|
+
?default_policy: ("VOLUME" | "INSTANCE"),
|
238
|
+
?create_interval: ::Integer,
|
239
|
+
?retain_interval: ::Integer,
|
240
|
+
?copy_tags: bool,
|
241
|
+
?extend_deletion: bool,
|
242
|
+
?cross_region_copy_targets: Array[
|
243
|
+
{
|
244
|
+
target_region: ::String?
|
245
|
+
},
|
246
|
+
],
|
247
|
+
?exclusions: {
|
248
|
+
exclude_boot_volumes: bool?,
|
249
|
+
exclude_volume_types: Array[::String]?,
|
250
|
+
exclude_tags: Array[
|
251
|
+
{
|
252
|
+
key: ::String,
|
253
|
+
value: ::String
|
254
|
+
},
|
255
|
+
]?
|
256
|
+
}
|
257
|
+
) -> _CreateLifecyclePolicyResponseSuccess
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLifecyclePolicyResponseSuccess
|
259
|
+
|
260
|
+
interface _DeleteLifecyclePolicyResponseSuccess
|
261
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLifecyclePolicyResponse]
|
262
|
+
end
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#delete_lifecycle_policy-instance_method
|
264
|
+
def delete_lifecycle_policy: (
|
265
|
+
policy_id: ::String
|
266
|
+
) -> _DeleteLifecyclePolicyResponseSuccess
|
267
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLifecyclePolicyResponseSuccess
|
268
|
+
|
269
|
+
interface _GetLifecyclePoliciesResponseSuccess
|
270
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLifecyclePoliciesResponse]
|
271
|
+
def policies: () -> ::Array[Types::LifecyclePolicySummary]
|
272
|
+
end
|
273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#get_lifecycle_policies-instance_method
|
274
|
+
def get_lifecycle_policies: (
|
275
|
+
?policy_ids: Array[::String],
|
276
|
+
?state: ("ENABLED" | "DISABLED" | "ERROR"),
|
277
|
+
?resource_types: Array[("VOLUME" | "INSTANCE")],
|
278
|
+
?target_tags: Array[::String],
|
279
|
+
?tags_to_add: Array[::String],
|
280
|
+
?default_policy_type: ("VOLUME" | "INSTANCE" | "ALL")
|
281
|
+
) -> _GetLifecyclePoliciesResponseSuccess
|
282
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePoliciesResponseSuccess
|
283
|
+
|
284
|
+
interface _GetLifecyclePolicyResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLifecyclePolicyResponse]
|
286
|
+
def policy: () -> Types::LifecyclePolicy
|
287
|
+
end
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#get_lifecycle_policy-instance_method
|
289
|
+
def get_lifecycle_policy: (
|
290
|
+
policy_id: ::String
|
291
|
+
) -> _GetLifecyclePolicyResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePolicyResponseSuccess
|
293
|
+
|
294
|
+
interface _ListTagsForResourceResponseSuccess
|
295
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
296
|
+
def tags: () -> ::Hash[::String, ::String]
|
297
|
+
end
|
298
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#list_tags_for_resource-instance_method
|
299
|
+
def list_tags_for_resource: (
|
300
|
+
resource_arn: ::String
|
301
|
+
) -> _ListTagsForResourceResponseSuccess
|
302
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
303
|
+
|
304
|
+
interface _TagResourceResponseSuccess
|
305
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
306
|
+
end
|
307
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#tag_resource-instance_method
|
308
|
+
def tag_resource: (
|
309
|
+
resource_arn: ::String,
|
310
|
+
tags: Hash[::String, ::String]
|
311
|
+
) -> _TagResourceResponseSuccess
|
312
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
313
|
+
|
314
|
+
interface _UntagResourceResponseSuccess
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
316
|
+
end
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#untag_resource-instance_method
|
318
|
+
def untag_resource: (
|
319
|
+
resource_arn: ::String,
|
320
|
+
tag_keys: Array[::String]
|
321
|
+
) -> _UntagResourceResponseSuccess
|
322
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
323
|
+
|
324
|
+
interface _UpdateLifecyclePolicyResponseSuccess
|
325
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLifecyclePolicyResponse]
|
326
|
+
end
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Client.html#update_lifecycle_policy-instance_method
|
328
|
+
def update_lifecycle_policy: (
|
329
|
+
policy_id: ::String,
|
330
|
+
?execution_role_arn: ::String,
|
331
|
+
?state: ("ENABLED" | "DISABLED"),
|
332
|
+
?description: ::String,
|
333
|
+
?policy_details: {
|
334
|
+
policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
|
335
|
+
resource_types: Array[("VOLUME" | "INSTANCE")]?,
|
336
|
+
resource_locations: Array[("CLOUD" | "OUTPOST")]?,
|
337
|
+
target_tags: Array[
|
338
|
+
{
|
339
|
+
key: ::String,
|
340
|
+
value: ::String
|
341
|
+
},
|
342
|
+
]?,
|
343
|
+
schedules: Array[
|
344
|
+
{
|
345
|
+
name: ::String?,
|
346
|
+
copy_tags: bool?,
|
347
|
+
tags_to_add: Array[
|
348
|
+
{
|
349
|
+
key: ::String,
|
350
|
+
value: ::String
|
351
|
+
},
|
352
|
+
]?,
|
353
|
+
variable_tags: Array[
|
354
|
+
{
|
355
|
+
key: ::String,
|
356
|
+
value: ::String
|
357
|
+
},
|
358
|
+
]?,
|
359
|
+
create_rule: {
|
360
|
+
location: ("CLOUD" | "OUTPOST_LOCAL")?,
|
361
|
+
interval: ::Integer?,
|
362
|
+
interval_unit: ("HOURS")?,
|
363
|
+
times: Array[::String]?,
|
364
|
+
cron_expression: ::String?,
|
365
|
+
scripts: Array[
|
366
|
+
{
|
367
|
+
stages: Array[("PRE" | "POST")]?,
|
368
|
+
execution_handler_service: ("AWS_SYSTEMS_MANAGER")?,
|
369
|
+
execution_handler: ::String,
|
370
|
+
execute_operation_on_script_failure: bool?,
|
371
|
+
execution_timeout: ::Integer?,
|
372
|
+
maximum_retry_count: ::Integer?
|
373
|
+
},
|
374
|
+
]?
|
375
|
+
}?,
|
376
|
+
retain_rule: {
|
377
|
+
count: ::Integer?,
|
378
|
+
interval: ::Integer?,
|
379
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
380
|
+
}?,
|
381
|
+
fast_restore_rule: {
|
382
|
+
count: ::Integer?,
|
383
|
+
interval: ::Integer?,
|
384
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?,
|
385
|
+
availability_zones: Array[::String]
|
386
|
+
}?,
|
387
|
+
cross_region_copy_rules: Array[
|
388
|
+
{
|
389
|
+
target_region: ::String?,
|
390
|
+
target: ::String?,
|
391
|
+
encrypted: bool,
|
392
|
+
cmk_arn: ::String?,
|
393
|
+
copy_tags: bool?,
|
394
|
+
retain_rule: {
|
395
|
+
interval: ::Integer?,
|
396
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
397
|
+
}?,
|
398
|
+
deprecate_rule: {
|
399
|
+
interval: ::Integer?,
|
400
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
401
|
+
}?
|
402
|
+
},
|
403
|
+
]?,
|
404
|
+
share_rules: Array[
|
405
|
+
{
|
406
|
+
target_accounts: Array[::String],
|
407
|
+
unshare_interval: ::Integer?,
|
408
|
+
unshare_interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
409
|
+
},
|
410
|
+
]?,
|
411
|
+
deprecate_rule: {
|
412
|
+
count: ::Integer?,
|
413
|
+
interval: ::Integer?,
|
414
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
415
|
+
}?,
|
416
|
+
archive_rule: {
|
417
|
+
retain_rule: {
|
418
|
+
retention_archive_tier: {
|
419
|
+
count: ::Integer?,
|
420
|
+
interval: ::Integer?,
|
421
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}?
|
425
|
+
},
|
426
|
+
]?,
|
427
|
+
parameters: {
|
428
|
+
exclude_boot_volume: bool?,
|
429
|
+
no_reboot: bool?,
|
430
|
+
exclude_data_volume_tags: Array[
|
431
|
+
{
|
432
|
+
key: ::String,
|
433
|
+
value: ::String
|
434
|
+
},
|
435
|
+
]?
|
436
|
+
}?,
|
437
|
+
event_source: {
|
438
|
+
type: ("MANAGED_CWE"),
|
439
|
+
parameters: {
|
440
|
+
event_type: ("shareSnapshot"),
|
441
|
+
snapshot_owner: Array[::String],
|
442
|
+
description_regex: ::String
|
443
|
+
}?
|
444
|
+
}?,
|
445
|
+
actions: Array[
|
446
|
+
{
|
447
|
+
name: ::String,
|
448
|
+
cross_region_copy: Array[
|
449
|
+
{
|
450
|
+
target: ::String,
|
451
|
+
encryption_configuration: {
|
452
|
+
encrypted: bool,
|
453
|
+
cmk_arn: ::String?
|
454
|
+
},
|
455
|
+
retain_rule: {
|
456
|
+
interval: ::Integer?,
|
457
|
+
interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")?
|
458
|
+
}?
|
459
|
+
},
|
460
|
+
]
|
461
|
+
},
|
462
|
+
]?,
|
463
|
+
policy_language: ("SIMPLIFIED" | "STANDARD")?,
|
464
|
+
resource_type: ("VOLUME" | "INSTANCE")?,
|
465
|
+
create_interval: ::Integer?,
|
466
|
+
retain_interval: ::Integer?,
|
467
|
+
copy_tags: bool?,
|
468
|
+
cross_region_copy_targets: Array[
|
469
|
+
{
|
470
|
+
target_region: ::String?
|
471
|
+
},
|
472
|
+
]?,
|
473
|
+
extend_deletion: bool?,
|
474
|
+
exclusions: {
|
475
|
+
exclude_boot_volumes: bool?,
|
476
|
+
exclude_volume_types: Array[::String]?,
|
477
|
+
exclude_tags: Array[
|
478
|
+
{
|
479
|
+
key: ::String,
|
480
|
+
value: ::String
|
481
|
+
},
|
482
|
+
]?
|
483
|
+
}?
|
484
|
+
},
|
485
|
+
?create_interval: ::Integer,
|
486
|
+
?retain_interval: ::Integer,
|
487
|
+
?copy_tags: bool,
|
488
|
+
?extend_deletion: bool,
|
489
|
+
?cross_region_copy_targets: Array[
|
490
|
+
{
|
491
|
+
target_region: ::String?
|
492
|
+
},
|
493
|
+
],
|
494
|
+
?exclusions: {
|
495
|
+
exclude_boot_volumes: bool?,
|
496
|
+
exclude_volume_types: Array[::String]?,
|
497
|
+
exclude_tags: Array[
|
498
|
+
{
|
499
|
+
key: ::String,
|
500
|
+
value: ::String
|
501
|
+
},
|
502
|
+
]?
|
503
|
+
}
|
504
|
+
) -> _UpdateLifecyclePolicyResponseSuccess
|
505
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLifecyclePolicyResponseSuccess
|
506
|
+
end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DLM
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def code: () -> ::String
|
17
|
+
end
|
18
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
def code: () -> ::String
|
21
|
+
def required_parameters: () -> ::String
|
22
|
+
def mutually_exclusive_parameters: () -> ::String
|
23
|
+
end
|
24
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
def code: () -> ::String
|
27
|
+
def resource_type: () -> ::String
|
28
|
+
end
|
29
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def code: () -> ::String
|
32
|
+
def resource_type: () -> ::String
|
33
|
+
def resource_ids: () -> ::String
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DLM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DLM/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,346 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::DLM
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class Action
|
12
|
+
attr_accessor name: ::String
|
13
|
+
attr_accessor cross_region_copy: ::Array[Types::CrossRegionCopyAction]
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class ArchiveRetainRule
|
18
|
+
attr_accessor retention_archive_tier: Types::RetentionArchiveTier
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class ArchiveRule
|
23
|
+
attr_accessor retain_rule: Types::ArchiveRetainRule
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class CreateLifecyclePolicyRequest
|
28
|
+
attr_accessor execution_role_arn: ::String
|
29
|
+
attr_accessor description: ::String
|
30
|
+
attr_accessor state: ("ENABLED" | "DISABLED")
|
31
|
+
attr_accessor policy_details: Types::PolicyDetails
|
32
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
33
|
+
attr_accessor default_policy: ("VOLUME" | "INSTANCE")
|
34
|
+
attr_accessor create_interval: ::Integer
|
35
|
+
attr_accessor retain_interval: ::Integer
|
36
|
+
attr_accessor copy_tags: bool
|
37
|
+
attr_accessor extend_deletion: bool
|
38
|
+
attr_accessor cross_region_copy_targets: ::Array[Types::CrossRegionCopyTarget]
|
39
|
+
attr_accessor exclusions: Types::Exclusions
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
43
|
+
class CreateLifecyclePolicyResponse
|
44
|
+
attr_accessor policy_id: ::String
|
45
|
+
SENSITIVE: []
|
46
|
+
end
|
47
|
+
|
48
|
+
class CreateRule
|
49
|
+
attr_accessor location: ("CLOUD" | "OUTPOST_LOCAL")
|
50
|
+
attr_accessor interval: ::Integer
|
51
|
+
attr_accessor interval_unit: ("HOURS")
|
52
|
+
attr_accessor times: ::Array[::String]
|
53
|
+
attr_accessor cron_expression: ::String
|
54
|
+
attr_accessor scripts: ::Array[Types::Script]
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class CrossRegionCopyAction
|
59
|
+
attr_accessor target: ::String
|
60
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
61
|
+
attr_accessor retain_rule: Types::CrossRegionCopyRetainRule
|
62
|
+
SENSITIVE: []
|
63
|
+
end
|
64
|
+
|
65
|
+
class CrossRegionCopyDeprecateRule
|
66
|
+
attr_accessor interval: ::Integer
|
67
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
68
|
+
SENSITIVE: []
|
69
|
+
end
|
70
|
+
|
71
|
+
class CrossRegionCopyRetainRule
|
72
|
+
attr_accessor interval: ::Integer
|
73
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
74
|
+
SENSITIVE: []
|
75
|
+
end
|
76
|
+
|
77
|
+
class CrossRegionCopyRule
|
78
|
+
attr_accessor target_region: ::String
|
79
|
+
attr_accessor target: ::String
|
80
|
+
attr_accessor encrypted: bool
|
81
|
+
attr_accessor cmk_arn: ::String
|
82
|
+
attr_accessor copy_tags: bool
|
83
|
+
attr_accessor retain_rule: Types::CrossRegionCopyRetainRule
|
84
|
+
attr_accessor deprecate_rule: Types::CrossRegionCopyDeprecateRule
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class CrossRegionCopyTarget
|
89
|
+
attr_accessor target_region: ::String
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class DeleteLifecyclePolicyRequest
|
94
|
+
attr_accessor policy_id: ::String
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class DeleteLifecyclePolicyResponse < Aws::EmptyStructure
|
99
|
+
end
|
100
|
+
|
101
|
+
class DeprecateRule
|
102
|
+
attr_accessor count: ::Integer
|
103
|
+
attr_accessor interval: ::Integer
|
104
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class EncryptionConfiguration
|
109
|
+
attr_accessor encrypted: bool
|
110
|
+
attr_accessor cmk_arn: ::String
|
111
|
+
SENSITIVE: []
|
112
|
+
end
|
113
|
+
|
114
|
+
class EventParameters
|
115
|
+
attr_accessor event_type: ("shareSnapshot")
|
116
|
+
attr_accessor snapshot_owner: ::Array[::String]
|
117
|
+
attr_accessor description_regex: ::String
|
118
|
+
SENSITIVE: []
|
119
|
+
end
|
120
|
+
|
121
|
+
class EventSource
|
122
|
+
attr_accessor type: ("MANAGED_CWE")
|
123
|
+
attr_accessor parameters: Types::EventParameters
|
124
|
+
SENSITIVE: []
|
125
|
+
end
|
126
|
+
|
127
|
+
class Exclusions
|
128
|
+
attr_accessor exclude_boot_volumes: bool
|
129
|
+
attr_accessor exclude_volume_types: ::Array[::String]
|
130
|
+
attr_accessor exclude_tags: ::Array[Types::Tag]
|
131
|
+
SENSITIVE: []
|
132
|
+
end
|
133
|
+
|
134
|
+
class FastRestoreRule
|
135
|
+
attr_accessor count: ::Integer
|
136
|
+
attr_accessor interval: ::Integer
|
137
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
138
|
+
attr_accessor availability_zones: ::Array[::String]
|
139
|
+
SENSITIVE: []
|
140
|
+
end
|
141
|
+
|
142
|
+
class GetLifecyclePoliciesRequest
|
143
|
+
attr_accessor policy_ids: ::Array[::String]
|
144
|
+
attr_accessor state: ("ENABLED" | "DISABLED" | "ERROR")
|
145
|
+
attr_accessor resource_types: ::Array[("VOLUME" | "INSTANCE")]
|
146
|
+
attr_accessor target_tags: ::Array[::String]
|
147
|
+
attr_accessor tags_to_add: ::Array[::String]
|
148
|
+
attr_accessor default_policy_type: ("VOLUME" | "INSTANCE" | "ALL")
|
149
|
+
SENSITIVE: []
|
150
|
+
end
|
151
|
+
|
152
|
+
class GetLifecyclePoliciesResponse
|
153
|
+
attr_accessor policies: ::Array[Types::LifecyclePolicySummary]
|
154
|
+
SENSITIVE: []
|
155
|
+
end
|
156
|
+
|
157
|
+
class GetLifecyclePolicyRequest
|
158
|
+
attr_accessor policy_id: ::String
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class GetLifecyclePolicyResponse
|
163
|
+
attr_accessor policy: Types::LifecyclePolicy
|
164
|
+
SENSITIVE: []
|
165
|
+
end
|
166
|
+
|
167
|
+
class InternalServerException
|
168
|
+
attr_accessor message: ::String
|
169
|
+
attr_accessor code: ::String
|
170
|
+
SENSITIVE: []
|
171
|
+
end
|
172
|
+
|
173
|
+
class InvalidRequestException
|
174
|
+
attr_accessor message: ::String
|
175
|
+
attr_accessor code: ::String
|
176
|
+
attr_accessor required_parameters: ::Array[::String]
|
177
|
+
attr_accessor mutually_exclusive_parameters: ::Array[::String]
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class LifecyclePolicy
|
182
|
+
attr_accessor policy_id: ::String
|
183
|
+
attr_accessor description: ::String
|
184
|
+
attr_accessor state: ("ENABLED" | "DISABLED" | "ERROR")
|
185
|
+
attr_accessor status_message: ::String
|
186
|
+
attr_accessor execution_role_arn: ::String
|
187
|
+
attr_accessor date_created: ::Time
|
188
|
+
attr_accessor date_modified: ::Time
|
189
|
+
attr_accessor policy_details: Types::PolicyDetails
|
190
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
191
|
+
attr_accessor policy_arn: ::String
|
192
|
+
attr_accessor default_policy: bool
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
196
|
+
class LifecyclePolicySummary
|
197
|
+
attr_accessor policy_id: ::String
|
198
|
+
attr_accessor description: ::String
|
199
|
+
attr_accessor state: ("ENABLED" | "DISABLED" | "ERROR")
|
200
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
201
|
+
attr_accessor policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")
|
202
|
+
attr_accessor default_policy: bool
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class LimitExceededException
|
207
|
+
attr_accessor message: ::String
|
208
|
+
attr_accessor code: ::String
|
209
|
+
attr_accessor resource_type: ::String
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class ListTagsForResourceRequest
|
214
|
+
attr_accessor resource_arn: ::String
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class ListTagsForResourceResponse
|
219
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class Parameters
|
224
|
+
attr_accessor exclude_boot_volume: bool
|
225
|
+
attr_accessor no_reboot: bool
|
226
|
+
attr_accessor exclude_data_volume_tags: ::Array[Types::Tag]
|
227
|
+
SENSITIVE: []
|
228
|
+
end
|
229
|
+
|
230
|
+
class PolicyDetails
|
231
|
+
attr_accessor policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")
|
232
|
+
attr_accessor resource_types: ::Array[("VOLUME" | "INSTANCE")]
|
233
|
+
attr_accessor resource_locations: ::Array[("CLOUD" | "OUTPOST")]
|
234
|
+
attr_accessor target_tags: ::Array[Types::Tag]
|
235
|
+
attr_accessor schedules: ::Array[Types::Schedule]
|
236
|
+
attr_accessor parameters: Types::Parameters
|
237
|
+
attr_accessor event_source: Types::EventSource
|
238
|
+
attr_accessor actions: ::Array[Types::Action]
|
239
|
+
attr_accessor policy_language: ("SIMPLIFIED" | "STANDARD")
|
240
|
+
attr_accessor resource_type: ("VOLUME" | "INSTANCE")
|
241
|
+
attr_accessor create_interval: ::Integer
|
242
|
+
attr_accessor retain_interval: ::Integer
|
243
|
+
attr_accessor copy_tags: bool
|
244
|
+
attr_accessor cross_region_copy_targets: ::Array[Types::CrossRegionCopyTarget]
|
245
|
+
attr_accessor extend_deletion: bool
|
246
|
+
attr_accessor exclusions: Types::Exclusions
|
247
|
+
SENSITIVE: []
|
248
|
+
end
|
249
|
+
|
250
|
+
class ResourceNotFoundException
|
251
|
+
attr_accessor message: ::String
|
252
|
+
attr_accessor code: ::String
|
253
|
+
attr_accessor resource_type: ::String
|
254
|
+
attr_accessor resource_ids: ::Array[::String]
|
255
|
+
SENSITIVE: []
|
256
|
+
end
|
257
|
+
|
258
|
+
class RetainRule
|
259
|
+
attr_accessor count: ::Integer
|
260
|
+
attr_accessor interval: ::Integer
|
261
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
262
|
+
SENSITIVE: []
|
263
|
+
end
|
264
|
+
|
265
|
+
class RetentionArchiveTier
|
266
|
+
attr_accessor count: ::Integer
|
267
|
+
attr_accessor interval: ::Integer
|
268
|
+
attr_accessor interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
269
|
+
SENSITIVE: []
|
270
|
+
end
|
271
|
+
|
272
|
+
class Schedule
|
273
|
+
attr_accessor name: ::String
|
274
|
+
attr_accessor copy_tags: bool
|
275
|
+
attr_accessor tags_to_add: ::Array[Types::Tag]
|
276
|
+
attr_accessor variable_tags: ::Array[Types::Tag]
|
277
|
+
attr_accessor create_rule: Types::CreateRule
|
278
|
+
attr_accessor retain_rule: Types::RetainRule
|
279
|
+
attr_accessor fast_restore_rule: Types::FastRestoreRule
|
280
|
+
attr_accessor cross_region_copy_rules: ::Array[Types::CrossRegionCopyRule]
|
281
|
+
attr_accessor share_rules: ::Array[Types::ShareRule]
|
282
|
+
attr_accessor deprecate_rule: Types::DeprecateRule
|
283
|
+
attr_accessor archive_rule: Types::ArchiveRule
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class Script
|
288
|
+
attr_accessor stages: ::Array[("PRE" | "POST")]
|
289
|
+
attr_accessor execution_handler_service: ("AWS_SYSTEMS_MANAGER")
|
290
|
+
attr_accessor execution_handler: ::String
|
291
|
+
attr_accessor execute_operation_on_script_failure: bool
|
292
|
+
attr_accessor execution_timeout: ::Integer
|
293
|
+
attr_accessor maximum_retry_count: ::Integer
|
294
|
+
SENSITIVE: []
|
295
|
+
end
|
296
|
+
|
297
|
+
class ShareRule
|
298
|
+
attr_accessor target_accounts: ::Array[::String]
|
299
|
+
attr_accessor unshare_interval: ::Integer
|
300
|
+
attr_accessor unshare_interval_unit: ("DAYS" | "WEEKS" | "MONTHS" | "YEARS")
|
301
|
+
SENSITIVE: []
|
302
|
+
end
|
303
|
+
|
304
|
+
class Tag
|
305
|
+
attr_accessor key: ::String
|
306
|
+
attr_accessor value: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class TagResourceRequest
|
311
|
+
attr_accessor resource_arn: ::String
|
312
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
313
|
+
SENSITIVE: []
|
314
|
+
end
|
315
|
+
|
316
|
+
class TagResourceResponse < Aws::EmptyStructure
|
317
|
+
end
|
318
|
+
|
319
|
+
class UntagResourceRequest
|
320
|
+
attr_accessor resource_arn: ::String
|
321
|
+
attr_accessor tag_keys: ::Array[::String]
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
325
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
326
|
+
end
|
327
|
+
|
328
|
+
class UpdateLifecyclePolicyRequest
|
329
|
+
attr_accessor policy_id: ::String
|
330
|
+
attr_accessor execution_role_arn: ::String
|
331
|
+
attr_accessor state: ("ENABLED" | "DISABLED")
|
332
|
+
attr_accessor description: ::String
|
333
|
+
attr_accessor policy_details: Types::PolicyDetails
|
334
|
+
attr_accessor create_interval: ::Integer
|
335
|
+
attr_accessor retain_interval: ::Integer
|
336
|
+
attr_accessor copy_tags: bool
|
337
|
+
attr_accessor extend_deletion: bool
|
338
|
+
attr_accessor cross_region_copy_targets: ::Array[Types::CrossRegionCopyTarget]
|
339
|
+
attr_accessor exclusions: Types::Exclusions
|
340
|
+
SENSITIVE: []
|
341
|
+
end
|
342
|
+
|
343
|
+
class UpdateLifecyclePolicyResponse < Aws::EmptyStructure
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DLM
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-dlm/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-dlm/resource.rb
|
68
68
|
- lib/aws-sdk-dlm/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dlm
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dlm/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - Amazon DLM
|
94
99
|
test_files: []
|