aws-sdk-shield 1.43.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6afe22b18e3b649aa5c2e083f9f190ebc7e67db492f521c949b882d3a23f3011
4
- data.tar.gz: dc99cca961ed6dfa18f8024f35caf3719436c7ea80cd162451480933e8145d3c
3
+ metadata.gz: 2fb42c2564ff32411f1c164e73212d1dc7dfc630471791b184e85bc948193a20
4
+ data.tar.gz: ad5c9aea6f566d9c1d96046dabf2859aa9ec0950d95cf019af9a98ef3c2bd261
5
5
  SHA512:
6
- metadata.gz: 7e1a57dadc9bf348f4b9754c05507c3316dd88af238ca62bee8f59090a0a2ae2e62e4046d0eec7668fd54776757f75717b109e30c9a74ffac107898e266baaa5
7
- data.tar.gz: 6a6b2e945cd199a66c0901099457fbdf97c3cc856dee6ba2d5d77415eb51abbf40bf46e49c3f723b6f216612857f555906719d828dafd168e7093de166e6a3c0
6
+ metadata.gz: b36d6c2d867c2ce5a8e40da439c8a15429737f0f29289915baa08f92fde1f7032466a84fdff3219d70a83482672ca6d6a71ab50179b9bb395532e1185edfc650
7
+ data.tar.gz: d85673a0719ad0fcac65e2b7fe81e871019e14987ca802322b31738163c471565432b9db6790400f91e74959f1e02e652becec07c1f9032d9fcd082cf514e965
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.46.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.45.0 (2021-12-01)
15
+ ------------------
16
+
17
+ * Feature - This release adds API support for Automatic Application Layer DDoS Mitigation for AWS Shield Advanced. Customers can now enable automatic DDoS mitigation in count or block mode for layer 7 protected resources.
18
+
19
+ 1.44.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.43.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.47.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::Shield
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
82
 
@@ -119,7 +123,9 @@ module Aws::Shield
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::Shield
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -305,7 +315,7 @@ module Aws::Shield
305
315
  # seconds to wait when opening a HTTP session before raising a
306
316
  # `Timeout::Error`.
307
317
  #
308
- # @option options [Integer] :http_read_timeout (60) The default
318
+ # @option options [Float] :http_read_timeout (60) The default
309
319
  # number of seconds to wait for response data. This value can
310
320
  # safely be set per-request on the session.
311
321
  #
@@ -321,6 +331,9 @@ module Aws::Shield
321
331
  # disables this behaviour. This value can safely be set per
322
332
  # request on the session.
323
333
  #
334
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
335
+ # in seconds.
336
+ #
324
337
  # @option options [Boolean] :http_wire_trace (false) When `true`,
325
338
  # HTTP debug output will be sent to the `:logger`.
326
339
  #
@@ -357,8 +370,8 @@ module Aws::Shield
357
370
  #
358
371
  #
359
372
  #
360
- # [1]: https://aws.amazon.com/premiumsupport/business-support/
361
- # [2]: https://aws.amazon.com/premiumsupport/enterprise-support/
373
+ # [1]: https://docs.aws.amazon.com/premiumsupport/business-support/
374
+ # [2]: https://docs.aws.amazon.com/premiumsupport/enterprise-support/
362
375
  #
363
376
  # @option params [required, String] :log_bucket
364
377
  # The Amazon S3 bucket that contains the logs that you want to share.
@@ -391,13 +404,12 @@ module Aws::Shield
391
404
  # `RoleArn`.
392
405
  #
393
406
  # Prior to making the `AssociateDRTRole` request, you must attach the
394
- # [AWSShieldDRTAccessPolicy][1] managed policy to the role you will
395
- # specify in the request. For more information see [Attaching and
396
- # Detaching IAM Policies](
397
- # https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html).
398
- # The role must also trust the service principal `
399
- # drt.shield.amazonaws.com`. For more information, see [IAM JSON Policy
400
- # Elements: Principal][2].
407
+ # `AWSShieldDRTAccessPolicy` managed policy to the role that you'll
408
+ # specify in the request. You can access this policy in the IAM console
409
+ # at [AWSShieldDRTAccessPolicy][1]. For more information see [Adding and
410
+ # removing IAM identity permissions][2]. The role must also trust the
411
+ # service principal `drt.shield.amazonaws.com`. For more information,
412
+ # see [IAM JSON policy elements: Principal][3].
401
413
  #
402
414
  # The SRT will have access only to your WAF and Shield resources. By
403
415
  # submitting this request, you authorize the SRT to inspect your WAF and
@@ -406,20 +418,21 @@ module Aws::Shield
406
418
  # by you.
407
419
  #
408
420
  # You must have the `iam:PassRole` permission to make an
409
- # `AssociateDRTRole` request. For more information, see [Granting a User
410
- # Permissions to Pass a Role to an Amazon Web Services Service][3].
421
+ # `AssociateDRTRole` request. For more information, see [Granting a user
422
+ # permissions to pass a role to an Amazon Web Services service][4].
411
423
  #
412
424
  # To use the services of the SRT and make an `AssociateDRTRole` request,
413
- # you must be subscribed to the [Business Support plan][4] or the
414
- # [Enterprise Support plan][5].
425
+ # you must be subscribed to the [Business Support plan][5] or the
426
+ # [Enterprise Support plan][6].
415
427
  #
416
428
  #
417
429
  #
418
430
  # [1]: https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy
419
- # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html
420
- # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
421
- # [4]: https://aws.amazon.com/premiumsupport/business-support/
422
- # [5]: https://aws.amazon.com/premiumsupport/enterprise-support/
431
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html
432
+ # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html
433
+ # [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
434
+ # [5]: https://docs.aws.amazon.com/premiumsupport/business-support/
435
+ # [6]: https://docs.aws.amazon.com/premiumsupport/enterprise-support/
423
436
  #
424
437
  # @option params [required, String] :role_arn
425
438
  # The Amazon Resource Name (ARN) of the role the SRT will use to access
@@ -454,9 +467,9 @@ module Aws::Shield
454
467
  # Adds health-based detection to the Shield Advanced protection for a
455
468
  # resource. Shield Advanced health-based detection uses the health of
456
469
  # your Amazon Web Services resource to improve responsiveness and
457
- # accuracy in attack detection and mitigation.
470
+ # accuracy in attack detection and response.
458
471
  #
459
- # You define the health check in Route 53 and then associate it with
472
+ # You define the health check in Route 53 and then associate it with
460
473
  # your Shield Advanced protection. For more information, see [Shield
461
474
  # Advanced Health-Based Detection][1] in the *WAF Developer Guide*.
462
475
  #
@@ -550,17 +563,18 @@ module Aws::Shield
550
563
  # Enables Shield Advanced for a specific Amazon Web Services resource.
551
564
  # The resource can be an Amazon CloudFront distribution, Elastic Load
552
565
  # Balancing load balancer, Global Accelerator accelerator, Elastic IP
553
- # Address, or an Amazon Route 53 hosted zone.
566
+ # Address, or an Amazon Route 53 hosted zone.
554
567
  #
555
568
  # You can add protection to only a single resource with each
556
- # CreateProtection request. If you want to add protection to multiple
557
- # resources at once, use the [WAF console][1]. For more information see
558
- # [Getting Started with Shield Advanced][2] and [Add Shield Advanced
559
- # Protection to more Amazon Web Services Resources][3].
569
+ # `CreateProtection` request. You can add protection to multiple
570
+ # resources at once through the Shield Advanced console at
571
+ # [https://console.aws.amazon.com/wafv2/shieldv2#/][1]. For more
572
+ # information see [Getting Started with Shield Advanced][2] and [Adding
573
+ # Shield Advanced protection to Amazon Web Services resources][3].
560
574
  #
561
575
  #
562
576
  #
563
- # [1]: https://console.aws.amazon.com/waf/
577
+ # [1]: https://console.aws.amazon.com/wafv2/shieldv2#/
564
578
  # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html
565
579
  # [3]: https://docs.aws.amazon.com/waf/latest/developerguide/configure-new-protection.html
566
580
  #
@@ -586,7 +600,7 @@ module Aws::Shield
586
600
  # * For an Global Accelerator accelerator:
587
601
  # `arn:aws:globalaccelerator::account-id:accelerator/accelerator-id `
588
602
  #
589
- # * For Amazon Route 53: `arn:aws:route53:::hostedzone/hosted-zone-id `
603
+ # * For Amazon Route 53: `arn:aws:route53:::hostedzone/hosted-zone-id `
590
604
  #
591
605
  # * For an Elastic IP address:
592
606
  # `arn:aws:ec2:region:account-id:eip-allocation/allocation-id `
@@ -781,7 +795,7 @@ module Aws::Shield
781
795
  # Describes the details of a DDoS attack.
782
796
  #
783
797
  # @option params [required, String] :attack_id
784
- # The unique identifier (ID) for the attack that to be described.
798
+ # The unique identifier (ID) for the attack.
785
799
  #
786
800
  # @return [Types::DescribeAttackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
787
801
  #
@@ -965,6 +979,7 @@ module Aws::Shield
965
979
  # resp.protection.health_check_ids #=> Array
966
980
  # resp.protection.health_check_ids[0] #=> String
967
981
  # resp.protection.protection_arn #=> String
982
+ # resp.protection.application_layer_automatic_response_configuration.status #=> String, one of "ENABLED", "DISABLED"
968
983
  #
969
984
  # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection AWS API Documentation
970
985
  #
@@ -1044,6 +1059,31 @@ module Aws::Shield
1044
1059
  req.send_request(options)
1045
1060
  end
1046
1061
 
1062
+ # Disable the Shield Advanced automatic application layer DDoS
1063
+ # mitigation feature for the resource. This stops Shield Advanced from
1064
+ # creating, verifying, and applying WAF rules for attacks that it
1065
+ # detects for the resource.
1066
+ #
1067
+ # @option params [required, String] :resource_arn
1068
+ # The ARN (Amazon Resource Name) of the resource.
1069
+ #
1070
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1071
+ #
1072
+ # @example Request syntax with placeholder values
1073
+ #
1074
+ # resp = client.disable_application_layer_automatic_response({
1075
+ # resource_arn: "ResourceArn", # required
1076
+ # })
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableApplicationLayerAutomaticResponse AWS API Documentation
1079
+ #
1080
+ # @overload disable_application_layer_automatic_response(params = {})
1081
+ # @param [Hash] params ({})
1082
+ def disable_application_layer_automatic_response(params = {}, options = {})
1083
+ req = build_request(:disable_application_layer_automatic_response, params)
1084
+ req.send_request(options)
1085
+ end
1086
+
1047
1087
  # Removes authorization from the Shield Response Team (SRT) to notify
1048
1088
  # contacts about escalations to the SRT and to initiate proactive
1049
1089
  # customer support.
@@ -1062,18 +1102,6 @@ module Aws::Shield
1062
1102
  # Removes the Shield Response Team's (SRT) access to the specified
1063
1103
  # Amazon S3 bucket containing the logs that you shared previously.
1064
1104
  #
1065
- # To make a `DisassociateDRTLogBucket` request, you must be subscribed
1066
- # to the [Business Support plan][1] or the [Enterprise Support plan][2].
1067
- # However, if you are not subscribed to one of these support plans, but
1068
- # had been previously and had granted the SRT access to your account,
1069
- # you can submit a `DisassociateDRTLogBucket` request to remove this
1070
- # access.
1071
- #
1072
- #
1073
- #
1074
- # [1]: https://aws.amazon.com/premiumsupport/business-support/
1075
- # [2]: https://aws.amazon.com/premiumsupport/enterprise-support/
1076
- #
1077
1105
  # @option params [required, String] :log_bucket
1078
1106
  # The Amazon S3 bucket that contains the logs that you want to share.
1079
1107
  #
@@ -1097,17 +1125,6 @@ module Aws::Shield
1097
1125
  # Removes the Shield Response Team's (SRT) access to your Amazon Web
1098
1126
  # Services account.
1099
1127
  #
1100
- # To make a `DisassociateDRTRole` request, you must be subscribed to the
1101
- # [Business Support plan][1] or the [Enterprise Support plan][2].
1102
- # However, if you are not subscribed to one of these support plans, but
1103
- # had been previously and had granted the SRT access to your account,
1104
- # you can submit a `DisassociateDRTRole` request to remove this access.
1105
- #
1106
- #
1107
- #
1108
- # [1]: https://aws.amazon.com/premiumsupport/business-support/
1109
- # [2]: https://aws.amazon.com/premiumsupport/enterprise-support/
1110
- #
1111
1128
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1112
1129
  #
1113
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateDRTRole AWS API Documentation
@@ -1122,9 +1139,9 @@ module Aws::Shield
1122
1139
  # Removes health-based detection from the Shield Advanced protection for
1123
1140
  # a resource. Shield Advanced health-based detection uses the health of
1124
1141
  # your Amazon Web Services resource to improve responsiveness and
1125
- # accuracy in attack detection and mitigation.
1142
+ # accuracy in attack detection and response.
1126
1143
  #
1127
- # You define the health check in Route 53 and then associate or
1144
+ # You define the health check in Route 53 and then associate or
1128
1145
  # disassociate it with your Shield Advanced protection. For more
1129
1146
  # information, see [Shield Advanced Health-Based Detection][1] in the
1130
1147
  # *WAF Developer Guide*.
@@ -1159,6 +1176,76 @@ module Aws::Shield
1159
1176
  req.send_request(options)
1160
1177
  end
1161
1178
 
1179
+ # Enable the Shield Advanced automatic application layer DDoS mitigation
1180
+ # for the resource.
1181
+ #
1182
+ # <note markdown="1"> This feature is available for Amazon CloudFront distributions only.
1183
+ #
1184
+ # </note>
1185
+ #
1186
+ # This causes Shield Advanced to create, verify, and apply WAF rules for
1187
+ # DDoS attacks that it detects for the resource. Shield Advanced applies
1188
+ # the rules in a Shield rule group inside the web ACL that you've
1189
+ # associated with the resource. For information about how automatic
1190
+ # mitigation works and the requirements for using it, see [Shield
1191
+ # Advanced automatic application layer DDoS mitigation][1].
1192
+ #
1193
+ # Don't use this action to make changes to automatic mitigation
1194
+ # settings when it's already enabled for a resource. Instead, use
1195
+ # UpdateApplicationLayerAutomaticResponse.
1196
+ #
1197
+ # To use this feature, you must associate a web ACL with the protected
1198
+ # resource. The web ACL must be created using the latest version of WAF
1199
+ # (v2). You can associate the web ACL through the Shield Advanced
1200
+ # console at [https://console.aws.amazon.com/wafv2/shieldv2#/][2]. For
1201
+ # more information, see [Getting Started with Shield Advanced][3].
1202
+ #
1203
+ # You can also do this through the WAF console or the WAF API, but you
1204
+ # must manage Shield Advanced automatic mitigation through Shield
1205
+ # Advanced. For information about WAF, see [WAF Developer Guide][4].
1206
+ #
1207
+ #
1208
+ #
1209
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-automatic-app-layer-response.html
1210
+ # [2]: https://console.aws.amazon.com/wafv2/shieldv2#/
1211
+ # [3]: https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html
1212
+ # [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
1213
+ #
1214
+ # @option params [required, String] :resource_arn
1215
+ # The ARN (Amazon Resource Name) of the resource.
1216
+ #
1217
+ # @option params [required, Types::ResponseAction] :action
1218
+ # Specifies the action setting that Shield Advanced should use in the
1219
+ # WAF rules that it creates on behalf of the protected resource in
1220
+ # response to DDoS attacks. You specify this as part of the
1221
+ # configuration for the automatic application layer DDoS mitigation
1222
+ # feature, when you enable or update automatic mitigation. Shield
1223
+ # Advanced creates the WAF rules in a Shield Advanced-managed rule
1224
+ # group, inside the web ACL that you have associated with the resource.
1225
+ #
1226
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1227
+ #
1228
+ # @example Request syntax with placeholder values
1229
+ #
1230
+ # resp = client.enable_application_layer_automatic_response({
1231
+ # resource_arn: "ResourceArn", # required
1232
+ # action: { # required
1233
+ # block: {
1234
+ # },
1235
+ # count: {
1236
+ # },
1237
+ # },
1238
+ # })
1239
+ #
1240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableApplicationLayerAutomaticResponse AWS API Documentation
1241
+ #
1242
+ # @overload enable_application_layer_automatic_response(params = {})
1243
+ # @param [Hash] params ({})
1244
+ def enable_application_layer_automatic_response(params = {}, options = {})
1245
+ req = build_request(:enable_application_layer_automatic_response, params)
1246
+ req.send_request(options)
1247
+ end
1248
+
1162
1249
  # Authorizes the Shield Response Team (SRT) to use email and phone to
1163
1250
  # notify contacts about escalations to the SRT and to initiate proactive
1164
1251
  # customer support.
@@ -1197,44 +1284,56 @@ module Aws::Shield
1197
1284
  # specified time period.
1198
1285
  #
1199
1286
  # @option params [Array<String>] :resource_arns
1200
- # The ARN (Amazon Resource Name) of the resource that was attacked. If
1201
- # this is left blank, all applicable resources for this account will be
1202
- # included.
1287
+ # The ARNs (Amazon Resource Names) of the resources that were attacked.
1288
+ # If you leave this blank, all applicable resources for this account
1289
+ # will be included.
1203
1290
  #
1204
1291
  # @option params [Types::TimeRange] :start_time
1205
1292
  # The start of the time period for the attacks. This is a `timestamp`
1206
- # type. The sample request above indicates a `number` type because the
1207
- # default used by WAF is Unix time in seconds. However any valid
1208
- # [timestamp format][1] is allowed.
1293
+ # type. The request syntax listing for this call indicates a `number`
1294
+ # type, but you can provide the time in any valid [timestamp format][1]
1295
+ # setting.
1209
1296
  #
1210
1297
  #
1211
1298
  #
1212
- # [1]: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types
1299
+ # [1]: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp
1213
1300
  #
1214
1301
  # @option params [Types::TimeRange] :end_time
1215
1302
  # The end of the time period for the attacks. This is a `timestamp`
1216
- # type. The sample request above indicates a `number` type because the
1217
- # default used by WAF is Unix time in seconds. However any valid
1218
- # [timestamp format][1] is allowed.
1303
+ # type. The request syntax listing for this call indicates a `number`
1304
+ # type, but you can provide the time in any valid [timestamp format][1]
1305
+ # setting.
1219
1306
  #
1220
1307
  #
1221
1308
  #
1222
- # [1]: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types
1309
+ # [1]: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp
1223
1310
  #
1224
1311
  # @option params [String] :next_token
1225
- # The `ListAttacksRequest.NextMarker` value from a previous call to
1226
- # `ListAttacksRequest`. Pass null if this is the first call.
1312
+ # When you request a list of objects from Shield Advanced, if the
1313
+ # response does not include all of the remaining available objects,
1314
+ # Shield Advanced includes a `NextToken` value in the response. You can
1315
+ # retrieve the next batch of objects by requesting the list again and
1316
+ # providing the token that was returned by the prior call in your
1317
+ # request.
1318
+ #
1319
+ # You can indicate the maximum number of objects that you want Shield
1320
+ # Advanced to return for a single call with the `MaxResults` setting.
1321
+ # Shield Advanced will not return more than `MaxResults` objects, but
1322
+ # may return fewer, even if more objects are still available.
1323
+ #
1324
+ # Whenever more objects remain that Shield Advanced has not yet returned
1325
+ # to you, the response will include a `NextToken` value.
1326
+ #
1327
+ # On your first call to a list operation, leave this setting empty.
1227
1328
  #
1228
1329
  # @option params [Integer] :max_results
1229
- # The maximum number of AttackSummary objects to return. If you leave
1230
- # this blank, Shield Advanced returns the first 20 results.
1330
+ # The greatest number of objects that you want Shield Advanced to return
1331
+ # to the list request. Shield Advanced might return fewer objects than
1332
+ # you indicate in this setting, even if more objects are available. If
1333
+ # there are more objects remaining, Shield Advanced will always also
1334
+ # return a `NextToken` value in the response.
1231
1335
  #
1232
- # This is a maximum value. Shield Advanced might return the results in
1233
- # smaller batches. That is, the number of objects returned could be less
1234
- # than `MaxResults`, even if there are still more objects yet to return.
1235
- # If there are more objects to return, Shield Advanced returns a value
1236
- # in `NextToken` that you can use in your next request, to get the next
1237
- # batch of objects.
1336
+ # The default setting is 20.
1238
1337
  #
1239
1338
  # @return [Types::ListAttacksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1240
1339
  #
@@ -1282,19 +1381,31 @@ module Aws::Shield
1282
1381
  # Retrieves the ProtectionGroup objects for the account.
1283
1382
  #
1284
1383
  # @option params [String] :next_token
1285
- # The next token value from a previous call to `ListProtectionGroups`.
1286
- # Pass null if this is the first call.
1384
+ # When you request a list of objects from Shield Advanced, if the
1385
+ # response does not include all of the remaining available objects,
1386
+ # Shield Advanced includes a `NextToken` value in the response. You can
1387
+ # retrieve the next batch of objects by requesting the list again and
1388
+ # providing the token that was returned by the prior call in your
1389
+ # request.
1390
+ #
1391
+ # You can indicate the maximum number of objects that you want Shield
1392
+ # Advanced to return for a single call with the `MaxResults` setting.
1393
+ # Shield Advanced will not return more than `MaxResults` objects, but
1394
+ # may return fewer, even if more objects are still available.
1395
+ #
1396
+ # Whenever more objects remain that Shield Advanced has not yet returned
1397
+ # to you, the response will include a `NextToken` value.
1398
+ #
1399
+ # On your first call to a list operation, leave this setting empty.
1287
1400
  #
1288
1401
  # @option params [Integer] :max_results
1289
- # The maximum number of ProtectionGroup objects to return. If you leave
1290
- # this blank, Shield Advanced returns the first 20 results.
1402
+ # The greatest number of objects that you want Shield Advanced to return
1403
+ # to the list request. Shield Advanced might return fewer objects than
1404
+ # you indicate in this setting, even if more objects are available. If
1405
+ # there are more objects remaining, Shield Advanced will always also
1406
+ # return a `NextToken` value in the response.
1291
1407
  #
1292
- # This is a maximum value. Shield Advanced might return the results in
1293
- # smaller batches. That is, the number of objects returned could be less
1294
- # than `MaxResults`, even if there are still more objects yet to return.
1295
- # If there are more objects to return, Shield Advanced returns a value
1296
- # in `NextToken` that you can use in your next request, to get the next
1297
- # batch of objects.
1408
+ # The default setting is 20.
1298
1409
  #
1299
1410
  # @return [Types::ListProtectionGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1300
1411
  #
@@ -1334,19 +1445,31 @@ module Aws::Shield
1334
1445
  # Lists all Protection objects for the account.
1335
1446
  #
1336
1447
  # @option params [String] :next_token
1337
- # The `ListProtectionsRequest.NextToken` value from a previous call to
1338
- # `ListProtections`. Pass null if this is the first call.
1448
+ # When you request a list of objects from Shield Advanced, if the
1449
+ # response does not include all of the remaining available objects,
1450
+ # Shield Advanced includes a `NextToken` value in the response. You can
1451
+ # retrieve the next batch of objects by requesting the list again and
1452
+ # providing the token that was returned by the prior call in your
1453
+ # request.
1454
+ #
1455
+ # You can indicate the maximum number of objects that you want Shield
1456
+ # Advanced to return for a single call with the `MaxResults` setting.
1457
+ # Shield Advanced will not return more than `MaxResults` objects, but
1458
+ # may return fewer, even if more objects are still available.
1459
+ #
1460
+ # Whenever more objects remain that Shield Advanced has not yet returned
1461
+ # to you, the response will include a `NextToken` value.
1462
+ #
1463
+ # On your first call to a list operation, leave this setting empty.
1339
1464
  #
1340
1465
  # @option params [Integer] :max_results
1341
- # The maximum number of Protection objects to return. If you leave this
1342
- # blank, Shield Advanced returns the first 20 results.
1466
+ # The greatest number of objects that you want Shield Advanced to return
1467
+ # to the list request. Shield Advanced might return fewer objects than
1468
+ # you indicate in this setting, even if more objects are available. If
1469
+ # there are more objects remaining, Shield Advanced will always also
1470
+ # return a `NextToken` value in the response.
1343
1471
  #
1344
- # This is a maximum value. Shield Advanced might return the results in
1345
- # smaller batches. That is, the number of objects returned could be less
1346
- # than `MaxResults`, even if there are still more objects yet to return.
1347
- # If there are more objects to return, Shield Advanced returns a value
1348
- # in `NextToken` that you can use in your next request, to get the next
1349
- # batch of objects.
1472
+ # The default setting is 20.
1350
1473
  #
1351
1474
  # @return [Types::ListProtectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1352
1475
  #
@@ -1371,6 +1494,7 @@ module Aws::Shield
1371
1494
  # resp.protections[0].health_check_ids #=> Array
1372
1495
  # resp.protections[0].health_check_ids[0] #=> String
1373
1496
  # resp.protections[0].protection_arn #=> String
1497
+ # resp.protections[0].application_layer_automatic_response_configuration.status #=> String, one of "ENABLED", "DISABLED"
1374
1498
  # resp.next_token #=> String
1375
1499
  #
1376
1500
  # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections AWS API Documentation
@@ -1390,19 +1514,31 @@ module Aws::Shield
1390
1514
  # example to update, delete, or describe it.
1391
1515
  #
1392
1516
  # @option params [String] :next_token
1393
- # The next token value from a previous call to
1394
- # `ListResourcesInProtectionGroup`. Pass null if this is the first call.
1517
+ # When you request a list of objects from Shield Advanced, if the
1518
+ # response does not include all of the remaining available objects,
1519
+ # Shield Advanced includes a `NextToken` value in the response. You can
1520
+ # retrieve the next batch of objects by requesting the list again and
1521
+ # providing the token that was returned by the prior call in your
1522
+ # request.
1523
+ #
1524
+ # You can indicate the maximum number of objects that you want Shield
1525
+ # Advanced to return for a single call with the `MaxResults` setting.
1526
+ # Shield Advanced will not return more than `MaxResults` objects, but
1527
+ # may return fewer, even if more objects are still available.
1528
+ #
1529
+ # Whenever more objects remain that Shield Advanced has not yet returned
1530
+ # to you, the response will include a `NextToken` value.
1531
+ #
1532
+ # On your first call to a list operation, leave this setting empty.
1395
1533
  #
1396
1534
  # @option params [Integer] :max_results
1397
- # The maximum number of resource ARN objects to return. If you leave
1398
- # this blank, Shield Advanced returns the first 20 results.
1535
+ # The greatest number of objects that you want Shield Advanced to return
1536
+ # to the list request. Shield Advanced might return fewer objects than
1537
+ # you indicate in this setting, even if more objects are available. If
1538
+ # there are more objects remaining, Shield Advanced will always also
1539
+ # return a `NextToken` value in the response.
1399
1540
  #
1400
- # This is a maximum value. Shield Advanced might return the results in
1401
- # smaller batches. That is, the number of objects returned could be less
1402
- # than `MaxResults`, even if there are still more objects yet to return.
1403
- # If there are more objects to return, Shield Advanced returns a value
1404
- # in `NextToken` that you can use in your next request, to get the next
1405
- # batch of objects.
1541
+ # The default setting is 20.
1406
1542
  #
1407
1543
  # @return [Types::ListResourcesInProtectionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1408
1544
  #
@@ -1524,6 +1660,44 @@ module Aws::Shield
1524
1660
  req.send_request(options)
1525
1661
  end
1526
1662
 
1663
+ # Updates an existing Shield Advanced automatic application layer DDoS
1664
+ # mitigation configuration for the specified resource.
1665
+ #
1666
+ # @option params [required, String] :resource_arn
1667
+ # The ARN (Amazon Resource Name) of the resource.
1668
+ #
1669
+ # @option params [required, Types::ResponseAction] :action
1670
+ # Specifies the action setting that Shield Advanced should use in the
1671
+ # WAF rules that it creates on behalf of the protected resource in
1672
+ # response to DDoS attacks. You specify this as part of the
1673
+ # configuration for the automatic application layer DDoS mitigation
1674
+ # feature, when you enable or update automatic mitigation. Shield
1675
+ # Advanced creates the WAF rules in a Shield Advanced-managed rule
1676
+ # group, inside the web ACL that you have associated with the resource.
1677
+ #
1678
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1679
+ #
1680
+ # @example Request syntax with placeholder values
1681
+ #
1682
+ # resp = client.update_application_layer_automatic_response({
1683
+ # resource_arn: "ResourceArn", # required
1684
+ # action: { # required
1685
+ # block: {
1686
+ # },
1687
+ # count: {
1688
+ # },
1689
+ # },
1690
+ # })
1691
+ #
1692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateApplicationLayerAutomaticResponse AWS API Documentation
1693
+ #
1694
+ # @overload update_application_layer_automatic_response(params = {})
1695
+ # @param [Hash] params ({})
1696
+ def update_application_layer_automatic_response(params = {}, options = {})
1697
+ req = build_request(:update_application_layer_automatic_response, params)
1698
+ req.send_request(options)
1699
+ end
1700
+
1527
1701
  # Updates the details of the list of email addresses and phone numbers
1528
1702
  # that the Shield Response Team (SRT) can use to contact you if you have
1529
1703
  # proactive engagement enabled, for escalations to the SRT and to
@@ -1668,7 +1842,7 @@ module Aws::Shield
1668
1842
  params: params,
1669
1843
  config: config)
1670
1844
  context[:gem_name] = 'aws-sdk-shield'
1671
- context[:gem_version] = '1.43.0'
1845
+ context[:gem_version] = '1.47.0'
1672
1846
  Seahorse::Client::Request.new(handlers, context)
1673
1847
  end
1674
1848