aws-sdk-shield 1.50.0 → 1.51.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 +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-shield/client.rb +1 -1
- data/lib/aws-sdk-shield/endpoint_provider.rb +62 -155
- data/lib/aws-sdk-shield/types.rb +0 -316
- data/lib/aws-sdk-shield.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35f0a1394b77332a5d37d5e75ce032b8e26b3f786fdeea21a2bc621d681a4fc
|
4
|
+
data.tar.gz: 2f05b28328f0814a6b60770632f2b743f976b20696efd286e1390d9d47d8a5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7af8bf488e31490e561c29dc6b55cf01b72da5e0531f64c09c7be43968d1299d6cb07a98dbe90937b28f1347edc2fb38cf349cd59210e58ca78fcfa454a2f15
|
7
|
+
data.tar.gz: 8d1aaf55a0b565f31b6fdbcb6433f5a2c117914d4948cb8870fbba61901a2c5d92c3757dc02c43efa6071d70a5edec23adafe31199ce367752cfb904f4931b80
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.50.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -315,4 +322,4 @@ Unreleased Changes
|
|
315
322
|
1.0.0.rc2 (2016-12-09)
|
316
323
|
------------------
|
317
324
|
|
318
|
-
* Feature - Initial release of `aws-sdk-shield`.
|
325
|
+
* Feature - Initial release of `aws-sdk-shield`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -1908,7 +1908,7 @@ module Aws::Shield
|
|
1908
1908
|
params: params,
|
1909
1909
|
config: config)
|
1910
1910
|
context[:gem_name] = 'aws-sdk-shield'
|
1911
|
-
context[:gem_version] = '1.
|
1911
|
+
context[:gem_version] = '1.51.0'
|
1912
1912
|
Seahorse::Client::Request.new(handlers, context)
|
1913
1913
|
end
|
1914
1914
|
|
@@ -9,163 +9,70 @@
|
|
9
9
|
|
10
10
|
module Aws::Shield
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield-fips.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]})
|
47
|
+
end
|
48
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
49
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
50
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
51
|
+
end
|
52
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
53
|
+
end
|
54
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
55
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
56
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
|
58
|
+
end
|
59
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
60
|
+
end
|
61
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
62
|
+
end
|
63
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
64
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
65
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
66
|
+
end
|
67
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
68
|
+
end
|
69
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
70
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]})
|
71
|
+
end
|
72
|
+
return Aws::Endpoints::Endpoint.new(url: "https://shield.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
73
|
end
|
22
|
-
|
23
|
-
end
|
74
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
75
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
76
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmV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nQifSx7ImNvbmRpdGlvbnMiOltdLCJl
|
165
|
-
bmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3NoaWVsZC57UmVnaW9ufS57UGFy
|
166
|
-
dGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVh
|
167
|
-
ZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX1dfQ==
|
168
|
-
|
169
|
-
JSON
|
170
77
|
end
|
171
78
|
end
|
data/lib/aws-sdk-shield/types.rb
CHANGED
@@ -77,13 +77,6 @@ module Aws::Shield
|
|
77
77
|
include Aws::Structure
|
78
78
|
end
|
79
79
|
|
80
|
-
# @note When making an API call, you may pass AssociateDRTLogBucketRequest
|
81
|
-
# data as a hash:
|
82
|
-
#
|
83
|
-
# {
|
84
|
-
# log_bucket: "LogBucket", # required
|
85
|
-
# }
|
86
|
-
#
|
87
80
|
# @!attribute [rw] log_bucket
|
88
81
|
# The Amazon S3 bucket that contains the logs that you want to share.
|
89
82
|
# @return [String]
|
@@ -100,13 +93,6 @@ module Aws::Shield
|
|
100
93
|
#
|
101
94
|
class AssociateDRTLogBucketResponse < Aws::EmptyStructure; end
|
102
95
|
|
103
|
-
# @note When making an API call, you may pass AssociateDRTRoleRequest
|
104
|
-
# data as a hash:
|
105
|
-
#
|
106
|
-
# {
|
107
|
-
# role_arn: "RoleArn", # required
|
108
|
-
# }
|
109
|
-
#
|
110
96
|
# @!attribute [rw] role_arn
|
111
97
|
# The Amazon Resource Name (ARN) of the role the SRT will use to
|
112
98
|
# access your Amazon Web Services account.
|
@@ -133,14 +119,6 @@ module Aws::Shield
|
|
133
119
|
#
|
134
120
|
class AssociateDRTRoleResponse < Aws::EmptyStructure; end
|
135
121
|
|
136
|
-
# @note When making an API call, you may pass AssociateHealthCheckRequest
|
137
|
-
# data as a hash:
|
138
|
-
#
|
139
|
-
# {
|
140
|
-
# protection_id: "ProtectionId", # required
|
141
|
-
# health_check_arn: "HealthCheckArn", # required
|
142
|
-
# }
|
143
|
-
#
|
144
122
|
# @!attribute [rw] protection_id
|
145
123
|
# The unique identifier (ID) for the Protection object to add the
|
146
124
|
# health check association to.
|
@@ -164,19 +142,6 @@ module Aws::Shield
|
|
164
142
|
#
|
165
143
|
class AssociateHealthCheckResponse < Aws::EmptyStructure; end
|
166
144
|
|
167
|
-
# @note When making an API call, you may pass AssociateProactiveEngagementDetailsRequest
|
168
|
-
# data as a hash:
|
169
|
-
#
|
170
|
-
# {
|
171
|
-
# emergency_contact_list: [ # required
|
172
|
-
# {
|
173
|
-
# email_address: "EmailAddress", # required
|
174
|
-
# phone_number: "PhoneNumber",
|
175
|
-
# contact_notes: "ContactNotes",
|
176
|
-
# },
|
177
|
-
# ],
|
178
|
-
# }
|
179
|
-
#
|
180
145
|
# @!attribute [rw] emergency_contact_list
|
181
146
|
# A list of email addresses and phone numbers that the Shield Response
|
182
147
|
# Team (SRT) can use to contact you for escalations to the SRT and to
|
@@ -518,23 +483,6 @@ module Aws::Shield
|
|
518
483
|
#
|
519
484
|
class CountAction < Aws::EmptyStructure; end
|
520
485
|
|
521
|
-
# @note When making an API call, you may pass CreateProtectionGroupRequest
|
522
|
-
# data as a hash:
|
523
|
-
#
|
524
|
-
# {
|
525
|
-
# protection_group_id: "ProtectionGroupId", # required
|
526
|
-
# aggregation: "SUM", # required, accepts SUM, MEAN, MAX
|
527
|
-
# pattern: "ALL", # required, accepts ALL, ARBITRARY, BY_RESOURCE_TYPE
|
528
|
-
# resource_type: "CLOUDFRONT_DISTRIBUTION", # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
529
|
-
# members: ["ResourceArn"],
|
530
|
-
# tags: [
|
531
|
-
# {
|
532
|
-
# key: "TagKey",
|
533
|
-
# value: "TagValue",
|
534
|
-
# },
|
535
|
-
# ],
|
536
|
-
# }
|
537
|
-
#
|
538
486
|
# @!attribute [rw] protection_group_id
|
539
487
|
# The name of the protection group. You use this to identify the
|
540
488
|
# protection group in lists and to manage the protection group, for
|
@@ -602,20 +550,6 @@ module Aws::Shield
|
|
602
550
|
#
|
603
551
|
class CreateProtectionGroupResponse < Aws::EmptyStructure; end
|
604
552
|
|
605
|
-
# @note When making an API call, you may pass CreateProtectionRequest
|
606
|
-
# data as a hash:
|
607
|
-
#
|
608
|
-
# {
|
609
|
-
# name: "ProtectionName", # required
|
610
|
-
# resource_arn: "ResourceArn", # required
|
611
|
-
# tags: [
|
612
|
-
# {
|
613
|
-
# key: "TagKey",
|
614
|
-
# value: "TagValue",
|
615
|
-
# },
|
616
|
-
# ],
|
617
|
-
# }
|
618
|
-
#
|
619
553
|
# @!attribute [rw] name
|
620
554
|
# Friendly name for the `Protection` you are creating.
|
621
555
|
# @return [String]
|
@@ -685,13 +619,6 @@ module Aws::Shield
|
|
685
619
|
#
|
686
620
|
class CreateSubscriptionResponse < Aws::EmptyStructure; end
|
687
621
|
|
688
|
-
# @note When making an API call, you may pass DeleteProtectionGroupRequest
|
689
|
-
# data as a hash:
|
690
|
-
#
|
691
|
-
# {
|
692
|
-
# protection_group_id: "ProtectionGroupId", # required
|
693
|
-
# }
|
694
|
-
#
|
695
622
|
# @!attribute [rw] protection_group_id
|
696
623
|
# The name of the protection group. You use this to identify the
|
697
624
|
# protection group in lists and to manage the protection group, for
|
@@ -710,13 +637,6 @@ module Aws::Shield
|
|
710
637
|
#
|
711
638
|
class DeleteProtectionGroupResponse < Aws::EmptyStructure; end
|
712
639
|
|
713
|
-
# @note When making an API call, you may pass DeleteProtectionRequest
|
714
|
-
# data as a hash:
|
715
|
-
#
|
716
|
-
# {
|
717
|
-
# protection_id: "ProtectionId", # required
|
718
|
-
# }
|
719
|
-
#
|
720
640
|
# @!attribute [rw] protection_id
|
721
641
|
# The unique identifier (ID) for the Protection object to be deleted.
|
722
642
|
# @return [String]
|
@@ -743,13 +663,6 @@ module Aws::Shield
|
|
743
663
|
#
|
744
664
|
class DeleteSubscriptionResponse < Aws::EmptyStructure; end
|
745
665
|
|
746
|
-
# @note When making an API call, you may pass DescribeAttackRequest
|
747
|
-
# data as a hash:
|
748
|
-
#
|
749
|
-
# {
|
750
|
-
# attack_id: "AttackId", # required
|
751
|
-
# }
|
752
|
-
#
|
753
666
|
# @!attribute [rw] attack_id
|
754
667
|
# The unique identifier (ID) for the attack.
|
755
668
|
# @return [String]
|
@@ -842,13 +755,6 @@ module Aws::Shield
|
|
842
755
|
include Aws::Structure
|
843
756
|
end
|
844
757
|
|
845
|
-
# @note When making an API call, you may pass DescribeProtectionGroupRequest
|
846
|
-
# data as a hash:
|
847
|
-
#
|
848
|
-
# {
|
849
|
-
# protection_group_id: "ProtectionGroupId", # required
|
850
|
-
# }
|
851
|
-
#
|
852
758
|
# @!attribute [rw] protection_group_id
|
853
759
|
# The name of the protection group. You use this to identify the
|
854
760
|
# protection group in lists and to manage the protection group, for
|
@@ -877,14 +783,6 @@ module Aws::Shield
|
|
877
783
|
include Aws::Structure
|
878
784
|
end
|
879
785
|
|
880
|
-
# @note When making an API call, you may pass DescribeProtectionRequest
|
881
|
-
# data as a hash:
|
882
|
-
#
|
883
|
-
# {
|
884
|
-
# protection_id: "ProtectionId",
|
885
|
-
# resource_arn: "ResourceArn",
|
886
|
-
# }
|
887
|
-
#
|
888
786
|
# @!attribute [rw] protection_id
|
889
787
|
# The unique identifier (ID) for the Protection object to describe.
|
890
788
|
# You must provide either the `ResourceArn` of the protected resource
|
@@ -936,13 +834,6 @@ module Aws::Shield
|
|
936
834
|
include Aws::Structure
|
937
835
|
end
|
938
836
|
|
939
|
-
# @note When making an API call, you may pass DisableApplicationLayerAutomaticResponseRequest
|
940
|
-
# data as a hash:
|
941
|
-
#
|
942
|
-
# {
|
943
|
-
# resource_arn: "ResourceArn", # required
|
944
|
-
# }
|
945
|
-
#
|
946
837
|
# @!attribute [rw] resource_arn
|
947
838
|
# The ARN (Amazon Resource Name) of the protected resource.
|
948
839
|
# @return [String]
|
@@ -969,13 +860,6 @@ module Aws::Shield
|
|
969
860
|
#
|
970
861
|
class DisableProactiveEngagementResponse < Aws::EmptyStructure; end
|
971
862
|
|
972
|
-
# @note When making an API call, you may pass DisassociateDRTLogBucketRequest
|
973
|
-
# data as a hash:
|
974
|
-
#
|
975
|
-
# {
|
976
|
-
# log_bucket: "LogBucket", # required
|
977
|
-
# }
|
978
|
-
#
|
979
863
|
# @!attribute [rw] log_bucket
|
980
864
|
# The Amazon S3 bucket that contains the logs that you want to share.
|
981
865
|
# @return [String]
|
@@ -1002,14 +886,6 @@ module Aws::Shield
|
|
1002
886
|
#
|
1003
887
|
class DisassociateDRTRoleResponse < Aws::EmptyStructure; end
|
1004
888
|
|
1005
|
-
# @note When making an API call, you may pass DisassociateHealthCheckRequest
|
1006
|
-
# data as a hash:
|
1007
|
-
#
|
1008
|
-
# {
|
1009
|
-
# protection_id: "ProtectionId", # required
|
1010
|
-
# health_check_arn: "HealthCheckArn", # required
|
1011
|
-
# }
|
1012
|
-
#
|
1013
889
|
# @!attribute [rw] protection_id
|
1014
890
|
# The unique identifier (ID) for the Protection object to remove the
|
1015
891
|
# health check association from.
|
@@ -1037,15 +913,6 @@ module Aws::Shield
|
|
1037
913
|
# proactive engagement enabled, for escalations to the SRT and to
|
1038
914
|
# initiate proactive customer support.
|
1039
915
|
#
|
1040
|
-
# @note When making an API call, you may pass EmergencyContact
|
1041
|
-
# data as a hash:
|
1042
|
-
#
|
1043
|
-
# {
|
1044
|
-
# email_address: "EmailAddress", # required
|
1045
|
-
# phone_number: "PhoneNumber",
|
1046
|
-
# contact_notes: "ContactNotes",
|
1047
|
-
# }
|
1048
|
-
#
|
1049
916
|
# @!attribute [rw] email_address
|
1050
917
|
# The email address for the contact.
|
1051
918
|
# @return [String]
|
@@ -1068,19 +935,6 @@ module Aws::Shield
|
|
1068
935
|
include Aws::Structure
|
1069
936
|
end
|
1070
937
|
|
1071
|
-
# @note When making an API call, you may pass EnableApplicationLayerAutomaticResponseRequest
|
1072
|
-
# data as a hash:
|
1073
|
-
#
|
1074
|
-
# {
|
1075
|
-
# resource_arn: "ResourceArn", # required
|
1076
|
-
# action: { # required
|
1077
|
-
# block: {
|
1078
|
-
# },
|
1079
|
-
# count: {
|
1080
|
-
# },
|
1081
|
-
# },
|
1082
|
-
# }
|
1083
|
-
#
|
1084
938
|
# @!attribute [rw] resource_arn
|
1085
939
|
# The ARN (Amazon Resource Name) of the protected resource.
|
1086
940
|
# @return [String]
|
@@ -1144,15 +998,6 @@ module Aws::Shield
|
|
1144
998
|
# criteria per filter type. Shield Advanced returns protections that
|
1145
999
|
# exactly match all of the filter criteria that you provide.
|
1146
1000
|
#
|
1147
|
-
# @note When making an API call, you may pass InclusionProtectionFilters
|
1148
|
-
# data as a hash:
|
1149
|
-
#
|
1150
|
-
# {
|
1151
|
-
# resource_arns: ["ResourceArn"],
|
1152
|
-
# protection_names: ["ProtectionName"],
|
1153
|
-
# resource_types: ["CLOUDFRONT_DISTRIBUTION"], # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
1154
|
-
# }
|
1155
|
-
#
|
1156
1001
|
# @!attribute [rw] resource_arns
|
1157
1002
|
# The ARN (Amazon Resource Name) of the resource whose protection you
|
1158
1003
|
# want to retrieve.
|
@@ -1184,16 +1029,6 @@ module Aws::Shield
|
|
1184
1029
|
# filter type. Shield Advanced returns the protection groups that
|
1185
1030
|
# exactly match all of the search criteria that you provide.
|
1186
1031
|
#
|
1187
|
-
# @note When making an API call, you may pass InclusionProtectionGroupFilters
|
1188
|
-
# data as a hash:
|
1189
|
-
#
|
1190
|
-
# {
|
1191
|
-
# protection_group_ids: ["ProtectionGroupId"],
|
1192
|
-
# patterns: ["ALL"], # accepts ALL, ARBITRARY, BY_RESOURCE_TYPE
|
1193
|
-
# resource_types: ["CLOUDFRONT_DISTRIBUTION"], # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
1194
|
-
# aggregations: ["SUM"], # accepts SUM, MEAN, MAX
|
1195
|
-
# }
|
1196
|
-
#
|
1197
1032
|
# @!attribute [rw] protection_group_ids
|
1198
1033
|
# The ID of the protection group that you want to retrieve.
|
1199
1034
|
# @return [Array<String>]
|
@@ -1351,23 +1186,6 @@ module Aws::Shield
|
|
1351
1186
|
include Aws::Structure
|
1352
1187
|
end
|
1353
1188
|
|
1354
|
-
# @note When making an API call, you may pass ListAttacksRequest
|
1355
|
-
# data as a hash:
|
1356
|
-
#
|
1357
|
-
# {
|
1358
|
-
# resource_arns: ["ResourceArn"],
|
1359
|
-
# start_time: {
|
1360
|
-
# from_inclusive: Time.now,
|
1361
|
-
# to_exclusive: Time.now,
|
1362
|
-
# },
|
1363
|
-
# end_time: {
|
1364
|
-
# from_inclusive: Time.now,
|
1365
|
-
# to_exclusive: Time.now,
|
1366
|
-
# },
|
1367
|
-
# next_token: "Token",
|
1368
|
-
# max_results: 1,
|
1369
|
-
# }
|
1370
|
-
#
|
1371
1189
|
# @!attribute [rw] resource_arns
|
1372
1190
|
# The ARNs (Amazon Resource Names) of the resources that were
|
1373
1191
|
# attacked. If you leave this blank, all applicable resources for this
|
@@ -1467,20 +1285,6 @@ module Aws::Shield
|
|
1467
1285
|
include Aws::Structure
|
1468
1286
|
end
|
1469
1287
|
|
1470
|
-
# @note When making an API call, you may pass ListProtectionGroupsRequest
|
1471
|
-
# data as a hash:
|
1472
|
-
#
|
1473
|
-
# {
|
1474
|
-
# next_token: "Token",
|
1475
|
-
# max_results: 1,
|
1476
|
-
# inclusion_filters: {
|
1477
|
-
# protection_group_ids: ["ProtectionGroupId"],
|
1478
|
-
# patterns: ["ALL"], # accepts ALL, ARBITRARY, BY_RESOURCE_TYPE
|
1479
|
-
# resource_types: ["CLOUDFRONT_DISTRIBUTION"], # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
1480
|
-
# aggregations: ["SUM"], # accepts SUM, MEAN, MAX
|
1481
|
-
# },
|
1482
|
-
# }
|
1483
|
-
#
|
1484
1288
|
# @!attribute [rw] next_token
|
1485
1289
|
# When you request a list of objects from Shield Advanced, if the
|
1486
1290
|
# response does not include all of the remaining available objects,
|
@@ -1558,19 +1362,6 @@ module Aws::Shield
|
|
1558
1362
|
include Aws::Structure
|
1559
1363
|
end
|
1560
1364
|
|
1561
|
-
# @note When making an API call, you may pass ListProtectionsRequest
|
1562
|
-
# data as a hash:
|
1563
|
-
#
|
1564
|
-
# {
|
1565
|
-
# next_token: "Token",
|
1566
|
-
# max_results: 1,
|
1567
|
-
# inclusion_filters: {
|
1568
|
-
# resource_arns: ["ResourceArn"],
|
1569
|
-
# protection_names: ["ProtectionName"],
|
1570
|
-
# resource_types: ["CLOUDFRONT_DISTRIBUTION"], # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
1571
|
-
# },
|
1572
|
-
# }
|
1573
|
-
#
|
1574
1365
|
# @!attribute [rw] next_token
|
1575
1366
|
# When you request a list of objects from Shield Advanced, if the
|
1576
1367
|
# response does not include all of the remaining available objects,
|
@@ -1650,15 +1441,6 @@ module Aws::Shield
|
|
1650
1441
|
include Aws::Structure
|
1651
1442
|
end
|
1652
1443
|
|
1653
|
-
# @note When making an API call, you may pass ListResourcesInProtectionGroupRequest
|
1654
|
-
# data as a hash:
|
1655
|
-
#
|
1656
|
-
# {
|
1657
|
-
# protection_group_id: "ProtectionGroupId", # required
|
1658
|
-
# next_token: "Token",
|
1659
|
-
# max_results: 1,
|
1660
|
-
# }
|
1661
|
-
#
|
1662
1444
|
# @!attribute [rw] protection_group_id
|
1663
1445
|
# The name of the protection group. You use this to identify the
|
1664
1446
|
# protection group in lists and to manage the protection group, for
|
@@ -1735,13 +1517,6 @@ module Aws::Shield
|
|
1735
1517
|
include Aws::Structure
|
1736
1518
|
end
|
1737
1519
|
|
1738
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1739
|
-
# data as a hash:
|
1740
|
-
#
|
1741
|
-
# {
|
1742
|
-
# resource_arn: "ResourceArn", # required
|
1743
|
-
# }
|
1744
|
-
#
|
1745
1520
|
# @!attribute [rw] resource_arn
|
1746
1521
|
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
1747
1522
|
# @return [String]
|
@@ -2048,16 +1823,6 @@ module Aws::Shield
|
|
2048
1823
|
# Advanced creates the WAF rules in a Shield Advanced-managed rule
|
2049
1824
|
# group, inside the web ACL that you have associated with the resource.
|
2050
1825
|
#
|
2051
|
-
# @note When making an API call, you may pass ResponseAction
|
2052
|
-
# data as a hash:
|
2053
|
-
#
|
2054
|
-
# {
|
2055
|
-
# block: {
|
2056
|
-
# },
|
2057
|
-
# count: {
|
2058
|
-
# },
|
2059
|
-
# }
|
2060
|
-
#
|
2061
1826
|
# @!attribute [rw] block
|
2062
1827
|
# Specifies that Shield Advanced should configure its WAF rules with
|
2063
1828
|
# the WAF `Block` action.
|
@@ -2263,14 +2028,6 @@ module Aws::Shield
|
|
2263
2028
|
# specify one or more tags to add to each Amazon Web Services resource,
|
2264
2029
|
# up to 50 tags for a resource.
|
2265
2030
|
#
|
2266
|
-
# @note When making an API call, you may pass Tag
|
2267
|
-
# data as a hash:
|
2268
|
-
#
|
2269
|
-
# {
|
2270
|
-
# key: "TagKey",
|
2271
|
-
# value: "TagValue",
|
2272
|
-
# }
|
2273
|
-
#
|
2274
2031
|
# @!attribute [rw] key
|
2275
2032
|
# Part of the key:value pair that defines a tag. You can use a tag key
|
2276
2033
|
# to describe a category of information, such as "customer." Tag
|
@@ -2292,19 +2049,6 @@ module Aws::Shield
|
|
2292
2049
|
include Aws::Structure
|
2293
2050
|
end
|
2294
2051
|
|
2295
|
-
# @note When making an API call, you may pass TagResourceRequest
|
2296
|
-
# data as a hash:
|
2297
|
-
#
|
2298
|
-
# {
|
2299
|
-
# resource_arn: "ResourceArn", # required
|
2300
|
-
# tags: [ # required
|
2301
|
-
# {
|
2302
|
-
# key: "TagKey",
|
2303
|
-
# value: "TagValue",
|
2304
|
-
# },
|
2305
|
-
# ],
|
2306
|
-
# }
|
2307
|
-
#
|
2308
2052
|
# @!attribute [rw] resource_arn
|
2309
2053
|
# The Amazon Resource Name (ARN) of the resource that you want to add
|
2310
2054
|
# or update tags for.
|
@@ -2329,14 +2073,6 @@ module Aws::Shield
|
|
2329
2073
|
|
2330
2074
|
# The time range.
|
2331
2075
|
#
|
2332
|
-
# @note When making an API call, you may pass TimeRange
|
2333
|
-
# data as a hash:
|
2334
|
-
#
|
2335
|
-
# {
|
2336
|
-
# from_inclusive: Time.now,
|
2337
|
-
# to_exclusive: Time.now,
|
2338
|
-
# }
|
2339
|
-
#
|
2340
2076
|
# @!attribute [rw] from_inclusive
|
2341
2077
|
# The start time, in Unix time in seconds.
|
2342
2078
|
# @return [Time]
|
@@ -2354,14 +2090,6 @@ module Aws::Shield
|
|
2354
2090
|
include Aws::Structure
|
2355
2091
|
end
|
2356
2092
|
|
2357
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
2358
|
-
# data as a hash:
|
2359
|
-
#
|
2360
|
-
# {
|
2361
|
-
# resource_arn: "ResourceArn", # required
|
2362
|
-
# tag_keys: ["TagKey"], # required
|
2363
|
-
# }
|
2364
|
-
#
|
2365
2093
|
# @!attribute [rw] resource_arn
|
2366
2094
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
2367
2095
|
# remove tags from.
|
@@ -2384,19 +2112,6 @@ module Aws::Shield
|
|
2384
2112
|
#
|
2385
2113
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
2386
2114
|
|
2387
|
-
# @note When making an API call, you may pass UpdateApplicationLayerAutomaticResponseRequest
|
2388
|
-
# data as a hash:
|
2389
|
-
#
|
2390
|
-
# {
|
2391
|
-
# resource_arn: "ResourceArn", # required
|
2392
|
-
# action: { # required
|
2393
|
-
# block: {
|
2394
|
-
# },
|
2395
|
-
# count: {
|
2396
|
-
# },
|
2397
|
-
# },
|
2398
|
-
# }
|
2399
|
-
#
|
2400
2115
|
# @!attribute [rw] resource_arn
|
2401
2116
|
# The ARN (Amazon Resource Name) of the resource.
|
2402
2117
|
# @return [String]
|
@@ -2425,19 +2140,6 @@ module Aws::Shield
|
|
2425
2140
|
#
|
2426
2141
|
class UpdateApplicationLayerAutomaticResponseResponse < Aws::EmptyStructure; end
|
2427
2142
|
|
2428
|
-
# @note When making an API call, you may pass UpdateEmergencyContactSettingsRequest
|
2429
|
-
# data as a hash:
|
2430
|
-
#
|
2431
|
-
# {
|
2432
|
-
# emergency_contact_list: [
|
2433
|
-
# {
|
2434
|
-
# email_address: "EmailAddress", # required
|
2435
|
-
# phone_number: "PhoneNumber",
|
2436
|
-
# contact_notes: "ContactNotes",
|
2437
|
-
# },
|
2438
|
-
# ],
|
2439
|
-
# }
|
2440
|
-
#
|
2441
2143
|
# @!attribute [rw] emergency_contact_list
|
2442
2144
|
# A list of email addresses and phone numbers that the Shield Response
|
2443
2145
|
# Team (SRT) can use to contact you if you have proactive engagement
|
@@ -2460,17 +2162,6 @@ module Aws::Shield
|
|
2460
2162
|
#
|
2461
2163
|
class UpdateEmergencyContactSettingsResponse < Aws::EmptyStructure; end
|
2462
2164
|
|
2463
|
-
# @note When making an API call, you may pass UpdateProtectionGroupRequest
|
2464
|
-
# data as a hash:
|
2465
|
-
#
|
2466
|
-
# {
|
2467
|
-
# protection_group_id: "ProtectionGroupId", # required
|
2468
|
-
# aggregation: "SUM", # required, accepts SUM, MEAN, MAX
|
2469
|
-
# pattern: "ALL", # required, accepts ALL, ARBITRARY, BY_RESOURCE_TYPE
|
2470
|
-
# resource_type: "CLOUDFRONT_DISTRIBUTION", # accepts CLOUDFRONT_DISTRIBUTION, ROUTE_53_HOSTED_ZONE, ELASTIC_IP_ALLOCATION, CLASSIC_LOAD_BALANCER, APPLICATION_LOAD_BALANCER, GLOBAL_ACCELERATOR
|
2471
|
-
# members: ["ResourceArn"],
|
2472
|
-
# }
|
2473
|
-
#
|
2474
2165
|
# @!attribute [rw] protection_group_id
|
2475
2166
|
# The name of the protection group. You use this to identify the
|
2476
2167
|
# protection group in lists and to manage the protection group, for
|
@@ -2532,13 +2223,6 @@ module Aws::Shield
|
|
2532
2223
|
#
|
2533
2224
|
class UpdateProtectionGroupResponse < Aws::EmptyStructure; end
|
2534
2225
|
|
2535
|
-
# @note When making an API call, you may pass UpdateSubscriptionRequest
|
2536
|
-
# data as a hash:
|
2537
|
-
#
|
2538
|
-
# {
|
2539
|
-
# auto_renew: "ENABLED", # accepts ENABLED, DISABLED
|
2540
|
-
# }
|
2541
|
-
#
|
2542
2226
|
# @!attribute [rw] auto_renew
|
2543
2227
|
# When you initally create a subscription, `AutoRenew` is set to
|
2544
2228
|
# `ENABLED`. If `ENABLED`, the subscription will be automatically
|
data/lib/aws-sdk-shield.rb
CHANGED
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.51.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|