aws-sdk-shield 1.24.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-shield.rb +3 -1
- data/lib/aws-sdk-shield/client.rb +123 -29
- data/lib/aws-sdk-shield/client_api.rb +78 -0
- data/lib/aws-sdk-shield/errors.rb +2 -0
- data/lib/aws-sdk-shield/resource.rb +2 -0
- data/lib/aws-sdk-shield/types.rb +162 -15
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a45988d874990055ef49cd9ad5da7d733be1bd6a150c19a30bf59a4fbbf237
|
4
|
+
data.tar.gz: 12fd63a32d0f0b30dd2b5932180a2ee3d8ff93054af13b132c8e81bc72bd71fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a630e0a4bd3cfe9001b5207e4f9821412ceb4f4a8233a3a1519485865503433ccccd82aec3b04578779d609796ccd2b51e6d5d7364ffdede7f1ad3a7b67491bb
|
7
|
+
data.tar.gz: 00bd8b5e04a314b90a3ea86c73f563e2594e14192346b56934a36688a051df216e6372b2b45fcc973ffbe71bb441a16e68552f28c550ebacc9e3e4ce77f3a28d
|
data/lib/aws-sdk-shield.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-shield/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Shield
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.29.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Shield
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::Shield
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Shield
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -318,7 +322,7 @@ module Aws::Shield
|
|
318
322
|
|
319
323
|
# @!group API Operations
|
320
324
|
|
321
|
-
# Authorizes the DDoS Response
|
325
|
+
# Authorizes the DDoS Response Team (DRT) to access the specified Amazon
|
322
326
|
# S3 bucket containing your AWS WAF logs. You can associate up to 10
|
323
327
|
# Amazon S3 buckets with your subscription.
|
324
328
|
#
|
@@ -351,7 +355,7 @@ module Aws::Shield
|
|
351
355
|
req.send_request(options)
|
352
356
|
end
|
353
357
|
|
354
|
-
# Authorizes the DDoS Response
|
358
|
+
# Authorizes the DDoS Response Team (DRT), using the specified role, to
|
355
359
|
# access your AWS account to assist with DDoS attack mitigation during
|
356
360
|
# potential attacks. This enables the DRT to inspect your AWS WAF
|
357
361
|
# configuration and create or update AWS WAF rules and web ACLs.
|
@@ -463,6 +467,63 @@ module Aws::Shield
|
|
463
467
|
req.send_request(options)
|
464
468
|
end
|
465
469
|
|
470
|
+
# Initializes proactive engagement and sets the list of contacts for the
|
471
|
+
# DDoS Response Team (DRT) to use. You must provide at least one phone
|
472
|
+
# number in the emergency contact list.
|
473
|
+
#
|
474
|
+
# After you have initialized proactive engagement using this call, to
|
475
|
+
# disable or enable proactive engagement, use the calls
|
476
|
+
# `DisableProactiveEngagement` and `EnableProactiveEngagement`.
|
477
|
+
#
|
478
|
+
# <note markdown="1"> This call defines the list of email addresses and phone numbers that
|
479
|
+
# the DDoS Response Team (DRT) can use to contact you for escalations to
|
480
|
+
# the DRT and to initiate proactive customer support.
|
481
|
+
#
|
482
|
+
# The contacts that you provide in the request replace any contacts that
|
483
|
+
# were already defined. If you already have contacts defined and want to
|
484
|
+
# use them, retrieve the list using `DescribeEmergencyContactSettings`
|
485
|
+
# and then provide it to this call.
|
486
|
+
#
|
487
|
+
# </note>
|
488
|
+
#
|
489
|
+
# @option params [required, Array<Types::EmergencyContact>] :emergency_contact_list
|
490
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
491
|
+
# Team (DRT) can use to contact you for escalations to the DRT and to
|
492
|
+
# initiate proactive customer support.
|
493
|
+
#
|
494
|
+
# To enable proactive engagement, the contact list must include at least
|
495
|
+
# one phone number.
|
496
|
+
#
|
497
|
+
# <note markdown="1"> The contacts that you provide here replace any contacts that were
|
498
|
+
# already defined. If you already have contacts defined and want to use
|
499
|
+
# them, retrieve the list using `DescribeEmergencyContactSettings` and
|
500
|
+
# then provide it here.
|
501
|
+
#
|
502
|
+
# </note>
|
503
|
+
#
|
504
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
505
|
+
#
|
506
|
+
# @example Request syntax with placeholder values
|
507
|
+
#
|
508
|
+
# resp = client.associate_proactive_engagement_details({
|
509
|
+
# emergency_contact_list: [ # required
|
510
|
+
# {
|
511
|
+
# email_address: "EmailAddress", # required
|
512
|
+
# phone_number: "PhoneNumber",
|
513
|
+
# contact_notes: "ContactNotes",
|
514
|
+
# },
|
515
|
+
# ],
|
516
|
+
# })
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateProactiveEngagementDetails AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload associate_proactive_engagement_details(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def associate_proactive_engagement_details(params = {}, options = {})
|
523
|
+
req = build_request(:associate_proactive_engagement_details, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
466
527
|
# Enables AWS Shield Advanced for a specific AWS resource. The resource
|
467
528
|
# can be an Amazon CloudFront distribution, Elastic Load Balancing load
|
468
529
|
# balancer, AWS Global Accelerator accelerator, Elastic IP Address, or
|
@@ -533,26 +594,11 @@ module Aws::Shield
|
|
533
594
|
|
534
595
|
# Activates AWS Shield Advanced for an account.
|
535
596
|
#
|
536
|
-
# As part of this request you can specify `EmergencySettings` that
|
537
|
-
# automaticaly grant the DDoS response team (DRT) needed permissions to
|
538
|
-
# assist you during a suspected DDoS attack. For more information see
|
539
|
-
# [Authorize the DDoS Response Team to Create Rules and Web ACLs on Your
|
540
|
-
# Behalf][1].
|
541
|
-
#
|
542
|
-
# To use the services of the DRT, you must be subscribed to the
|
543
|
-
# [Business Support plan][2] or the [Enterprise Support plan][3].
|
544
|
-
#
|
545
597
|
# When you initally create a subscription, your subscription is set to
|
546
598
|
# be automatically renewed at the end of the existing subscription
|
547
599
|
# period. You can change this by submitting an `UpdateSubscription`
|
548
600
|
# request.
|
549
601
|
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/authorize-DRT.html
|
553
|
-
# [2]: https://aws.amazon.com/premiumsupport/business-support/
|
554
|
-
# [3]: https://aws.amazon.com/premiumsupport/enterprise-support/
|
555
|
-
#
|
556
602
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
557
603
|
#
|
558
604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription AWS API Documentation
|
@@ -669,7 +715,7 @@ module Aws::Shield
|
|
669
715
|
end
|
670
716
|
|
671
717
|
# Returns the current role and list of Amazon S3 log buckets used by the
|
672
|
-
# DDoS Response
|
718
|
+
# DDoS Response Team (DRT) to access your AWS account while assisting
|
673
719
|
# with attack mitigation.
|
674
720
|
#
|
675
721
|
# @return [Types::DescribeDRTAccessResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -692,8 +738,10 @@ module Aws::Shield
|
|
692
738
|
req.send_request(options)
|
693
739
|
end
|
694
740
|
|
695
|
-
#
|
696
|
-
#
|
741
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
742
|
+
# Team (DRT) can use to contact you if you have proactive engagement
|
743
|
+
# enabled, for escalations to the DRT and to initiate proactive customer
|
744
|
+
# support.
|
697
745
|
#
|
698
746
|
# @return [Types::DescribeEmergencyContactSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
699
747
|
#
|
@@ -703,6 +751,8 @@ module Aws::Shield
|
|
703
751
|
#
|
704
752
|
# resp.emergency_contact_list #=> Array
|
705
753
|
# resp.emergency_contact_list[0].email_address #=> String
|
754
|
+
# resp.emergency_contact_list[0].phone_number #=> String
|
755
|
+
# resp.emergency_contact_list[0].contact_notes #=> String
|
706
756
|
#
|
707
757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeEmergencyContactSettings AWS API Documentation
|
708
758
|
#
|
@@ -770,6 +820,7 @@ module Aws::Shield
|
|
770
820
|
# resp.subscription.limits #=> Array
|
771
821
|
# resp.subscription.limits[0].type #=> String
|
772
822
|
# resp.subscription.limits[0].max #=> Integer
|
823
|
+
# resp.subscription.proactive_engagement_status #=> String, one of "ENABLED", "DISABLED", "PENDING"
|
773
824
|
#
|
774
825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription AWS API Documentation
|
775
826
|
#
|
@@ -780,7 +831,22 @@ module Aws::Shield
|
|
780
831
|
req.send_request(options)
|
781
832
|
end
|
782
833
|
|
783
|
-
# Removes the DDoS Response
|
834
|
+
# Removes authorization from the DDoS Response Team (DRT) to notify
|
835
|
+
# contacts about escalations to the DRT and to initiate proactive
|
836
|
+
# customer support.
|
837
|
+
#
|
838
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
839
|
+
#
|
840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableProactiveEngagement AWS API Documentation
|
841
|
+
#
|
842
|
+
# @overload disable_proactive_engagement(params = {})
|
843
|
+
# @param [Hash] params ({})
|
844
|
+
def disable_proactive_engagement(params = {}, options = {})
|
845
|
+
req = build_request(:disable_proactive_engagement, params)
|
846
|
+
req.send_request(options)
|
847
|
+
end
|
848
|
+
|
849
|
+
# Removes the DDoS Response Team's (DRT) access to the specified Amazon
|
784
850
|
# S3 bucket containing your AWS WAF logs.
|
785
851
|
#
|
786
852
|
# To make a `DisassociateDRTLogBucket` request, you must be subscribed
|
@@ -815,7 +881,7 @@ module Aws::Shield
|
|
815
881
|
req.send_request(options)
|
816
882
|
end
|
817
883
|
|
818
|
-
# Removes the DDoS Response
|
884
|
+
# Removes the DDoS Response Team's (DRT) access to your AWS account.
|
819
885
|
#
|
820
886
|
# To make a `DisassociateDRTRole` request, you must be subscribed to the
|
821
887
|
# [Business Support plan][1] or the [Enterprise Support plan][2].
|
@@ -880,6 +946,21 @@ module Aws::Shield
|
|
880
946
|
req.send_request(options)
|
881
947
|
end
|
882
948
|
|
949
|
+
# Authorizes the DDoS Response Team (DRT) to use email and phone to
|
950
|
+
# notify contacts about escalations to the DRT and to initiate proactive
|
951
|
+
# customer support.
|
952
|
+
#
|
953
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
954
|
+
#
|
955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagement AWS API Documentation
|
956
|
+
#
|
957
|
+
# @overload enable_proactive_engagement(params = {})
|
958
|
+
# @param [Hash] params ({})
|
959
|
+
def enable_proactive_engagement(params = {}, options = {})
|
960
|
+
req = build_request(:enable_proactive_engagement, params)
|
961
|
+
req.send_request(options)
|
962
|
+
end
|
963
|
+
|
883
964
|
# Returns the `SubscriptionState`, either `Active` or `Inactive`.
|
884
965
|
#
|
885
966
|
# @return [Types::GetSubscriptionStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -947,6 +1028,8 @@ module Aws::Shield
|
|
947
1028
|
# * {Types::ListAttacksResponse#attack_summaries #attack_summaries} => Array<Types::AttackSummary>
|
948
1029
|
# * {Types::ListAttacksResponse#next_token #next_token} => String
|
949
1030
|
#
|
1031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1032
|
+
#
|
950
1033
|
# @example Request syntax with placeholder values
|
951
1034
|
#
|
952
1035
|
# resp = client.list_attacks({
|
@@ -1004,6 +1087,8 @@ module Aws::Shield
|
|
1004
1087
|
# * {Types::ListProtectionsResponse#protections #protections} => Array<Types::Protection>
|
1005
1088
|
# * {Types::ListProtectionsResponse#next_token #next_token} => String
|
1006
1089
|
#
|
1090
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1091
|
+
#
|
1007
1092
|
# @example Request syntax with placeholder values
|
1008
1093
|
#
|
1009
1094
|
# resp = client.list_protections({
|
@@ -1030,12 +1115,19 @@ module Aws::Shield
|
|
1030
1115
|
req.send_request(options)
|
1031
1116
|
end
|
1032
1117
|
|
1033
|
-
# Updates the details of the list of email addresses
|
1034
|
-
# use to contact you
|
1118
|
+
# Updates the details of the list of email addresses and phone numbers
|
1119
|
+
# that the DDoS Response Team (DRT) can use to contact you if you have
|
1120
|
+
# proactive engagement enabled, for escalations to the DRT and to
|
1121
|
+
# initiate proactive customer support.
|
1035
1122
|
#
|
1036
1123
|
# @option params [Array<Types::EmergencyContact>] :emergency_contact_list
|
1037
|
-
# A list of email addresses
|
1038
|
-
#
|
1124
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
1125
|
+
# Team (DRT) can use to contact you if you have proactive engagement
|
1126
|
+
# enabled, for escalations to the DRT and to initiate proactive customer
|
1127
|
+
# support.
|
1128
|
+
#
|
1129
|
+
# If you have proactive engagement enabled, the contact list must
|
1130
|
+
# include at least one phone number.
|
1039
1131
|
#
|
1040
1132
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1041
1133
|
#
|
@@ -1045,6 +1137,8 @@ module Aws::Shield
|
|
1045
1137
|
# emergency_contact_list: [
|
1046
1138
|
# {
|
1047
1139
|
# email_address: "EmailAddress", # required
|
1140
|
+
# phone_number: "PhoneNumber",
|
1141
|
+
# contact_notes: "ContactNotes",
|
1048
1142
|
# },
|
1049
1143
|
# ],
|
1050
1144
|
# })
|
@@ -1099,7 +1193,7 @@ module Aws::Shield
|
|
1099
1193
|
params: params,
|
1100
1194
|
config: config)
|
1101
1195
|
context[:gem_name] = 'aws-sdk-shield'
|
1102
|
-
context[:gem_version] = '1.
|
1196
|
+
context[:gem_version] = '1.29.0'
|
1103
1197
|
Seahorse::Client::Request.new(handlers, context)
|
1104
1198
|
end
|
1105
1199
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -19,6 +21,8 @@ module Aws::Shield
|
|
19
21
|
AssociateDRTRoleResponse = Shapes::StructureShape.new(name: 'AssociateDRTRoleResponse')
|
20
22
|
AssociateHealthCheckRequest = Shapes::StructureShape.new(name: 'AssociateHealthCheckRequest')
|
21
23
|
AssociateHealthCheckResponse = Shapes::StructureShape.new(name: 'AssociateHealthCheckResponse')
|
24
|
+
AssociateProactiveEngagementDetailsRequest = Shapes::StructureShape.new(name: 'AssociateProactiveEngagementDetailsRequest')
|
25
|
+
AssociateProactiveEngagementDetailsResponse = Shapes::StructureShape.new(name: 'AssociateProactiveEngagementDetailsResponse')
|
22
26
|
AttackDetail = Shapes::StructureShape.new(name: 'AttackDetail')
|
23
27
|
AttackId = Shapes::StringShape.new(name: 'AttackId')
|
24
28
|
AttackLayer = Shapes::StringShape.new(name: 'AttackLayer')
|
@@ -31,6 +35,7 @@ module Aws::Shield
|
|
31
35
|
AttackVectorDescription = Shapes::StructureShape.new(name: 'AttackVectorDescription')
|
32
36
|
AttackVectorDescriptionList = Shapes::ListShape.new(name: 'AttackVectorDescriptionList')
|
33
37
|
AutoRenew = Shapes::StringShape.new(name: 'AutoRenew')
|
38
|
+
ContactNotes = Shapes::StringShape.new(name: 'ContactNotes')
|
34
39
|
Contributor = Shapes::StructureShape.new(name: 'Contributor')
|
35
40
|
CreateProtectionRequest = Shapes::StructureShape.new(name: 'CreateProtectionRequest')
|
36
41
|
CreateProtectionResponse = Shapes::StructureShape.new(name: 'CreateProtectionResponse')
|
@@ -50,6 +55,8 @@ module Aws::Shield
|
|
50
55
|
DescribeProtectionResponse = Shapes::StructureShape.new(name: 'DescribeProtectionResponse')
|
51
56
|
DescribeSubscriptionRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionRequest')
|
52
57
|
DescribeSubscriptionResponse = Shapes::StructureShape.new(name: 'DescribeSubscriptionResponse')
|
58
|
+
DisableProactiveEngagementRequest = Shapes::StructureShape.new(name: 'DisableProactiveEngagementRequest')
|
59
|
+
DisableProactiveEngagementResponse = Shapes::StructureShape.new(name: 'DisableProactiveEngagementResponse')
|
53
60
|
DisassociateDRTLogBucketRequest = Shapes::StructureShape.new(name: 'DisassociateDRTLogBucketRequest')
|
54
61
|
DisassociateDRTLogBucketResponse = Shapes::StructureShape.new(name: 'DisassociateDRTLogBucketResponse')
|
55
62
|
DisassociateDRTRoleRequest = Shapes::StructureShape.new(name: 'DisassociateDRTRoleRequest')
|
@@ -61,6 +68,8 @@ module Aws::Shield
|
|
61
68
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
62
69
|
EmergencyContact = Shapes::StructureShape.new(name: 'EmergencyContact')
|
63
70
|
EmergencyContactList = Shapes::ListShape.new(name: 'EmergencyContactList')
|
71
|
+
EnableProactiveEngagementRequest = Shapes::StructureShape.new(name: 'EnableProactiveEngagementRequest')
|
72
|
+
EnableProactiveEngagementResponse = Shapes::StructureShape.new(name: 'EnableProactiveEngagementResponse')
|
64
73
|
GetSubscriptionStateRequest = Shapes::StructureShape.new(name: 'GetSubscriptionStateRequest')
|
65
74
|
GetSubscriptionStateResponse = Shapes::StructureShape.new(name: 'GetSubscriptionStateResponse')
|
66
75
|
HealthCheckArn = Shapes::StringShape.new(name: 'HealthCheckArn')
|
@@ -90,6 +99,8 @@ module Aws::Shield
|
|
90
99
|
MitigationList = Shapes::ListShape.new(name: 'MitigationList')
|
91
100
|
NoAssociatedRoleException = Shapes::StructureShape.new(name: 'NoAssociatedRoleException')
|
92
101
|
OptimisticLockException = Shapes::StructureShape.new(name: 'OptimisticLockException')
|
102
|
+
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
103
|
+
ProactiveEngagementStatus = Shapes::StringShape.new(name: 'ProactiveEngagementStatus')
|
93
104
|
Protection = Shapes::StructureShape.new(name: 'Protection')
|
94
105
|
ProtectionId = Shapes::StringShape.new(name: 'ProtectionId')
|
95
106
|
ProtectionName = Shapes::StringShape.new(name: 'ProtectionName')
|
@@ -142,6 +153,11 @@ module Aws::Shield
|
|
142
153
|
|
143
154
|
AssociateHealthCheckResponse.struct_class = Types::AssociateHealthCheckResponse
|
144
155
|
|
156
|
+
AssociateProactiveEngagementDetailsRequest.add_member(:emergency_contact_list, Shapes::ShapeRef.new(shape: EmergencyContactList, required: true, location_name: "EmergencyContactList"))
|
157
|
+
AssociateProactiveEngagementDetailsRequest.struct_class = Types::AssociateProactiveEngagementDetailsRequest
|
158
|
+
|
159
|
+
AssociateProactiveEngagementDetailsResponse.struct_class = Types::AssociateProactiveEngagementDetailsResponse
|
160
|
+
|
145
161
|
AttackDetail.add_member(:attack_id, Shapes::ShapeRef.new(shape: AttackId, location_name: "AttackId"))
|
146
162
|
AttackDetail.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
147
163
|
AttackDetail.add_member(:sub_resources, Shapes::ShapeRef.new(shape: SubResourceSummaryList, location_name: "SubResources"))
|
@@ -228,6 +244,10 @@ module Aws::Shield
|
|
228
244
|
DescribeSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, location_name: "Subscription"))
|
229
245
|
DescribeSubscriptionResponse.struct_class = Types::DescribeSubscriptionResponse
|
230
246
|
|
247
|
+
DisableProactiveEngagementRequest.struct_class = Types::DisableProactiveEngagementRequest
|
248
|
+
|
249
|
+
DisableProactiveEngagementResponse.struct_class = Types::DisableProactiveEngagementResponse
|
250
|
+
|
231
251
|
DisassociateDRTLogBucketRequest.add_member(:log_bucket, Shapes::ShapeRef.new(shape: LogBucket, required: true, location_name: "LogBucket"))
|
232
252
|
DisassociateDRTLogBucketRequest.struct_class = Types::DisassociateDRTLogBucketRequest
|
233
253
|
|
@@ -244,10 +264,16 @@ module Aws::Shield
|
|
244
264
|
DisassociateHealthCheckResponse.struct_class = Types::DisassociateHealthCheckResponse
|
245
265
|
|
246
266
|
EmergencyContact.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
267
|
+
EmergencyContact.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
268
|
+
EmergencyContact.add_member(:contact_notes, Shapes::ShapeRef.new(shape: ContactNotes, location_name: "ContactNotes"))
|
247
269
|
EmergencyContact.struct_class = Types::EmergencyContact
|
248
270
|
|
249
271
|
EmergencyContactList.member = Shapes::ShapeRef.new(shape: EmergencyContact)
|
250
272
|
|
273
|
+
EnableProactiveEngagementRequest.struct_class = Types::EnableProactiveEngagementRequest
|
274
|
+
|
275
|
+
EnableProactiveEngagementResponse.struct_class = Types::EnableProactiveEngagementResponse
|
276
|
+
|
251
277
|
GetSubscriptionStateRequest.struct_class = Types::GetSubscriptionStateRequest
|
252
278
|
|
253
279
|
GetSubscriptionStateResponse.add_member(:subscription_state, Shapes::ShapeRef.new(shape: SubscriptionState, required: true, location_name: "SubscriptionState"))
|
@@ -345,6 +371,7 @@ module Aws::Shield
|
|
345
371
|
Subscription.add_member(:time_commitment_in_seconds, Shapes::ShapeRef.new(shape: DurationInSeconds, location_name: "TimeCommitmentInSeconds"))
|
346
372
|
Subscription.add_member(:auto_renew, Shapes::ShapeRef.new(shape: AutoRenew, location_name: "AutoRenew"))
|
347
373
|
Subscription.add_member(:limits, Shapes::ShapeRef.new(shape: Limits, location_name: "Limits"))
|
374
|
+
Subscription.add_member(:proactive_engagement_status, Shapes::ShapeRef.new(shape: ProactiveEngagementStatus, location_name: "ProactiveEngagementStatus"))
|
348
375
|
Subscription.struct_class = Types::Subscription
|
349
376
|
|
350
377
|
SummarizedAttackVector.add_member(:vector_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VectorType"))
|
@@ -441,6 +468,19 @@ module Aws::Shield
|
|
441
468
|
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
442
469
|
end)
|
443
470
|
|
471
|
+
api.add_operation(:associate_proactive_engagement_details, Seahorse::Model::Operation.new.tap do |o|
|
472
|
+
o.name = "AssociateProactiveEngagementDetails"
|
473
|
+
o.http_method = "POST"
|
474
|
+
o.http_request_uri = "/"
|
475
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateProactiveEngagementDetailsRequest)
|
476
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateProactiveEngagementDetailsResponse)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
482
|
+
end)
|
483
|
+
|
444
484
|
api.add_operation(:create_protection, Seahorse::Model::Operation.new.tap do |o|
|
445
485
|
o.name = "CreateProtection"
|
446
486
|
o.http_method = "POST"
|
@@ -540,6 +580,19 @@ module Aws::Shield
|
|
540
580
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
541
581
|
end)
|
542
582
|
|
583
|
+
api.add_operation(:disable_proactive_engagement, Seahorse::Model::Operation.new.tap do |o|
|
584
|
+
o.name = "DisableProactiveEngagement"
|
585
|
+
o.http_method = "POST"
|
586
|
+
o.http_request_uri = "/"
|
587
|
+
o.input = Shapes::ShapeRef.new(shape: DisableProactiveEngagementRequest)
|
588
|
+
o.output = Shapes::ShapeRef.new(shape: DisableProactiveEngagementResponse)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
594
|
+
end)
|
595
|
+
|
543
596
|
api.add_operation(:disassociate_drt_log_bucket, Seahorse::Model::Operation.new.tap do |o|
|
544
597
|
o.name = "DisassociateDRTLogBucket"
|
545
598
|
o.http_method = "POST"
|
@@ -578,6 +631,19 @@ module Aws::Shield
|
|
578
631
|
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
579
632
|
end)
|
580
633
|
|
634
|
+
api.add_operation(:enable_proactive_engagement, Seahorse::Model::Operation.new.tap do |o|
|
635
|
+
o.name = "EnableProactiveEngagement"
|
636
|
+
o.http_method = "POST"
|
637
|
+
o.http_request_uri = "/"
|
638
|
+
o.input = Shapes::ShapeRef.new(shape: EnableProactiveEngagementRequest)
|
639
|
+
o.output = Shapes::ShapeRef.new(shape: EnableProactiveEngagementResponse)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
|
645
|
+
end)
|
646
|
+
|
581
647
|
api.add_operation(:get_subscription_state, Seahorse::Model::Operation.new.tap do |o|
|
582
648
|
o.name = "GetSubscriptionState"
|
583
649
|
o.http_method = "POST"
|
@@ -596,6 +662,12 @@ module Aws::Shield
|
|
596
662
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
597
663
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
598
664
|
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
665
|
+
o[:pager] = Aws::Pager.new(
|
666
|
+
limit_key: "max_results",
|
667
|
+
tokens: {
|
668
|
+
"next_token" => "next_token"
|
669
|
+
}
|
670
|
+
)
|
599
671
|
end)
|
600
672
|
|
601
673
|
api.add_operation(:list_protections, Seahorse::Model::Operation.new.tap do |o|
|
@@ -607,6 +679,12 @@ module Aws::Shield
|
|
607
679
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
608
680
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
609
681
|
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
682
|
+
o[:pager] = Aws::Pager.new(
|
683
|
+
limit_key: "max_results",
|
684
|
+
tokens: {
|
685
|
+
"next_token" => "next_token"
|
686
|
+
}
|
687
|
+
)
|
610
688
|
end)
|
611
689
|
|
612
690
|
api.add_operation(:update_emergency_contact_settings, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-shield/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -19,12 +21,13 @@ module Aws::Shield
|
|
19
21
|
#
|
20
22
|
class AccessDeniedException < Struct.new(
|
21
23
|
:message)
|
24
|
+
SENSITIVE = []
|
22
25
|
include Aws::Structure
|
23
26
|
end
|
24
27
|
|
25
|
-
# In order to grant the necessary access to the DDoS Response Team
|
26
|
-
# user submitting the request must have the `iam:PassRole`
|
27
|
-
# This error indicates the user did not have the appropriate
|
28
|
+
# In order to grant the necessary access to the DDoS Response Team
|
29
|
+
# (DRT), the user submitting the request must have the `iam:PassRole`
|
30
|
+
# permission. This error indicates the user did not have the appropriate
|
28
31
|
# permissions. For more information, see [Granting a User Permissions to
|
29
32
|
# Pass a Role to an AWS Service][1].
|
30
33
|
#
|
@@ -39,6 +42,7 @@ module Aws::Shield
|
|
39
42
|
#
|
40
43
|
class AccessDeniedForDependencyException < Struct.new(
|
41
44
|
:message)
|
45
|
+
SENSITIVE = []
|
42
46
|
include Aws::Structure
|
43
47
|
end
|
44
48
|
|
@@ -57,6 +61,7 @@ module Aws::Shield
|
|
57
61
|
#
|
58
62
|
class AssociateDRTLogBucketRequest < Struct.new(
|
59
63
|
:log_bucket)
|
64
|
+
SENSITIVE = []
|
60
65
|
include Aws::Structure
|
61
66
|
end
|
62
67
|
|
@@ -89,6 +94,7 @@ module Aws::Shield
|
|
89
94
|
#
|
90
95
|
class AssociateDRTRoleRequest < Struct.new(
|
91
96
|
:role_arn)
|
97
|
+
SENSITIVE = []
|
92
98
|
include Aws::Structure
|
93
99
|
end
|
94
100
|
|
@@ -119,6 +125,7 @@ module Aws::Shield
|
|
119
125
|
class AssociateHealthCheckRequest < Struct.new(
|
120
126
|
:protection_id,
|
121
127
|
:health_check_arn)
|
128
|
+
SENSITIVE = []
|
122
129
|
include Aws::Structure
|
123
130
|
end
|
124
131
|
|
@@ -126,6 +133,47 @@ module Aws::Shield
|
|
126
133
|
#
|
127
134
|
class AssociateHealthCheckResponse < Aws::EmptyStructure; end
|
128
135
|
|
136
|
+
# @note When making an API call, you may pass AssociateProactiveEngagementDetailsRequest
|
137
|
+
# data as a hash:
|
138
|
+
#
|
139
|
+
# {
|
140
|
+
# emergency_contact_list: [ # required
|
141
|
+
# {
|
142
|
+
# email_address: "EmailAddress", # required
|
143
|
+
# phone_number: "PhoneNumber",
|
144
|
+
# contact_notes: "ContactNotes",
|
145
|
+
# },
|
146
|
+
# ],
|
147
|
+
# }
|
148
|
+
#
|
149
|
+
# @!attribute [rw] emergency_contact_list
|
150
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
151
|
+
# Team (DRT) can use to contact you for escalations to the DRT and to
|
152
|
+
# initiate proactive customer support.
|
153
|
+
#
|
154
|
+
# To enable proactive engagement, the contact list must include at
|
155
|
+
# least one phone number.
|
156
|
+
#
|
157
|
+
# <note markdown="1"> The contacts that you provide here replace any contacts that were
|
158
|
+
# already defined. If you already have contacts defined and want to
|
159
|
+
# use them, retrieve the list using `DescribeEmergencyContactSettings`
|
160
|
+
# and then provide it here.
|
161
|
+
#
|
162
|
+
# </note>
|
163
|
+
# @return [Array<Types::EmergencyContact>]
|
164
|
+
#
|
165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateProactiveEngagementDetailsRequest AWS API Documentation
|
166
|
+
#
|
167
|
+
class AssociateProactiveEngagementDetailsRequest < Struct.new(
|
168
|
+
:emergency_contact_list)
|
169
|
+
SENSITIVE = []
|
170
|
+
include Aws::Structure
|
171
|
+
end
|
172
|
+
|
173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateProactiveEngagementDetailsResponse AWS API Documentation
|
174
|
+
#
|
175
|
+
class AssociateProactiveEngagementDetailsResponse < Aws::EmptyStructure; end
|
176
|
+
|
129
177
|
# The details of a DDoS attack.
|
130
178
|
#
|
131
179
|
# @!attribute [rw] attack_id
|
@@ -183,6 +231,7 @@ module Aws::Shield
|
|
183
231
|
:attack_counters,
|
184
232
|
:attack_properties,
|
185
233
|
:mitigations)
|
234
|
+
SENSITIVE = []
|
186
235
|
include Aws::Structure
|
187
236
|
end
|
188
237
|
|
@@ -223,6 +272,7 @@ module Aws::Shield
|
|
223
272
|
:top_contributors,
|
224
273
|
:unit,
|
225
274
|
:total)
|
275
|
+
SENSITIVE = []
|
226
276
|
include Aws::Structure
|
227
277
|
end
|
228
278
|
|
@@ -266,6 +316,7 @@ module Aws::Shield
|
|
266
316
|
:start_time,
|
267
317
|
:end_time,
|
268
318
|
:attack_vectors)
|
319
|
+
SENSITIVE = []
|
269
320
|
include Aws::Structure
|
270
321
|
end
|
271
322
|
|
@@ -315,6 +366,7 @@ module Aws::Shield
|
|
315
366
|
#
|
316
367
|
class AttackVectorDescription < Struct.new(
|
317
368
|
:vector_type)
|
369
|
+
SENSITIVE = []
|
318
370
|
include Aws::Structure
|
319
371
|
end
|
320
372
|
|
@@ -337,6 +389,7 @@ module Aws::Shield
|
|
337
389
|
class Contributor < Struct.new(
|
338
390
|
:name,
|
339
391
|
:value)
|
392
|
+
SENSITIVE = []
|
340
393
|
include Aws::Structure
|
341
394
|
end
|
342
395
|
|
@@ -384,6 +437,7 @@ module Aws::Shield
|
|
384
437
|
class CreateProtectionRequest < Struct.new(
|
385
438
|
:name,
|
386
439
|
:resource_arn)
|
440
|
+
SENSITIVE = []
|
387
441
|
include Aws::Structure
|
388
442
|
end
|
389
443
|
|
@@ -396,6 +450,7 @@ module Aws::Shield
|
|
396
450
|
#
|
397
451
|
class CreateProtectionResponse < Struct.new(
|
398
452
|
:protection_id)
|
453
|
+
SENSITIVE = []
|
399
454
|
include Aws::Structure
|
400
455
|
end
|
401
456
|
|
@@ -424,6 +479,7 @@ module Aws::Shield
|
|
424
479
|
#
|
425
480
|
class DeleteProtectionRequest < Struct.new(
|
426
481
|
:protection_id)
|
482
|
+
SENSITIVE = []
|
427
483
|
include Aws::Structure
|
428
484
|
end
|
429
485
|
|
@@ -456,6 +512,7 @@ module Aws::Shield
|
|
456
512
|
#
|
457
513
|
class DescribeAttackRequest < Struct.new(
|
458
514
|
:attack_id)
|
515
|
+
SENSITIVE = []
|
459
516
|
include Aws::Structure
|
460
517
|
end
|
461
518
|
|
@@ -467,6 +524,7 @@ module Aws::Shield
|
|
467
524
|
#
|
468
525
|
class DescribeAttackResponse < Struct.new(
|
469
526
|
:attack)
|
527
|
+
SENSITIVE = []
|
470
528
|
include Aws::Structure
|
471
529
|
end
|
472
530
|
|
@@ -490,6 +548,7 @@ module Aws::Shield
|
|
490
548
|
class DescribeDRTAccessResponse < Struct.new(
|
491
549
|
:role_arn,
|
492
550
|
:log_bucket_list)
|
551
|
+
SENSITIVE = []
|
493
552
|
include Aws::Structure
|
494
553
|
end
|
495
554
|
|
@@ -500,14 +559,17 @@ module Aws::Shield
|
|
500
559
|
class DescribeEmergencyContactSettingsRequest < Aws::EmptyStructure; end
|
501
560
|
|
502
561
|
# @!attribute [rw] emergency_contact_list
|
503
|
-
# A list of email addresses
|
504
|
-
#
|
562
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
563
|
+
# Team (DRT) can use to contact you if you have proactive engagement
|
564
|
+
# enabled, for escalations to the DRT and to initiate proactive
|
565
|
+
# customer support.
|
505
566
|
# @return [Array<Types::EmergencyContact>]
|
506
567
|
#
|
507
568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeEmergencyContactSettingsResponse AWS API Documentation
|
508
569
|
#
|
509
570
|
class DescribeEmergencyContactSettingsResponse < Struct.new(
|
510
571
|
:emergency_contact_list)
|
572
|
+
SENSITIVE = []
|
511
573
|
include Aws::Structure
|
512
574
|
end
|
513
575
|
|
@@ -538,6 +600,7 @@ module Aws::Shield
|
|
538
600
|
class DescribeProtectionRequest < Struct.new(
|
539
601
|
:protection_id,
|
540
602
|
:resource_arn)
|
603
|
+
SENSITIVE = []
|
541
604
|
include Aws::Structure
|
542
605
|
end
|
543
606
|
|
@@ -549,6 +612,7 @@ module Aws::Shield
|
|
549
612
|
#
|
550
613
|
class DescribeProtectionResponse < Struct.new(
|
551
614
|
:protection)
|
615
|
+
SENSITIVE = []
|
552
616
|
include Aws::Structure
|
553
617
|
end
|
554
618
|
|
@@ -566,9 +630,20 @@ module Aws::Shield
|
|
566
630
|
#
|
567
631
|
class DescribeSubscriptionResponse < Struct.new(
|
568
632
|
:subscription)
|
633
|
+
SENSITIVE = []
|
569
634
|
include Aws::Structure
|
570
635
|
end
|
571
636
|
|
637
|
+
# @api private
|
638
|
+
#
|
639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableProactiveEngagementRequest AWS API Documentation
|
640
|
+
#
|
641
|
+
class DisableProactiveEngagementRequest < Aws::EmptyStructure; end
|
642
|
+
|
643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableProactiveEngagementResponse AWS API Documentation
|
644
|
+
#
|
645
|
+
class DisableProactiveEngagementResponse < Aws::EmptyStructure; end
|
646
|
+
|
572
647
|
# @note When making an API call, you may pass DisassociateDRTLogBucketRequest
|
573
648
|
# data as a hash:
|
574
649
|
#
|
@@ -584,6 +659,7 @@ module Aws::Shield
|
|
584
659
|
#
|
585
660
|
class DisassociateDRTLogBucketRequest < Struct.new(
|
586
661
|
:log_bucket)
|
662
|
+
SENSITIVE = []
|
587
663
|
include Aws::Structure
|
588
664
|
end
|
589
665
|
|
@@ -624,6 +700,7 @@ module Aws::Shield
|
|
624
700
|
class DisassociateHealthCheckRequest < Struct.new(
|
625
701
|
:protection_id,
|
626
702
|
:health_check_arn)
|
703
|
+
SENSITIVE = []
|
627
704
|
include Aws::Structure
|
628
705
|
end
|
629
706
|
|
@@ -631,28 +708,51 @@ module Aws::Shield
|
|
631
708
|
#
|
632
709
|
class DisassociateHealthCheckResponse < Aws::EmptyStructure; end
|
633
710
|
|
634
|
-
# Contact information that the DRT can use to contact you
|
635
|
-
#
|
711
|
+
# Contact information that the DRT can use to contact you if you have
|
712
|
+
# proactive engagement enabled, for escalations to the DRT and to
|
713
|
+
# initiate proactive customer support.
|
636
714
|
#
|
637
715
|
# @note When making an API call, you may pass EmergencyContact
|
638
716
|
# data as a hash:
|
639
717
|
#
|
640
718
|
# {
|
641
719
|
# email_address: "EmailAddress", # required
|
720
|
+
# phone_number: "PhoneNumber",
|
721
|
+
# contact_notes: "ContactNotes",
|
642
722
|
# }
|
643
723
|
#
|
644
724
|
# @!attribute [rw] email_address
|
645
|
-
#
|
646
|
-
#
|
725
|
+
# The email address for the contact.
|
726
|
+
# @return [String]
|
727
|
+
#
|
728
|
+
# @!attribute [rw] phone_number
|
729
|
+
# The phone number for the contact.
|
730
|
+
# @return [String]
|
731
|
+
#
|
732
|
+
# @!attribute [rw] contact_notes
|
733
|
+
# Additional notes regarding the contact.
|
647
734
|
# @return [String]
|
648
735
|
#
|
649
736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EmergencyContact AWS API Documentation
|
650
737
|
#
|
651
738
|
class EmergencyContact < Struct.new(
|
652
|
-
:email_address
|
739
|
+
:email_address,
|
740
|
+
:phone_number,
|
741
|
+
:contact_notes)
|
742
|
+
SENSITIVE = []
|
653
743
|
include Aws::Structure
|
654
744
|
end
|
655
745
|
|
746
|
+
# @api private
|
747
|
+
#
|
748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagementRequest AWS API Documentation
|
749
|
+
#
|
750
|
+
class EnableProactiveEngagementRequest < Aws::EmptyStructure; end
|
751
|
+
|
752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagementResponse AWS API Documentation
|
753
|
+
#
|
754
|
+
class EnableProactiveEngagementResponse < Aws::EmptyStructure; end
|
755
|
+
|
656
756
|
# @api private
|
657
757
|
#
|
658
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionStateRequest AWS API Documentation
|
@@ -667,6 +767,7 @@ module Aws::Shield
|
|
667
767
|
#
|
668
768
|
class GetSubscriptionStateResponse < Struct.new(
|
669
769
|
:subscription_state)
|
770
|
+
SENSITIVE = []
|
670
771
|
include Aws::Structure
|
671
772
|
end
|
672
773
|
|
@@ -680,6 +781,7 @@ module Aws::Shield
|
|
680
781
|
#
|
681
782
|
class InternalErrorException < Struct.new(
|
682
783
|
:message)
|
784
|
+
SENSITIVE = []
|
683
785
|
include Aws::Structure
|
684
786
|
end
|
685
787
|
|
@@ -693,6 +795,7 @@ module Aws::Shield
|
|
693
795
|
#
|
694
796
|
class InvalidOperationException < Struct.new(
|
695
797
|
:message)
|
798
|
+
SENSITIVE = []
|
696
799
|
include Aws::Structure
|
697
800
|
end
|
698
801
|
|
@@ -707,6 +810,7 @@ module Aws::Shield
|
|
707
810
|
#
|
708
811
|
class InvalidPaginationTokenException < Struct.new(
|
709
812
|
:message)
|
813
|
+
SENSITIVE = []
|
710
814
|
include Aws::Structure
|
711
815
|
end
|
712
816
|
|
@@ -720,6 +824,7 @@ module Aws::Shield
|
|
720
824
|
#
|
721
825
|
class InvalidParameterException < Struct.new(
|
722
826
|
:message)
|
827
|
+
SENSITIVE = []
|
723
828
|
include Aws::Structure
|
724
829
|
end
|
725
830
|
|
@@ -733,6 +838,7 @@ module Aws::Shield
|
|
733
838
|
#
|
734
839
|
class InvalidResourceException < Struct.new(
|
735
840
|
:message)
|
841
|
+
SENSITIVE = []
|
736
842
|
include Aws::Structure
|
737
843
|
end
|
738
844
|
|
@@ -752,6 +858,7 @@ module Aws::Shield
|
|
752
858
|
class Limit < Struct.new(
|
753
859
|
:type,
|
754
860
|
:max)
|
861
|
+
SENSITIVE = []
|
755
862
|
include Aws::Structure
|
756
863
|
end
|
757
864
|
|
@@ -776,6 +883,7 @@ module Aws::Shield
|
|
776
883
|
:message,
|
777
884
|
:type,
|
778
885
|
:limit)
|
886
|
+
SENSITIVE = []
|
779
887
|
include Aws::Structure
|
780
888
|
end
|
781
889
|
|
@@ -849,6 +957,7 @@ module Aws::Shield
|
|
849
957
|
:end_time,
|
850
958
|
:next_token,
|
851
959
|
:max_results)
|
960
|
+
SENSITIVE = []
|
852
961
|
include Aws::Structure
|
853
962
|
end
|
854
963
|
|
@@ -873,6 +982,7 @@ module Aws::Shield
|
|
873
982
|
class ListAttacksResponse < Struct.new(
|
874
983
|
:attack_summaries,
|
875
984
|
:next_token)
|
985
|
+
SENSITIVE = []
|
876
986
|
include Aws::Structure
|
877
987
|
end
|
878
988
|
|
@@ -906,6 +1016,7 @@ module Aws::Shield
|
|
906
1016
|
class ListProtectionsRequest < Struct.new(
|
907
1017
|
:next_token,
|
908
1018
|
:max_results)
|
1019
|
+
SENSITIVE = []
|
909
1020
|
include Aws::Structure
|
910
1021
|
end
|
911
1022
|
|
@@ -933,6 +1044,7 @@ module Aws::Shield
|
|
933
1044
|
class ListProtectionsResponse < Struct.new(
|
934
1045
|
:protections,
|
935
1046
|
:next_token)
|
1047
|
+
SENSITIVE = []
|
936
1048
|
include Aws::Structure
|
937
1049
|
end
|
938
1050
|
|
@@ -948,6 +1060,7 @@ module Aws::Shield
|
|
948
1060
|
#
|
949
1061
|
class LockedSubscriptionException < Struct.new(
|
950
1062
|
:message)
|
1063
|
+
SENSITIVE = []
|
951
1064
|
include Aws::Structure
|
952
1065
|
end
|
953
1066
|
|
@@ -961,6 +1074,7 @@ module Aws::Shield
|
|
961
1074
|
#
|
962
1075
|
class Mitigation < Struct.new(
|
963
1076
|
:mitigation_name)
|
1077
|
+
SENSITIVE = []
|
964
1078
|
include Aws::Structure
|
965
1079
|
end
|
966
1080
|
|
@@ -973,11 +1087,12 @@ module Aws::Shield
|
|
973
1087
|
#
|
974
1088
|
class NoAssociatedRoleException < Struct.new(
|
975
1089
|
:message)
|
1090
|
+
SENSITIVE = []
|
976
1091
|
include Aws::Structure
|
977
1092
|
end
|
978
1093
|
|
979
|
-
# Exception that indicates that the
|
980
|
-
#
|
1094
|
+
# Exception that indicates that the resource state has been modified by
|
1095
|
+
# another client. Retrieve the resource and then retry your request.
|
981
1096
|
#
|
982
1097
|
# @!attribute [rw] message
|
983
1098
|
# @return [String]
|
@@ -986,6 +1101,7 @@ module Aws::Shield
|
|
986
1101
|
#
|
987
1102
|
class OptimisticLockException < Struct.new(
|
988
1103
|
:message)
|
1104
|
+
SENSITIVE = []
|
989
1105
|
include Aws::Structure
|
990
1106
|
end
|
991
1107
|
|
@@ -1017,6 +1133,7 @@ module Aws::Shield
|
|
1017
1133
|
:name,
|
1018
1134
|
:resource_arn,
|
1019
1135
|
:health_check_ids)
|
1136
|
+
SENSITIVE = []
|
1020
1137
|
include Aws::Structure
|
1021
1138
|
end
|
1022
1139
|
|
@@ -1029,6 +1146,7 @@ module Aws::Shield
|
|
1029
1146
|
#
|
1030
1147
|
class ResourceAlreadyExistsException < Struct.new(
|
1031
1148
|
:message)
|
1149
|
+
SENSITIVE = []
|
1032
1150
|
include Aws::Structure
|
1033
1151
|
end
|
1034
1152
|
|
@@ -1041,6 +1159,7 @@ module Aws::Shield
|
|
1041
1159
|
#
|
1042
1160
|
class ResourceNotFoundException < Struct.new(
|
1043
1161
|
:message)
|
1162
|
+
SENSITIVE = []
|
1044
1163
|
include Aws::Structure
|
1045
1164
|
end
|
1046
1165
|
|
@@ -1069,6 +1188,7 @@ module Aws::Shield
|
|
1069
1188
|
:id,
|
1070
1189
|
:attack_vectors,
|
1071
1190
|
:counters)
|
1191
|
+
SENSITIVE = []
|
1072
1192
|
include Aws::Structure
|
1073
1193
|
end
|
1074
1194
|
|
@@ -1107,6 +1227,19 @@ module Aws::Shield
|
|
1107
1227
|
# Specifies how many protections of a given type you can create.
|
1108
1228
|
# @return [Array<Types::Limit>]
|
1109
1229
|
#
|
1230
|
+
# @!attribute [rw] proactive_engagement_status
|
1231
|
+
# If `ENABLED`, the DDoS Response Team (DRT) will use email and phone
|
1232
|
+
# to notify contacts about escalations to the DRT and to initiate
|
1233
|
+
# proactive customer support.
|
1234
|
+
#
|
1235
|
+
# If `PENDING`, you have requested proactive engagement and the
|
1236
|
+
# request is pending. The status changes to `ENABLED` when your
|
1237
|
+
# request is fully processed.
|
1238
|
+
#
|
1239
|
+
# If `DISABLED`, the DRT will not proactively notify contacts about
|
1240
|
+
# escalations or to initiate proactive customer support.
|
1241
|
+
# @return [String]
|
1242
|
+
#
|
1110
1243
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Subscription AWS API Documentation
|
1111
1244
|
#
|
1112
1245
|
class Subscription < Struct.new(
|
@@ -1114,7 +1247,9 @@ module Aws::Shield
|
|
1114
1247
|
:end_time,
|
1115
1248
|
:time_commitment_in_seconds,
|
1116
1249
|
:auto_renew,
|
1117
|
-
:limits
|
1250
|
+
:limits,
|
1251
|
+
:proactive_engagement_status)
|
1252
|
+
SENSITIVE = []
|
1118
1253
|
include Aws::Structure
|
1119
1254
|
end
|
1120
1255
|
|
@@ -1133,6 +1268,7 @@ module Aws::Shield
|
|
1133
1268
|
class SummarizedAttackVector < Struct.new(
|
1134
1269
|
:vector_type,
|
1135
1270
|
:vector_counters)
|
1271
|
+
SENSITIVE = []
|
1136
1272
|
include Aws::Structure
|
1137
1273
|
end
|
1138
1274
|
|
@@ -1171,6 +1307,7 @@ module Aws::Shield
|
|
1171
1307
|
:sum,
|
1172
1308
|
:n,
|
1173
1309
|
:unit)
|
1310
|
+
SENSITIVE = []
|
1174
1311
|
include Aws::Structure
|
1175
1312
|
end
|
1176
1313
|
|
@@ -1207,6 +1344,7 @@ module Aws::Shield
|
|
1207
1344
|
class TimeRange < Struct.new(
|
1208
1345
|
:from_inclusive,
|
1209
1346
|
:to_exclusive)
|
1347
|
+
SENSITIVE = []
|
1210
1348
|
include Aws::Structure
|
1211
1349
|
end
|
1212
1350
|
|
@@ -1217,19 +1355,27 @@ module Aws::Shield
|
|
1217
1355
|
# emergency_contact_list: [
|
1218
1356
|
# {
|
1219
1357
|
# email_address: "EmailAddress", # required
|
1358
|
+
# phone_number: "PhoneNumber",
|
1359
|
+
# contact_notes: "ContactNotes",
|
1220
1360
|
# },
|
1221
1361
|
# ],
|
1222
1362
|
# }
|
1223
1363
|
#
|
1224
1364
|
# @!attribute [rw] emergency_contact_list
|
1225
|
-
# A list of email addresses
|
1226
|
-
#
|
1365
|
+
# A list of email addresses and phone numbers that the DDoS Response
|
1366
|
+
# Team (DRT) can use to contact you if you have proactive engagement
|
1367
|
+
# enabled, for escalations to the DRT and to initiate proactive
|
1368
|
+
# customer support.
|
1369
|
+
#
|
1370
|
+
# If you have proactive engagement enabled, the contact list must
|
1371
|
+
# include at least one phone number.
|
1227
1372
|
# @return [Array<Types::EmergencyContact>]
|
1228
1373
|
#
|
1229
1374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateEmergencyContactSettingsRequest AWS API Documentation
|
1230
1375
|
#
|
1231
1376
|
class UpdateEmergencyContactSettingsRequest < Struct.new(
|
1232
1377
|
:emergency_contact_list)
|
1378
|
+
SENSITIVE = []
|
1233
1379
|
include Aws::Structure
|
1234
1380
|
end
|
1235
1381
|
|
@@ -1257,6 +1403,7 @@ module Aws::Shield
|
|
1257
1403
|
#
|
1258
1404
|
class UpdateSubscriptionRequest < Struct.new(
|
1259
1405
|
:auto_renew)
|
1406
|
+
SENSITIVE = []
|
1260
1407
|
include Aws::Structure
|
1261
1408
|
end
|
1262
1409
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-shield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|