aws-sdk-waf 1.22.0 → 1.23.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 +118 -1
- data/lib/aws-sdk-waf/client_api.rb +124 -0
- data/lib/aws-sdk-waf/errors.rb +48 -0
- data/lib/aws-sdk-waf/types.rb +208 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9f5d6e6f3602165d3e37b763114474fe788cf8e
|
4
|
+
data.tar.gz: b0389ffb0666279d16d3337d98320ce6d976d980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f737658fbefdcd65c7b035c69d0520553f181a22a7eab917303922626761f3858c97827e0995c00c004b9921d7d14653b05c3ca130a156862d4cfd527c55cdf
|
7
|
+
data.tar.gz: 2701d751eb243bce16633db5e88cbf6ec47a1d178b1b4aae6522392b7b1bf8745f65b483c4f7a97834c4fb5a00f0d8df2890561d4927f308c515580a9d983c37
|
data/lib/aws-sdk-waf.rb
CHANGED
data/lib/aws-sdk-waf/client.rb
CHANGED
@@ -588,6 +588,8 @@ module Aws::WAF
|
|
588
588
|
# request. You can also use this value to query the status of the
|
589
589
|
# request. For more information, see GetChangeTokenStatus.
|
590
590
|
#
|
591
|
+
# @option params [Array<Types::Tag>] :tags
|
592
|
+
#
|
591
593
|
# @return [Types::CreateRateBasedRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
592
594
|
#
|
593
595
|
# * {Types::CreateRateBasedRuleResponse#rule #rule} => Types::RateBasedRule
|
@@ -601,6 +603,12 @@ module Aws::WAF
|
|
601
603
|
# rate_key: "IP", # required, accepts IP
|
602
604
|
# rate_limit: 1, # required
|
603
605
|
# change_token: "ChangeToken", # required
|
606
|
+
# tags: [
|
607
|
+
# {
|
608
|
+
# key: "TagKey",
|
609
|
+
# value: "TagValue",
|
610
|
+
# },
|
611
|
+
# ],
|
604
612
|
# })
|
605
613
|
#
|
606
614
|
# @example Response structure
|
@@ -814,6 +822,8 @@ module Aws::WAF
|
|
814
822
|
# @option params [required, String] :change_token
|
815
823
|
# The value returned by the most recent call to GetChangeToken.
|
816
824
|
#
|
825
|
+
# @option params [Array<Types::Tag>] :tags
|
826
|
+
#
|
817
827
|
# @return [Types::CreateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
818
828
|
#
|
819
829
|
# * {Types::CreateRuleResponse#rule #rule} => Types::Rule
|
@@ -853,6 +863,12 @@ module Aws::WAF
|
|
853
863
|
# name: "ResourceName", # required
|
854
864
|
# metric_name: "MetricName", # required
|
855
865
|
# change_token: "ChangeToken", # required
|
866
|
+
# tags: [
|
867
|
+
# {
|
868
|
+
# key: "TagKey",
|
869
|
+
# value: "TagValue",
|
870
|
+
# },
|
871
|
+
# ],
|
856
872
|
# })
|
857
873
|
#
|
858
874
|
# @example Response structure
|
@@ -910,6 +926,8 @@ module Aws::WAF
|
|
910
926
|
# @option params [required, String] :change_token
|
911
927
|
# The value returned by the most recent call to GetChangeToken.
|
912
928
|
#
|
929
|
+
# @option params [Array<Types::Tag>] :tags
|
930
|
+
#
|
913
931
|
# @return [Types::CreateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
914
932
|
#
|
915
933
|
# * {Types::CreateRuleGroupResponse#rule_group #rule_group} => Types::RuleGroup
|
@@ -921,6 +939,12 @@ module Aws::WAF
|
|
921
939
|
# name: "ResourceName", # required
|
922
940
|
# metric_name: "MetricName", # required
|
923
941
|
# change_token: "ChangeToken", # required
|
942
|
+
# tags: [
|
943
|
+
# {
|
944
|
+
# key: "TagKey",
|
945
|
+
# value: "TagValue",
|
946
|
+
# },
|
947
|
+
# ],
|
924
948
|
# })
|
925
949
|
#
|
926
950
|
# @example Response structure
|
@@ -1191,6 +1215,8 @@ module Aws::WAF
|
|
1191
1215
|
# @option params [required, String] :change_token
|
1192
1216
|
# The value returned by the most recent call to GetChangeToken.
|
1193
1217
|
#
|
1218
|
+
# @option params [Array<Types::Tag>] :tags
|
1219
|
+
#
|
1194
1220
|
# @return [Types::CreateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1195
1221
|
#
|
1196
1222
|
# * {Types::CreateWebACLResponse#web_acl #web_acl} => Types::WebACL
|
@@ -1241,6 +1267,12 @@ module Aws::WAF
|
|
1241
1267
|
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1242
1268
|
# },
|
1243
1269
|
# change_token: "ChangeToken", # required
|
1270
|
+
# tags: [
|
1271
|
+
# {
|
1272
|
+
# key: "TagKey",
|
1273
|
+
# value: "TagValue",
|
1274
|
+
# },
|
1275
|
+
# ],
|
1244
1276
|
# })
|
1245
1277
|
#
|
1246
1278
|
# @example Response structure
|
@@ -3714,6 +3746,42 @@ module Aws::WAF
|
|
3714
3746
|
req.send_request(options)
|
3715
3747
|
end
|
3716
3748
|
|
3749
|
+
# @option params [String] :next_marker
|
3750
|
+
#
|
3751
|
+
# @option params [Integer] :limit
|
3752
|
+
#
|
3753
|
+
# @option params [required, String] :resource_arn
|
3754
|
+
#
|
3755
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3756
|
+
#
|
3757
|
+
# * {Types::ListTagsForResourceResponse#next_marker #next_marker} => String
|
3758
|
+
# * {Types::ListTagsForResourceResponse#tag_info_for_resource #tag_info_for_resource} => Types::TagInfoForResource
|
3759
|
+
#
|
3760
|
+
# @example Request syntax with placeholder values
|
3761
|
+
#
|
3762
|
+
# resp = client.list_tags_for_resource({
|
3763
|
+
# next_marker: "NextMarker",
|
3764
|
+
# limit: 1,
|
3765
|
+
# resource_arn: "ResourceArn", # required
|
3766
|
+
# })
|
3767
|
+
#
|
3768
|
+
# @example Response structure
|
3769
|
+
#
|
3770
|
+
# resp.next_marker #=> String
|
3771
|
+
# resp.tag_info_for_resource.resource_arn #=> String
|
3772
|
+
# resp.tag_info_for_resource.tag_list #=> Array
|
3773
|
+
# resp.tag_info_for_resource.tag_list[0].key #=> String
|
3774
|
+
# resp.tag_info_for_resource.tag_list[0].value #=> String
|
3775
|
+
#
|
3776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListTagsForResource AWS API Documentation
|
3777
|
+
#
|
3778
|
+
# @overload list_tags_for_resource(params = {})
|
3779
|
+
# @param [Hash] params ({})
|
3780
|
+
def list_tags_for_resource(params = {}, options = {})
|
3781
|
+
req = build_request(:list_tags_for_resource, params)
|
3782
|
+
req.send_request(options)
|
3783
|
+
end
|
3784
|
+
|
3717
3785
|
# Returns an array of WebACLSummary objects in the response.
|
3718
3786
|
#
|
3719
3787
|
# @option params [String] :next_marker
|
@@ -3972,6 +4040,55 @@ module Aws::WAF
|
|
3972
4040
|
req.send_request(options)
|
3973
4041
|
end
|
3974
4042
|
|
4043
|
+
# @option params [required, String] :resource_arn
|
4044
|
+
#
|
4045
|
+
# @option params [required, Array<Types::Tag>] :tags
|
4046
|
+
#
|
4047
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4048
|
+
#
|
4049
|
+
# @example Request syntax with placeholder values
|
4050
|
+
#
|
4051
|
+
# resp = client.tag_resource({
|
4052
|
+
# resource_arn: "ResourceArn", # required
|
4053
|
+
# tags: [ # required
|
4054
|
+
# {
|
4055
|
+
# key: "TagKey",
|
4056
|
+
# value: "TagValue",
|
4057
|
+
# },
|
4058
|
+
# ],
|
4059
|
+
# })
|
4060
|
+
#
|
4061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagResource AWS API Documentation
|
4062
|
+
#
|
4063
|
+
# @overload tag_resource(params = {})
|
4064
|
+
# @param [Hash] params ({})
|
4065
|
+
def tag_resource(params = {}, options = {})
|
4066
|
+
req = build_request(:tag_resource, params)
|
4067
|
+
req.send_request(options)
|
4068
|
+
end
|
4069
|
+
|
4070
|
+
# @option params [required, String] :resource_arn
|
4071
|
+
#
|
4072
|
+
# @option params [required, Array<String>] :tag_keys
|
4073
|
+
#
|
4074
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4075
|
+
#
|
4076
|
+
# @example Request syntax with placeholder values
|
4077
|
+
#
|
4078
|
+
# resp = client.untag_resource({
|
4079
|
+
# resource_arn: "ResourceArn", # required
|
4080
|
+
# tag_keys: ["TagKey"], # required
|
4081
|
+
# })
|
4082
|
+
#
|
4083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UntagResource AWS API Documentation
|
4084
|
+
#
|
4085
|
+
# @overload untag_resource(params = {})
|
4086
|
+
# @param [Hash] params ({})
|
4087
|
+
def untag_resource(params = {}, options = {})
|
4088
|
+
req = build_request(:untag_resource, params)
|
4089
|
+
req.send_request(options)
|
4090
|
+
end
|
4091
|
+
|
3975
4092
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
3976
4093
|
# For each `ByteMatchTuple` object, you specify the following values:
|
3977
4094
|
#
|
@@ -5394,7 +5511,7 @@ module Aws::WAF
|
|
5394
5511
|
params: params,
|
5395
5512
|
config: config)
|
5396
5513
|
context[:gem_name] = 'aws-sdk-waf'
|
5397
|
-
context[:gem_version] = '1.
|
5514
|
+
context[:gem_version] = '1.23.0'
|
5398
5515
|
Seahorse::Client::Request.new(handlers, context)
|
5399
5516
|
end
|
5400
5517
|
|
@@ -171,6 +171,8 @@ module Aws::WAF
|
|
171
171
|
ListSqlInjectionMatchSetsResponse = Shapes::StructureShape.new(name: 'ListSqlInjectionMatchSetsResponse')
|
172
172
|
ListSubscribedRuleGroupsRequest = Shapes::StructureShape.new(name: 'ListSubscribedRuleGroupsRequest')
|
173
173
|
ListSubscribedRuleGroupsResponse = Shapes::StructureShape.new(name: 'ListSubscribedRuleGroupsResponse')
|
174
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
175
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
174
176
|
ListWebACLsRequest = Shapes::StructureShape.new(name: 'ListWebACLsRequest')
|
175
177
|
ListWebACLsResponse = Shapes::StructureShape.new(name: 'ListWebACLsResponse')
|
176
178
|
ListXssMatchSetsRequest = Shapes::StructureShape.new(name: 'ListXssMatchSetsRequest')
|
@@ -251,10 +253,20 @@ module Aws::WAF
|
|
251
253
|
SqlInjectionMatchTuples = Shapes::ListShape.new(name: 'SqlInjectionMatchTuples')
|
252
254
|
SubscribedRuleGroupSummaries = Shapes::ListShape.new(name: 'SubscribedRuleGroupSummaries')
|
253
255
|
SubscribedRuleGroupSummary = Shapes::StructureShape.new(name: 'SubscribedRuleGroupSummary')
|
256
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
257
|
+
TagInfoForResource = Shapes::StructureShape.new(name: 'TagInfoForResource')
|
258
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
259
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
260
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
261
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
262
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
263
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
254
264
|
TextTransformation = Shapes::StringShape.new(name: 'TextTransformation')
|
255
265
|
TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
|
256
266
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
257
267
|
URIString = Shapes::StringShape.new(name: 'URIString')
|
268
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
269
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
258
270
|
UpdateByteMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateByteMatchSetRequest')
|
259
271
|
UpdateByteMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateByteMatchSetResponse')
|
260
272
|
UpdateGeoMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateGeoMatchSetRequest')
|
@@ -279,6 +291,7 @@ module Aws::WAF
|
|
279
291
|
UpdateWebACLResponse = Shapes::StructureShape.new(name: 'UpdateWebACLResponse')
|
280
292
|
UpdateXssMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateXssMatchSetRequest')
|
281
293
|
UpdateXssMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateXssMatchSetResponse')
|
294
|
+
WAFBadRequestException = Shapes::StructureShape.new(name: 'WAFBadRequestException')
|
282
295
|
WAFDisallowedNameException = Shapes::StructureShape.new(name: 'WAFDisallowedNameException')
|
283
296
|
WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
|
284
297
|
WAFInvalidAccountException = Shapes::StructureShape.new(name: 'WAFInvalidAccountException')
|
@@ -294,6 +307,8 @@ module Aws::WAF
|
|
294
307
|
WAFServiceLinkedRoleErrorException = Shapes::StructureShape.new(name: 'WAFServiceLinkedRoleErrorException')
|
295
308
|
WAFStaleDataException = Shapes::StructureShape.new(name: 'WAFStaleDataException')
|
296
309
|
WAFSubscriptionNotFoundException = Shapes::StructureShape.new(name: 'WAFSubscriptionNotFoundException')
|
310
|
+
WAFTagOperationException = Shapes::StructureShape.new(name: 'WAFTagOperationException')
|
311
|
+
WAFTagOperationInternalErrorException = Shapes::StructureShape.new(name: 'WAFTagOperationInternalErrorException')
|
297
312
|
WafAction = Shapes::StructureShape.new(name: 'WafAction')
|
298
313
|
WafActionType = Shapes::StringShape.new(name: 'WafActionType')
|
299
314
|
WafOverrideAction = Shapes::StructureShape.new(name: 'WafOverrideAction')
|
@@ -377,6 +392,7 @@ module Aws::WAF
|
|
377
392
|
CreateRateBasedRuleRequest.add_member(:rate_key, Shapes::ShapeRef.new(shape: RateKey, required: true, location_name: "RateKey"))
|
378
393
|
CreateRateBasedRuleRequest.add_member(:rate_limit, Shapes::ShapeRef.new(shape: RateLimit, required: true, location_name: "RateLimit"))
|
379
394
|
CreateRateBasedRuleRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
395
|
+
CreateRateBasedRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
380
396
|
CreateRateBasedRuleRequest.struct_class = Types::CreateRateBasedRuleRequest
|
381
397
|
|
382
398
|
CreateRateBasedRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: RateBasedRule, location_name: "Rule"))
|
@@ -402,6 +418,7 @@ module Aws::WAF
|
|
402
418
|
CreateRuleGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
403
419
|
CreateRuleGroupRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
404
420
|
CreateRuleGroupRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
421
|
+
CreateRuleGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
405
422
|
CreateRuleGroupRequest.struct_class = Types::CreateRuleGroupRequest
|
406
423
|
|
407
424
|
CreateRuleGroupResponse.add_member(:rule_group, Shapes::ShapeRef.new(shape: RuleGroup, location_name: "RuleGroup"))
|
@@ -411,6 +428,7 @@ module Aws::WAF
|
|
411
428
|
CreateRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
412
429
|
CreateRuleRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
413
430
|
CreateRuleRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
431
|
+
CreateRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
414
432
|
CreateRuleRequest.struct_class = Types::CreateRuleRequest
|
415
433
|
|
416
434
|
CreateRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "Rule"))
|
@@ -437,6 +455,7 @@ module Aws::WAF
|
|
437
455
|
CreateWebACLRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
438
456
|
CreateWebACLRequest.add_member(:default_action, Shapes::ShapeRef.new(shape: WafAction, required: true, location_name: "DefaultAction"))
|
439
457
|
CreateWebACLRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
458
|
+
CreateWebACLRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
440
459
|
CreateWebACLRequest.struct_class = Types::CreateWebACLRequest
|
441
460
|
|
442
461
|
CreateWebACLResponse.add_member(:web_acl, Shapes::ShapeRef.new(shape: WebACL, location_name: "WebACL"))
|
@@ -833,6 +852,15 @@ module Aws::WAF
|
|
833
852
|
ListSubscribedRuleGroupsResponse.add_member(:rule_groups, Shapes::ShapeRef.new(shape: SubscribedRuleGroupSummaries, location_name: "RuleGroups"))
|
834
853
|
ListSubscribedRuleGroupsResponse.struct_class = Types::ListSubscribedRuleGroupsResponse
|
835
854
|
|
855
|
+
ListTagsForResourceRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
856
|
+
ListTagsForResourceRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
857
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
858
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
859
|
+
|
860
|
+
ListTagsForResourceResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
861
|
+
ListTagsForResourceResponse.add_member(:tag_info_for_resource, Shapes::ShapeRef.new(shape: TagInfoForResource, location_name: "TagInfoForResource"))
|
862
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
863
|
+
|
836
864
|
ListWebACLsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
837
865
|
ListWebACLsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
838
866
|
ListWebACLsRequest.struct_class = Types::ListWebACLsRequest
|
@@ -1031,10 +1059,34 @@ module Aws::WAF
|
|
1031
1059
|
SubscribedRuleGroupSummary.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
1032
1060
|
SubscribedRuleGroupSummary.struct_class = Types::SubscribedRuleGroupSummary
|
1033
1061
|
|
1062
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
1063
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
1064
|
+
Tag.struct_class = Types::Tag
|
1065
|
+
|
1066
|
+
TagInfoForResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceARN"))
|
1067
|
+
TagInfoForResource.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1068
|
+
TagInfoForResource.struct_class = Types::TagInfoForResource
|
1069
|
+
|
1070
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1071
|
+
|
1072
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1073
|
+
|
1074
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
1075
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1076
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1077
|
+
|
1078
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1079
|
+
|
1034
1080
|
TimeWindow.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
1035
1081
|
TimeWindow.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
1036
1082
|
TimeWindow.struct_class = Types::TimeWindow
|
1037
1083
|
|
1084
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
1085
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1086
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1087
|
+
|
1088
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1089
|
+
|
1038
1090
|
UpdateByteMatchSetRequest.add_member(:byte_match_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ByteMatchSetId"))
|
1039
1091
|
UpdateByteMatchSetRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
1040
1092
|
UpdateByteMatchSetRequest.add_member(:updates, Shapes::ShapeRef.new(shape: ByteMatchSetUpdates, required: true, location_name: "Updates"))
|
@@ -1133,6 +1185,9 @@ module Aws::WAF
|
|
1133
1185
|
UpdateXssMatchSetResponse.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, location_name: "ChangeToken"))
|
1134
1186
|
UpdateXssMatchSetResponse.struct_class = Types::UpdateXssMatchSetResponse
|
1135
1187
|
|
1188
|
+
WAFBadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1189
|
+
WAFBadRequestException.struct_class = Types::WAFBadRequestException
|
1190
|
+
|
1136
1191
|
WAFDisallowedNameException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1137
1192
|
WAFDisallowedNameException.struct_class = Types::WAFDisallowedNameException
|
1138
1193
|
|
@@ -1177,6 +1232,12 @@ module Aws::WAF
|
|
1177
1232
|
WAFSubscriptionNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1178
1233
|
WAFSubscriptionNotFoundException.struct_class = Types::WAFSubscriptionNotFoundException
|
1179
1234
|
|
1235
|
+
WAFTagOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1236
|
+
WAFTagOperationException.struct_class = Types::WAFTagOperationException
|
1237
|
+
|
1238
|
+
WAFTagOperationInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1239
|
+
WAFTagOperationInternalErrorException.struct_class = Types::WAFTagOperationInternalErrorException
|
1240
|
+
|
1180
1241
|
WafAction.add_member(:type, Shapes::ShapeRef.new(shape: WafActionType, required: true, location_name: "Type"))
|
1181
1242
|
WafAction.struct_class = Types::WafAction
|
1182
1243
|
|
@@ -1298,6 +1359,9 @@ module Aws::WAF
|
|
1298
1359
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1299
1360
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1300
1361
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1362
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1363
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1364
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1301
1365
|
end)
|
1302
1366
|
|
1303
1367
|
api.add_operation(:create_regex_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1335,6 +1399,9 @@ module Aws::WAF
|
|
1335
1399
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1336
1400
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1337
1401
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1402
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1403
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1404
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1338
1405
|
end)
|
1339
1406
|
|
1340
1407
|
api.add_operation(:create_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1347,6 +1414,9 @@ module Aws::WAF
|
|
1347
1414
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1348
1415
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1349
1416
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1418
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1350
1420
|
end)
|
1351
1421
|
|
1352
1422
|
api.add_operation(:create_size_constraint_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1389,6 +1459,9 @@ module Aws::WAF
|
|
1389
1459
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1390
1460
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1391
1461
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1392
1465
|
end)
|
1393
1466
|
|
1394
1467
|
api.add_operation(:create_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1481,6 +1554,8 @@ module Aws::WAF
|
|
1481
1554
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1482
1555
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1483
1556
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1484
1559
|
end)
|
1485
1560
|
|
1486
1561
|
api.add_operation(:delete_regex_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1523,6 +1598,8 @@ module Aws::WAF
|
|
1523
1598
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1524
1599
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1525
1600
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1601
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1602
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1526
1603
|
end)
|
1527
1604
|
|
1528
1605
|
api.add_operation(:delete_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1537,6 +1614,8 @@ module Aws::WAF
|
|
1537
1614
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1538
1615
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1539
1616
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1617
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1618
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1540
1619
|
end)
|
1541
1620
|
|
1542
1621
|
api.add_operation(:delete_size_constraint_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1579,6 +1658,8 @@ module Aws::WAF
|
|
1579
1658
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1580
1659
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1581
1660
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1582
1663
|
end)
|
1583
1664
|
|
1584
1665
|
api.add_operation(:delete_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1918,6 +1999,20 @@ module Aws::WAF
|
|
1918
1999
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1919
2000
|
end)
|
1920
2001
|
|
2002
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2003
|
+
o.name = "ListTagsForResource"
|
2004
|
+
o.http_method = "POST"
|
2005
|
+
o.http_request_uri = "/"
|
2006
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2007
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2008
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2009
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2011
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2012
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2013
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2014
|
+
end)
|
2015
|
+
|
1921
2016
|
api.add_operation(:list_web_acls, Seahorse::Model::Operation.new.tap do |o|
|
1922
2017
|
o.name = "ListWebACLs"
|
1923
2018
|
o.http_method = "POST"
|
@@ -1962,6 +2057,35 @@ module Aws::WAF
|
|
1962
2057
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidPermissionPolicyException)
|
1963
2058
|
end)
|
1964
2059
|
|
2060
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2061
|
+
o.name = "TagResource"
|
2062
|
+
o.http_method = "POST"
|
2063
|
+
o.http_request_uri = "/"
|
2064
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2065
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
2069
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2070
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2071
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2072
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2073
|
+
end)
|
2074
|
+
|
2075
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2076
|
+
o.name = "UntagResource"
|
2077
|
+
o.http_method = "POST"
|
2078
|
+
o.http_request_uri = "/"
|
2079
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2080
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2081
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2082
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2083
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2084
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2085
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2086
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2087
|
+
end)
|
2088
|
+
|
1965
2089
|
api.add_operation(:update_byte_match_set, Seahorse::Model::Operation.new.tap do |o|
|
1966
2090
|
o.name = "UpdateByteMatchSet"
|
1967
2091
|
o.http_method = "POST"
|
data/lib/aws-sdk-waf/errors.rb
CHANGED
@@ -10,6 +10,22 @@ module Aws::WAF
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class WAFBadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::WAF::Types::WAFBadRequestException] 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
|
+
|
13
29
|
class WAFDisallowedNameException < ServiceError
|
14
30
|
|
15
31
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -244,5 +260,37 @@ module Aws::WAF
|
|
244
260
|
|
245
261
|
end
|
246
262
|
|
263
|
+
class WAFTagOperationException < ServiceError
|
264
|
+
|
265
|
+
# @param [Seahorse::Client::RequestContext] context
|
266
|
+
# @param [String] message
|
267
|
+
# @param [Aws::WAF::Types::WAFTagOperationException] data
|
268
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
269
|
+
super(context, message, data)
|
270
|
+
end
|
271
|
+
|
272
|
+
# @return [String]
|
273
|
+
def message
|
274
|
+
@message || @data[:message]
|
275
|
+
end
|
276
|
+
|
277
|
+
end
|
278
|
+
|
279
|
+
class WAFTagOperationInternalErrorException < ServiceError
|
280
|
+
|
281
|
+
# @param [Seahorse::Client::RequestContext] context
|
282
|
+
# @param [String] message
|
283
|
+
# @param [Aws::WAF::Types::WAFTagOperationInternalErrorException] data
|
284
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
285
|
+
super(context, message, data)
|
286
|
+
end
|
287
|
+
|
288
|
+
# @return [String]
|
289
|
+
def message
|
290
|
+
@message || @data[:message]
|
291
|
+
end
|
292
|
+
|
293
|
+
end
|
294
|
+
|
247
295
|
end
|
248
296
|
end
|
data/lib/aws-sdk-waf/types.rb
CHANGED
@@ -633,6 +633,12 @@ module Aws::WAF
|
|
633
633
|
# rate_key: "IP", # required, accepts IP
|
634
634
|
# rate_limit: 1, # required
|
635
635
|
# change_token: "ChangeToken", # required
|
636
|
+
# tags: [
|
637
|
+
# {
|
638
|
+
# key: "TagKey",
|
639
|
+
# value: "TagValue",
|
640
|
+
# },
|
641
|
+
# ],
|
636
642
|
# }
|
637
643
|
#
|
638
644
|
# @!attribute [rw] name
|
@@ -671,6 +677,9 @@ module Aws::WAF
|
|
671
677
|
# request. For more information, see GetChangeTokenStatus.
|
672
678
|
# @return [String]
|
673
679
|
#
|
680
|
+
# @!attribute [rw] tags
|
681
|
+
# @return [Array<Types::Tag>]
|
682
|
+
#
|
674
683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleRequest AWS API Documentation
|
675
684
|
#
|
676
685
|
class CreateRateBasedRuleRequest < Struct.new(
|
@@ -678,7 +687,8 @@ module Aws::WAF
|
|
678
687
|
:metric_name,
|
679
688
|
:rate_key,
|
680
689
|
:rate_limit,
|
681
|
-
:change_token
|
690
|
+
:change_token,
|
691
|
+
:tags)
|
682
692
|
include Aws::Structure
|
683
693
|
end
|
684
694
|
|
@@ -795,6 +805,12 @@ module Aws::WAF
|
|
795
805
|
# name: "ResourceName", # required
|
796
806
|
# metric_name: "MetricName", # required
|
797
807
|
# change_token: "ChangeToken", # required
|
808
|
+
# tags: [
|
809
|
+
# {
|
810
|
+
# key: "TagKey",
|
811
|
+
# value: "TagValue",
|
812
|
+
# },
|
813
|
+
# ],
|
798
814
|
# }
|
799
815
|
#
|
800
816
|
# @!attribute [rw] name
|
@@ -815,12 +831,16 @@ module Aws::WAF
|
|
815
831
|
# The value returned by the most recent call to GetChangeToken.
|
816
832
|
# @return [String]
|
817
833
|
#
|
834
|
+
# @!attribute [rw] tags
|
835
|
+
# @return [Array<Types::Tag>]
|
836
|
+
#
|
818
837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroupRequest AWS API Documentation
|
819
838
|
#
|
820
839
|
class CreateRuleGroupRequest < Struct.new(
|
821
840
|
:name,
|
822
841
|
:metric_name,
|
823
|
-
:change_token
|
842
|
+
:change_token,
|
843
|
+
:tags)
|
824
844
|
include Aws::Structure
|
825
845
|
end
|
826
846
|
|
@@ -849,6 +869,12 @@ module Aws::WAF
|
|
849
869
|
# name: "ResourceName", # required
|
850
870
|
# metric_name: "MetricName", # required
|
851
871
|
# change_token: "ChangeToken", # required
|
872
|
+
# tags: [
|
873
|
+
# {
|
874
|
+
# key: "TagKey",
|
875
|
+
# value: "TagValue",
|
876
|
+
# },
|
877
|
+
# ],
|
852
878
|
# }
|
853
879
|
#
|
854
880
|
# @!attribute [rw] name
|
@@ -869,12 +895,16 @@ module Aws::WAF
|
|
869
895
|
# The value returned by the most recent call to GetChangeToken.
|
870
896
|
# @return [String]
|
871
897
|
#
|
898
|
+
# @!attribute [rw] tags
|
899
|
+
# @return [Array<Types::Tag>]
|
900
|
+
#
|
872
901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleRequest AWS API Documentation
|
873
902
|
#
|
874
903
|
class CreateRuleRequest < Struct.new(
|
875
904
|
:name,
|
876
905
|
:metric_name,
|
877
|
-
:change_token
|
906
|
+
:change_token,
|
907
|
+
:tags)
|
878
908
|
include Aws::Structure
|
879
909
|
end
|
880
910
|
|
@@ -999,6 +1029,12 @@ module Aws::WAF
|
|
999
1029
|
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1000
1030
|
# },
|
1001
1031
|
# change_token: "ChangeToken", # required
|
1032
|
+
# tags: [
|
1033
|
+
# {
|
1034
|
+
# key: "TagKey",
|
1035
|
+
# value: "TagValue",
|
1036
|
+
# },
|
1037
|
+
# ],
|
1002
1038
|
# }
|
1003
1039
|
#
|
1004
1040
|
# @!attribute [rw] name
|
@@ -1025,13 +1061,17 @@ module Aws::WAF
|
|
1025
1061
|
# The value returned by the most recent call to GetChangeToken.
|
1026
1062
|
# @return [String]
|
1027
1063
|
#
|
1064
|
+
# @!attribute [rw] tags
|
1065
|
+
# @return [Array<Types::Tag>]
|
1066
|
+
#
|
1028
1067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLRequest AWS API Documentation
|
1029
1068
|
#
|
1030
1069
|
class CreateWebACLRequest < Struct.new(
|
1031
1070
|
:name,
|
1032
1071
|
:metric_name,
|
1033
1072
|
:default_action,
|
1034
|
-
:change_token
|
1073
|
+
:change_token,
|
1074
|
+
:tags)
|
1035
1075
|
include Aws::Structure
|
1036
1076
|
end
|
1037
1077
|
|
@@ -3466,6 +3506,47 @@ module Aws::WAF
|
|
3466
3506
|
include Aws::Structure
|
3467
3507
|
end
|
3468
3508
|
|
3509
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3510
|
+
# data as a hash:
|
3511
|
+
#
|
3512
|
+
# {
|
3513
|
+
# next_marker: "NextMarker",
|
3514
|
+
# limit: 1,
|
3515
|
+
# resource_arn: "ResourceArn", # required
|
3516
|
+
# }
|
3517
|
+
#
|
3518
|
+
# @!attribute [rw] next_marker
|
3519
|
+
# @return [String]
|
3520
|
+
#
|
3521
|
+
# @!attribute [rw] limit
|
3522
|
+
# @return [Integer]
|
3523
|
+
#
|
3524
|
+
# @!attribute [rw] resource_arn
|
3525
|
+
# @return [String]
|
3526
|
+
#
|
3527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListTagsForResourceRequest AWS API Documentation
|
3528
|
+
#
|
3529
|
+
class ListTagsForResourceRequest < Struct.new(
|
3530
|
+
:next_marker,
|
3531
|
+
:limit,
|
3532
|
+
:resource_arn)
|
3533
|
+
include Aws::Structure
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
# @!attribute [rw] next_marker
|
3537
|
+
# @return [String]
|
3538
|
+
#
|
3539
|
+
# @!attribute [rw] tag_info_for_resource
|
3540
|
+
# @return [Types::TagInfoForResource]
|
3541
|
+
#
|
3542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListTagsForResourceResponse AWS API Documentation
|
3543
|
+
#
|
3544
|
+
class ListTagsForResourceResponse < Struct.new(
|
3545
|
+
:next_marker,
|
3546
|
+
:tag_info_for_resource)
|
3547
|
+
include Aws::Structure
|
3548
|
+
end
|
3549
|
+
|
3469
3550
|
# @note When making an API call, you may pass ListWebACLsRequest
|
3470
3551
|
# data as a hash:
|
3471
3552
|
#
|
@@ -4922,6 +5003,73 @@ module Aws::WAF
|
|
4922
5003
|
include Aws::Structure
|
4923
5004
|
end
|
4924
5005
|
|
5006
|
+
# @note When making an API call, you may pass Tag
|
5007
|
+
# data as a hash:
|
5008
|
+
#
|
5009
|
+
# {
|
5010
|
+
# key: "TagKey",
|
5011
|
+
# value: "TagValue",
|
5012
|
+
# }
|
5013
|
+
#
|
5014
|
+
# @!attribute [rw] key
|
5015
|
+
# @return [String]
|
5016
|
+
#
|
5017
|
+
# @!attribute [rw] value
|
5018
|
+
# @return [String]
|
5019
|
+
#
|
5020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/Tag AWS API Documentation
|
5021
|
+
#
|
5022
|
+
class Tag < Struct.new(
|
5023
|
+
:key,
|
5024
|
+
:value)
|
5025
|
+
include Aws::Structure
|
5026
|
+
end
|
5027
|
+
|
5028
|
+
# @!attribute [rw] resource_arn
|
5029
|
+
# @return [String]
|
5030
|
+
#
|
5031
|
+
# @!attribute [rw] tag_list
|
5032
|
+
# @return [Array<Types::Tag>]
|
5033
|
+
#
|
5034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagInfoForResource AWS API Documentation
|
5035
|
+
#
|
5036
|
+
class TagInfoForResource < Struct.new(
|
5037
|
+
:resource_arn,
|
5038
|
+
:tag_list)
|
5039
|
+
include Aws::Structure
|
5040
|
+
end
|
5041
|
+
|
5042
|
+
# @note When making an API call, you may pass TagResourceRequest
|
5043
|
+
# data as a hash:
|
5044
|
+
#
|
5045
|
+
# {
|
5046
|
+
# resource_arn: "ResourceArn", # required
|
5047
|
+
# tags: [ # required
|
5048
|
+
# {
|
5049
|
+
# key: "TagKey",
|
5050
|
+
# value: "TagValue",
|
5051
|
+
# },
|
5052
|
+
# ],
|
5053
|
+
# }
|
5054
|
+
#
|
5055
|
+
# @!attribute [rw] resource_arn
|
5056
|
+
# @return [String]
|
5057
|
+
#
|
5058
|
+
# @!attribute [rw] tags
|
5059
|
+
# @return [Array<Types::Tag>]
|
5060
|
+
#
|
5061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagResourceRequest AWS API Documentation
|
5062
|
+
#
|
5063
|
+
class TagResourceRequest < Struct.new(
|
5064
|
+
:resource_arn,
|
5065
|
+
:tags)
|
5066
|
+
include Aws::Structure
|
5067
|
+
end
|
5068
|
+
|
5069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagResourceResponse AWS API Documentation
|
5070
|
+
#
|
5071
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
5072
|
+
|
4925
5073
|
# In a GetSampledRequests request, the `StartTime` and `EndTime` objects
|
4926
5074
|
# specify the time range for which you want AWS WAF to return a sample
|
4927
5075
|
# of web requests.
|
@@ -4967,6 +5115,32 @@ module Aws::WAF
|
|
4967
5115
|
include Aws::Structure
|
4968
5116
|
end
|
4969
5117
|
|
5118
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
5119
|
+
# data as a hash:
|
5120
|
+
#
|
5121
|
+
# {
|
5122
|
+
# resource_arn: "ResourceArn", # required
|
5123
|
+
# tag_keys: ["TagKey"], # required
|
5124
|
+
# }
|
5125
|
+
#
|
5126
|
+
# @!attribute [rw] resource_arn
|
5127
|
+
# @return [String]
|
5128
|
+
#
|
5129
|
+
# @!attribute [rw] tag_keys
|
5130
|
+
# @return [Array<String>]
|
5131
|
+
#
|
5132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UntagResourceRequest AWS API Documentation
|
5133
|
+
#
|
5134
|
+
class UntagResourceRequest < Struct.new(
|
5135
|
+
:resource_arn,
|
5136
|
+
:tag_keys)
|
5137
|
+
include Aws::Structure
|
5138
|
+
end
|
5139
|
+
|
5140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UntagResourceResponse AWS API Documentation
|
5141
|
+
#
|
5142
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
5143
|
+
|
4970
5144
|
# @note When making an API call, you may pass UpdateByteMatchSetRequest
|
4971
5145
|
# data as a hash:
|
4972
5146
|
#
|
@@ -5763,6 +5937,16 @@ module Aws::WAF
|
|
5763
5937
|
include Aws::Structure
|
5764
5938
|
end
|
5765
5939
|
|
5940
|
+
# @!attribute [rw] message
|
5941
|
+
# @return [String]
|
5942
|
+
#
|
5943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFBadRequestException AWS API Documentation
|
5944
|
+
#
|
5945
|
+
class WAFBadRequestException < Struct.new(
|
5946
|
+
:message)
|
5947
|
+
include Aws::Structure
|
5948
|
+
end
|
5949
|
+
|
5766
5950
|
# The name specified is invalid.
|
5767
5951
|
#
|
5768
5952
|
# @!attribute [rw] message
|
@@ -6053,6 +6237,26 @@ module Aws::WAF
|
|
6053
6237
|
include Aws::Structure
|
6054
6238
|
end
|
6055
6239
|
|
6240
|
+
# @!attribute [rw] message
|
6241
|
+
# @return [String]
|
6242
|
+
#
|
6243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFTagOperationException AWS API Documentation
|
6244
|
+
#
|
6245
|
+
class WAFTagOperationException < Struct.new(
|
6246
|
+
:message)
|
6247
|
+
include Aws::Structure
|
6248
|
+
end
|
6249
|
+
|
6250
|
+
# @!attribute [rw] message
|
6251
|
+
# @return [String]
|
6252
|
+
#
|
6253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WAFTagOperationInternalErrorException AWS API Documentation
|
6254
|
+
#
|
6255
|
+
class WAFTagOperationInternalErrorException < Struct.new(
|
6256
|
+
:message)
|
6257
|
+
include Aws::Structure
|
6258
|
+
end
|
6259
|
+
|
6056
6260
|
# For the action that is associated with a rule in a `WebACL`, specifies
|
6057
6261
|
# the action that you want AWS WAF to perform when a web request matches
|
6058
6262
|
# 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.23.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-07-
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|