aws-sdk-wafregional 1.23.0 → 1.24.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/lib/aws-sdk-wafregional.rb +1 -1
- data/lib/aws-sdk-wafregional/client.rb +118 -1
- data/lib/aws-sdk-wafregional/client_api.rb +124 -0
- data/lib/aws-sdk-wafregional/errors.rb +48 -0
- data/lib/aws-sdk-wafregional/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: a65fd9c8034d84129380acec252eb9270a4fa0d4
|
4
|
+
data.tar.gz: 35ed2dfbff653c853664fb1740b780ee216399fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d884f6390c41b1c7cf203b4995ddaecfa818c21e0fae3655a583f93df72473785e9d3f6a1ca4e54d5fd2d5389e4acebcdf39d4f7b9e78409420ca169bdb6e44f
|
7
|
+
data.tar.gz: 0e6da12c858b74488367554270c2a016d70e0cf0f39a0121e37bbdd8e216b03ce79288c54953ec8e609e13f7e6e3d40e6197d693ec76c53c0434a3f323ac28d0
|
data/lib/aws-sdk-wafregional.rb
CHANGED
@@ -625,6 +625,8 @@ module Aws::WAFRegional
|
|
625
625
|
# request. You can also use this value to query the status of the
|
626
626
|
# request. For more information, see GetChangeTokenStatus.
|
627
627
|
#
|
628
|
+
# @option params [Array<Types::Tag>] :tags
|
629
|
+
#
|
628
630
|
# @return [Types::CreateRateBasedRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
629
631
|
#
|
630
632
|
# * {Types::CreateRateBasedRuleResponse#rule #rule} => Types::RateBasedRule
|
@@ -638,6 +640,12 @@ module Aws::WAFRegional
|
|
638
640
|
# rate_key: "IP", # required, accepts IP
|
639
641
|
# rate_limit: 1, # required
|
640
642
|
# change_token: "ChangeToken", # required
|
643
|
+
# tags: [
|
644
|
+
# {
|
645
|
+
# key: "TagKey",
|
646
|
+
# value: "TagValue",
|
647
|
+
# },
|
648
|
+
# ],
|
641
649
|
# })
|
642
650
|
#
|
643
651
|
# @example Response structure
|
@@ -851,6 +859,8 @@ module Aws::WAFRegional
|
|
851
859
|
# @option params [required, String] :change_token
|
852
860
|
# The value returned by the most recent call to GetChangeToken.
|
853
861
|
#
|
862
|
+
# @option params [Array<Types::Tag>] :tags
|
863
|
+
#
|
854
864
|
# @return [Types::CreateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
855
865
|
#
|
856
866
|
# * {Types::CreateRuleResponse#rule #rule} => Types::Rule
|
@@ -890,6 +900,12 @@ module Aws::WAFRegional
|
|
890
900
|
# name: "ResourceName", # required
|
891
901
|
# metric_name: "MetricName", # required
|
892
902
|
# change_token: "ChangeToken", # required
|
903
|
+
# tags: [
|
904
|
+
# {
|
905
|
+
# key: "TagKey",
|
906
|
+
# value: "TagValue",
|
907
|
+
# },
|
908
|
+
# ],
|
893
909
|
# })
|
894
910
|
#
|
895
911
|
# @example Response structure
|
@@ -947,6 +963,8 @@ module Aws::WAFRegional
|
|
947
963
|
# @option params [required, String] :change_token
|
948
964
|
# The value returned by the most recent call to GetChangeToken.
|
949
965
|
#
|
966
|
+
# @option params [Array<Types::Tag>] :tags
|
967
|
+
#
|
950
968
|
# @return [Types::CreateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
951
969
|
#
|
952
970
|
# * {Types::CreateRuleGroupResponse#rule_group #rule_group} => Types::RuleGroup
|
@@ -958,6 +976,12 @@ module Aws::WAFRegional
|
|
958
976
|
# name: "ResourceName", # required
|
959
977
|
# metric_name: "MetricName", # required
|
960
978
|
# change_token: "ChangeToken", # required
|
979
|
+
# tags: [
|
980
|
+
# {
|
981
|
+
# key: "TagKey",
|
982
|
+
# value: "TagValue",
|
983
|
+
# },
|
984
|
+
# ],
|
961
985
|
# })
|
962
986
|
#
|
963
987
|
# @example Response structure
|
@@ -1228,6 +1252,8 @@ module Aws::WAFRegional
|
|
1228
1252
|
# @option params [required, String] :change_token
|
1229
1253
|
# The value returned by the most recent call to GetChangeToken.
|
1230
1254
|
#
|
1255
|
+
# @option params [Array<Types::Tag>] :tags
|
1256
|
+
#
|
1231
1257
|
# @return [Types::CreateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1232
1258
|
#
|
1233
1259
|
# * {Types::CreateWebACLResponse#web_acl #web_acl} => Types::WebACL
|
@@ -1278,6 +1304,12 @@ module Aws::WAFRegional
|
|
1278
1304
|
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1279
1305
|
# },
|
1280
1306
|
# change_token: "ChangeToken", # required
|
1307
|
+
# tags: [
|
1308
|
+
# {
|
1309
|
+
# key: "TagKey",
|
1310
|
+
# value: "TagValue",
|
1311
|
+
# },
|
1312
|
+
# ],
|
1281
1313
|
# })
|
1282
1314
|
#
|
1283
1315
|
# @example Response structure
|
@@ -3861,6 +3893,42 @@ module Aws::WAFRegional
|
|
3861
3893
|
req.send_request(options)
|
3862
3894
|
end
|
3863
3895
|
|
3896
|
+
# @option params [String] :next_marker
|
3897
|
+
#
|
3898
|
+
# @option params [Integer] :limit
|
3899
|
+
#
|
3900
|
+
# @option params [required, String] :resource_arn
|
3901
|
+
#
|
3902
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3903
|
+
#
|
3904
|
+
# * {Types::ListTagsForResourceResponse#next_marker #next_marker} => String
|
3905
|
+
# * {Types::ListTagsForResourceResponse#tag_info_for_resource #tag_info_for_resource} => Types::TagInfoForResource
|
3906
|
+
#
|
3907
|
+
# @example Request syntax with placeholder values
|
3908
|
+
#
|
3909
|
+
# resp = client.list_tags_for_resource({
|
3910
|
+
# next_marker: "NextMarker",
|
3911
|
+
# limit: 1,
|
3912
|
+
# resource_arn: "ResourceArn", # required
|
3913
|
+
# })
|
3914
|
+
#
|
3915
|
+
# @example Response structure
|
3916
|
+
#
|
3917
|
+
# resp.next_marker #=> String
|
3918
|
+
# resp.tag_info_for_resource.resource_arn #=> String
|
3919
|
+
# resp.tag_info_for_resource.tag_list #=> Array
|
3920
|
+
# resp.tag_info_for_resource.tag_list[0].key #=> String
|
3921
|
+
# resp.tag_info_for_resource.tag_list[0].value #=> String
|
3922
|
+
#
|
3923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResource AWS API Documentation
|
3924
|
+
#
|
3925
|
+
# @overload list_tags_for_resource(params = {})
|
3926
|
+
# @param [Hash] params ({})
|
3927
|
+
def list_tags_for_resource(params = {}, options = {})
|
3928
|
+
req = build_request(:list_tags_for_resource, params)
|
3929
|
+
req.send_request(options)
|
3930
|
+
end
|
3931
|
+
|
3864
3932
|
# Returns an array of WebACLSummary objects in the response.
|
3865
3933
|
#
|
3866
3934
|
# @option params [String] :next_marker
|
@@ -4119,6 +4187,55 @@ module Aws::WAFRegional
|
|
4119
4187
|
req.send_request(options)
|
4120
4188
|
end
|
4121
4189
|
|
4190
|
+
# @option params [required, String] :resource_arn
|
4191
|
+
#
|
4192
|
+
# @option params [required, Array<Types::Tag>] :tags
|
4193
|
+
#
|
4194
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4195
|
+
#
|
4196
|
+
# @example Request syntax with placeholder values
|
4197
|
+
#
|
4198
|
+
# resp = client.tag_resource({
|
4199
|
+
# resource_arn: "ResourceArn", # required
|
4200
|
+
# tags: [ # required
|
4201
|
+
# {
|
4202
|
+
# key: "TagKey",
|
4203
|
+
# value: "TagValue",
|
4204
|
+
# },
|
4205
|
+
# ],
|
4206
|
+
# })
|
4207
|
+
#
|
4208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagResource AWS API Documentation
|
4209
|
+
#
|
4210
|
+
# @overload tag_resource(params = {})
|
4211
|
+
# @param [Hash] params ({})
|
4212
|
+
def tag_resource(params = {}, options = {})
|
4213
|
+
req = build_request(:tag_resource, params)
|
4214
|
+
req.send_request(options)
|
4215
|
+
end
|
4216
|
+
|
4217
|
+
# @option params [required, String] :resource_arn
|
4218
|
+
#
|
4219
|
+
# @option params [required, Array<String>] :tag_keys
|
4220
|
+
#
|
4221
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4222
|
+
#
|
4223
|
+
# @example Request syntax with placeholder values
|
4224
|
+
#
|
4225
|
+
# resp = client.untag_resource({
|
4226
|
+
# resource_arn: "ResourceArn", # required
|
4227
|
+
# tag_keys: ["TagKey"], # required
|
4228
|
+
# })
|
4229
|
+
#
|
4230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UntagResource AWS API Documentation
|
4231
|
+
#
|
4232
|
+
# @overload untag_resource(params = {})
|
4233
|
+
# @param [Hash] params ({})
|
4234
|
+
def untag_resource(params = {}, options = {})
|
4235
|
+
req = build_request(:untag_resource, params)
|
4236
|
+
req.send_request(options)
|
4237
|
+
end
|
4238
|
+
|
4122
4239
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4123
4240
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4124
4241
|
#
|
@@ -5541,7 +5658,7 @@ module Aws::WAFRegional
|
|
5541
5658
|
params: params,
|
5542
5659
|
config: config)
|
5543
5660
|
context[:gem_name] = 'aws-sdk-wafregional'
|
5544
|
-
context[:gem_version] = '1.
|
5661
|
+
context[:gem_version] = '1.24.0'
|
5545
5662
|
Seahorse::Client::Request.new(handlers, context)
|
5546
5663
|
end
|
5547
5664
|
|
@@ -179,6 +179,8 @@ module Aws::WAFRegional
|
|
179
179
|
ListSqlInjectionMatchSetsResponse = Shapes::StructureShape.new(name: 'ListSqlInjectionMatchSetsResponse')
|
180
180
|
ListSubscribedRuleGroupsRequest = Shapes::StructureShape.new(name: 'ListSubscribedRuleGroupsRequest')
|
181
181
|
ListSubscribedRuleGroupsResponse = Shapes::StructureShape.new(name: 'ListSubscribedRuleGroupsResponse')
|
182
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
183
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
182
184
|
ListWebACLsRequest = Shapes::StructureShape.new(name: 'ListWebACLsRequest')
|
183
185
|
ListWebACLsResponse = Shapes::StructureShape.new(name: 'ListWebACLsResponse')
|
184
186
|
ListXssMatchSetsRequest = Shapes::StructureShape.new(name: 'ListXssMatchSetsRequest')
|
@@ -261,10 +263,20 @@ module Aws::WAFRegional
|
|
261
263
|
SqlInjectionMatchTuples = Shapes::ListShape.new(name: 'SqlInjectionMatchTuples')
|
262
264
|
SubscribedRuleGroupSummaries = Shapes::ListShape.new(name: 'SubscribedRuleGroupSummaries')
|
263
265
|
SubscribedRuleGroupSummary = Shapes::StructureShape.new(name: 'SubscribedRuleGroupSummary')
|
266
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
267
|
+
TagInfoForResource = Shapes::StructureShape.new(name: 'TagInfoForResource')
|
268
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
269
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
270
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
271
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
272
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
273
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
264
274
|
TextTransformation = Shapes::StringShape.new(name: 'TextTransformation')
|
265
275
|
TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
|
266
276
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
267
277
|
URIString = Shapes::StringShape.new(name: 'URIString')
|
278
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
279
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
268
280
|
UpdateByteMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateByteMatchSetRequest')
|
269
281
|
UpdateByteMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateByteMatchSetResponse')
|
270
282
|
UpdateGeoMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateGeoMatchSetRequest')
|
@@ -289,6 +301,7 @@ module Aws::WAFRegional
|
|
289
301
|
UpdateWebACLResponse = Shapes::StructureShape.new(name: 'UpdateWebACLResponse')
|
290
302
|
UpdateXssMatchSetRequest = Shapes::StructureShape.new(name: 'UpdateXssMatchSetRequest')
|
291
303
|
UpdateXssMatchSetResponse = Shapes::StructureShape.new(name: 'UpdateXssMatchSetResponse')
|
304
|
+
WAFBadRequestException = Shapes::StructureShape.new(name: 'WAFBadRequestException')
|
292
305
|
WAFDisallowedNameException = Shapes::StructureShape.new(name: 'WAFDisallowedNameException')
|
293
306
|
WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
|
294
307
|
WAFInvalidAccountException = Shapes::StructureShape.new(name: 'WAFInvalidAccountException')
|
@@ -304,6 +317,8 @@ module Aws::WAFRegional
|
|
304
317
|
WAFServiceLinkedRoleErrorException = Shapes::StructureShape.new(name: 'WAFServiceLinkedRoleErrorException')
|
305
318
|
WAFStaleDataException = Shapes::StructureShape.new(name: 'WAFStaleDataException')
|
306
319
|
WAFSubscriptionNotFoundException = Shapes::StructureShape.new(name: 'WAFSubscriptionNotFoundException')
|
320
|
+
WAFTagOperationException = Shapes::StructureShape.new(name: 'WAFTagOperationException')
|
321
|
+
WAFTagOperationInternalErrorException = Shapes::StructureShape.new(name: 'WAFTagOperationInternalErrorException')
|
307
322
|
WAFUnavailableEntityException = Shapes::StructureShape.new(name: 'WAFUnavailableEntityException')
|
308
323
|
WafAction = Shapes::StructureShape.new(name: 'WafAction')
|
309
324
|
WafActionType = Shapes::StringShape.new(name: 'WafActionType')
|
@@ -394,6 +409,7 @@ module Aws::WAFRegional
|
|
394
409
|
CreateRateBasedRuleRequest.add_member(:rate_key, Shapes::ShapeRef.new(shape: RateKey, required: true, location_name: "RateKey"))
|
395
410
|
CreateRateBasedRuleRequest.add_member(:rate_limit, Shapes::ShapeRef.new(shape: RateLimit, required: true, location_name: "RateLimit"))
|
396
411
|
CreateRateBasedRuleRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
412
|
+
CreateRateBasedRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
397
413
|
CreateRateBasedRuleRequest.struct_class = Types::CreateRateBasedRuleRequest
|
398
414
|
|
399
415
|
CreateRateBasedRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: RateBasedRule, location_name: "Rule"))
|
@@ -419,6 +435,7 @@ module Aws::WAFRegional
|
|
419
435
|
CreateRuleGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
420
436
|
CreateRuleGroupRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
421
437
|
CreateRuleGroupRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
438
|
+
CreateRuleGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
422
439
|
CreateRuleGroupRequest.struct_class = Types::CreateRuleGroupRequest
|
423
440
|
|
424
441
|
CreateRuleGroupResponse.add_member(:rule_group, Shapes::ShapeRef.new(shape: RuleGroup, location_name: "RuleGroup"))
|
@@ -428,6 +445,7 @@ module Aws::WAFRegional
|
|
428
445
|
CreateRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
429
446
|
CreateRuleRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
430
447
|
CreateRuleRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
448
|
+
CreateRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
431
449
|
CreateRuleRequest.struct_class = Types::CreateRuleRequest
|
432
450
|
|
433
451
|
CreateRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "Rule"))
|
@@ -454,6 +472,7 @@ module Aws::WAFRegional
|
|
454
472
|
CreateWebACLRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
455
473
|
CreateWebACLRequest.add_member(:default_action, Shapes::ShapeRef.new(shape: WafAction, required: true, location_name: "DefaultAction"))
|
456
474
|
CreateWebACLRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
475
|
+
CreateWebACLRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
457
476
|
CreateWebACLRequest.struct_class = Types::CreateWebACLRequest
|
458
477
|
|
459
478
|
CreateWebACLResponse.add_member(:web_acl, Shapes::ShapeRef.new(shape: WebACL, location_name: "WebACL"))
|
@@ -868,6 +887,15 @@ module Aws::WAFRegional
|
|
868
887
|
ListSubscribedRuleGroupsResponse.add_member(:rule_groups, Shapes::ShapeRef.new(shape: SubscribedRuleGroupSummaries, location_name: "RuleGroups"))
|
869
888
|
ListSubscribedRuleGroupsResponse.struct_class = Types::ListSubscribedRuleGroupsResponse
|
870
889
|
|
890
|
+
ListTagsForResourceRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
891
|
+
ListTagsForResourceRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
892
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
893
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
894
|
+
|
895
|
+
ListTagsForResourceResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
896
|
+
ListTagsForResourceResponse.add_member(:tag_info_for_resource, Shapes::ShapeRef.new(shape: TagInfoForResource, location_name: "TagInfoForResource"))
|
897
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
898
|
+
|
871
899
|
ListWebACLsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
872
900
|
ListWebACLsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
873
901
|
ListWebACLsRequest.struct_class = Types::ListWebACLsRequest
|
@@ -1068,10 +1096,34 @@ module Aws::WAFRegional
|
|
1068
1096
|
SubscribedRuleGroupSummary.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
|
1069
1097
|
SubscribedRuleGroupSummary.struct_class = Types::SubscribedRuleGroupSummary
|
1070
1098
|
|
1099
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
1100
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
1101
|
+
Tag.struct_class = Types::Tag
|
1102
|
+
|
1103
|
+
TagInfoForResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceARN"))
|
1104
|
+
TagInfoForResource.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1105
|
+
TagInfoForResource.struct_class = Types::TagInfoForResource
|
1106
|
+
|
1107
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1108
|
+
|
1109
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1110
|
+
|
1111
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
1112
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1113
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1114
|
+
|
1115
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1116
|
+
|
1071
1117
|
TimeWindow.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
|
1072
1118
|
TimeWindow.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
|
1073
1119
|
TimeWindow.struct_class = Types::TimeWindow
|
1074
1120
|
|
1121
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
1122
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1123
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1124
|
+
|
1125
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1126
|
+
|
1075
1127
|
UpdateByteMatchSetRequest.add_member(:byte_match_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ByteMatchSetId"))
|
1076
1128
|
UpdateByteMatchSetRequest.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, required: true, location_name: "ChangeToken"))
|
1077
1129
|
UpdateByteMatchSetRequest.add_member(:updates, Shapes::ShapeRef.new(shape: ByteMatchSetUpdates, required: true, location_name: "Updates"))
|
@@ -1170,6 +1222,9 @@ module Aws::WAFRegional
|
|
1170
1222
|
UpdateXssMatchSetResponse.add_member(:change_token, Shapes::ShapeRef.new(shape: ChangeToken, location_name: "ChangeToken"))
|
1171
1223
|
UpdateXssMatchSetResponse.struct_class = Types::UpdateXssMatchSetResponse
|
1172
1224
|
|
1225
|
+
WAFBadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1226
|
+
WAFBadRequestException.struct_class = Types::WAFBadRequestException
|
1227
|
+
|
1173
1228
|
WAFDisallowedNameException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1174
1229
|
WAFDisallowedNameException.struct_class = Types::WAFDisallowedNameException
|
1175
1230
|
|
@@ -1214,6 +1269,12 @@ module Aws::WAFRegional
|
|
1214
1269
|
WAFSubscriptionNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1215
1270
|
WAFSubscriptionNotFoundException.struct_class = Types::WAFSubscriptionNotFoundException
|
1216
1271
|
|
1272
|
+
WAFTagOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1273
|
+
WAFTagOperationException.struct_class = Types::WAFTagOperationException
|
1274
|
+
|
1275
|
+
WAFTagOperationInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1276
|
+
WAFTagOperationInternalErrorException.struct_class = Types::WAFTagOperationInternalErrorException
|
1277
|
+
|
1217
1278
|
WAFUnavailableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1218
1279
|
WAFUnavailableEntityException.struct_class = Types::WAFUnavailableEntityException
|
1219
1280
|
|
@@ -1351,6 +1412,9 @@ module Aws::WAFRegional
|
|
1351
1412
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1352
1413
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1353
1414
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1415
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1354
1418
|
end)
|
1355
1419
|
|
1356
1420
|
api.add_operation(:create_regex_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1388,6 +1452,9 @@ module Aws::WAFRegional
|
|
1388
1452
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1389
1453
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1390
1454
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1455
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1456
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1391
1458
|
end)
|
1392
1459
|
|
1393
1460
|
api.add_operation(:create_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1400,6 +1467,9 @@ module Aws::WAFRegional
|
|
1400
1467
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1401
1468
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1402
1469
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1470
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1471
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1472
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1403
1473
|
end)
|
1404
1474
|
|
1405
1475
|
api.add_operation(:create_size_constraint_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1442,6 +1512,9 @@ module Aws::WAFRegional
|
|
1442
1512
|
o.errors << Shapes::ShapeRef.new(shape: WAFDisallowedNameException)
|
1443
1513
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1444
1514
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1516
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1517
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
1445
1518
|
end)
|
1446
1519
|
|
1447
1520
|
api.add_operation(:create_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1534,6 +1607,8 @@ module Aws::WAFRegional
|
|
1534
1607
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1535
1608
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1536
1609
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1537
1612
|
end)
|
1538
1613
|
|
1539
1614
|
api.add_operation(:delete_regex_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1576,6 +1651,8 @@ module Aws::WAFRegional
|
|
1576
1651
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1577
1652
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1578
1653
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1654
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1655
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1579
1656
|
end)
|
1580
1657
|
|
1581
1658
|
api.add_operation(:delete_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1590,6 +1667,8 @@ module Aws::WAFRegional
|
|
1590
1667
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1591
1668
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1592
1669
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1670
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1671
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1593
1672
|
end)
|
1594
1673
|
|
1595
1674
|
api.add_operation(:delete_size_constraint_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1632,6 +1711,8 @@ module Aws::WAFRegional
|
|
1632
1711
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
1633
1712
|
o.errors << Shapes::ShapeRef.new(shape: WAFReferencedItemException)
|
1634
1713
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonEmptyEntityException)
|
1714
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
1715
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
1635
1716
|
end)
|
1636
1717
|
|
1637
1718
|
api.add_operation(:delete_xss_match_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2008,6 +2089,20 @@ module Aws::WAFRegional
|
|
2008
2089
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2009
2090
|
end)
|
2010
2091
|
|
2092
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2093
|
+
o.name = "ListTagsForResource"
|
2094
|
+
o.http_method = "POST"
|
2095
|
+
o.http_request_uri = "/"
|
2096
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2097
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2099
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2101
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2102
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2103
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2104
|
+
end)
|
2105
|
+
|
2011
2106
|
api.add_operation(:list_web_acls, Seahorse::Model::Operation.new.tap do |o|
|
2012
2107
|
o.name = "ListWebACLs"
|
2013
2108
|
o.http_method = "POST"
|
@@ -2052,6 +2147,35 @@ module Aws::WAFRegional
|
|
2052
2147
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidPermissionPolicyException)
|
2053
2148
|
end)
|
2054
2149
|
|
2150
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2151
|
+
o.name = "TagResource"
|
2152
|
+
o.http_method = "POST"
|
2153
|
+
o.http_request_uri = "/"
|
2154
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2155
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2156
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2157
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2158
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
2159
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2160
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2161
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2162
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2163
|
+
end)
|
2164
|
+
|
2165
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2166
|
+
o.name = "UntagResource"
|
2167
|
+
o.http_method = "POST"
|
2168
|
+
o.http_request_uri = "/"
|
2169
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2170
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2171
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
2172
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
2173
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
2174
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFBadRequestException)
|
2175
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
2176
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
2177
|
+
end)
|
2178
|
+
|
2055
2179
|
api.add_operation(:update_byte_match_set, Seahorse::Model::Operation.new.tap do |o|
|
2056
2180
|
o.name = "UpdateByteMatchSet"
|
2057
2181
|
o.http_method = "POST"
|
@@ -10,6 +10,22 @@ module Aws::WAFRegional
|
|
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::WAFRegional::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,6 +260,38 @@ module Aws::WAFRegional
|
|
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::WAFRegional::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::WAFRegional::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
|
class WAFUnavailableEntityException < ServiceError
|
248
296
|
|
249
297
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -671,6 +671,12 @@ module Aws::WAFRegional
|
|
671
671
|
# rate_key: "IP", # required, accepts IP
|
672
672
|
# rate_limit: 1, # required
|
673
673
|
# change_token: "ChangeToken", # required
|
674
|
+
# tags: [
|
675
|
+
# {
|
676
|
+
# key: "TagKey",
|
677
|
+
# value: "TagValue",
|
678
|
+
# },
|
679
|
+
# ],
|
674
680
|
# }
|
675
681
|
#
|
676
682
|
# @!attribute [rw] name
|
@@ -709,6 +715,9 @@ module Aws::WAFRegional
|
|
709
715
|
# request. For more information, see GetChangeTokenStatus.
|
710
716
|
# @return [String]
|
711
717
|
#
|
718
|
+
# @!attribute [rw] tags
|
719
|
+
# @return [Array<Types::Tag>]
|
720
|
+
#
|
712
721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRuleRequest AWS API Documentation
|
713
722
|
#
|
714
723
|
class CreateRateBasedRuleRequest < Struct.new(
|
@@ -716,7 +725,8 @@ module Aws::WAFRegional
|
|
716
725
|
:metric_name,
|
717
726
|
:rate_key,
|
718
727
|
:rate_limit,
|
719
|
-
:change_token
|
728
|
+
:change_token,
|
729
|
+
:tags)
|
720
730
|
include Aws::Structure
|
721
731
|
end
|
722
732
|
|
@@ -833,6 +843,12 @@ module Aws::WAFRegional
|
|
833
843
|
# name: "ResourceName", # required
|
834
844
|
# metric_name: "MetricName", # required
|
835
845
|
# change_token: "ChangeToken", # required
|
846
|
+
# tags: [
|
847
|
+
# {
|
848
|
+
# key: "TagKey",
|
849
|
+
# value: "TagValue",
|
850
|
+
# },
|
851
|
+
# ],
|
836
852
|
# }
|
837
853
|
#
|
838
854
|
# @!attribute [rw] name
|
@@ -853,12 +869,16 @@ module Aws::WAFRegional
|
|
853
869
|
# The value returned by the most recent call to GetChangeToken.
|
854
870
|
# @return [String]
|
855
871
|
#
|
872
|
+
# @!attribute [rw] tags
|
873
|
+
# @return [Array<Types::Tag>]
|
874
|
+
#
|
856
875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroupRequest AWS API Documentation
|
857
876
|
#
|
858
877
|
class CreateRuleGroupRequest < Struct.new(
|
859
878
|
:name,
|
860
879
|
:metric_name,
|
861
|
-
:change_token
|
880
|
+
:change_token,
|
881
|
+
:tags)
|
862
882
|
include Aws::Structure
|
863
883
|
end
|
864
884
|
|
@@ -887,6 +907,12 @@ module Aws::WAFRegional
|
|
887
907
|
# name: "ResourceName", # required
|
888
908
|
# metric_name: "MetricName", # required
|
889
909
|
# change_token: "ChangeToken", # required
|
910
|
+
# tags: [
|
911
|
+
# {
|
912
|
+
# key: "TagKey",
|
913
|
+
# value: "TagValue",
|
914
|
+
# },
|
915
|
+
# ],
|
890
916
|
# }
|
891
917
|
#
|
892
918
|
# @!attribute [rw] name
|
@@ -907,12 +933,16 @@ module Aws::WAFRegional
|
|
907
933
|
# The value returned by the most recent call to GetChangeToken.
|
908
934
|
# @return [String]
|
909
935
|
#
|
936
|
+
# @!attribute [rw] tags
|
937
|
+
# @return [Array<Types::Tag>]
|
938
|
+
#
|
910
939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleRequest AWS API Documentation
|
911
940
|
#
|
912
941
|
class CreateRuleRequest < Struct.new(
|
913
942
|
:name,
|
914
943
|
:metric_name,
|
915
|
-
:change_token
|
944
|
+
:change_token,
|
945
|
+
:tags)
|
916
946
|
include Aws::Structure
|
917
947
|
end
|
918
948
|
|
@@ -1037,6 +1067,12 @@ module Aws::WAFRegional
|
|
1037
1067
|
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1038
1068
|
# },
|
1039
1069
|
# change_token: "ChangeToken", # required
|
1070
|
+
# tags: [
|
1071
|
+
# {
|
1072
|
+
# key: "TagKey",
|
1073
|
+
# value: "TagValue",
|
1074
|
+
# },
|
1075
|
+
# ],
|
1040
1076
|
# }
|
1041
1077
|
#
|
1042
1078
|
# @!attribute [rw] name
|
@@ -1063,13 +1099,17 @@ module Aws::WAFRegional
|
|
1063
1099
|
# The value returned by the most recent call to GetChangeToken.
|
1064
1100
|
# @return [String]
|
1065
1101
|
#
|
1102
|
+
# @!attribute [rw] tags
|
1103
|
+
# @return [Array<Types::Tag>]
|
1104
|
+
#
|
1066
1105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLRequest AWS API Documentation
|
1067
1106
|
#
|
1068
1107
|
class CreateWebACLRequest < Struct.new(
|
1069
1108
|
:name,
|
1070
1109
|
:metric_name,
|
1071
1110
|
:default_action,
|
1072
|
-
:change_token
|
1111
|
+
:change_token,
|
1112
|
+
:tags)
|
1073
1113
|
include Aws::Structure
|
1074
1114
|
end
|
1075
1115
|
|
@@ -3618,6 +3658,47 @@ module Aws::WAFRegional
|
|
3618
3658
|
include Aws::Structure
|
3619
3659
|
end
|
3620
3660
|
|
3661
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3662
|
+
# data as a hash:
|
3663
|
+
#
|
3664
|
+
# {
|
3665
|
+
# next_marker: "NextMarker",
|
3666
|
+
# limit: 1,
|
3667
|
+
# resource_arn: "ResourceArn", # required
|
3668
|
+
# }
|
3669
|
+
#
|
3670
|
+
# @!attribute [rw] next_marker
|
3671
|
+
# @return [String]
|
3672
|
+
#
|
3673
|
+
# @!attribute [rw] limit
|
3674
|
+
# @return [Integer]
|
3675
|
+
#
|
3676
|
+
# @!attribute [rw] resource_arn
|
3677
|
+
# @return [String]
|
3678
|
+
#
|
3679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResourceRequest AWS API Documentation
|
3680
|
+
#
|
3681
|
+
class ListTagsForResourceRequest < Struct.new(
|
3682
|
+
:next_marker,
|
3683
|
+
:limit,
|
3684
|
+
:resource_arn)
|
3685
|
+
include Aws::Structure
|
3686
|
+
end
|
3687
|
+
|
3688
|
+
# @!attribute [rw] next_marker
|
3689
|
+
# @return [String]
|
3690
|
+
#
|
3691
|
+
# @!attribute [rw] tag_info_for_resource
|
3692
|
+
# @return [Types::TagInfoForResource]
|
3693
|
+
#
|
3694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResourceResponse AWS API Documentation
|
3695
|
+
#
|
3696
|
+
class ListTagsForResourceResponse < Struct.new(
|
3697
|
+
:next_marker,
|
3698
|
+
:tag_info_for_resource)
|
3699
|
+
include Aws::Structure
|
3700
|
+
end
|
3701
|
+
|
3621
3702
|
# @note When making an API call, you may pass ListWebACLsRequest
|
3622
3703
|
# data as a hash:
|
3623
3704
|
#
|
@@ -5074,6 +5155,73 @@ module Aws::WAFRegional
|
|
5074
5155
|
include Aws::Structure
|
5075
5156
|
end
|
5076
5157
|
|
5158
|
+
# @note When making an API call, you may pass Tag
|
5159
|
+
# data as a hash:
|
5160
|
+
#
|
5161
|
+
# {
|
5162
|
+
# key: "TagKey",
|
5163
|
+
# value: "TagValue",
|
5164
|
+
# }
|
5165
|
+
#
|
5166
|
+
# @!attribute [rw] key
|
5167
|
+
# @return [String]
|
5168
|
+
#
|
5169
|
+
# @!attribute [rw] value
|
5170
|
+
# @return [String]
|
5171
|
+
#
|
5172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/Tag AWS API Documentation
|
5173
|
+
#
|
5174
|
+
class Tag < Struct.new(
|
5175
|
+
:key,
|
5176
|
+
:value)
|
5177
|
+
include Aws::Structure
|
5178
|
+
end
|
5179
|
+
|
5180
|
+
# @!attribute [rw] resource_arn
|
5181
|
+
# @return [String]
|
5182
|
+
#
|
5183
|
+
# @!attribute [rw] tag_list
|
5184
|
+
# @return [Array<Types::Tag>]
|
5185
|
+
#
|
5186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagInfoForResource AWS API Documentation
|
5187
|
+
#
|
5188
|
+
class TagInfoForResource < Struct.new(
|
5189
|
+
:resource_arn,
|
5190
|
+
:tag_list)
|
5191
|
+
include Aws::Structure
|
5192
|
+
end
|
5193
|
+
|
5194
|
+
# @note When making an API call, you may pass TagResourceRequest
|
5195
|
+
# data as a hash:
|
5196
|
+
#
|
5197
|
+
# {
|
5198
|
+
# resource_arn: "ResourceArn", # required
|
5199
|
+
# tags: [ # required
|
5200
|
+
# {
|
5201
|
+
# key: "TagKey",
|
5202
|
+
# value: "TagValue",
|
5203
|
+
# },
|
5204
|
+
# ],
|
5205
|
+
# }
|
5206
|
+
#
|
5207
|
+
# @!attribute [rw] resource_arn
|
5208
|
+
# @return [String]
|
5209
|
+
#
|
5210
|
+
# @!attribute [rw] tags
|
5211
|
+
# @return [Array<Types::Tag>]
|
5212
|
+
#
|
5213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagResourceRequest AWS API Documentation
|
5214
|
+
#
|
5215
|
+
class TagResourceRequest < Struct.new(
|
5216
|
+
:resource_arn,
|
5217
|
+
:tags)
|
5218
|
+
include Aws::Structure
|
5219
|
+
end
|
5220
|
+
|
5221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagResourceResponse AWS API Documentation
|
5222
|
+
#
|
5223
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
5224
|
+
|
5077
5225
|
# In a GetSampledRequests request, the `StartTime` and `EndTime` objects
|
5078
5226
|
# specify the time range for which you want AWS WAF to return a sample
|
5079
5227
|
# of web requests.
|
@@ -5119,6 +5267,32 @@ module Aws::WAFRegional
|
|
5119
5267
|
include Aws::Structure
|
5120
5268
|
end
|
5121
5269
|
|
5270
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
5271
|
+
# data as a hash:
|
5272
|
+
#
|
5273
|
+
# {
|
5274
|
+
# resource_arn: "ResourceArn", # required
|
5275
|
+
# tag_keys: ["TagKey"], # required
|
5276
|
+
# }
|
5277
|
+
#
|
5278
|
+
# @!attribute [rw] resource_arn
|
5279
|
+
# @return [String]
|
5280
|
+
#
|
5281
|
+
# @!attribute [rw] tag_keys
|
5282
|
+
# @return [Array<String>]
|
5283
|
+
#
|
5284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UntagResourceRequest AWS API Documentation
|
5285
|
+
#
|
5286
|
+
class UntagResourceRequest < Struct.new(
|
5287
|
+
:resource_arn,
|
5288
|
+
:tag_keys)
|
5289
|
+
include Aws::Structure
|
5290
|
+
end
|
5291
|
+
|
5292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UntagResourceResponse AWS API Documentation
|
5293
|
+
#
|
5294
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
5295
|
+
|
5122
5296
|
# @note When making an API call, you may pass UpdateByteMatchSetRequest
|
5123
5297
|
# data as a hash:
|
5124
5298
|
#
|
@@ -5915,6 +6089,16 @@ module Aws::WAFRegional
|
|
5915
6089
|
include Aws::Structure
|
5916
6090
|
end
|
5917
6091
|
|
6092
|
+
# @!attribute [rw] message
|
6093
|
+
# @return [String]
|
6094
|
+
#
|
6095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/WAFBadRequestException AWS API Documentation
|
6096
|
+
#
|
6097
|
+
class WAFBadRequestException < Struct.new(
|
6098
|
+
:message)
|
6099
|
+
include Aws::Structure
|
6100
|
+
end
|
6101
|
+
|
5918
6102
|
# The name specified is invalid.
|
5919
6103
|
#
|
5920
6104
|
# @!attribute [rw] message
|
@@ -6205,6 +6389,26 @@ module Aws::WAFRegional
|
|
6205
6389
|
include Aws::Structure
|
6206
6390
|
end
|
6207
6391
|
|
6392
|
+
# @!attribute [rw] message
|
6393
|
+
# @return [String]
|
6394
|
+
#
|
6395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/WAFTagOperationException AWS API Documentation
|
6396
|
+
#
|
6397
|
+
class WAFTagOperationException < Struct.new(
|
6398
|
+
:message)
|
6399
|
+
include Aws::Structure
|
6400
|
+
end
|
6401
|
+
|
6402
|
+
# @!attribute [rw] message
|
6403
|
+
# @return [String]
|
6404
|
+
#
|
6405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/WAFTagOperationInternalErrorException AWS API Documentation
|
6406
|
+
#
|
6407
|
+
class WAFTagOperationInternalErrorException < Struct.new(
|
6408
|
+
:message)
|
6409
|
+
include Aws::Structure
|
6410
|
+
end
|
6411
|
+
|
6208
6412
|
# The operation failed because the entity referenced is temporarily
|
6209
6413
|
# unavailable. Retry your request.
|
6210
6414
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-wafregional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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
|