aws-sdk-waf 1.18.0 → 1.19.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-waf.rb +1 -1
- data/lib/aws-sdk-waf/client.rb +1 -1
- data/lib/aws-sdk-waf/client_api.rb +44 -0
- data/lib/aws-sdk-waf/errors.rb +234 -0
- data/lib/aws-sdk-waf/types.rb +290 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ec2e3e7e7d0ce29210c2c7a1f85fa56151e51ec
|
4
|
+
data.tar.gz: ac978e2c77bb566e1df367f1a78597d864ca9205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d318387ff6830e762ded0836aaf0d65740c4b3d700faee1983d0379f83f814712b162139d5d4e2ffd5dfff0e64c4341a08e2bb37d7da258d8a7697a2c77d88a9
|
7
|
+
data.tar.gz: 90bfac4b1825450547c78f43f327046cc23844165388a4426c32593965f9e5969717ae7d349cb48ff578b75733812811a2d37ce296fa8c272e2a064569f63616
|
data/lib/aws-sdk-waf.rb
CHANGED
data/lib/aws-sdk-waf/client.rb
CHANGED
@@ -1133,6 +1133,50 @@ module Aws::WAF
|
|
1133
1133
|
UpdateXssMatchSetResponse.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, location_name: "ChangeToken"))
|
1134
1134
|
UpdateXssMatchSetResponse.struct_class = Types::UpdateXssMatchSetResponse
|
1135
1135
|
|
1136
|
+
WAFDisallowedNameException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1137
|
+
WAFDisallowedNameException.struct_class = Types::WAFDisallowedNameException
|
1138
|
+
|
1139
|
+
WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1140
|
+
WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
|
1141
|
+
|
1142
|
+
WAFInvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1143
|
+
WAFInvalidOperationException.struct_class = Types::WAFInvalidOperationException
|
1144
|
+
|
1145
|
+
WAFInvalidParameterException.add_member(:field, Shapes::ShapeRef.new(shape: ParameterExceptionField, location_name: "field"))
|
1146
|
+
WAFInvalidParameterException.add_member(:parameter, Shapes::ShapeRef.new(shape: ParameterExceptionParameter, location_name: "parameter"))
|
1147
|
+
WAFInvalidParameterException.add_member(:reason, Shapes::ShapeRef.new(shape: ParameterExceptionReason, location_name: "reason"))
|
1148
|
+
WAFInvalidParameterException.struct_class = Types::WAFInvalidParameterException
|
1149
|
+
|
1150
|
+
WAFInvalidPermissionPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1151
|
+
WAFInvalidPermissionPolicyException.struct_class = Types::WAFInvalidPermissionPolicyException
|
1152
|
+
|
1153
|
+
WAFInvalidRegexPatternException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1154
|
+
WAFInvalidRegexPatternException.struct_class = Types::WAFInvalidRegexPatternException
|
1155
|
+
|
1156
|
+
WAFLimitsExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1157
|
+
WAFLimitsExceededException.struct_class = Types::WAFLimitsExceededException
|
1158
|
+
|
1159
|
+
WAFNonEmptyEntityException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1160
|
+
WAFNonEmptyEntityException.struct_class = Types::WAFNonEmptyEntityException
|
1161
|
+
|
1162
|
+
WAFNonexistentContainerException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1163
|
+
WAFNonexistentContainerException.struct_class = Types::WAFNonexistentContainerException
|
1164
|
+
|
1165
|
+
WAFNonexistentItemException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1166
|
+
WAFNonexistentItemException.struct_class = Types::WAFNonexistentItemException
|
1167
|
+
|
1168
|
+
WAFReferencedItemException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1169
|
+
WAFReferencedItemException.struct_class = Types::WAFReferencedItemException
|
1170
|
+
|
1171
|
+
WAFServiceLinkedRoleErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1172
|
+
WAFServiceLinkedRoleErrorException.struct_class = Types::WAFServiceLinkedRoleErrorException
|
1173
|
+
|
1174
|
+
WAFStaleDataException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1175
|
+
WAFStaleDataException.struct_class = Types::WAFStaleDataException
|
1176
|
+
|
1177
|
+
WAFSubscriptionNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1178
|
+
WAFSubscriptionNotFoundException.struct_class = Types::WAFSubscriptionNotFoundException
|
1179
|
+
|
1136
1180
|
WafAction.add_member(:type, Shapes::ShapeRef.new(shape: WafActionType, required: true, location_name: "Type"))
|
1137
1181
|
WafAction.struct_class = Types::WafAction
|
1138
1182
|
|
data/lib/aws-sdk-waf/errors.rb
CHANGED
@@ -10,5 +10,239 @@ module Aws::WAF
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class WAFDisallowedNameException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::WAF::Types::WAFDisallowedNameException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class WAFInternalErrorException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::WAF::Types::WAFInternalErrorException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class WAFInvalidOperationException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::WAF::Types::WAFInvalidOperationException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class WAFInvalidParameterException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::WAF::Types::WAFInvalidParameterException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def field
|
72
|
+
@data[:field]
|
73
|
+
end
|
74
|
+
|
75
|
+
# @return [String]
|
76
|
+
def parameter
|
77
|
+
@data[:parameter]
|
78
|
+
end
|
79
|
+
|
80
|
+
# @return [String]
|
81
|
+
def reason
|
82
|
+
@data[:reason]
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
|
87
|
+
class WAFInvalidPermissionPolicyException < ServiceError
|
88
|
+
|
89
|
+
# @param [Seahorse::Client::RequestContext] context
|
90
|
+
# @param [String] message
|
91
|
+
# @param [Aws::WAF::Types::WAFInvalidPermissionPolicyException] data
|
92
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
93
|
+
super(context, message, data)
|
94
|
+
end
|
95
|
+
|
96
|
+
# @return [String]
|
97
|
+
def message
|
98
|
+
@message || @data[:message]
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
102
|
+
|
103
|
+
class WAFInvalidRegexPatternException < ServiceError
|
104
|
+
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
106
|
+
# @param [String] message
|
107
|
+
# @param [Aws::WAF::Types::WAFInvalidRegexPatternException] data
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
109
|
+
super(context, message, data)
|
110
|
+
end
|
111
|
+
|
112
|
+
# @return [String]
|
113
|
+
def message
|
114
|
+
@message || @data[:message]
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
class WAFLimitsExceededException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::WAF::Types::WAFLimitsExceededException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
|
128
|
+
# @return [String]
|
129
|
+
def message
|
130
|
+
@message || @data[:message]
|
131
|
+
end
|
132
|
+
|
133
|
+
end
|
134
|
+
|
135
|
+
class WAFNonEmptyEntityException < ServiceError
|
136
|
+
|
137
|
+
# @param [Seahorse::Client::RequestContext] context
|
138
|
+
# @param [String] message
|
139
|
+
# @param [Aws::WAF::Types::WAFNonEmptyEntityException] data
|
140
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
141
|
+
super(context, message, data)
|
142
|
+
end
|
143
|
+
|
144
|
+
# @return [String]
|
145
|
+
def message
|
146
|
+
@message || @data[:message]
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
150
|
+
|
151
|
+
class WAFNonexistentContainerException < ServiceError
|
152
|
+
|
153
|
+
# @param [Seahorse::Client::RequestContext] context
|
154
|
+
# @param [String] message
|
155
|
+
# @param [Aws::WAF::Types::WAFNonexistentContainerException] data
|
156
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
157
|
+
super(context, message, data)
|
158
|
+
end
|
159
|
+
|
160
|
+
# @return [String]
|
161
|
+
def message
|
162
|
+
@message || @data[:message]
|
163
|
+
end
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
class WAFNonexistentItemException < ServiceError
|
168
|
+
|
169
|
+
# @param [Seahorse::Client::RequestContext] context
|
170
|
+
# @param [String] message
|
171
|
+
# @param [Aws::WAF::Types::WAFNonexistentItemException] data
|
172
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
173
|
+
super(context, message, data)
|
174
|
+
end
|
175
|
+
|
176
|
+
# @return [String]
|
177
|
+
def message
|
178
|
+
@message || @data[:message]
|
179
|
+
end
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
class WAFReferencedItemException < ServiceError
|
184
|
+
|
185
|
+
# @param [Seahorse::Client::RequestContext] context
|
186
|
+
# @param [String] message
|
187
|
+
# @param [Aws::WAF::Types::WAFReferencedItemException] data
|
188
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
189
|
+
super(context, message, data)
|
190
|
+
end
|
191
|
+
|
192
|
+
# @return [String]
|
193
|
+
def message
|
194
|
+
@message || @data[:message]
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
198
|
+
|
199
|
+
class WAFServiceLinkedRoleErrorException < ServiceError
|
200
|
+
|
201
|
+
# @param [Seahorse::Client::RequestContext] context
|
202
|
+
# @param [String] message
|
203
|
+
# @param [Aws::WAF::Types::WAFServiceLinkedRoleErrorException] data
|
204
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
205
|
+
super(context, message, data)
|
206
|
+
end
|
207
|
+
|
208
|
+
# @return [String]
|
209
|
+
def message
|
210
|
+
@message || @data[:message]
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
|
215
|
+
class WAFStaleDataException < ServiceError
|
216
|
+
|
217
|
+
# @param [Seahorse::Client::RequestContext] context
|
218
|
+
# @param [String] message
|
219
|
+
# @param [Aws::WAF::Types::WAFStaleDataException] data
|
220
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
221
|
+
super(context, message, data)
|
222
|
+
end
|
223
|
+
|
224
|
+
# @return [String]
|
225
|
+
def message
|
226
|
+
@message || @data[:message]
|
227
|
+
end
|
228
|
+
|
229
|
+
end
|
230
|
+
|
231
|
+
class WAFSubscriptionNotFoundException < ServiceError
|
232
|
+
|
233
|
+
# @param [Seahorse::Client::RequestContext] context
|
234
|
+
# @param [String] message
|
235
|
+
# @param [Aws::WAF::Types::WAFSubscriptionNotFoundException] data
|
236
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
237
|
+
super(context, message, data)
|
238
|
+
end
|
239
|
+
|
240
|
+
# @return [String]
|
241
|
+
def message
|
242
|
+
@message || @data[:message]
|
243
|
+
end
|
244
|
+
|
245
|
+
end
|
246
|
+
|
13
247
|
end
|
14
248
|
end
|
data/lib/aws-sdk-waf/types.rb
CHANGED
@@ -5747,6 +5747,296 @@ module Aws::WAF
|
|
5747
5747
|
include Aws::Structure
|
5748
5748
|
end
|
5749
5749
|
|
5750
|
+
# The name specified is invalid.
|
5751
|
+
#
|
5752
|
+
# @!attribute [rw] message
|
5753
|
+
# @return [String]
|
5754
|
+
#
|
5755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFDisallowedNameException AWS API Documentation
|
5756
|
+
#
|
5757
|
+
class WAFDisallowedNameException < Struct.new(
|
5758
|
+
:message)
|
5759
|
+
include Aws::Structure
|
5760
|
+
end
|
5761
|
+
|
5762
|
+
# The operation failed because of a system problem, even though the
|
5763
|
+
# request was valid. Retry your request.
|
5764
|
+
#
|
5765
|
+
# @!attribute [rw] message
|
5766
|
+
# @return [String]
|
5767
|
+
#
|
5768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInternalErrorException AWS API Documentation
|
5769
|
+
#
|
5770
|
+
class WAFInternalErrorException < Struct.new(
|
5771
|
+
:message)
|
5772
|
+
include Aws::Structure
|
5773
|
+
end
|
5774
|
+
|
5775
|
+
# The operation failed because there was nothing to do. For example:
|
5776
|
+
#
|
5777
|
+
# * You tried to remove a `Rule` from a `WebACL`, but the `Rule` isn't
|
5778
|
+
# in the specified `WebACL`.
|
5779
|
+
#
|
5780
|
+
# * You tried to remove an IP address from an `IPSet`, but the IP
|
5781
|
+
# address isn't in the specified `IPSet`.
|
5782
|
+
#
|
5783
|
+
# * You tried to remove a `ByteMatchTuple` from a `ByteMatchSet`, but
|
5784
|
+
# the `ByteMatchTuple` isn't in the specified `WebACL`.
|
5785
|
+
#
|
5786
|
+
# * You tried to add a `Rule` to a `WebACL`, but the `Rule` already
|
5787
|
+
# exists in the specified `WebACL`.
|
5788
|
+
#
|
5789
|
+
# * You tried to add a `ByteMatchTuple` to a `ByteMatchSet`, but the
|
5790
|
+
# `ByteMatchTuple` already exists in the specified `WebACL`.
|
5791
|
+
#
|
5792
|
+
# @!attribute [rw] message
|
5793
|
+
# @return [String]
|
5794
|
+
#
|
5795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInvalidOperationException AWS API Documentation
|
5796
|
+
#
|
5797
|
+
class WAFInvalidOperationException < Struct.new(
|
5798
|
+
:message)
|
5799
|
+
include Aws::Structure
|
5800
|
+
end
|
5801
|
+
|
5802
|
+
# The operation failed because AWS WAF didn't recognize a parameter in
|
5803
|
+
# the request. For example:
|
5804
|
+
#
|
5805
|
+
# * You specified an invalid parameter name.
|
5806
|
+
#
|
5807
|
+
# * You specified an invalid value.
|
5808
|
+
#
|
5809
|
+
# * You tried to update an object (`ByteMatchSet`, `IPSet`, `Rule`, or
|
5810
|
+
# `WebACL`) using an action other than `INSERT` or `DELETE`.
|
5811
|
+
#
|
5812
|
+
# * You tried to create a `WebACL` with a `DefaultAction` `Type` other
|
5813
|
+
# than `ALLOW`, `BLOCK`, or `COUNT`.
|
5814
|
+
#
|
5815
|
+
# * You tried to create a `RateBasedRule` with a `RateKey` value other
|
5816
|
+
# than `IP`.
|
5817
|
+
#
|
5818
|
+
# * You tried to update a `WebACL` with a `WafAction` `Type` other than
|
5819
|
+
# `ALLOW`, `BLOCK`, or `COUNT`.
|
5820
|
+
#
|
5821
|
+
# * You tried to update a `ByteMatchSet` with a `FieldToMatch` `Type`
|
5822
|
+
# other than HEADER, METHOD, QUERY\_STRING, URI, or BODY.
|
5823
|
+
#
|
5824
|
+
# * You tried to update a `ByteMatchSet` with a `Field` of `HEADER` but
|
5825
|
+
# no value for `Data`.
|
5826
|
+
#
|
5827
|
+
# * Your request references an ARN that is malformed, or corresponds to
|
5828
|
+
# a resource with which a web ACL cannot be associated.
|
5829
|
+
#
|
5830
|
+
# @!attribute [rw] field
|
5831
|
+
# @return [String]
|
5832
|
+
#
|
5833
|
+
# @!attribute [rw] parameter
|
5834
|
+
# @return [String]
|
5835
|
+
#
|
5836
|
+
# @!attribute [rw] reason
|
5837
|
+
# @return [String]
|
5838
|
+
#
|
5839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInvalidParameterException AWS API Documentation
|
5840
|
+
#
|
5841
|
+
class WAFInvalidParameterException < Struct.new(
|
5842
|
+
:field,
|
5843
|
+
:parameter,
|
5844
|
+
:reason)
|
5845
|
+
include Aws::Structure
|
5846
|
+
end
|
5847
|
+
|
5848
|
+
# The operation failed because the specified policy is not in the proper
|
5849
|
+
# format.
|
5850
|
+
#
|
5851
|
+
# The policy is subject to the following restrictions:
|
5852
|
+
#
|
5853
|
+
# * You can attach only one policy with each `PutPermissionPolicy`
|
5854
|
+
# request.
|
5855
|
+
#
|
5856
|
+
# * The policy must include an `Effect`, `Action` and `Principal`.
|
5857
|
+
#
|
5858
|
+
# * `Effect` must specify `Allow`.
|
5859
|
+
#
|
5860
|
+
# * The `Action` in the policy must be `waf:UpdateWebACL`,
|
5861
|
+
# `waf-regional:UpdateWebACL`, `waf:GetRuleGroup` and
|
5862
|
+
# `waf-regional:GetRuleGroup` . Any extra or wildcard actions in the
|
5863
|
+
# policy will be rejected.
|
5864
|
+
#
|
5865
|
+
# * The policy cannot include a `Resource` parameter.
|
5866
|
+
#
|
5867
|
+
# * The ARN in the request must be a valid WAF RuleGroup ARN and the
|
5868
|
+
# RuleGroup must exist in the same region.
|
5869
|
+
#
|
5870
|
+
# * The user making the request must be the owner of the RuleGroup.
|
5871
|
+
#
|
5872
|
+
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
5873
|
+
#
|
5874
|
+
# @!attribute [rw] message
|
5875
|
+
# @return [String]
|
5876
|
+
#
|
5877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInvalidPermissionPolicyException AWS API Documentation
|
5878
|
+
#
|
5879
|
+
class WAFInvalidPermissionPolicyException < Struct.new(
|
5880
|
+
:message)
|
5881
|
+
include Aws::Structure
|
5882
|
+
end
|
5883
|
+
|
5884
|
+
# The regular expression (regex) you specified in `RegexPatternString`
|
5885
|
+
# is invalid.
|
5886
|
+
#
|
5887
|
+
# @!attribute [rw] message
|
5888
|
+
# @return [String]
|
5889
|
+
#
|
5890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFInvalidRegexPatternException AWS API Documentation
|
5891
|
+
#
|
5892
|
+
class WAFInvalidRegexPatternException < Struct.new(
|
5893
|
+
:message)
|
5894
|
+
include Aws::Structure
|
5895
|
+
end
|
5896
|
+
|
5897
|
+
# The operation exceeds a resource limit, for example, the maximum
|
5898
|
+
# number of `WebACL` objects that you can create for an AWS account. For
|
5899
|
+
# more information, see [Limits][1] in the *AWS WAF Developer Guide*.
|
5900
|
+
#
|
5901
|
+
#
|
5902
|
+
#
|
5903
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
5904
|
+
#
|
5905
|
+
# @!attribute [rw] message
|
5906
|
+
# @return [String]
|
5907
|
+
#
|
5908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFLimitsExceededException AWS API Documentation
|
5909
|
+
#
|
5910
|
+
class WAFLimitsExceededException < Struct.new(
|
5911
|
+
:message)
|
5912
|
+
include Aws::Structure
|
5913
|
+
end
|
5914
|
+
|
5915
|
+
# The operation failed because you tried to delete an object that isn't
|
5916
|
+
# empty. For example:
|
5917
|
+
#
|
5918
|
+
# * You tried to delete a `WebACL` that still contains one or more
|
5919
|
+
# `Rule` objects.
|
5920
|
+
#
|
5921
|
+
# * You tried to delete a `Rule` that still contains one or more
|
5922
|
+
# `ByteMatchSet` objects or other predicates.
|
5923
|
+
#
|
5924
|
+
# * You tried to delete a `ByteMatchSet` that contains one or more
|
5925
|
+
# `ByteMatchTuple` objects.
|
5926
|
+
#
|
5927
|
+
# * You tried to delete an `IPSet` that references one or more IP
|
5928
|
+
# addresses.
|
5929
|
+
#
|
5930
|
+
# @!attribute [rw] message
|
5931
|
+
# @return [String]
|
5932
|
+
#
|
5933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFNonEmptyEntityException AWS API Documentation
|
5934
|
+
#
|
5935
|
+
class WAFNonEmptyEntityException < Struct.new(
|
5936
|
+
:message)
|
5937
|
+
include Aws::Structure
|
5938
|
+
end
|
5939
|
+
|
5940
|
+
# The operation failed because you tried to add an object to or delete
|
5941
|
+
# an object from another object that doesn't exist. For example:
|
5942
|
+
#
|
5943
|
+
# * You tried to add a `Rule` to or delete a `Rule` from a `WebACL` that
|
5944
|
+
# doesn't exist.
|
5945
|
+
#
|
5946
|
+
# * You tried to add a `ByteMatchSet` to or delete a `ByteMatchSet` from
|
5947
|
+
# a `Rule` that doesn't exist.
|
5948
|
+
#
|
5949
|
+
# * You tried to add an IP address to or delete an IP address from an
|
5950
|
+
# `IPSet` that doesn't exist.
|
5951
|
+
#
|
5952
|
+
# * You tried to add a `ByteMatchTuple` to or delete a `ByteMatchTuple`
|
5953
|
+
# from a `ByteMatchSet` that doesn't exist.
|
5954
|
+
#
|
5955
|
+
# @!attribute [rw] message
|
5956
|
+
# @return [String]
|
5957
|
+
#
|
5958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFNonexistentContainerException AWS API Documentation
|
5959
|
+
#
|
5960
|
+
class WAFNonexistentContainerException < Struct.new(
|
5961
|
+
:message)
|
5962
|
+
include Aws::Structure
|
5963
|
+
end
|
5964
|
+
|
5965
|
+
# The operation failed because the referenced object doesn't exist.
|
5966
|
+
#
|
5967
|
+
# @!attribute [rw] message
|
5968
|
+
# @return [String]
|
5969
|
+
#
|
5970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFNonexistentItemException AWS API Documentation
|
5971
|
+
#
|
5972
|
+
class WAFNonexistentItemException < Struct.new(
|
5973
|
+
:message)
|
5974
|
+
include Aws::Structure
|
5975
|
+
end
|
5976
|
+
|
5977
|
+
# The operation failed because you tried to delete an object that is
|
5978
|
+
# still in use. For example:
|
5979
|
+
#
|
5980
|
+
# * You tried to delete a `ByteMatchSet` that is still referenced by a
|
5981
|
+
# `Rule`.
|
5982
|
+
#
|
5983
|
+
# * You tried to delete a `Rule` that is still referenced by a `WebACL`.
|
5984
|
+
#
|
5985
|
+
# @!attribute [rw] message
|
5986
|
+
# @return [String]
|
5987
|
+
#
|
5988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFReferencedItemException AWS API Documentation
|
5989
|
+
#
|
5990
|
+
class WAFReferencedItemException < Struct.new(
|
5991
|
+
:message)
|
5992
|
+
include Aws::Structure
|
5993
|
+
end
|
5994
|
+
|
5995
|
+
# AWS WAF is not able to access the service linked role. This can be
|
5996
|
+
# caused by a previous `PutLoggingConfiguration` request, which can lock
|
5997
|
+
# the service linked role for about 20 seconds. Please try your request
|
5998
|
+
# again. The service linked role can also be locked by a previous
|
5999
|
+
# `DeleteServiceLinkedRole` request, which can lock the role for 15
|
6000
|
+
# minutes or more. If you recently made a `DeleteServiceLinkedRole`,
|
6001
|
+
# wait at least 15 minutes and try the request again. If you receive
|
6002
|
+
# this same exception again, you will have to wait additional time until
|
6003
|
+
# the role is unlocked.
|
6004
|
+
#
|
6005
|
+
# @!attribute [rw] message
|
6006
|
+
# @return [String]
|
6007
|
+
#
|
6008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFServiceLinkedRoleErrorException AWS API Documentation
|
6009
|
+
#
|
6010
|
+
class WAFServiceLinkedRoleErrorException < Struct.new(
|
6011
|
+
:message)
|
6012
|
+
include Aws::Structure
|
6013
|
+
end
|
6014
|
+
|
6015
|
+
# The operation failed because you tried to create, update, or delete an
|
6016
|
+
# object by using a change token that has already been used.
|
6017
|
+
#
|
6018
|
+
# @!attribute [rw] message
|
6019
|
+
# @return [String]
|
6020
|
+
#
|
6021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFStaleDataException AWS API Documentation
|
6022
|
+
#
|
6023
|
+
class WAFStaleDataException < Struct.new(
|
6024
|
+
:message)
|
6025
|
+
include Aws::Structure
|
6026
|
+
end
|
6027
|
+
|
6028
|
+
# The specified subscription does not exist.
|
6029
|
+
#
|
6030
|
+
# @!attribute [rw] message
|
6031
|
+
# @return [String]
|
6032
|
+
#
|
6033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFSubscriptionNotFoundException AWS API Documentation
|
6034
|
+
#
|
6035
|
+
class WAFSubscriptionNotFoundException < Struct.new(
|
6036
|
+
:message)
|
6037
|
+
include Aws::Structure
|
6038
|
+
end
|
6039
|
+
|
5750
6040
|
# For the action that is associated with a rule in a `WebACL`, specifies
|
5751
6041
|
# the action that you want AWS WAF to perform when a web request matches
|
5752
6042
|
# all of the conditions in a rule. For the default action in a `WebACL`,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-waf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|