aws-sdk-shield 1.60.0 → 1.61.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-shield/client.rb +1 -1
- data/lib/aws-sdk-shield/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-shield.rb +1 -1
- data/sig/client.rbs +492 -0
- data/sig/errors.rbs +61 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +623 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/resource.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
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 Shield
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/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
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,623 @@
|
|
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::Shield
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AccessDeniedForDependencyException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class ApplicationLayerAutomaticResponseConfiguration
|
22
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
23
|
+
attr_accessor action: Types::ResponseAction
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class AssociateDRTLogBucketRequest
|
28
|
+
attr_accessor log_bucket: ::String
|
29
|
+
SENSITIVE: []
|
30
|
+
end
|
31
|
+
|
32
|
+
class AssociateDRTLogBucketResponse < Aws::EmptyStructure
|
33
|
+
end
|
34
|
+
|
35
|
+
class AssociateDRTRoleRequest
|
36
|
+
attr_accessor role_arn: ::String
|
37
|
+
SENSITIVE: []
|
38
|
+
end
|
39
|
+
|
40
|
+
class AssociateDRTRoleResponse < Aws::EmptyStructure
|
41
|
+
end
|
42
|
+
|
43
|
+
class AssociateHealthCheckRequest
|
44
|
+
attr_accessor protection_id: ::String
|
45
|
+
attr_accessor health_check_arn: ::String
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class AssociateHealthCheckResponse < Aws::EmptyStructure
|
50
|
+
end
|
51
|
+
|
52
|
+
class AssociateProactiveEngagementDetailsRequest
|
53
|
+
attr_accessor emergency_contact_list: ::Array[Types::EmergencyContact]
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class AssociateProactiveEngagementDetailsResponse < Aws::EmptyStructure
|
58
|
+
end
|
59
|
+
|
60
|
+
class AttackDetail
|
61
|
+
attr_accessor attack_id: ::String
|
62
|
+
attr_accessor resource_arn: ::String
|
63
|
+
attr_accessor sub_resources: ::Array[Types::SubResourceSummary]
|
64
|
+
attr_accessor start_time: ::Time
|
65
|
+
attr_accessor end_time: ::Time
|
66
|
+
attr_accessor attack_counters: ::Array[Types::SummarizedCounter]
|
67
|
+
attr_accessor attack_properties: ::Array[Types::AttackProperty]
|
68
|
+
attr_accessor mitigations: ::Array[Types::Mitigation]
|
69
|
+
SENSITIVE: []
|
70
|
+
end
|
71
|
+
|
72
|
+
class AttackProperty
|
73
|
+
attr_accessor attack_layer: ("NETWORK" | "APPLICATION")
|
74
|
+
attr_accessor attack_property_identifier: ("DESTINATION_URL" | "REFERRER" | "SOURCE_ASN" | "SOURCE_COUNTRY" | "SOURCE_IP_ADDRESS" | "SOURCE_USER_AGENT" | "WORDPRESS_PINGBACK_REFLECTOR" | "WORDPRESS_PINGBACK_SOURCE")
|
75
|
+
attr_accessor top_contributors: ::Array[Types::Contributor]
|
76
|
+
attr_accessor unit: ("BITS" | "BYTES" | "PACKETS" | "REQUESTS")
|
77
|
+
attr_accessor total: ::Integer
|
78
|
+
SENSITIVE: []
|
79
|
+
end
|
80
|
+
|
81
|
+
class AttackStatisticsDataItem
|
82
|
+
attr_accessor attack_volume: Types::AttackVolume
|
83
|
+
attr_accessor attack_count: ::Integer
|
84
|
+
SENSITIVE: []
|
85
|
+
end
|
86
|
+
|
87
|
+
class AttackSummary
|
88
|
+
attr_accessor attack_id: ::String
|
89
|
+
attr_accessor resource_arn: ::String
|
90
|
+
attr_accessor start_time: ::Time
|
91
|
+
attr_accessor end_time: ::Time
|
92
|
+
attr_accessor attack_vectors: ::Array[Types::AttackVectorDescription]
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class AttackVectorDescription
|
97
|
+
attr_accessor vector_type: ::String
|
98
|
+
SENSITIVE: []
|
99
|
+
end
|
100
|
+
|
101
|
+
class AttackVolume
|
102
|
+
attr_accessor bits_per_second: Types::AttackVolumeStatistics
|
103
|
+
attr_accessor packets_per_second: Types::AttackVolumeStatistics
|
104
|
+
attr_accessor requests_per_second: Types::AttackVolumeStatistics
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class AttackVolumeStatistics
|
109
|
+
attr_accessor max: ::Float
|
110
|
+
SENSITIVE: []
|
111
|
+
end
|
112
|
+
|
113
|
+
class BlockAction < Aws::EmptyStructure
|
114
|
+
end
|
115
|
+
|
116
|
+
class Contributor
|
117
|
+
attr_accessor name: ::String
|
118
|
+
attr_accessor value: ::Integer
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class CountAction < Aws::EmptyStructure
|
123
|
+
end
|
124
|
+
|
125
|
+
class CreateProtectionGroupRequest
|
126
|
+
attr_accessor protection_group_id: ::String
|
127
|
+
attr_accessor aggregation: ("SUM" | "MEAN" | "MAX")
|
128
|
+
attr_accessor pattern: ("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE")
|
129
|
+
attr_accessor resource_type: ("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")
|
130
|
+
attr_accessor members: ::Array[::String]
|
131
|
+
attr_accessor tags: ::Array[Types::Tag]
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class CreateProtectionGroupResponse < Aws::EmptyStructure
|
136
|
+
end
|
137
|
+
|
138
|
+
class CreateProtectionRequest
|
139
|
+
attr_accessor name: ::String
|
140
|
+
attr_accessor resource_arn: ::String
|
141
|
+
attr_accessor tags: ::Array[Types::Tag]
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class CreateProtectionResponse
|
146
|
+
attr_accessor protection_id: ::String
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class CreateSubscriptionRequest < Aws::EmptyStructure
|
151
|
+
end
|
152
|
+
|
153
|
+
class CreateSubscriptionResponse < Aws::EmptyStructure
|
154
|
+
end
|
155
|
+
|
156
|
+
class DeleteProtectionGroupRequest
|
157
|
+
attr_accessor protection_group_id: ::String
|
158
|
+
SENSITIVE: []
|
159
|
+
end
|
160
|
+
|
161
|
+
class DeleteProtectionGroupResponse < Aws::EmptyStructure
|
162
|
+
end
|
163
|
+
|
164
|
+
class DeleteProtectionRequest
|
165
|
+
attr_accessor protection_id: ::String
|
166
|
+
SENSITIVE: []
|
167
|
+
end
|
168
|
+
|
169
|
+
class DeleteProtectionResponse < Aws::EmptyStructure
|
170
|
+
end
|
171
|
+
|
172
|
+
class DeleteSubscriptionRequest < Aws::EmptyStructure
|
173
|
+
end
|
174
|
+
|
175
|
+
class DeleteSubscriptionResponse < Aws::EmptyStructure
|
176
|
+
end
|
177
|
+
|
178
|
+
class DescribeAttackRequest
|
179
|
+
attr_accessor attack_id: ::String
|
180
|
+
SENSITIVE: []
|
181
|
+
end
|
182
|
+
|
183
|
+
class DescribeAttackResponse
|
184
|
+
attr_accessor attack: Types::AttackDetail
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
188
|
+
class DescribeAttackStatisticsRequest < Aws::EmptyStructure
|
189
|
+
end
|
190
|
+
|
191
|
+
class DescribeAttackStatisticsResponse
|
192
|
+
attr_accessor time_range: Types::TimeRange
|
193
|
+
attr_accessor data_items: ::Array[Types::AttackStatisticsDataItem]
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
197
|
+
class DescribeDRTAccessRequest < Aws::EmptyStructure
|
198
|
+
end
|
199
|
+
|
200
|
+
class DescribeDRTAccessResponse
|
201
|
+
attr_accessor role_arn: ::String
|
202
|
+
attr_accessor log_bucket_list: ::Array[::String]
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class DescribeEmergencyContactSettingsRequest < Aws::EmptyStructure
|
207
|
+
end
|
208
|
+
|
209
|
+
class DescribeEmergencyContactSettingsResponse
|
210
|
+
attr_accessor emergency_contact_list: ::Array[Types::EmergencyContact]
|
211
|
+
SENSITIVE: []
|
212
|
+
end
|
213
|
+
|
214
|
+
class DescribeProtectionGroupRequest
|
215
|
+
attr_accessor protection_group_id: ::String
|
216
|
+
SENSITIVE: []
|
217
|
+
end
|
218
|
+
|
219
|
+
class DescribeProtectionGroupResponse
|
220
|
+
attr_accessor protection_group: Types::ProtectionGroup
|
221
|
+
SENSITIVE: []
|
222
|
+
end
|
223
|
+
|
224
|
+
class DescribeProtectionRequest
|
225
|
+
attr_accessor protection_id: ::String
|
226
|
+
attr_accessor resource_arn: ::String
|
227
|
+
SENSITIVE: []
|
228
|
+
end
|
229
|
+
|
230
|
+
class DescribeProtectionResponse
|
231
|
+
attr_accessor protection: Types::Protection
|
232
|
+
SENSITIVE: []
|
233
|
+
end
|
234
|
+
|
235
|
+
class DescribeSubscriptionRequest < Aws::EmptyStructure
|
236
|
+
end
|
237
|
+
|
238
|
+
class DescribeSubscriptionResponse
|
239
|
+
attr_accessor subscription: Types::Subscription
|
240
|
+
SENSITIVE: []
|
241
|
+
end
|
242
|
+
|
243
|
+
class DisableApplicationLayerAutomaticResponseRequest
|
244
|
+
attr_accessor resource_arn: ::String
|
245
|
+
SENSITIVE: []
|
246
|
+
end
|
247
|
+
|
248
|
+
class DisableApplicationLayerAutomaticResponseResponse < Aws::EmptyStructure
|
249
|
+
end
|
250
|
+
|
251
|
+
class DisableProactiveEngagementRequest < Aws::EmptyStructure
|
252
|
+
end
|
253
|
+
|
254
|
+
class DisableProactiveEngagementResponse < Aws::EmptyStructure
|
255
|
+
end
|
256
|
+
|
257
|
+
class DisassociateDRTLogBucketRequest
|
258
|
+
attr_accessor log_bucket: ::String
|
259
|
+
SENSITIVE: []
|
260
|
+
end
|
261
|
+
|
262
|
+
class DisassociateDRTLogBucketResponse < Aws::EmptyStructure
|
263
|
+
end
|
264
|
+
|
265
|
+
class DisassociateDRTRoleRequest < Aws::EmptyStructure
|
266
|
+
end
|
267
|
+
|
268
|
+
class DisassociateDRTRoleResponse < Aws::EmptyStructure
|
269
|
+
end
|
270
|
+
|
271
|
+
class DisassociateHealthCheckRequest
|
272
|
+
attr_accessor protection_id: ::String
|
273
|
+
attr_accessor health_check_arn: ::String
|
274
|
+
SENSITIVE: []
|
275
|
+
end
|
276
|
+
|
277
|
+
class DisassociateHealthCheckResponse < Aws::EmptyStructure
|
278
|
+
end
|
279
|
+
|
280
|
+
class EmergencyContact
|
281
|
+
attr_accessor email_address: ::String
|
282
|
+
attr_accessor phone_number: ::String
|
283
|
+
attr_accessor contact_notes: ::String
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class EnableApplicationLayerAutomaticResponseRequest
|
288
|
+
attr_accessor resource_arn: ::String
|
289
|
+
attr_accessor action: Types::ResponseAction
|
290
|
+
SENSITIVE: []
|
291
|
+
end
|
292
|
+
|
293
|
+
class EnableApplicationLayerAutomaticResponseResponse < Aws::EmptyStructure
|
294
|
+
end
|
295
|
+
|
296
|
+
class EnableProactiveEngagementRequest < Aws::EmptyStructure
|
297
|
+
end
|
298
|
+
|
299
|
+
class EnableProactiveEngagementResponse < Aws::EmptyStructure
|
300
|
+
end
|
301
|
+
|
302
|
+
class GetSubscriptionStateRequest < Aws::EmptyStructure
|
303
|
+
end
|
304
|
+
|
305
|
+
class GetSubscriptionStateResponse
|
306
|
+
attr_accessor subscription_state: ("ACTIVE" | "INACTIVE")
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class InclusionProtectionFilters
|
311
|
+
attr_accessor resource_arns: ::Array[::String]
|
312
|
+
attr_accessor protection_names: ::Array[::String]
|
313
|
+
attr_accessor resource_types: ::Array[("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")]
|
314
|
+
SENSITIVE: []
|
315
|
+
end
|
316
|
+
|
317
|
+
class InclusionProtectionGroupFilters
|
318
|
+
attr_accessor protection_group_ids: ::Array[::String]
|
319
|
+
attr_accessor patterns: ::Array[("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE")]
|
320
|
+
attr_accessor resource_types: ::Array[("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")]
|
321
|
+
attr_accessor aggregations: ::Array[("SUM" | "MEAN" | "MAX")]
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
325
|
+
class InternalErrorException
|
326
|
+
attr_accessor message: ::String
|
327
|
+
SENSITIVE: []
|
328
|
+
end
|
329
|
+
|
330
|
+
class InvalidOperationException
|
331
|
+
attr_accessor message: ::String
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
335
|
+
class InvalidPaginationTokenException
|
336
|
+
attr_accessor message: ::String
|
337
|
+
SENSITIVE: []
|
338
|
+
end
|
339
|
+
|
340
|
+
class InvalidParameterException
|
341
|
+
attr_accessor message: ::String
|
342
|
+
attr_accessor reason: ("FIELD_VALIDATION_FAILED" | "OTHER")
|
343
|
+
attr_accessor fields: ::Array[Types::ValidationExceptionField]
|
344
|
+
SENSITIVE: []
|
345
|
+
end
|
346
|
+
|
347
|
+
class InvalidResourceException
|
348
|
+
attr_accessor message: ::String
|
349
|
+
SENSITIVE: []
|
350
|
+
end
|
351
|
+
|
352
|
+
class Limit
|
353
|
+
attr_accessor type: ::String
|
354
|
+
attr_accessor max: ::Integer
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
358
|
+
class LimitsExceededException
|
359
|
+
attr_accessor message: ::String
|
360
|
+
attr_accessor type: ::String
|
361
|
+
attr_accessor limit: ::Integer
|
362
|
+
SENSITIVE: []
|
363
|
+
end
|
364
|
+
|
365
|
+
class ListAttacksRequest
|
366
|
+
attr_accessor resource_arns: ::Array[::String]
|
367
|
+
attr_accessor start_time: Types::TimeRange
|
368
|
+
attr_accessor end_time: Types::TimeRange
|
369
|
+
attr_accessor next_token: ::String
|
370
|
+
attr_accessor max_results: ::Integer
|
371
|
+
SENSITIVE: []
|
372
|
+
end
|
373
|
+
|
374
|
+
class ListAttacksResponse
|
375
|
+
attr_accessor attack_summaries: ::Array[Types::AttackSummary]
|
376
|
+
attr_accessor next_token: ::String
|
377
|
+
SENSITIVE: []
|
378
|
+
end
|
379
|
+
|
380
|
+
class ListProtectionGroupsRequest
|
381
|
+
attr_accessor next_token: ::String
|
382
|
+
attr_accessor max_results: ::Integer
|
383
|
+
attr_accessor inclusion_filters: Types::InclusionProtectionGroupFilters
|
384
|
+
SENSITIVE: []
|
385
|
+
end
|
386
|
+
|
387
|
+
class ListProtectionGroupsResponse
|
388
|
+
attr_accessor protection_groups: ::Array[Types::ProtectionGroup]
|
389
|
+
attr_accessor next_token: ::String
|
390
|
+
SENSITIVE: []
|
391
|
+
end
|
392
|
+
|
393
|
+
class ListProtectionsRequest
|
394
|
+
attr_accessor next_token: ::String
|
395
|
+
attr_accessor max_results: ::Integer
|
396
|
+
attr_accessor inclusion_filters: Types::InclusionProtectionFilters
|
397
|
+
SENSITIVE: []
|
398
|
+
end
|
399
|
+
|
400
|
+
class ListProtectionsResponse
|
401
|
+
attr_accessor protections: ::Array[Types::Protection]
|
402
|
+
attr_accessor next_token: ::String
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
406
|
+
class ListResourcesInProtectionGroupRequest
|
407
|
+
attr_accessor protection_group_id: ::String
|
408
|
+
attr_accessor next_token: ::String
|
409
|
+
attr_accessor max_results: ::Integer
|
410
|
+
SENSITIVE: []
|
411
|
+
end
|
412
|
+
|
413
|
+
class ListResourcesInProtectionGroupResponse
|
414
|
+
attr_accessor resource_arns: ::Array[::String]
|
415
|
+
attr_accessor next_token: ::String
|
416
|
+
SENSITIVE: []
|
417
|
+
end
|
418
|
+
|
419
|
+
class ListTagsForResourceRequest
|
420
|
+
attr_accessor resource_arn: ::String
|
421
|
+
SENSITIVE: []
|
422
|
+
end
|
423
|
+
|
424
|
+
class ListTagsForResourceResponse
|
425
|
+
attr_accessor tags: ::Array[Types::Tag]
|
426
|
+
SENSITIVE: []
|
427
|
+
end
|
428
|
+
|
429
|
+
class LockedSubscriptionException
|
430
|
+
attr_accessor message: ::String
|
431
|
+
SENSITIVE: []
|
432
|
+
end
|
433
|
+
|
434
|
+
class Mitigation
|
435
|
+
attr_accessor mitigation_name: ::String
|
436
|
+
SENSITIVE: []
|
437
|
+
end
|
438
|
+
|
439
|
+
class NoAssociatedRoleException
|
440
|
+
attr_accessor message: ::String
|
441
|
+
SENSITIVE: []
|
442
|
+
end
|
443
|
+
|
444
|
+
class OptimisticLockException
|
445
|
+
attr_accessor message: ::String
|
446
|
+
SENSITIVE: []
|
447
|
+
end
|
448
|
+
|
449
|
+
class Protection
|
450
|
+
attr_accessor id: ::String
|
451
|
+
attr_accessor name: ::String
|
452
|
+
attr_accessor resource_arn: ::String
|
453
|
+
attr_accessor health_check_ids: ::Array[::String]
|
454
|
+
attr_accessor protection_arn: ::String
|
455
|
+
attr_accessor application_layer_automatic_response_configuration: Types::ApplicationLayerAutomaticResponseConfiguration
|
456
|
+
SENSITIVE: []
|
457
|
+
end
|
458
|
+
|
459
|
+
class ProtectionGroup
|
460
|
+
attr_accessor protection_group_id: ::String
|
461
|
+
attr_accessor aggregation: ("SUM" | "MEAN" | "MAX")
|
462
|
+
attr_accessor pattern: ("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE")
|
463
|
+
attr_accessor resource_type: ("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")
|
464
|
+
attr_accessor members: ::Array[::String]
|
465
|
+
attr_accessor protection_group_arn: ::String
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
469
|
+
class ProtectionGroupArbitraryPatternLimits
|
470
|
+
attr_accessor max_members: ::Integer
|
471
|
+
SENSITIVE: []
|
472
|
+
end
|
473
|
+
|
474
|
+
class ProtectionGroupLimits
|
475
|
+
attr_accessor max_protection_groups: ::Integer
|
476
|
+
attr_accessor pattern_type_limits: Types::ProtectionGroupPatternTypeLimits
|
477
|
+
SENSITIVE: []
|
478
|
+
end
|
479
|
+
|
480
|
+
class ProtectionGroupPatternTypeLimits
|
481
|
+
attr_accessor arbitrary_pattern_limits: Types::ProtectionGroupArbitraryPatternLimits
|
482
|
+
SENSITIVE: []
|
483
|
+
end
|
484
|
+
|
485
|
+
class ProtectionLimits
|
486
|
+
attr_accessor protected_resource_type_limits: ::Array[Types::Limit]
|
487
|
+
SENSITIVE: []
|
488
|
+
end
|
489
|
+
|
490
|
+
class ResourceAlreadyExistsException
|
491
|
+
attr_accessor message: ::String
|
492
|
+
attr_accessor resource_type: ::String
|
493
|
+
SENSITIVE: []
|
494
|
+
end
|
495
|
+
|
496
|
+
class ResourceNotFoundException
|
497
|
+
attr_accessor message: ::String
|
498
|
+
attr_accessor resource_type: ::String
|
499
|
+
SENSITIVE: []
|
500
|
+
end
|
501
|
+
|
502
|
+
class ResponseAction
|
503
|
+
attr_accessor block: Types::BlockAction
|
504
|
+
attr_accessor count: Types::CountAction
|
505
|
+
SENSITIVE: []
|
506
|
+
end
|
507
|
+
|
508
|
+
class SubResourceSummary
|
509
|
+
attr_accessor type: ("IP" | "URL")
|
510
|
+
attr_accessor id: ::String
|
511
|
+
attr_accessor attack_vectors: ::Array[Types::SummarizedAttackVector]
|
512
|
+
attr_accessor counters: ::Array[Types::SummarizedCounter]
|
513
|
+
SENSITIVE: []
|
514
|
+
end
|
515
|
+
|
516
|
+
class Subscription
|
517
|
+
attr_accessor start_time: ::Time
|
518
|
+
attr_accessor end_time: ::Time
|
519
|
+
attr_accessor time_commitment_in_seconds: ::Integer
|
520
|
+
attr_accessor auto_renew: ("ENABLED" | "DISABLED")
|
521
|
+
attr_accessor limits: ::Array[Types::Limit]
|
522
|
+
attr_accessor proactive_engagement_status: ("ENABLED" | "DISABLED" | "PENDING")
|
523
|
+
attr_accessor subscription_limits: Types::SubscriptionLimits
|
524
|
+
attr_accessor subscription_arn: ::String
|
525
|
+
SENSITIVE: []
|
526
|
+
end
|
527
|
+
|
528
|
+
class SubscriptionLimits
|
529
|
+
attr_accessor protection_limits: Types::ProtectionLimits
|
530
|
+
attr_accessor protection_group_limits: Types::ProtectionGroupLimits
|
531
|
+
SENSITIVE: []
|
532
|
+
end
|
533
|
+
|
534
|
+
class SummarizedAttackVector
|
535
|
+
attr_accessor vector_type: ::String
|
536
|
+
attr_accessor vector_counters: ::Array[Types::SummarizedCounter]
|
537
|
+
SENSITIVE: []
|
538
|
+
end
|
539
|
+
|
540
|
+
class SummarizedCounter
|
541
|
+
attr_accessor name: ::String
|
542
|
+
attr_accessor max: ::Float
|
543
|
+
attr_accessor average: ::Float
|
544
|
+
attr_accessor sum: ::Float
|
545
|
+
attr_accessor n: ::Integer
|
546
|
+
attr_accessor unit: ::String
|
547
|
+
SENSITIVE: []
|
548
|
+
end
|
549
|
+
|
550
|
+
class Tag
|
551
|
+
attr_accessor key: ::String
|
552
|
+
attr_accessor value: ::String
|
553
|
+
SENSITIVE: []
|
554
|
+
end
|
555
|
+
|
556
|
+
class TagResourceRequest
|
557
|
+
attr_accessor resource_arn: ::String
|
558
|
+
attr_accessor tags: ::Array[Types::Tag]
|
559
|
+
SENSITIVE: []
|
560
|
+
end
|
561
|
+
|
562
|
+
class TagResourceResponse < Aws::EmptyStructure
|
563
|
+
end
|
564
|
+
|
565
|
+
class TimeRange
|
566
|
+
attr_accessor from_inclusive: ::Time
|
567
|
+
attr_accessor to_exclusive: ::Time
|
568
|
+
SENSITIVE: []
|
569
|
+
end
|
570
|
+
|
571
|
+
class UntagResourceRequest
|
572
|
+
attr_accessor resource_arn: ::String
|
573
|
+
attr_accessor tag_keys: ::Array[::String]
|
574
|
+
SENSITIVE: []
|
575
|
+
end
|
576
|
+
|
577
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
578
|
+
end
|
579
|
+
|
580
|
+
class UpdateApplicationLayerAutomaticResponseRequest
|
581
|
+
attr_accessor resource_arn: ::String
|
582
|
+
attr_accessor action: Types::ResponseAction
|
583
|
+
SENSITIVE: []
|
584
|
+
end
|
585
|
+
|
586
|
+
class UpdateApplicationLayerAutomaticResponseResponse < Aws::EmptyStructure
|
587
|
+
end
|
588
|
+
|
589
|
+
class UpdateEmergencyContactSettingsRequest
|
590
|
+
attr_accessor emergency_contact_list: ::Array[Types::EmergencyContact]
|
591
|
+
SENSITIVE: []
|
592
|
+
end
|
593
|
+
|
594
|
+
class UpdateEmergencyContactSettingsResponse < Aws::EmptyStructure
|
595
|
+
end
|
596
|
+
|
597
|
+
class UpdateProtectionGroupRequest
|
598
|
+
attr_accessor protection_group_id: ::String
|
599
|
+
attr_accessor aggregation: ("SUM" | "MEAN" | "MAX")
|
600
|
+
attr_accessor pattern: ("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE")
|
601
|
+
attr_accessor resource_type: ("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")
|
602
|
+
attr_accessor members: ::Array[::String]
|
603
|
+
SENSITIVE: []
|
604
|
+
end
|
605
|
+
|
606
|
+
class UpdateProtectionGroupResponse < Aws::EmptyStructure
|
607
|
+
end
|
608
|
+
|
609
|
+
class UpdateSubscriptionRequest
|
610
|
+
attr_accessor auto_renew: ("ENABLED" | "DISABLED")
|
611
|
+
SENSITIVE: []
|
612
|
+
end
|
613
|
+
|
614
|
+
class UpdateSubscriptionResponse < Aws::EmptyStructure
|
615
|
+
end
|
616
|
+
|
617
|
+
class ValidationExceptionField
|
618
|
+
attr_accessor name: ::String
|
619
|
+
attr_accessor message: ::String
|
620
|
+
SENSITIVE: []
|
621
|
+
end
|
622
|
+
end
|
623
|
+
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 Shield
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|