aws-sdk-shield 1.60.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3c52e5806b6f4d89f2f2938397d31881a6645e5c97ab69952b4026c66b9b55
|
4
|
+
data.tar.gz: 8a0c204bbc001e8f7813d618f3b26e70a86a4fbbfafde6b18cdd95c8cd7d5b04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b44520a0dc5c8aa2c1d92869a5fa8027f158ba840b04c7a6375ee04a06800b9178e87729bb6c73854f8ee5810ba2dc85a066fa62e59f15ce56ba3b89e7cbb899
|
7
|
+
data.tar.gz: 0446c8d348fafa9c59063a6310c95fc4e1b5a8365db7ff48bc7a4479dc7c366ad0758568dfe6fd783e1027f174faeb5db31555577f4877626cba63b22b14380c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -1928,7 +1928,7 @@ module Aws::Shield
|
|
1928
1928
|
params: params,
|
1929
1929
|
config: config)
|
1930
1930
|
context[:gem_name] = 'aws-sdk-shield'
|
1931
|
-
context[:gem_version] = '1.
|
1931
|
+
context[:gem_version] = '1.61.0'
|
1932
1932
|
Seahorse::Client::Request.new(handlers, context)
|
1933
1933
|
end
|
1934
1934
|
|
@@ -14,6 +14,7 @@ module Aws::Shield
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Shield::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-shield.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,492 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?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
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _AssociateDRTLogBucketResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDRTLogBucketResponse]
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#associate_drt_log_bucket-instance_method
|
80
|
+
def associate_drt_log_bucket: (
|
81
|
+
log_bucket: ::String
|
82
|
+
) -> _AssociateDRTLogBucketResponseSuccess
|
83
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDRTLogBucketResponseSuccess
|
84
|
+
|
85
|
+
interface _AssociateDRTRoleResponseSuccess
|
86
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDRTRoleResponse]
|
87
|
+
end
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#associate_drt_role-instance_method
|
89
|
+
def associate_drt_role: (
|
90
|
+
role_arn: ::String
|
91
|
+
) -> _AssociateDRTRoleResponseSuccess
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDRTRoleResponseSuccess
|
93
|
+
|
94
|
+
interface _AssociateHealthCheckResponseSuccess
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateHealthCheckResponse]
|
96
|
+
end
|
97
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#associate_health_check-instance_method
|
98
|
+
def associate_health_check: (
|
99
|
+
protection_id: ::String,
|
100
|
+
health_check_arn: ::String
|
101
|
+
) -> _AssociateHealthCheckResponseSuccess
|
102
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateHealthCheckResponseSuccess
|
103
|
+
|
104
|
+
interface _AssociateProactiveEngagementDetailsResponseSuccess
|
105
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateProactiveEngagementDetailsResponse]
|
106
|
+
end
|
107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#associate_proactive_engagement_details-instance_method
|
108
|
+
def associate_proactive_engagement_details: (
|
109
|
+
emergency_contact_list: Array[
|
110
|
+
{
|
111
|
+
email_address: ::String,
|
112
|
+
phone_number: ::String?,
|
113
|
+
contact_notes: ::String?
|
114
|
+
},
|
115
|
+
]
|
116
|
+
) -> _AssociateProactiveEngagementDetailsResponseSuccess
|
117
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateProactiveEngagementDetailsResponseSuccess
|
118
|
+
|
119
|
+
interface _CreateProtectionResponseSuccess
|
120
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProtectionResponse]
|
121
|
+
def protection_id: () -> ::String
|
122
|
+
end
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#create_protection-instance_method
|
124
|
+
def create_protection: (
|
125
|
+
name: ::String,
|
126
|
+
resource_arn: ::String,
|
127
|
+
?tags: Array[
|
128
|
+
{
|
129
|
+
key: ::String?,
|
130
|
+
value: ::String?
|
131
|
+
},
|
132
|
+
]
|
133
|
+
) -> _CreateProtectionResponseSuccess
|
134
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProtectionResponseSuccess
|
135
|
+
|
136
|
+
interface _CreateProtectionGroupResponseSuccess
|
137
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProtectionGroupResponse]
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#create_protection_group-instance_method
|
140
|
+
def create_protection_group: (
|
141
|
+
protection_group_id: ::String,
|
142
|
+
aggregation: ("SUM" | "MEAN" | "MAX"),
|
143
|
+
pattern: ("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE"),
|
144
|
+
?resource_type: ("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR"),
|
145
|
+
?members: Array[::String],
|
146
|
+
?tags: Array[
|
147
|
+
{
|
148
|
+
key: ::String?,
|
149
|
+
value: ::String?
|
150
|
+
},
|
151
|
+
]
|
152
|
+
) -> _CreateProtectionGroupResponseSuccess
|
153
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProtectionGroupResponseSuccess
|
154
|
+
|
155
|
+
interface _CreateSubscriptionResponseSuccess
|
156
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriptionResponse]
|
157
|
+
end
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#create_subscription-instance_method
|
159
|
+
def create_subscription: (
|
160
|
+
) -> _CreateSubscriptionResponseSuccess
|
161
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriptionResponseSuccess
|
162
|
+
|
163
|
+
interface _DeleteProtectionResponseSuccess
|
164
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProtectionResponse]
|
165
|
+
end
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#delete_protection-instance_method
|
167
|
+
def delete_protection: (
|
168
|
+
protection_id: ::String
|
169
|
+
) -> _DeleteProtectionResponseSuccess
|
170
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProtectionResponseSuccess
|
171
|
+
|
172
|
+
interface _DeleteProtectionGroupResponseSuccess
|
173
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProtectionGroupResponse]
|
174
|
+
end
|
175
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#delete_protection_group-instance_method
|
176
|
+
def delete_protection_group: (
|
177
|
+
protection_group_id: ::String
|
178
|
+
) -> _DeleteProtectionGroupResponseSuccess
|
179
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProtectionGroupResponseSuccess
|
180
|
+
|
181
|
+
interface _DeleteSubscriptionResponseSuccess
|
182
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubscriptionResponse]
|
183
|
+
end
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#delete_subscription-instance_method
|
185
|
+
def delete_subscription: (
|
186
|
+
) -> _DeleteSubscriptionResponseSuccess
|
187
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSubscriptionResponseSuccess
|
188
|
+
|
189
|
+
interface _DescribeAttackResponseSuccess
|
190
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAttackResponse]
|
191
|
+
def attack: () -> Types::AttackDetail
|
192
|
+
end
|
193
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_attack-instance_method
|
194
|
+
def describe_attack: (
|
195
|
+
attack_id: ::String
|
196
|
+
) -> _DescribeAttackResponseSuccess
|
197
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAttackResponseSuccess
|
198
|
+
|
199
|
+
interface _DescribeAttackStatisticsResponseSuccess
|
200
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAttackStatisticsResponse]
|
201
|
+
def time_range: () -> Types::TimeRange
|
202
|
+
def data_items: () -> ::Array[Types::AttackStatisticsDataItem]
|
203
|
+
end
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_attack_statistics-instance_method
|
205
|
+
def describe_attack_statistics: (
|
206
|
+
) -> _DescribeAttackStatisticsResponseSuccess
|
207
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAttackStatisticsResponseSuccess
|
208
|
+
|
209
|
+
interface _DescribeDRTAccessResponseSuccess
|
210
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDRTAccessResponse]
|
211
|
+
def role_arn: () -> ::String
|
212
|
+
def log_bucket_list: () -> ::Array[::String]
|
213
|
+
end
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_drt_access-instance_method
|
215
|
+
def describe_drt_access: (
|
216
|
+
) -> _DescribeDRTAccessResponseSuccess
|
217
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDRTAccessResponseSuccess
|
218
|
+
|
219
|
+
interface _DescribeEmergencyContactSettingsResponseSuccess
|
220
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEmergencyContactSettingsResponse]
|
221
|
+
def emergency_contact_list: () -> ::Array[Types::EmergencyContact]
|
222
|
+
end
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_emergency_contact_settings-instance_method
|
224
|
+
def describe_emergency_contact_settings: (
|
225
|
+
) -> _DescribeEmergencyContactSettingsResponseSuccess
|
226
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEmergencyContactSettingsResponseSuccess
|
227
|
+
|
228
|
+
interface _DescribeProtectionResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProtectionResponse]
|
230
|
+
def protection: () -> Types::Protection
|
231
|
+
end
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_protection-instance_method
|
233
|
+
def describe_protection: (
|
234
|
+
?protection_id: ::String,
|
235
|
+
?resource_arn: ::String
|
236
|
+
) -> _DescribeProtectionResponseSuccess
|
237
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProtectionResponseSuccess
|
238
|
+
|
239
|
+
interface _DescribeProtectionGroupResponseSuccess
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProtectionGroupResponse]
|
241
|
+
def protection_group: () -> Types::ProtectionGroup
|
242
|
+
end
|
243
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_protection_group-instance_method
|
244
|
+
def describe_protection_group: (
|
245
|
+
protection_group_id: ::String
|
246
|
+
) -> _DescribeProtectionGroupResponseSuccess
|
247
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProtectionGroupResponseSuccess
|
248
|
+
|
249
|
+
interface _DescribeSubscriptionResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSubscriptionResponse]
|
251
|
+
def subscription: () -> Types::Subscription
|
252
|
+
end
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#describe_subscription-instance_method
|
254
|
+
def describe_subscription: (
|
255
|
+
) -> _DescribeSubscriptionResponseSuccess
|
256
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSubscriptionResponseSuccess
|
257
|
+
|
258
|
+
interface _DisableApplicationLayerAutomaticResponseResponseSuccess
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableApplicationLayerAutomaticResponseResponse]
|
260
|
+
end
|
261
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#disable_application_layer_automatic_response-instance_method
|
262
|
+
def disable_application_layer_automatic_response: (
|
263
|
+
resource_arn: ::String
|
264
|
+
) -> _DisableApplicationLayerAutomaticResponseResponseSuccess
|
265
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableApplicationLayerAutomaticResponseResponseSuccess
|
266
|
+
|
267
|
+
interface _DisableProactiveEngagementResponseSuccess
|
268
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableProactiveEngagementResponse]
|
269
|
+
end
|
270
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#disable_proactive_engagement-instance_method
|
271
|
+
def disable_proactive_engagement: (
|
272
|
+
) -> _DisableProactiveEngagementResponseSuccess
|
273
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableProactiveEngagementResponseSuccess
|
274
|
+
|
275
|
+
interface _DisassociateDRTLogBucketResponseSuccess
|
276
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDRTLogBucketResponse]
|
277
|
+
end
|
278
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#disassociate_drt_log_bucket-instance_method
|
279
|
+
def disassociate_drt_log_bucket: (
|
280
|
+
log_bucket: ::String
|
281
|
+
) -> _DisassociateDRTLogBucketResponseSuccess
|
282
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDRTLogBucketResponseSuccess
|
283
|
+
|
284
|
+
interface _DisassociateDRTRoleResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDRTRoleResponse]
|
286
|
+
end
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#disassociate_drt_role-instance_method
|
288
|
+
def disassociate_drt_role: (
|
289
|
+
) -> _DisassociateDRTRoleResponseSuccess
|
290
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDRTRoleResponseSuccess
|
291
|
+
|
292
|
+
interface _DisassociateHealthCheckResponseSuccess
|
293
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateHealthCheckResponse]
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#disassociate_health_check-instance_method
|
296
|
+
def disassociate_health_check: (
|
297
|
+
protection_id: ::String,
|
298
|
+
health_check_arn: ::String
|
299
|
+
) -> _DisassociateHealthCheckResponseSuccess
|
300
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateHealthCheckResponseSuccess
|
301
|
+
|
302
|
+
interface _EnableApplicationLayerAutomaticResponseResponseSuccess
|
303
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableApplicationLayerAutomaticResponseResponse]
|
304
|
+
end
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#enable_application_layer_automatic_response-instance_method
|
306
|
+
def enable_application_layer_automatic_response: (
|
307
|
+
resource_arn: ::String,
|
308
|
+
action: {
|
309
|
+
block: {
|
310
|
+
}?,
|
311
|
+
count: {
|
312
|
+
}?
|
313
|
+
}
|
314
|
+
) -> _EnableApplicationLayerAutomaticResponseResponseSuccess
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableApplicationLayerAutomaticResponseResponseSuccess
|
316
|
+
|
317
|
+
interface _EnableProactiveEngagementResponseSuccess
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableProactiveEngagementResponse]
|
319
|
+
end
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#enable_proactive_engagement-instance_method
|
321
|
+
def enable_proactive_engagement: (
|
322
|
+
) -> _EnableProactiveEngagementResponseSuccess
|
323
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableProactiveEngagementResponseSuccess
|
324
|
+
|
325
|
+
interface _GetSubscriptionStateResponseSuccess
|
326
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriptionStateResponse]
|
327
|
+
def subscription_state: () -> ("ACTIVE" | "INACTIVE")
|
328
|
+
end
|
329
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#get_subscription_state-instance_method
|
330
|
+
def get_subscription_state: (
|
331
|
+
) -> _GetSubscriptionStateResponseSuccess
|
332
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriptionStateResponseSuccess
|
333
|
+
|
334
|
+
interface _ListAttacksResponseSuccess
|
335
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAttacksResponse]
|
336
|
+
def attack_summaries: () -> ::Array[Types::AttackSummary]
|
337
|
+
def next_token: () -> ::String
|
338
|
+
end
|
339
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#list_attacks-instance_method
|
340
|
+
def list_attacks: (
|
341
|
+
?resource_arns: Array[::String],
|
342
|
+
?start_time: {
|
343
|
+
from_inclusive: ::Time?,
|
344
|
+
to_exclusive: ::Time?
|
345
|
+
},
|
346
|
+
?end_time: {
|
347
|
+
from_inclusive: ::Time?,
|
348
|
+
to_exclusive: ::Time?
|
349
|
+
},
|
350
|
+
?next_token: ::String,
|
351
|
+
?max_results: ::Integer
|
352
|
+
) -> _ListAttacksResponseSuccess
|
353
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttacksResponseSuccess
|
354
|
+
|
355
|
+
interface _ListProtectionGroupsResponseSuccess
|
356
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProtectionGroupsResponse]
|
357
|
+
def protection_groups: () -> ::Array[Types::ProtectionGroup]
|
358
|
+
def next_token: () -> ::String
|
359
|
+
end
|
360
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#list_protection_groups-instance_method
|
361
|
+
def list_protection_groups: (
|
362
|
+
?next_token: ::String,
|
363
|
+
?max_results: ::Integer,
|
364
|
+
?inclusion_filters: {
|
365
|
+
protection_group_ids: Array[::String]?,
|
366
|
+
patterns: Array[("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE")]?,
|
367
|
+
resource_types: Array[("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")]?,
|
368
|
+
aggregations: Array[("SUM" | "MEAN" | "MAX")]?
|
369
|
+
}
|
370
|
+
) -> _ListProtectionGroupsResponseSuccess
|
371
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProtectionGroupsResponseSuccess
|
372
|
+
|
373
|
+
interface _ListProtectionsResponseSuccess
|
374
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProtectionsResponse]
|
375
|
+
def protections: () -> ::Array[Types::Protection]
|
376
|
+
def next_token: () -> ::String
|
377
|
+
end
|
378
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#list_protections-instance_method
|
379
|
+
def list_protections: (
|
380
|
+
?next_token: ::String,
|
381
|
+
?max_results: ::Integer,
|
382
|
+
?inclusion_filters: {
|
383
|
+
resource_arns: Array[::String]?,
|
384
|
+
protection_names: Array[::String]?,
|
385
|
+
resource_types: Array[("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR")]?
|
386
|
+
}
|
387
|
+
) -> _ListProtectionsResponseSuccess
|
388
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProtectionsResponseSuccess
|
389
|
+
|
390
|
+
interface _ListResourcesInProtectionGroupResponseSuccess
|
391
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesInProtectionGroupResponse]
|
392
|
+
def resource_arns: () -> ::Array[::String]
|
393
|
+
def next_token: () -> ::String
|
394
|
+
end
|
395
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#list_resources_in_protection_group-instance_method
|
396
|
+
def list_resources_in_protection_group: (
|
397
|
+
protection_group_id: ::String,
|
398
|
+
?next_token: ::String,
|
399
|
+
?max_results: ::Integer
|
400
|
+
) -> _ListResourcesInProtectionGroupResponseSuccess
|
401
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesInProtectionGroupResponseSuccess
|
402
|
+
|
403
|
+
interface _ListTagsForResourceResponseSuccess
|
404
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
405
|
+
def tags: () -> ::Array[Types::Tag]
|
406
|
+
end
|
407
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#list_tags_for_resource-instance_method
|
408
|
+
def list_tags_for_resource: (
|
409
|
+
resource_arn: ::String
|
410
|
+
) -> _ListTagsForResourceResponseSuccess
|
411
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
412
|
+
|
413
|
+
interface _TagResourceResponseSuccess
|
414
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
415
|
+
end
|
416
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#tag_resource-instance_method
|
417
|
+
def tag_resource: (
|
418
|
+
resource_arn: ::String,
|
419
|
+
tags: Array[
|
420
|
+
{
|
421
|
+
key: ::String?,
|
422
|
+
value: ::String?
|
423
|
+
},
|
424
|
+
]
|
425
|
+
) -> _TagResourceResponseSuccess
|
426
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
427
|
+
|
428
|
+
interface _UntagResourceResponseSuccess
|
429
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
430
|
+
end
|
431
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#untag_resource-instance_method
|
432
|
+
def untag_resource: (
|
433
|
+
resource_arn: ::String,
|
434
|
+
tag_keys: Array[::String]
|
435
|
+
) -> _UntagResourceResponseSuccess
|
436
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
437
|
+
|
438
|
+
interface _UpdateApplicationLayerAutomaticResponseResponseSuccess
|
439
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationLayerAutomaticResponseResponse]
|
440
|
+
end
|
441
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#update_application_layer_automatic_response-instance_method
|
442
|
+
def update_application_layer_automatic_response: (
|
443
|
+
resource_arn: ::String,
|
444
|
+
action: {
|
445
|
+
block: {
|
446
|
+
}?,
|
447
|
+
count: {
|
448
|
+
}?
|
449
|
+
}
|
450
|
+
) -> _UpdateApplicationLayerAutomaticResponseResponseSuccess
|
451
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationLayerAutomaticResponseResponseSuccess
|
452
|
+
|
453
|
+
interface _UpdateEmergencyContactSettingsResponseSuccess
|
454
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEmergencyContactSettingsResponse]
|
455
|
+
end
|
456
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#update_emergency_contact_settings-instance_method
|
457
|
+
def update_emergency_contact_settings: (
|
458
|
+
?emergency_contact_list: Array[
|
459
|
+
{
|
460
|
+
email_address: ::String,
|
461
|
+
phone_number: ::String?,
|
462
|
+
contact_notes: ::String?
|
463
|
+
},
|
464
|
+
]
|
465
|
+
) -> _UpdateEmergencyContactSettingsResponseSuccess
|
466
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEmergencyContactSettingsResponseSuccess
|
467
|
+
|
468
|
+
interface _UpdateProtectionGroupResponseSuccess
|
469
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProtectionGroupResponse]
|
470
|
+
end
|
471
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#update_protection_group-instance_method
|
472
|
+
def update_protection_group: (
|
473
|
+
protection_group_id: ::String,
|
474
|
+
aggregation: ("SUM" | "MEAN" | "MAX"),
|
475
|
+
pattern: ("ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE"),
|
476
|
+
?resource_type: ("CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR"),
|
477
|
+
?members: Array[::String]
|
478
|
+
) -> _UpdateProtectionGroupResponseSuccess
|
479
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProtectionGroupResponseSuccess
|
480
|
+
|
481
|
+
interface _UpdateSubscriptionResponseSuccess
|
482
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriptionResponse]
|
483
|
+
end
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Shield/Client.html#update_subscription-instance_method
|
485
|
+
def update_subscription: (
|
486
|
+
?auto_renew: ("ENABLED" | "DISABLED")
|
487
|
+
) -> _UpdateSubscriptionResponseSuccess
|
488
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubscriptionResponseSuccess
|
489
|
+
end
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,61 @@
|
|
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 Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class AccessDeniedForDependencyException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalErrorException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class InvalidOperationException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class InvalidPaginationTokenException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class InvalidParameterException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def reason: () -> ::String
|
32
|
+
def fields: () -> ::String
|
33
|
+
end
|
34
|
+
class InvalidResourceException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
end
|
37
|
+
class LimitsExceededException < ::Aws::Errors::ServiceError
|
38
|
+
def message: () -> ::String
|
39
|
+
def type: () -> ::String
|
40
|
+
def limit: () -> ::String
|
41
|
+
end
|
42
|
+
class LockedSubscriptionException < ::Aws::Errors::ServiceError
|
43
|
+
def message: () -> ::String
|
44
|
+
end
|
45
|
+
class NoAssociatedRoleException < ::Aws::Errors::ServiceError
|
46
|
+
def message: () -> ::String
|
47
|
+
end
|
48
|
+
class OptimisticLockException < ::Aws::Errors::ServiceError
|
49
|
+
def message: () -> ::String
|
50
|
+
end
|
51
|
+
class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
|
52
|
+
def message: () -> ::String
|
53
|
+
def resource_type: () -> ::String
|
54
|
+
end
|
55
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
56
|
+
def message: () -> ::String
|
57
|
+
def resource_type: () -> ::String
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|