aws-sdk-shield 1.32.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +253 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-shield.rb +2 -2
- data/lib/aws-sdk-shield/client.rb +468 -17
- data/lib/aws-sdk-shield/client_api.rb +310 -1
- data/lib/aws-sdk-shield/errors.rb +21 -1
- data/lib/aws-sdk-shield/resource.rb +1 -1
- data/lib/aws-sdk-shield/types.rb +822 -42
- metadata +10 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -29,28 +29,40 @@ module Aws::Shield
|
|
29
29
|
AttackProperties = Shapes::ListShape.new(name: 'AttackProperties')
|
30
30
|
AttackProperty = Shapes::StructureShape.new(name: 'AttackProperty')
|
31
31
|
AttackPropertyIdentifier = Shapes::StringShape.new(name: 'AttackPropertyIdentifier')
|
32
|
+
AttackStatisticsDataItem = Shapes::StructureShape.new(name: 'AttackStatisticsDataItem')
|
33
|
+
AttackStatisticsDataList = Shapes::ListShape.new(name: 'AttackStatisticsDataList')
|
32
34
|
AttackSummaries = Shapes::ListShape.new(name: 'AttackSummaries')
|
33
35
|
AttackSummary = Shapes::StructureShape.new(name: 'AttackSummary')
|
34
36
|
AttackTimestamp = Shapes::TimestampShape.new(name: 'AttackTimestamp')
|
35
37
|
AttackVectorDescription = Shapes::StructureShape.new(name: 'AttackVectorDescription')
|
36
38
|
AttackVectorDescriptionList = Shapes::ListShape.new(name: 'AttackVectorDescriptionList')
|
39
|
+
AttackVolume = Shapes::StructureShape.new(name: 'AttackVolume')
|
40
|
+
AttackVolumeStatistics = Shapes::StructureShape.new(name: 'AttackVolumeStatistics')
|
37
41
|
AutoRenew = Shapes::StringShape.new(name: 'AutoRenew')
|
38
42
|
ContactNotes = Shapes::StringShape.new(name: 'ContactNotes')
|
39
43
|
Contributor = Shapes::StructureShape.new(name: 'Contributor')
|
44
|
+
CreateProtectionGroupRequest = Shapes::StructureShape.new(name: 'CreateProtectionGroupRequest')
|
45
|
+
CreateProtectionGroupResponse = Shapes::StructureShape.new(name: 'CreateProtectionGroupResponse')
|
40
46
|
CreateProtectionRequest = Shapes::StructureShape.new(name: 'CreateProtectionRequest')
|
41
47
|
CreateProtectionResponse = Shapes::StructureShape.new(name: 'CreateProtectionResponse')
|
42
48
|
CreateSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateSubscriptionRequest')
|
43
49
|
CreateSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateSubscriptionResponse')
|
50
|
+
DeleteProtectionGroupRequest = Shapes::StructureShape.new(name: 'DeleteProtectionGroupRequest')
|
51
|
+
DeleteProtectionGroupResponse = Shapes::StructureShape.new(name: 'DeleteProtectionGroupResponse')
|
44
52
|
DeleteProtectionRequest = Shapes::StructureShape.new(name: 'DeleteProtectionRequest')
|
45
53
|
DeleteProtectionResponse = Shapes::StructureShape.new(name: 'DeleteProtectionResponse')
|
46
54
|
DeleteSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionRequest')
|
47
55
|
DeleteSubscriptionResponse = Shapes::StructureShape.new(name: 'DeleteSubscriptionResponse')
|
48
56
|
DescribeAttackRequest = Shapes::StructureShape.new(name: 'DescribeAttackRequest')
|
49
57
|
DescribeAttackResponse = Shapes::StructureShape.new(name: 'DescribeAttackResponse')
|
58
|
+
DescribeAttackStatisticsRequest = Shapes::StructureShape.new(name: 'DescribeAttackStatisticsRequest')
|
59
|
+
DescribeAttackStatisticsResponse = Shapes::StructureShape.new(name: 'DescribeAttackStatisticsResponse')
|
50
60
|
DescribeDRTAccessRequest = Shapes::StructureShape.new(name: 'DescribeDRTAccessRequest')
|
51
61
|
DescribeDRTAccessResponse = Shapes::StructureShape.new(name: 'DescribeDRTAccessResponse')
|
52
62
|
DescribeEmergencyContactSettingsRequest = Shapes::StructureShape.new(name: 'DescribeEmergencyContactSettingsRequest')
|
53
63
|
DescribeEmergencyContactSettingsResponse = Shapes::StructureShape.new(name: 'DescribeEmergencyContactSettingsResponse')
|
64
|
+
DescribeProtectionGroupRequest = Shapes::StructureShape.new(name: 'DescribeProtectionGroupRequest')
|
65
|
+
DescribeProtectionGroupResponse = Shapes::StructureShape.new(name: 'DescribeProtectionGroupResponse')
|
54
66
|
DescribeProtectionRequest = Shapes::StructureShape.new(name: 'DescribeProtectionRequest')
|
55
67
|
DescribeProtectionResponse = Shapes::StructureShape.new(name: 'DescribeProtectionResponse')
|
56
68
|
DescribeSubscriptionRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionRequest')
|
@@ -88,8 +100,14 @@ module Aws::Shield
|
|
88
100
|
LimitsExceededException = Shapes::StructureShape.new(name: 'LimitsExceededException')
|
89
101
|
ListAttacksRequest = Shapes::StructureShape.new(name: 'ListAttacksRequest')
|
90
102
|
ListAttacksResponse = Shapes::StructureShape.new(name: 'ListAttacksResponse')
|
103
|
+
ListProtectionGroupsRequest = Shapes::StructureShape.new(name: 'ListProtectionGroupsRequest')
|
104
|
+
ListProtectionGroupsResponse = Shapes::StructureShape.new(name: 'ListProtectionGroupsResponse')
|
91
105
|
ListProtectionsRequest = Shapes::StructureShape.new(name: 'ListProtectionsRequest')
|
92
106
|
ListProtectionsResponse = Shapes::StructureShape.new(name: 'ListProtectionsResponse')
|
107
|
+
ListResourcesInProtectionGroupRequest = Shapes::StructureShape.new(name: 'ListResourcesInProtectionGroupRequest')
|
108
|
+
ListResourcesInProtectionGroupResponse = Shapes::StructureShape.new(name: 'ListResourcesInProtectionGroupResponse')
|
109
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
110
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
93
111
|
LockedSubscriptionException = Shapes::StructureShape.new(name: 'LockedSubscriptionException')
|
94
112
|
LogBucket = Shapes::StringShape.new(name: 'LogBucket')
|
95
113
|
LogBucketList = Shapes::ListShape.new(name: 'LogBucketList')
|
@@ -101,13 +119,25 @@ module Aws::Shield
|
|
101
119
|
OptimisticLockException = Shapes::StructureShape.new(name: 'OptimisticLockException')
|
102
120
|
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
103
121
|
ProactiveEngagementStatus = Shapes::StringShape.new(name: 'ProactiveEngagementStatus')
|
122
|
+
ProtectedResourceType = Shapes::StringShape.new(name: 'ProtectedResourceType')
|
104
123
|
Protection = Shapes::StructureShape.new(name: 'Protection')
|
124
|
+
ProtectionGroup = Shapes::StructureShape.new(name: 'ProtectionGroup')
|
125
|
+
ProtectionGroupAggregation = Shapes::StringShape.new(name: 'ProtectionGroupAggregation')
|
126
|
+
ProtectionGroupArbitraryPatternLimits = Shapes::StructureShape.new(name: 'ProtectionGroupArbitraryPatternLimits')
|
127
|
+
ProtectionGroupId = Shapes::StringShape.new(name: 'ProtectionGroupId')
|
128
|
+
ProtectionGroupLimits = Shapes::StructureShape.new(name: 'ProtectionGroupLimits')
|
129
|
+
ProtectionGroupMembers = Shapes::ListShape.new(name: 'ProtectionGroupMembers')
|
130
|
+
ProtectionGroupPattern = Shapes::StringShape.new(name: 'ProtectionGroupPattern')
|
131
|
+
ProtectionGroupPatternTypeLimits = Shapes::StructureShape.new(name: 'ProtectionGroupPatternTypeLimits')
|
132
|
+
ProtectionGroups = Shapes::ListShape.new(name: 'ProtectionGroups')
|
105
133
|
ProtectionId = Shapes::StringShape.new(name: 'ProtectionId')
|
134
|
+
ProtectionLimits = Shapes::StructureShape.new(name: 'ProtectionLimits')
|
106
135
|
ProtectionName = Shapes::StringShape.new(name: 'ProtectionName')
|
107
136
|
Protections = Shapes::ListShape.new(name: 'Protections')
|
108
137
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
109
138
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
110
139
|
ResourceArnFilterList = Shapes::ListShape.new(name: 'ResourceArnFilterList')
|
140
|
+
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
111
141
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
112
142
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
113
143
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -115,20 +145,35 @@ module Aws::Shield
|
|
115
145
|
SubResourceSummaryList = Shapes::ListShape.new(name: 'SubResourceSummaryList')
|
116
146
|
SubResourceType = Shapes::StringShape.new(name: 'SubResourceType')
|
117
147
|
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
148
|
+
SubscriptionLimits = Shapes::StructureShape.new(name: 'SubscriptionLimits')
|
118
149
|
SubscriptionState = Shapes::StringShape.new(name: 'SubscriptionState')
|
119
150
|
SummarizedAttackVector = Shapes::StructureShape.new(name: 'SummarizedAttackVector')
|
120
151
|
SummarizedAttackVectorList = Shapes::ListShape.new(name: 'SummarizedAttackVectorList')
|
121
152
|
SummarizedCounter = Shapes::StructureShape.new(name: 'SummarizedCounter')
|
122
153
|
SummarizedCounterList = Shapes::ListShape.new(name: 'SummarizedCounterList')
|
154
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
155
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
156
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
157
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
158
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
159
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
160
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
123
161
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
124
162
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
125
163
|
Token = Shapes::StringShape.new(name: 'Token')
|
126
164
|
TopContributors = Shapes::ListShape.new(name: 'TopContributors')
|
127
165
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
166
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
167
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
128
168
|
UpdateEmergencyContactSettingsRequest = Shapes::StructureShape.new(name: 'UpdateEmergencyContactSettingsRequest')
|
129
169
|
UpdateEmergencyContactSettingsResponse = Shapes::StructureShape.new(name: 'UpdateEmergencyContactSettingsResponse')
|
170
|
+
UpdateProtectionGroupRequest = Shapes::StructureShape.new(name: 'UpdateProtectionGroupRequest')
|
171
|
+
UpdateProtectionGroupResponse = Shapes::StructureShape.new(name: 'UpdateProtectionGroupResponse')
|
130
172
|
UpdateSubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateSubscriptionRequest')
|
131
173
|
UpdateSubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateSubscriptionResponse')
|
174
|
+
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
175
|
+
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
176
|
+
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
132
177
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
133
178
|
|
134
179
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -177,6 +222,12 @@ module Aws::Shield
|
|
177
222
|
AttackProperty.add_member(:total, Shapes::ShapeRef.new(shape: Long, location_name: "Total"))
|
178
223
|
AttackProperty.struct_class = Types::AttackProperty
|
179
224
|
|
225
|
+
AttackStatisticsDataItem.add_member(:attack_volume, Shapes::ShapeRef.new(shape: AttackVolume, location_name: "AttackVolume"))
|
226
|
+
AttackStatisticsDataItem.add_member(:attack_count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AttackCount"))
|
227
|
+
AttackStatisticsDataItem.struct_class = Types::AttackStatisticsDataItem
|
228
|
+
|
229
|
+
AttackStatisticsDataList.member = Shapes::ShapeRef.new(shape: AttackStatisticsDataItem)
|
230
|
+
|
180
231
|
AttackSummaries.member = Shapes::ShapeRef.new(shape: AttackSummary)
|
181
232
|
|
182
233
|
AttackSummary.add_member(:attack_id, Shapes::ShapeRef.new(shape: String, location_name: "AttackId"))
|
@@ -191,12 +242,31 @@ module Aws::Shield
|
|
191
242
|
|
192
243
|
AttackVectorDescriptionList.member = Shapes::ShapeRef.new(shape: AttackVectorDescription)
|
193
244
|
|
245
|
+
AttackVolume.add_member(:bits_per_second, Shapes::ShapeRef.new(shape: AttackVolumeStatistics, location_name: "BitsPerSecond"))
|
246
|
+
AttackVolume.add_member(:packets_per_second, Shapes::ShapeRef.new(shape: AttackVolumeStatistics, location_name: "PacketsPerSecond"))
|
247
|
+
AttackVolume.add_member(:requests_per_second, Shapes::ShapeRef.new(shape: AttackVolumeStatistics, location_name: "RequestsPerSecond"))
|
248
|
+
AttackVolume.struct_class = Types::AttackVolume
|
249
|
+
|
250
|
+
AttackVolumeStatistics.add_member(:max, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Max"))
|
251
|
+
AttackVolumeStatistics.struct_class = Types::AttackVolumeStatistics
|
252
|
+
|
194
253
|
Contributor.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
195
254
|
Contributor.add_member(:value, Shapes::ShapeRef.new(shape: Long, location_name: "Value"))
|
196
255
|
Contributor.struct_class = Types::Contributor
|
197
256
|
|
257
|
+
CreateProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
258
|
+
CreateProtectionGroupRequest.add_member(:aggregation, Shapes::ShapeRef.new(shape: ProtectionGroupAggregation, required: true, location_name: "Aggregation"))
|
259
|
+
CreateProtectionGroupRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: ProtectionGroupPattern, required: true, location_name: "Pattern"))
|
260
|
+
CreateProtectionGroupRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ProtectedResourceType, location_name: "ResourceType"))
|
261
|
+
CreateProtectionGroupRequest.add_member(:members, Shapes::ShapeRef.new(shape: ProtectionGroupMembers, location_name: "Members"))
|
262
|
+
CreateProtectionGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
263
|
+
CreateProtectionGroupRequest.struct_class = Types::CreateProtectionGroupRequest
|
264
|
+
|
265
|
+
CreateProtectionGroupResponse.struct_class = Types::CreateProtectionGroupResponse
|
266
|
+
|
198
267
|
CreateProtectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProtectionName, required: true, location_name: "Name"))
|
199
268
|
CreateProtectionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
269
|
+
CreateProtectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
200
270
|
CreateProtectionRequest.struct_class = Types::CreateProtectionRequest
|
201
271
|
|
202
272
|
CreateProtectionResponse.add_member(:protection_id, Shapes::ShapeRef.new(shape: ProtectionId, location_name: "ProtectionId"))
|
@@ -206,6 +276,11 @@ module Aws::Shield
|
|
206
276
|
|
207
277
|
CreateSubscriptionResponse.struct_class = Types::CreateSubscriptionResponse
|
208
278
|
|
279
|
+
DeleteProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
280
|
+
DeleteProtectionGroupRequest.struct_class = Types::DeleteProtectionGroupRequest
|
281
|
+
|
282
|
+
DeleteProtectionGroupResponse.struct_class = Types::DeleteProtectionGroupResponse
|
283
|
+
|
209
284
|
DeleteProtectionRequest.add_member(:protection_id, Shapes::ShapeRef.new(shape: ProtectionId, required: true, location_name: "ProtectionId"))
|
210
285
|
DeleteProtectionRequest.struct_class = Types::DeleteProtectionRequest
|
211
286
|
|
@@ -221,6 +296,12 @@ module Aws::Shield
|
|
221
296
|
DescribeAttackResponse.add_member(:attack, Shapes::ShapeRef.new(shape: AttackDetail, location_name: "Attack"))
|
222
297
|
DescribeAttackResponse.struct_class = Types::DescribeAttackResponse
|
223
298
|
|
299
|
+
DescribeAttackStatisticsRequest.struct_class = Types::DescribeAttackStatisticsRequest
|
300
|
+
|
301
|
+
DescribeAttackStatisticsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, required: true, location_name: "TimeRange"))
|
302
|
+
DescribeAttackStatisticsResponse.add_member(:data_items, Shapes::ShapeRef.new(shape: AttackStatisticsDataList, required: true, location_name: "DataItems"))
|
303
|
+
DescribeAttackStatisticsResponse.struct_class = Types::DescribeAttackStatisticsResponse
|
304
|
+
|
224
305
|
DescribeDRTAccessRequest.struct_class = Types::DescribeDRTAccessRequest
|
225
306
|
|
226
307
|
DescribeDRTAccessResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
@@ -232,6 +313,12 @@ module Aws::Shield
|
|
232
313
|
DescribeEmergencyContactSettingsResponse.add_member(:emergency_contact_list, Shapes::ShapeRef.new(shape: EmergencyContactList, location_name: "EmergencyContactList"))
|
233
314
|
DescribeEmergencyContactSettingsResponse.struct_class = Types::DescribeEmergencyContactSettingsResponse
|
234
315
|
|
316
|
+
DescribeProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
317
|
+
DescribeProtectionGroupRequest.struct_class = Types::DescribeProtectionGroupRequest
|
318
|
+
|
319
|
+
DescribeProtectionGroupResponse.add_member(:protection_group, Shapes::ShapeRef.new(shape: ProtectionGroup, required: true, location_name: "ProtectionGroup"))
|
320
|
+
DescribeProtectionGroupResponse.struct_class = Types::DescribeProtectionGroupResponse
|
321
|
+
|
235
322
|
DescribeProtectionRequest.add_member(:protection_id, Shapes::ShapeRef.new(shape: ProtectionId, location_name: "ProtectionId"))
|
236
323
|
DescribeProtectionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
237
324
|
DescribeProtectionRequest.struct_class = Types::DescribeProtectionRequest
|
@@ -291,6 +378,8 @@ module Aws::Shield
|
|
291
378
|
InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
|
292
379
|
|
293
380
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
381
|
+
InvalidParameterException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
382
|
+
InvalidParameterException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fields"))
|
294
383
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
295
384
|
|
296
385
|
InvalidResourceException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
@@ -318,6 +407,14 @@ module Aws::Shield
|
|
318
407
|
ListAttacksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
319
408
|
ListAttacksResponse.struct_class = Types::ListAttacksResponse
|
320
409
|
|
410
|
+
ListProtectionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
411
|
+
ListProtectionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
412
|
+
ListProtectionGroupsRequest.struct_class = Types::ListProtectionGroupsRequest
|
413
|
+
|
414
|
+
ListProtectionGroupsResponse.add_member(:protection_groups, Shapes::ShapeRef.new(shape: ProtectionGroups, required: true, location_name: "ProtectionGroups"))
|
415
|
+
ListProtectionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
416
|
+
ListProtectionGroupsResponse.struct_class = Types::ListProtectionGroupsResponse
|
417
|
+
|
321
418
|
ListProtectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
322
419
|
ListProtectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
323
420
|
ListProtectionsRequest.struct_class = Types::ListProtectionsRequest
|
@@ -326,6 +423,21 @@ module Aws::Shield
|
|
326
423
|
ListProtectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
327
424
|
ListProtectionsResponse.struct_class = Types::ListProtectionsResponse
|
328
425
|
|
426
|
+
ListResourcesInProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
427
|
+
ListResourcesInProtectionGroupRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
428
|
+
ListResourcesInProtectionGroupRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
429
|
+
ListResourcesInProtectionGroupRequest.struct_class = Types::ListResourcesInProtectionGroupRequest
|
430
|
+
|
431
|
+
ListResourcesInProtectionGroupResponse.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, required: true, location_name: "ResourceArns"))
|
432
|
+
ListResourcesInProtectionGroupResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
433
|
+
ListResourcesInProtectionGroupResponse.struct_class = Types::ListResourcesInProtectionGroupResponse
|
434
|
+
|
435
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
436
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
437
|
+
|
438
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
439
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
440
|
+
|
329
441
|
LockedSubscriptionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
330
442
|
LockedSubscriptionException.struct_class = Types::LockedSubscriptionException
|
331
443
|
|
@@ -346,16 +458,46 @@ module Aws::Shield
|
|
346
458
|
Protection.add_member(:name, Shapes::ShapeRef.new(shape: ProtectionName, location_name: "Name"))
|
347
459
|
Protection.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
348
460
|
Protection.add_member(:health_check_ids, Shapes::ShapeRef.new(shape: HealthCheckIds, location_name: "HealthCheckIds"))
|
461
|
+
Protection.add_member(:protection_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ProtectionArn"))
|
349
462
|
Protection.struct_class = Types::Protection
|
350
463
|
|
464
|
+
ProtectionGroup.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
465
|
+
ProtectionGroup.add_member(:aggregation, Shapes::ShapeRef.new(shape: ProtectionGroupAggregation, required: true, location_name: "Aggregation"))
|
466
|
+
ProtectionGroup.add_member(:pattern, Shapes::ShapeRef.new(shape: ProtectionGroupPattern, required: true, location_name: "Pattern"))
|
467
|
+
ProtectionGroup.add_member(:resource_type, Shapes::ShapeRef.new(shape: ProtectedResourceType, location_name: "ResourceType"))
|
468
|
+
ProtectionGroup.add_member(:members, Shapes::ShapeRef.new(shape: ProtectionGroupMembers, required: true, location_name: "Members"))
|
469
|
+
ProtectionGroup.add_member(:protection_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ProtectionGroupArn"))
|
470
|
+
ProtectionGroup.struct_class = Types::ProtectionGroup
|
471
|
+
|
472
|
+
ProtectionGroupArbitraryPatternLimits.add_member(:max_members, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MaxMembers"))
|
473
|
+
ProtectionGroupArbitraryPatternLimits.struct_class = Types::ProtectionGroupArbitraryPatternLimits
|
474
|
+
|
475
|
+
ProtectionGroupLimits.add_member(:max_protection_groups, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MaxProtectionGroups"))
|
476
|
+
ProtectionGroupLimits.add_member(:pattern_type_limits, Shapes::ShapeRef.new(shape: ProtectionGroupPatternTypeLimits, required: true, location_name: "PatternTypeLimits"))
|
477
|
+
ProtectionGroupLimits.struct_class = Types::ProtectionGroupLimits
|
478
|
+
|
479
|
+
ProtectionGroupMembers.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
480
|
+
|
481
|
+
ProtectionGroupPatternTypeLimits.add_member(:arbitrary_pattern_limits, Shapes::ShapeRef.new(shape: ProtectionGroupArbitraryPatternLimits, required: true, location_name: "ArbitraryPatternLimits"))
|
482
|
+
ProtectionGroupPatternTypeLimits.struct_class = Types::ProtectionGroupPatternTypeLimits
|
483
|
+
|
484
|
+
ProtectionGroups.member = Shapes::ShapeRef.new(shape: ProtectionGroup)
|
485
|
+
|
486
|
+
ProtectionLimits.add_member(:protected_resource_type_limits, Shapes::ShapeRef.new(shape: Limits, required: true, location_name: "ProtectedResourceTypeLimits"))
|
487
|
+
ProtectionLimits.struct_class = Types::ProtectionLimits
|
488
|
+
|
351
489
|
Protections.member = Shapes::ShapeRef.new(shape: Protection)
|
352
490
|
|
353
491
|
ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
492
|
+
ResourceAlreadyExistsException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
354
493
|
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
355
494
|
|
356
495
|
ResourceArnFilterList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
357
496
|
|
497
|
+
ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
498
|
+
|
358
499
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
500
|
+
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
359
501
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
360
502
|
|
361
503
|
SubResourceSummary.add_member(:type, Shapes::ShapeRef.new(shape: SubResourceType, location_name: "Type"))
|
@@ -372,8 +514,14 @@ module Aws::Shield
|
|
372
514
|
Subscription.add_member(:auto_renew, Shapes::ShapeRef.new(shape: AutoRenew, location_name: "AutoRenew"))
|
373
515
|
Subscription.add_member(:limits, Shapes::ShapeRef.new(shape: Limits, location_name: "Limits"))
|
374
516
|
Subscription.add_member(:proactive_engagement_status, Shapes::ShapeRef.new(shape: ProactiveEngagementStatus, location_name: "ProactiveEngagementStatus"))
|
517
|
+
Subscription.add_member(:subscription_limits, Shapes::ShapeRef.new(shape: SubscriptionLimits, required: true, location_name: "SubscriptionLimits"))
|
518
|
+
Subscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "SubscriptionArn"))
|
375
519
|
Subscription.struct_class = Types::Subscription
|
376
520
|
|
521
|
+
SubscriptionLimits.add_member(:protection_limits, Shapes::ShapeRef.new(shape: ProtectionLimits, required: true, location_name: "ProtectionLimits"))
|
522
|
+
SubscriptionLimits.add_member(:protection_group_limits, Shapes::ShapeRef.new(shape: ProtectionGroupLimits, required: true, location_name: "ProtectionGroupLimits"))
|
523
|
+
SubscriptionLimits.struct_class = Types::SubscriptionLimits
|
524
|
+
|
377
525
|
SummarizedAttackVector.add_member(:vector_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VectorType"))
|
378
526
|
SummarizedAttackVector.add_member(:vector_counters, Shapes::ShapeRef.new(shape: SummarizedCounterList, location_name: "VectorCounters"))
|
379
527
|
SummarizedAttackVector.struct_class = Types::SummarizedAttackVector
|
@@ -390,22 +538,57 @@ module Aws::Shield
|
|
390
538
|
|
391
539
|
SummarizedCounterList.member = Shapes::ShapeRef.new(shape: SummarizedCounter)
|
392
540
|
|
541
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
542
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
543
|
+
Tag.struct_class = Types::Tag
|
544
|
+
|
545
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
546
|
+
|
547
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
548
|
+
|
549
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
550
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
551
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
552
|
+
|
553
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
554
|
+
|
393
555
|
TimeRange.add_member(:from_inclusive, Shapes::ShapeRef.new(shape: AttackTimestamp, location_name: "FromInclusive"))
|
394
556
|
TimeRange.add_member(:to_exclusive, Shapes::ShapeRef.new(shape: AttackTimestamp, location_name: "ToExclusive"))
|
395
557
|
TimeRange.struct_class = Types::TimeRange
|
396
558
|
|
397
559
|
TopContributors.member = Shapes::ShapeRef.new(shape: Contributor)
|
398
560
|
|
561
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
562
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
563
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
564
|
+
|
565
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
566
|
+
|
399
567
|
UpdateEmergencyContactSettingsRequest.add_member(:emergency_contact_list, Shapes::ShapeRef.new(shape: EmergencyContactList, location_name: "EmergencyContactList"))
|
400
568
|
UpdateEmergencyContactSettingsRequest.struct_class = Types::UpdateEmergencyContactSettingsRequest
|
401
569
|
|
402
570
|
UpdateEmergencyContactSettingsResponse.struct_class = Types::UpdateEmergencyContactSettingsResponse
|
403
571
|
|
572
|
+
UpdateProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
|
573
|
+
UpdateProtectionGroupRequest.add_member(:aggregation, Shapes::ShapeRef.new(shape: ProtectionGroupAggregation, required: true, location_name: "Aggregation"))
|
574
|
+
UpdateProtectionGroupRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: ProtectionGroupPattern, required: true, location_name: "Pattern"))
|
575
|
+
UpdateProtectionGroupRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ProtectedResourceType, location_name: "ResourceType"))
|
576
|
+
UpdateProtectionGroupRequest.add_member(:members, Shapes::ShapeRef.new(shape: ProtectionGroupMembers, location_name: "Members"))
|
577
|
+
UpdateProtectionGroupRequest.struct_class = Types::UpdateProtectionGroupRequest
|
578
|
+
|
579
|
+
UpdateProtectionGroupResponse.struct_class = Types::UpdateProtectionGroupResponse
|
580
|
+
|
404
581
|
UpdateSubscriptionRequest.add_member(:auto_renew, Shapes::ShapeRef.new(shape: AutoRenew, location_name: "AutoRenew"))
|
405
582
|
UpdateSubscriptionRequest.struct_class = Types::UpdateSubscriptionRequest
|
406
583
|
|
407
584
|
UpdateSubscriptionResponse.struct_class = Types::UpdateSubscriptionResponse
|
408
585
|
|
586
|
+
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
587
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
588
|
+
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
589
|
+
|
590
|
+
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
591
|
+
|
409
592
|
|
410
593
|
# @api private
|
411
594
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -494,6 +677,21 @@ module Aws::Shield
|
|
494
677
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
495
678
|
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
496
679
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
681
|
+
end)
|
682
|
+
|
683
|
+
api.add_operation(:create_protection_group, Seahorse::Model::Operation.new.tap do |o|
|
684
|
+
o.name = "CreateProtectionGroup"
|
685
|
+
o.http_method = "POST"
|
686
|
+
o.http_request_uri = "/"
|
687
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProtectionGroupRequest)
|
688
|
+
o.output = Shapes::ShapeRef.new(shape: CreateProtectionGroupResponse)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitsExceededException)
|
497
695
|
end)
|
498
696
|
|
499
697
|
api.add_operation(:create_subscription, Seahorse::Model::Operation.new.tap do |o|
|
@@ -517,6 +715,17 @@ module Aws::Shield
|
|
517
715
|
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
518
716
|
end)
|
519
717
|
|
718
|
+
api.add_operation(:delete_protection_group, Seahorse::Model::Operation.new.tap do |o|
|
719
|
+
o.name = "DeleteProtectionGroup"
|
720
|
+
o.http_method = "POST"
|
721
|
+
o.http_request_uri = "/"
|
722
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteProtectionGroupRequest)
|
723
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteProtectionGroupResponse)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
727
|
+
end)
|
728
|
+
|
520
729
|
api.add_operation(:delete_subscription, Seahorse::Model::Operation.new.tap do |o|
|
521
730
|
o.name = "DeleteSubscription"
|
522
731
|
o.http_method = "POST"
|
@@ -539,6 +748,15 @@ module Aws::Shield
|
|
539
748
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
540
749
|
end)
|
541
750
|
|
751
|
+
api.add_operation(:describe_attack_statistics, Seahorse::Model::Operation.new.tap do |o|
|
752
|
+
o.name = "DescribeAttackStatistics"
|
753
|
+
o.http_method = "POST"
|
754
|
+
o.http_request_uri = "/"
|
755
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAttackStatisticsRequest)
|
756
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAttackStatisticsResponse)
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
758
|
+
end)
|
759
|
+
|
542
760
|
api.add_operation(:describe_drt_access, Seahorse::Model::Operation.new.tap do |o|
|
543
761
|
o.name = "DescribeDRTAccess"
|
544
762
|
o.http_method = "POST"
|
@@ -570,6 +788,16 @@ module Aws::Shield
|
|
570
788
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
571
789
|
end)
|
572
790
|
|
791
|
+
api.add_operation(:describe_protection_group, Seahorse::Model::Operation.new.tap do |o|
|
792
|
+
o.name = "DescribeProtectionGroup"
|
793
|
+
o.http_method = "POST"
|
794
|
+
o.http_request_uri = "/"
|
795
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProtectionGroupRequest)
|
796
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProtectionGroupResponse)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
799
|
+
end)
|
800
|
+
|
573
801
|
api.add_operation(:describe_subscription, Seahorse::Model::Operation.new.tap do |o|
|
574
802
|
o.name = "DescribeSubscription"
|
575
803
|
o.http_method = "POST"
|
@@ -670,6 +898,23 @@ module Aws::Shield
|
|
670
898
|
)
|
671
899
|
end)
|
672
900
|
|
901
|
+
api.add_operation(:list_protection_groups, Seahorse::Model::Operation.new.tap do |o|
|
902
|
+
o.name = "ListProtectionGroups"
|
903
|
+
o.http_method = "POST"
|
904
|
+
o.http_request_uri = "/"
|
905
|
+
o.input = Shapes::ShapeRef.new(shape: ListProtectionGroupsRequest)
|
906
|
+
o.output = Shapes::ShapeRef.new(shape: ListProtectionGroupsResponse)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
909
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
910
|
+
o[:pager] = Aws::Pager.new(
|
911
|
+
limit_key: "max_results",
|
912
|
+
tokens: {
|
913
|
+
"next_token" => "next_token"
|
914
|
+
}
|
915
|
+
)
|
916
|
+
end)
|
917
|
+
|
673
918
|
api.add_operation(:list_protections, Seahorse::Model::Operation.new.tap do |o|
|
674
919
|
o.name = "ListProtections"
|
675
920
|
o.http_method = "POST"
|
@@ -687,6 +932,58 @@ module Aws::Shield
|
|
687
932
|
)
|
688
933
|
end)
|
689
934
|
|
935
|
+
api.add_operation(:list_resources_in_protection_group, Seahorse::Model::Operation.new.tap do |o|
|
936
|
+
o.name = "ListResourcesInProtectionGroup"
|
937
|
+
o.http_method = "POST"
|
938
|
+
o.http_request_uri = "/"
|
939
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcesInProtectionGroupRequest)
|
940
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcesInProtectionGroupResponse)
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
944
|
+
o[:pager] = Aws::Pager.new(
|
945
|
+
limit_key: "max_results",
|
946
|
+
tokens: {
|
947
|
+
"next_token" => "next_token"
|
948
|
+
}
|
949
|
+
)
|
950
|
+
end)
|
951
|
+
|
952
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
953
|
+
o.name = "ListTagsForResource"
|
954
|
+
o.http_method = "POST"
|
955
|
+
o.http_request_uri = "/"
|
956
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
957
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
958
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
959
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
|
960
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
961
|
+
end)
|
962
|
+
|
963
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
964
|
+
o.name = "TagResource"
|
965
|
+
o.http_method = "POST"
|
966
|
+
o.http_request_uri = "/"
|
967
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
968
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
973
|
+
end)
|
974
|
+
|
975
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
976
|
+
o.name = "UntagResource"
|
977
|
+
o.http_method = "POST"
|
978
|
+
o.http_request_uri = "/"
|
979
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
980
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
|
983
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
984
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
985
|
+
end)
|
986
|
+
|
690
987
|
api.add_operation(:update_emergency_contact_settings, Seahorse::Model::Operation.new.tap do |o|
|
691
988
|
o.name = "UpdateEmergencyContactSettings"
|
692
989
|
o.http_method = "POST"
|
@@ -699,6 +996,18 @@ module Aws::Shield
|
|
699
996
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
700
997
|
end)
|
701
998
|
|
999
|
+
api.add_operation(:update_protection_group, Seahorse::Model::Operation.new.tap do |o|
|
1000
|
+
o.name = "UpdateProtectionGroup"
|
1001
|
+
o.http_method = "POST"
|
1002
|
+
o.http_request_uri = "/"
|
1003
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProtectionGroupRequest)
|
1004
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProtectionGroupResponse)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1009
|
+
end)
|
1010
|
+
|
702
1011
|
api.add_operation(:update_subscription, Seahorse::Model::Operation.new.tap do |o|
|
703
1012
|
o.name = "UpdateSubscription"
|
704
1013
|
o.http_method = "POST"
|