aws-sdk-shield 1.15.0 → 1.16.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/lib/aws-sdk-shield.rb +1 -1
- data/lib/aws-sdk-shield/client.rb +1 -1
- data/lib/aws-sdk-shield/client_api.rb +41 -0
- data/lib/aws-sdk-shield/errors.rb +218 -0
- data/lib/aws-sdk-shield/types.rb +188 -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: 3f90f827fd0bfb3bc1c6068db97ca4f3d9a72879
|
4
|
+
data.tar.gz: acf7f714bd4a5ea9c9df8b14fa17ce063776911a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03b30ef1959f75a7770a07f3ddd07a3fad5a0a619adf89831b3b7313a02dcd878c6104efe8f2a3e6423ac53b21ddb776c955ffc7767cb839dacacdd70d383fa4
|
7
|
+
data.tar.gz: dadb6575a770185f8940926ebaf0e60c79b4d2a5d3a12a4d2f295b0f8100518adea0c46ddc925733c42c6391cf40debd0655aab62be580c78bce28cb8df1055e
|
data/lib/aws-sdk-shield.rb
CHANGED
@@ -113,6 +113,12 @@ module Aws::Shield
|
|
113
113
|
UpdateSubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateSubscriptionResponse')
|
114
114
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
115
115
|
|
116
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
117
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
118
|
+
|
119
|
+
AccessDeniedForDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
120
|
+
AccessDeniedForDependencyException.struct_class = Types::AccessDeniedForDependencyException
|
121
|
+
|
116
122
|
AssociateDRTLogBucketRequest.add_member(:log_bucket, Shapes::ShapeRef.new(shape: LogBucket, required: true, location_name: "LogBucket"))
|
117
123
|
AssociateDRTLogBucketRequest.struct_class = Types::AssociateDRTLogBucketRequest
|
118
124
|
|
@@ -228,12 +234,32 @@ module Aws::Shield
|
|
228
234
|
GetSubscriptionStateResponse.add_member(:subscription_state, Shapes::ShapeRef.new(shape: SubscriptionState, required: true, location_name: "SubscriptionState"))
|
229
235
|
GetSubscriptionStateResponse.struct_class = Types::GetSubscriptionStateResponse
|
230
236
|
|
237
|
+
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
238
|
+
InternalErrorException.struct_class = Types::InternalErrorException
|
239
|
+
|
240
|
+
InvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
241
|
+
InvalidOperationException.struct_class = Types::InvalidOperationException
|
242
|
+
|
243
|
+
InvalidPaginationTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
244
|
+
InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
|
245
|
+
|
246
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
247
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
248
|
+
|
249
|
+
InvalidResourceException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
250
|
+
InvalidResourceException.struct_class = Types::InvalidResourceException
|
251
|
+
|
231
252
|
Limit.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
232
253
|
Limit.add_member(:max, Shapes::ShapeRef.new(shape: Long, location_name: "Max"))
|
233
254
|
Limit.struct_class = Types::Limit
|
234
255
|
|
235
256
|
Limits.member = Shapes::ShapeRef.new(shape: Limit)
|
236
257
|
|
258
|
+
LimitsExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
259
|
+
LimitsExceededException.add_member(:type, Shapes::ShapeRef.new(shape: LimitType, location_name: "Type"))
|
260
|
+
LimitsExceededException.add_member(:limit, Shapes::ShapeRef.new(shape: LimitNumber, location_name: "Limit"))
|
261
|
+
LimitsExceededException.struct_class = Types::LimitsExceededException
|
262
|
+
|
237
263
|
ListAttacksRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnFilterList, location_name: "ResourceArns"))
|
238
264
|
ListAttacksRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeRange, location_name: "StartTime"))
|
239
265
|
ListAttacksRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeRange, location_name: "EndTime"))
|
@@ -253,6 +279,9 @@ module Aws::Shield
|
|
253
279
|
ListProtectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
254
280
|
ListProtectionsResponse.struct_class = Types::ListProtectionsResponse
|
255
281
|
|
282
|
+
LockedSubscriptionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
283
|
+
LockedSubscriptionException.struct_class = Types::LockedSubscriptionException
|
284
|
+
|
256
285
|
LogBucketList.member = Shapes::ShapeRef.new(shape: LogBucket)
|
257
286
|
|
258
287
|
Mitigation.add_member(:mitigation_name, Shapes::ShapeRef.new(shape: String, location_name: "MitigationName"))
|
@@ -260,6 +289,12 @@ module Aws::Shield
|
|
260
289
|
|
261
290
|
MitigationList.member = Shapes::ShapeRef.new(shape: Mitigation)
|
262
291
|
|
292
|
+
NoAssociatedRoleException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
293
|
+
NoAssociatedRoleException.struct_class = Types::NoAssociatedRoleException
|
294
|
+
|
295
|
+
OptimisticLockException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
296
|
+
OptimisticLockException.struct_class = Types::OptimisticLockException
|
297
|
+
|
263
298
|
Protection.add_member(:id, Shapes::ShapeRef.new(shape: ProtectionId, location_name: "Id"))
|
264
299
|
Protection.add_member(:name, Shapes::ShapeRef.new(shape: ProtectionName, location_name: "Name"))
|
265
300
|
Protection.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
@@ -267,8 +302,14 @@ module Aws::Shield
|
|
267
302
|
|
268
303
|
Protections.member = Shapes::ShapeRef.new(shape: Protection)
|
269
304
|
|
305
|
+
ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
306
|
+
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
307
|
+
|
270
308
|
ResourceArnFilterList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
271
309
|
|
310
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
311
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
312
|
+
|
272
313
|
SubResourceSummary.add_member(:type, Shapes::ShapeRef.new(shape: SubResourceType, location_name: "Type"))
|
273
314
|
SubResourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
274
315
|
SubResourceSummary.add_member(:attack_vectors, Shapes::ShapeRef.new(shape: SummarizedAttackVectorList, location_name: "AttackVectors"))
|
@@ -10,5 +10,223 @@ module Aws::Shield
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class AccessDeniedException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Shield::Types::AccessDeniedException] 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
|
+
end
|
28
|
+
|
29
|
+
class AccessDeniedForDependencyException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Shield::Types::AccessDeniedForDependencyException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InternalErrorException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::Shield::Types::InternalErrorException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class InvalidOperationException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::Shield::Types::InvalidOperationException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class InvalidPaginationTokenException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Shield::Types::InvalidPaginationTokenException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class InvalidParameterException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::Shield::Types::InvalidParameterException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class InvalidResourceException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::Shield::Types::InvalidResourceException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class LimitsExceededException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::Shield::Types::LimitsExceededException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
# @return [String]
|
140
|
+
def type
|
141
|
+
@data[:type]
|
142
|
+
end
|
143
|
+
|
144
|
+
# @return [String]
|
145
|
+
def limit
|
146
|
+
@data[:limit]
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
150
|
+
|
151
|
+
class LockedSubscriptionException < ServiceError
|
152
|
+
|
153
|
+
# @param [Seahorse::Client::RequestContext] context
|
154
|
+
# @param [String] message
|
155
|
+
# @param [Aws::Shield::Types::LockedSubscriptionException] data
|
156
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
157
|
+
super(context, message, data)
|
158
|
+
end
|
159
|
+
|
160
|
+
# @return [String]
|
161
|
+
def message
|
162
|
+
@message || @data[:message]
|
163
|
+
end
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
class NoAssociatedRoleException < ServiceError
|
168
|
+
|
169
|
+
# @param [Seahorse::Client::RequestContext] context
|
170
|
+
# @param [String] message
|
171
|
+
# @param [Aws::Shield::Types::NoAssociatedRoleException] data
|
172
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
173
|
+
super(context, message, data)
|
174
|
+
end
|
175
|
+
|
176
|
+
# @return [String]
|
177
|
+
def message
|
178
|
+
@message || @data[:message]
|
179
|
+
end
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
class OptimisticLockException < ServiceError
|
184
|
+
|
185
|
+
# @param [Seahorse::Client::RequestContext] context
|
186
|
+
# @param [String] message
|
187
|
+
# @param [Aws::Shield::Types::OptimisticLockException] data
|
188
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
189
|
+
super(context, message, data)
|
190
|
+
end
|
191
|
+
|
192
|
+
# @return [String]
|
193
|
+
def message
|
194
|
+
@message || @data[:message]
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
198
|
+
|
199
|
+
class ResourceAlreadyExistsException < ServiceError
|
200
|
+
|
201
|
+
# @param [Seahorse::Client::RequestContext] context
|
202
|
+
# @param [String] message
|
203
|
+
# @param [Aws::Shield::Types::ResourceAlreadyExistsException] data
|
204
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
205
|
+
super(context, message, data)
|
206
|
+
end
|
207
|
+
|
208
|
+
# @return [String]
|
209
|
+
def message
|
210
|
+
@message || @data[:message]
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
|
215
|
+
class ResourceNotFoundException < ServiceError
|
216
|
+
|
217
|
+
# @param [Seahorse::Client::RequestContext] context
|
218
|
+
# @param [String] message
|
219
|
+
# @param [Aws::Shield::Types::ResourceNotFoundException] data
|
220
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
221
|
+
super(context, message, data)
|
222
|
+
end
|
223
|
+
|
224
|
+
# @return [String]
|
225
|
+
def message
|
226
|
+
@message || @data[:message]
|
227
|
+
end
|
228
|
+
|
229
|
+
end
|
230
|
+
|
13
231
|
end
|
14
232
|
end
|
data/lib/aws-sdk-shield/types.rb
CHANGED
@@ -8,6 +8,40 @@
|
|
8
8
|
module Aws::Shield
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# Exception that indicates the specified `AttackId` does not exist, or
|
12
|
+
# the requester does not have the appropriate permissions to access the
|
13
|
+
# `AttackId`.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
include Aws::Structure
|
23
|
+
end
|
24
|
+
|
25
|
+
# In order to grant the necessary access to the DDoS Response Team, the
|
26
|
+
# user submitting `AssociateDRTRole` must have the `iam:PassRole`
|
27
|
+
# permission. This error indicates the user did not have the appropriate
|
28
|
+
# permissions. For more information, see [Granting a User Permissions to
|
29
|
+
# Pass a Role to an AWS Service][1].
|
30
|
+
#
|
31
|
+
#
|
32
|
+
#
|
33
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
|
34
|
+
#
|
35
|
+
# @!attribute [rw] message
|
36
|
+
# @return [String]
|
37
|
+
#
|
38
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AccessDeniedForDependencyException AWS API Documentation
|
39
|
+
#
|
40
|
+
class AccessDeniedForDependencyException < Struct.new(
|
41
|
+
:message)
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
11
45
|
# @note When making an API call, you may pass AssociateDRTLogBucketRequest
|
12
46
|
# data as a hash:
|
13
47
|
#
|
@@ -566,6 +600,72 @@ module Aws::Shield
|
|
566
600
|
include Aws::Structure
|
567
601
|
end
|
568
602
|
|
603
|
+
# Exception that indicates that a problem occurred with the service
|
604
|
+
# infrastructure. You can retry the request.
|
605
|
+
#
|
606
|
+
# @!attribute [rw] message
|
607
|
+
# @return [String]
|
608
|
+
#
|
609
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/InternalErrorException AWS API Documentation
|
610
|
+
#
|
611
|
+
class InternalErrorException < Struct.new(
|
612
|
+
:message)
|
613
|
+
include Aws::Structure
|
614
|
+
end
|
615
|
+
|
616
|
+
# Exception that indicates that the operation would not cause any change
|
617
|
+
# to occur.
|
618
|
+
#
|
619
|
+
# @!attribute [rw] message
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/InvalidOperationException AWS API Documentation
|
623
|
+
#
|
624
|
+
class InvalidOperationException < Struct.new(
|
625
|
+
:message)
|
626
|
+
include Aws::Structure
|
627
|
+
end
|
628
|
+
|
629
|
+
# Exception that indicates that the NextToken specified in the request
|
630
|
+
# is invalid. Submit the request using the NextToken value that was
|
631
|
+
# returned in the response.
|
632
|
+
#
|
633
|
+
# @!attribute [rw] message
|
634
|
+
# @return [String]
|
635
|
+
#
|
636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/InvalidPaginationTokenException AWS API Documentation
|
637
|
+
#
|
638
|
+
class InvalidPaginationTokenException < Struct.new(
|
639
|
+
:message)
|
640
|
+
include Aws::Structure
|
641
|
+
end
|
642
|
+
|
643
|
+
# Exception that indicates that the parameters passed to the API are
|
644
|
+
# invalid.
|
645
|
+
#
|
646
|
+
# @!attribute [rw] message
|
647
|
+
# @return [String]
|
648
|
+
#
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/InvalidParameterException AWS API Documentation
|
650
|
+
#
|
651
|
+
class InvalidParameterException < Struct.new(
|
652
|
+
:message)
|
653
|
+
include Aws::Structure
|
654
|
+
end
|
655
|
+
|
656
|
+
# Exception that indicates that the resource is invalid. You might not
|
657
|
+
# have access to the resource, or the resource might not exist.
|
658
|
+
#
|
659
|
+
# @!attribute [rw] message
|
660
|
+
# @return [String]
|
661
|
+
#
|
662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/InvalidResourceException AWS API Documentation
|
663
|
+
#
|
664
|
+
class InvalidResourceException < Struct.new(
|
665
|
+
:message)
|
666
|
+
include Aws::Structure
|
667
|
+
end
|
668
|
+
|
569
669
|
# Specifies how many protections of a given type you can create.
|
570
670
|
#
|
571
671
|
# @!attribute [rw] type
|
@@ -585,6 +685,30 @@ module Aws::Shield
|
|
585
685
|
include Aws::Structure
|
586
686
|
end
|
587
687
|
|
688
|
+
# Exception that indicates that the operation would exceed a limit.
|
689
|
+
#
|
690
|
+
# `Type` is the type of limit that would be exceeded.
|
691
|
+
#
|
692
|
+
# `Limit` is the threshold that would be exceeded.
|
693
|
+
#
|
694
|
+
# @!attribute [rw] message
|
695
|
+
# @return [String]
|
696
|
+
#
|
697
|
+
# @!attribute [rw] type
|
698
|
+
# @return [String]
|
699
|
+
#
|
700
|
+
# @!attribute [rw] limit
|
701
|
+
# @return [Integer]
|
702
|
+
#
|
703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/LimitsExceededException AWS API Documentation
|
704
|
+
#
|
705
|
+
class LimitsExceededException < Struct.new(
|
706
|
+
:message,
|
707
|
+
:type,
|
708
|
+
:limit)
|
709
|
+
include Aws::Structure
|
710
|
+
end
|
711
|
+
|
588
712
|
# @note When making an API call, you may pass ListAttacksRequest
|
589
713
|
# data as a hash:
|
590
714
|
#
|
@@ -742,6 +866,21 @@ module Aws::Shield
|
|
742
866
|
include Aws::Structure
|
743
867
|
end
|
744
868
|
|
869
|
+
# You are trying to update a subscription that has not yet completed the
|
870
|
+
# 1-year commitment. You can change the `AutoRenew` parameter during the
|
871
|
+
# last 30 days of your subscription. This exception indicates that you
|
872
|
+
# are attempting to change `AutoRenew` prior to that period.
|
873
|
+
#
|
874
|
+
# @!attribute [rw] message
|
875
|
+
# @return [String]
|
876
|
+
#
|
877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/LockedSubscriptionException AWS API Documentation
|
878
|
+
#
|
879
|
+
class LockedSubscriptionException < Struct.new(
|
880
|
+
:message)
|
881
|
+
include Aws::Structure
|
882
|
+
end
|
883
|
+
|
745
884
|
# The mitigation applied to a DDoS attack.
|
746
885
|
#
|
747
886
|
# @!attribute [rw] mitigation_name
|
@@ -755,6 +894,31 @@ module Aws::Shield
|
|
755
894
|
include Aws::Structure
|
756
895
|
end
|
757
896
|
|
897
|
+
# The ARN of the role that you specifed does not exist.
|
898
|
+
#
|
899
|
+
# @!attribute [rw] message
|
900
|
+
# @return [String]
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/NoAssociatedRoleException AWS API Documentation
|
903
|
+
#
|
904
|
+
class NoAssociatedRoleException < Struct.new(
|
905
|
+
:message)
|
906
|
+
include Aws::Structure
|
907
|
+
end
|
908
|
+
|
909
|
+
# Exception that indicates that the protection state has been modified
|
910
|
+
# by another client. You can retry the request.
|
911
|
+
#
|
912
|
+
# @!attribute [rw] message
|
913
|
+
# @return [String]
|
914
|
+
#
|
915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/OptimisticLockException AWS API Documentation
|
916
|
+
#
|
917
|
+
class OptimisticLockException < Struct.new(
|
918
|
+
:message)
|
919
|
+
include Aws::Structure
|
920
|
+
end
|
921
|
+
|
758
922
|
# An object that represents a resource that is under DDoS protection.
|
759
923
|
#
|
760
924
|
# @!attribute [rw] id
|
@@ -780,6 +944,30 @@ module Aws::Shield
|
|
780
944
|
include Aws::Structure
|
781
945
|
end
|
782
946
|
|
947
|
+
# Exception indicating the specified resource already exists.
|
948
|
+
#
|
949
|
+
# @!attribute [rw] message
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ResourceAlreadyExistsException AWS API Documentation
|
953
|
+
#
|
954
|
+
class ResourceAlreadyExistsException < Struct.new(
|
955
|
+
:message)
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
958
|
+
|
959
|
+
# Exception indicating the specified resource does not exist.
|
960
|
+
#
|
961
|
+
# @!attribute [rw] message
|
962
|
+
# @return [String]
|
963
|
+
#
|
964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ResourceNotFoundException AWS API Documentation
|
965
|
+
#
|
966
|
+
class ResourceNotFoundException < Struct.new(
|
967
|
+
:message)
|
968
|
+
include Aws::Structure
|
969
|
+
end
|
970
|
+
|
783
971
|
# The attack information for the specified SubResource.
|
784
972
|
#
|
785
973
|
# @!attribute [rw] type
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-shield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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
|