aws-sdk-dlm 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dlm.rb +1 -1
- data/lib/aws-sdk-dlm/client.rb +1 -1
- data/lib/aws-sdk-dlm/client_api.rb +21 -0
- data/lib/aws-sdk-dlm/errors.rb +109 -0
- data/lib/aws-sdk-dlm/types.rb +90 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfdcc2c3e3faf4f2b42f582e635251416003aa4b
|
4
|
+
data.tar.gz: 20b0e123a1763cc365801add26084be364f65d02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 231d491d1f48c8f1f94548eb3b06333f91bf8da8825e0b929a7f1ed03acf03b33bf2155ac09e2a213e31aa2fc100190b18b00f24395c5700ecb0fb2f63605570
|
7
|
+
data.tar.gz: 76023153b0ea8a52f143a40eedbd40ea3d53d8db0d5c2846b3f491a3cae3023033f95c11d4eb62e1ff1e7056915621d6b66eb038095bde352d8650ea420cb26a
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -96,6 +96,16 @@ module Aws::DLM
|
|
96
96
|
GetLifecyclePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: LifecyclePolicy, location_name: "Policy"))
|
97
97
|
GetLifecyclePolicyResponse.struct_class = Types::GetLifecyclePolicyResponse
|
98
98
|
|
99
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
100
|
+
InternalServerException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
101
|
+
InternalServerException.struct_class = Types::InternalServerException
|
102
|
+
|
103
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
104
|
+
InvalidRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
105
|
+
InvalidRequestException.add_member(:required_parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "RequiredParameters"))
|
106
|
+
InvalidRequestException.add_member(:mutually_exclusive_parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "MutuallyExclusiveParameters"))
|
107
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
108
|
+
|
99
109
|
LifecyclePolicy.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
|
100
110
|
LifecyclePolicy.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
|
101
111
|
LifecyclePolicy.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location_name: "State"))
|
@@ -112,6 +122,11 @@ module Aws::DLM
|
|
112
122
|
|
113
123
|
LifecyclePolicySummaryList.member = Shapes::ShapeRef.new(shape: LifecyclePolicySummary)
|
114
124
|
|
125
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
126
|
+
LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
127
|
+
LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
128
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
129
|
+
|
115
130
|
ParameterList.member = Shapes::ShapeRef.new(shape: Parameter)
|
116
131
|
|
117
132
|
PolicyDetails.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location_name: "ResourceTypes"))
|
@@ -121,6 +136,12 @@ module Aws::DLM
|
|
121
136
|
|
122
137
|
PolicyIdList.member = Shapes::ShapeRef.new(shape: PolicyId)
|
123
138
|
|
139
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
140
|
+
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
141
|
+
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
142
|
+
ResourceNotFoundException.add_member(:resource_ids, Shapes::ShapeRef.new(shape: PolicyIdList, location_name: "ResourceIds"))
|
143
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
144
|
+
|
124
145
|
ResourceTypeValuesList.member = Shapes::ShapeRef.new(shape: ResourceTypeValues)
|
125
146
|
|
126
147
|
RetainRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, required: true, location_name: "Count"))
|
data/lib/aws-sdk-dlm/errors.rb
CHANGED
@@ -10,5 +10,114 @@ module Aws::DLM
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalServerException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::DLM::Types::InternalServerException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def code
|
29
|
+
@code || @data[:code]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class InvalidRequestException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::DLM::Types::InvalidRequestException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def message
|
45
|
+
@message || @data[:message]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def code
|
50
|
+
@code || @data[:code]
|
51
|
+
end
|
52
|
+
|
53
|
+
# @return [String]
|
54
|
+
def required_parameters
|
55
|
+
@data[:required_parameters]
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def mutually_exclusive_parameters
|
60
|
+
@data[:mutually_exclusive_parameters]
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
class LimitExceededException < ServiceError
|
66
|
+
|
67
|
+
# @param [Seahorse::Client::RequestContext] context
|
68
|
+
# @param [String] message
|
69
|
+
# @param [Aws::DLM::Types::LimitExceededException] data
|
70
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
71
|
+
super(context, message, data)
|
72
|
+
end
|
73
|
+
|
74
|
+
# @return [String]
|
75
|
+
def message
|
76
|
+
@message || @data[:message]
|
77
|
+
end
|
78
|
+
|
79
|
+
# @return [String]
|
80
|
+
def code
|
81
|
+
@code || @data[:code]
|
82
|
+
end
|
83
|
+
|
84
|
+
# @return [String]
|
85
|
+
def resource_type
|
86
|
+
@data[:resource_type]
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
class ResourceNotFoundException < ServiceError
|
92
|
+
|
93
|
+
# @param [Seahorse::Client::RequestContext] context
|
94
|
+
# @param [String] message
|
95
|
+
# @param [Aws::DLM::Types::ResourceNotFoundException] data
|
96
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
97
|
+
super(context, message, data)
|
98
|
+
end
|
99
|
+
|
100
|
+
# @return [String]
|
101
|
+
def message
|
102
|
+
@message || @data[:message]
|
103
|
+
end
|
104
|
+
|
105
|
+
# @return [String]
|
106
|
+
def code
|
107
|
+
@code || @data[:code]
|
108
|
+
end
|
109
|
+
|
110
|
+
# @return [String]
|
111
|
+
def resource_type
|
112
|
+
@data[:resource_type]
|
113
|
+
end
|
114
|
+
|
115
|
+
# @return [String]
|
116
|
+
def resource_ids
|
117
|
+
@data[:resource_ids]
|
118
|
+
end
|
119
|
+
|
120
|
+
end
|
121
|
+
|
13
122
|
end
|
14
123
|
end
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -233,6 +233,49 @@ module Aws::DLM
|
|
233
233
|
include Aws::Structure
|
234
234
|
end
|
235
235
|
|
236
|
+
# The service failed in an unexpected way.
|
237
|
+
#
|
238
|
+
# @!attribute [rw] message
|
239
|
+
# @return [String]
|
240
|
+
#
|
241
|
+
# @!attribute [rw] code
|
242
|
+
# @return [String]
|
243
|
+
#
|
244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/InternalServerException AWS API Documentation
|
245
|
+
#
|
246
|
+
class InternalServerException < Struct.new(
|
247
|
+
:message,
|
248
|
+
:code)
|
249
|
+
include Aws::Structure
|
250
|
+
end
|
251
|
+
|
252
|
+
# Bad request. The request is missing required parameters or has invalid
|
253
|
+
# parameters.
|
254
|
+
#
|
255
|
+
# @!attribute [rw] message
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @!attribute [rw] code
|
259
|
+
# @return [String]
|
260
|
+
#
|
261
|
+
# @!attribute [rw] required_parameters
|
262
|
+
# The request omitted one or more required parameters.
|
263
|
+
# @return [Array<String>]
|
264
|
+
#
|
265
|
+
# @!attribute [rw] mutually_exclusive_parameters
|
266
|
+
# The request included parameters that cannot be provided together.
|
267
|
+
# @return [Array<String>]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/InvalidRequestException AWS API Documentation
|
270
|
+
#
|
271
|
+
class InvalidRequestException < Struct.new(
|
272
|
+
:message,
|
273
|
+
:code,
|
274
|
+
:required_parameters,
|
275
|
+
:mutually_exclusive_parameters)
|
276
|
+
include Aws::Structure
|
277
|
+
end
|
278
|
+
|
236
279
|
# Detailed information about a lifecycle policy.
|
237
280
|
#
|
238
281
|
# @!attribute [rw] policy_id
|
@@ -300,6 +343,27 @@ module Aws::DLM
|
|
300
343
|
include Aws::Structure
|
301
344
|
end
|
302
345
|
|
346
|
+
# The request failed because a limit was exceeded.
|
347
|
+
#
|
348
|
+
# @!attribute [rw] message
|
349
|
+
# @return [String]
|
350
|
+
#
|
351
|
+
# @!attribute [rw] code
|
352
|
+
# @return [String]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] resource_type
|
355
|
+
# Value is the type of resource for which a limit was exceeded.
|
356
|
+
# @return [String]
|
357
|
+
#
|
358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/LimitExceededException AWS API Documentation
|
359
|
+
#
|
360
|
+
class LimitExceededException < Struct.new(
|
361
|
+
:message,
|
362
|
+
:code,
|
363
|
+
:resource_type)
|
364
|
+
include Aws::Structure
|
365
|
+
end
|
366
|
+
|
303
367
|
# Specifies the configuration of a lifecycle policy.
|
304
368
|
#
|
305
369
|
# @note When making an API call, you may pass PolicyDetails
|
@@ -356,6 +420,32 @@ module Aws::DLM
|
|
356
420
|
include Aws::Structure
|
357
421
|
end
|
358
422
|
|
423
|
+
# A requested resource was not found.
|
424
|
+
#
|
425
|
+
# @!attribute [rw] message
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] code
|
429
|
+
# @return [String]
|
430
|
+
#
|
431
|
+
# @!attribute [rw] resource_type
|
432
|
+
# Value is the type of resource that was not found.
|
433
|
+
# @return [String]
|
434
|
+
#
|
435
|
+
# @!attribute [rw] resource_ids
|
436
|
+
# Value is a list of resource IDs that were not found.
|
437
|
+
# @return [Array<String>]
|
438
|
+
#
|
439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/ResourceNotFoundException AWS API Documentation
|
440
|
+
#
|
441
|
+
class ResourceNotFoundException < Struct.new(
|
442
|
+
:message,
|
443
|
+
:code,
|
444
|
+
:resource_type,
|
445
|
+
:resource_ids)
|
446
|
+
include Aws::Structure
|
447
|
+
end
|
448
|
+
|
359
449
|
# Specifies the number of snapshots to keep for each EBS volume.
|
360
450
|
#
|
361
451
|
# @note When making an API call, you may pass RetainRule
|
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.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|