aws-sdk-wafv2 1.2.0 → 1.3.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-wafv2.rb +1 -1
- data/lib/aws-sdk-wafv2/client.rb +326 -100
- data/lib/aws-sdk-wafv2/client_api.rb +144 -0
- data/lib/aws-sdk-wafv2/errors.rb +32 -0
- data/lib/aws-sdk-wafv2/resource.rb +1 -7
- data/lib/aws-sdk-wafv2/types.rb +538 -148
- metadata +2 -2
|
@@ -39,10 +39,14 @@ module Aws::WAFV2
|
|
|
39
39
|
CreateWebACLRequest = Shapes::StructureShape.new(name: 'CreateWebACLRequest')
|
|
40
40
|
CreateWebACLResponse = Shapes::StructureShape.new(name: 'CreateWebACLResponse')
|
|
41
41
|
DefaultAction = Shapes::StructureShape.new(name: 'DefaultAction')
|
|
42
|
+
DeleteFirewallManagerRuleGroupsRequest = Shapes::StructureShape.new(name: 'DeleteFirewallManagerRuleGroupsRequest')
|
|
43
|
+
DeleteFirewallManagerRuleGroupsResponse = Shapes::StructureShape.new(name: 'DeleteFirewallManagerRuleGroupsResponse')
|
|
42
44
|
DeleteIPSetRequest = Shapes::StructureShape.new(name: 'DeleteIPSetRequest')
|
|
43
45
|
DeleteIPSetResponse = Shapes::StructureShape.new(name: 'DeleteIPSetResponse')
|
|
44
46
|
DeleteLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLoggingConfigurationRequest')
|
|
45
47
|
DeleteLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteLoggingConfigurationResponse')
|
|
48
|
+
DeletePermissionPolicyRequest = Shapes::StructureShape.new(name: 'DeletePermissionPolicyRequest')
|
|
49
|
+
DeletePermissionPolicyResponse = Shapes::StructureShape.new(name: 'DeletePermissionPolicyResponse')
|
|
46
50
|
DeleteRegexPatternSetRequest = Shapes::StructureShape.new(name: 'DeleteRegexPatternSetRequest')
|
|
47
51
|
DeleteRegexPatternSetResponse = Shapes::StructureShape.new(name: 'DeleteRegexPatternSetResponse')
|
|
48
52
|
DeleteRuleGroupRequest = Shapes::StructureShape.new(name: 'DeleteRuleGroupRequest')
|
|
@@ -62,11 +66,16 @@ module Aws::WAFV2
|
|
|
62
66
|
ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
|
|
63
67
|
FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
|
|
64
68
|
FieldToMatchData = Shapes::StringShape.new(name: 'FieldToMatchData')
|
|
69
|
+
FirewallManagerRuleGroup = Shapes::StructureShape.new(name: 'FirewallManagerRuleGroup')
|
|
70
|
+
FirewallManagerRuleGroups = Shapes::ListShape.new(name: 'FirewallManagerRuleGroups')
|
|
71
|
+
FirewallManagerStatement = Shapes::StructureShape.new(name: 'FirewallManagerStatement')
|
|
65
72
|
GeoMatchStatement = Shapes::StructureShape.new(name: 'GeoMatchStatement')
|
|
66
73
|
GetIPSetRequest = Shapes::StructureShape.new(name: 'GetIPSetRequest')
|
|
67
74
|
GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
|
|
68
75
|
GetLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetLoggingConfigurationRequest')
|
|
69
76
|
GetLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetLoggingConfigurationResponse')
|
|
77
|
+
GetPermissionPolicyRequest = Shapes::StructureShape.new(name: 'GetPermissionPolicyRequest')
|
|
78
|
+
GetPermissionPolicyResponse = Shapes::StructureShape.new(name: 'GetPermissionPolicyResponse')
|
|
70
79
|
GetRateBasedStatementManagedKeysRequest = Shapes::StructureShape.new(name: 'GetRateBasedStatementManagedKeysRequest')
|
|
71
80
|
GetRateBasedStatementManagedKeysResponse = Shapes::StructureShape.new(name: 'GetRateBasedStatementManagedKeysResponse')
|
|
72
81
|
GetRegexPatternSetRequest = Shapes::StructureShape.new(name: 'GetRegexPatternSetRequest')
|
|
@@ -128,10 +137,13 @@ module Aws::WAFV2
|
|
|
128
137
|
PaginationLimit = Shapes::IntegerShape.new(name: 'PaginationLimit')
|
|
129
138
|
ParameterExceptionField = Shapes::StringShape.new(name: 'ParameterExceptionField')
|
|
130
139
|
ParameterExceptionParameter = Shapes::StringShape.new(name: 'ParameterExceptionParameter')
|
|
140
|
+
PolicyString = Shapes::StringShape.new(name: 'PolicyString')
|
|
131
141
|
PopulationSize = Shapes::IntegerShape.new(name: 'PopulationSize')
|
|
132
142
|
PositionalConstraint = Shapes::StringShape.new(name: 'PositionalConstraint')
|
|
133
143
|
PutLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutLoggingConfigurationRequest')
|
|
134
144
|
PutLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutLoggingConfigurationResponse')
|
|
145
|
+
PutPermissionPolicyRequest = Shapes::StructureShape.new(name: 'PutPermissionPolicyRequest')
|
|
146
|
+
PutPermissionPolicyResponse = Shapes::StructureShape.new(name: 'PutPermissionPolicyResponse')
|
|
135
147
|
QueryString = Shapes::StructureShape.new(name: 'QueryString')
|
|
136
148
|
RateBasedStatement = Shapes::StructureShape.new(name: 'RateBasedStatement')
|
|
137
149
|
RateBasedStatementAggregateKeyType = Shapes::StringShape.new(name: 'RateBasedStatementAggregateKeyType')
|
|
@@ -201,7 +213,9 @@ module Aws::WAFV2
|
|
|
201
213
|
WAFAssociatedItemException = Shapes::StructureShape.new(name: 'WAFAssociatedItemException')
|
|
202
214
|
WAFDuplicateItemException = Shapes::StructureShape.new(name: 'WAFDuplicateItemException')
|
|
203
215
|
WAFInternalErrorException = Shapes::StructureShape.new(name: 'WAFInternalErrorException')
|
|
216
|
+
WAFInvalidOperationException = Shapes::StructureShape.new(name: 'WAFInvalidOperationException')
|
|
204
217
|
WAFInvalidParameterException = Shapes::StructureShape.new(name: 'WAFInvalidParameterException')
|
|
218
|
+
WAFInvalidPermissionPolicyException = Shapes::StructureShape.new(name: 'WAFInvalidPermissionPolicyException')
|
|
205
219
|
WAFInvalidResourceException = Shapes::StructureShape.new(name: 'WAFInvalidResourceException')
|
|
206
220
|
WAFLimitsExceededException = Shapes::StructureShape.new(name: 'WAFLimitsExceededException')
|
|
207
221
|
WAFNonexistentItemException = Shapes::StructureShape.new(name: 'WAFNonexistentItemException')
|
|
@@ -299,6 +313,13 @@ module Aws::WAFV2
|
|
|
299
313
|
DefaultAction.add_member(:allow, Shapes::ShapeRef.new(shape: AllowAction, location_name: "Allow"))
|
|
300
314
|
DefaultAction.struct_class = Types::DefaultAction
|
|
301
315
|
|
|
316
|
+
DeleteFirewallManagerRuleGroupsRequest.add_member(:web_acl_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "WebACLArn"))
|
|
317
|
+
DeleteFirewallManagerRuleGroupsRequest.add_member(:web_acl_lock_token, Shapes::ShapeRef.new(shape: LockToken, required: true, location_name: "WebACLLockToken"))
|
|
318
|
+
DeleteFirewallManagerRuleGroupsRequest.struct_class = Types::DeleteFirewallManagerRuleGroupsRequest
|
|
319
|
+
|
|
320
|
+
DeleteFirewallManagerRuleGroupsResponse.add_member(:next_web_acl_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextWebACLLockToken"))
|
|
321
|
+
DeleteFirewallManagerRuleGroupsResponse.struct_class = Types::DeleteFirewallManagerRuleGroupsResponse
|
|
322
|
+
|
|
302
323
|
DeleteIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
|
303
324
|
DeleteIPSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
|
304
325
|
DeleteIPSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
|
|
@@ -312,6 +333,11 @@ module Aws::WAFV2
|
|
|
312
333
|
|
|
313
334
|
DeleteLoggingConfigurationResponse.struct_class = Types::DeleteLoggingConfigurationResponse
|
|
314
335
|
|
|
336
|
+
DeletePermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
337
|
+
DeletePermissionPolicyRequest.struct_class = Types::DeletePermissionPolicyRequest
|
|
338
|
+
|
|
339
|
+
DeletePermissionPolicyResponse.struct_class = Types::DeletePermissionPolicyResponse
|
|
340
|
+
|
|
315
341
|
DeleteRegexPatternSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
|
316
342
|
DeleteRegexPatternSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
|
317
343
|
DeleteRegexPatternSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
|
|
@@ -364,6 +390,19 @@ module Aws::WAFV2
|
|
|
364
390
|
FieldToMatch.add_member(:method, Shapes::ShapeRef.new(shape: Method, location_name: "Method"))
|
|
365
391
|
FieldToMatch.struct_class = Types::FieldToMatch
|
|
366
392
|
|
|
393
|
+
FirewallManagerRuleGroup.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
|
394
|
+
FirewallManagerRuleGroup.add_member(:priority, Shapes::ShapeRef.new(shape: RulePriority, required: true, location_name: "Priority"))
|
|
395
|
+
FirewallManagerRuleGroup.add_member(:firewall_manager_statement, Shapes::ShapeRef.new(shape: FirewallManagerStatement, required: true, location_name: "FirewallManagerStatement"))
|
|
396
|
+
FirewallManagerRuleGroup.add_member(:override_action, Shapes::ShapeRef.new(shape: OverrideAction, required: true, location_name: "OverrideAction"))
|
|
397
|
+
FirewallManagerRuleGroup.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
|
|
398
|
+
FirewallManagerRuleGroup.struct_class = Types::FirewallManagerRuleGroup
|
|
399
|
+
|
|
400
|
+
FirewallManagerRuleGroups.member = Shapes::ShapeRef.new(shape: FirewallManagerRuleGroup)
|
|
401
|
+
|
|
402
|
+
FirewallManagerStatement.add_member(:managed_rule_group_statement, Shapes::ShapeRef.new(shape: ManagedRuleGroupStatement, location_name: "ManagedRuleGroupStatement"))
|
|
403
|
+
FirewallManagerStatement.add_member(:rule_group_reference_statement, Shapes::ShapeRef.new(shape: RuleGroupReferenceStatement, location_name: "RuleGroupReferenceStatement"))
|
|
404
|
+
FirewallManagerStatement.struct_class = Types::FirewallManagerStatement
|
|
405
|
+
|
|
367
406
|
GeoMatchStatement.add_member(:country_codes, Shapes::ShapeRef.new(shape: CountryCodes, location_name: "CountryCodes"))
|
|
368
407
|
GeoMatchStatement.struct_class = Types::GeoMatchStatement
|
|
369
408
|
|
|
@@ -382,6 +421,12 @@ module Aws::WAFV2
|
|
|
382
421
|
GetLoggingConfigurationResponse.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
|
|
383
422
|
GetLoggingConfigurationResponse.struct_class = Types::GetLoggingConfigurationResponse
|
|
384
423
|
|
|
424
|
+
GetPermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
425
|
+
GetPermissionPolicyRequest.struct_class = Types::GetPermissionPolicyRequest
|
|
426
|
+
|
|
427
|
+
GetPermissionPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyString, location_name: "Policy"))
|
|
428
|
+
GetPermissionPolicyResponse.struct_class = Types::GetPermissionPolicyResponse
|
|
429
|
+
|
|
385
430
|
GetRateBasedStatementManagedKeysRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
|
386
431
|
GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "WebACLName"))
|
|
387
432
|
GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "WebACLId"))
|
|
@@ -584,6 +629,12 @@ module Aws::WAFV2
|
|
|
584
629
|
PutLoggingConfigurationResponse.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
|
|
585
630
|
PutLoggingConfigurationResponse.struct_class = Types::PutLoggingConfigurationResponse
|
|
586
631
|
|
|
632
|
+
PutPermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
|
633
|
+
PutPermissionPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyString, required: true, location_name: "Policy"))
|
|
634
|
+
PutPermissionPolicyRequest.struct_class = Types::PutPermissionPolicyRequest
|
|
635
|
+
|
|
636
|
+
PutPermissionPolicyResponse.struct_class = Types::PutPermissionPolicyResponse
|
|
637
|
+
|
|
587
638
|
QueryString.struct_class = Types::QueryString
|
|
588
639
|
|
|
589
640
|
RateBasedStatement.add_member(:limit, Shapes::ShapeRef.new(shape: RateLimit, required: true, location_name: "Limit"))
|
|
@@ -807,12 +858,18 @@ module Aws::WAFV2
|
|
|
807
858
|
WAFInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
808
859
|
WAFInternalErrorException.struct_class = Types::WAFInternalErrorException
|
|
809
860
|
|
|
861
|
+
WAFInvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
862
|
+
WAFInvalidOperationException.struct_class = Types::WAFInvalidOperationException
|
|
863
|
+
|
|
810
864
|
WAFInvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
811
865
|
WAFInvalidParameterException.add_member(:field, Shapes::ShapeRef.new(shape: ParameterExceptionField, location_name: "Field"))
|
|
812
866
|
WAFInvalidParameterException.add_member(:parameter, Shapes::ShapeRef.new(shape: ParameterExceptionParameter, location_name: "Parameter"))
|
|
813
867
|
WAFInvalidParameterException.add_member(:reason, Shapes::ShapeRef.new(shape: ErrorReason, location_name: "Reason"))
|
|
814
868
|
WAFInvalidParameterException.struct_class = Types::WAFInvalidParameterException
|
|
815
869
|
|
|
870
|
+
WAFInvalidPermissionPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
871
|
+
WAFInvalidPermissionPolicyException.struct_class = Types::WAFInvalidPermissionPolicyException
|
|
872
|
+
|
|
816
873
|
WAFInvalidResourceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
817
874
|
WAFInvalidResourceException.struct_class = Types::WAFInvalidResourceException
|
|
818
875
|
|
|
@@ -848,6 +905,9 @@ module Aws::WAFV2
|
|
|
848
905
|
WebACL.add_member(:rules, Shapes::ShapeRef.new(shape: Rules, location_name: "Rules"))
|
|
849
906
|
WebACL.add_member(:visibility_config, Shapes::ShapeRef.new(shape: VisibilityConfig, required: true, location_name: "VisibilityConfig"))
|
|
850
907
|
WebACL.add_member(:capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "Capacity"))
|
|
908
|
+
WebACL.add_member(:pre_process_firewall_manager_rule_groups, Shapes::ShapeRef.new(shape: FirewallManagerRuleGroups, location_name: "PreProcessFirewallManagerRuleGroups"))
|
|
909
|
+
WebACL.add_member(:post_process_firewall_manager_rule_groups, Shapes::ShapeRef.new(shape: FirewallManagerRuleGroups, location_name: "PostProcessFirewallManagerRuleGroups"))
|
|
910
|
+
WebACL.add_member(:managed_by_firewall_manager, Shapes::ShapeRef.new(shape: Boolean, location_name: "ManagedByFirewallManager"))
|
|
851
911
|
WebACL.struct_class = Types::WebACL
|
|
852
912
|
|
|
853
913
|
WebACLSummaries.member = Shapes::ShapeRef.new(shape: WebACLSummary)
|
|
@@ -892,6 +952,7 @@ module Aws::WAFV2
|
|
|
892
952
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
893
953
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
894
954
|
o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
|
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
895
956
|
end)
|
|
896
957
|
|
|
897
958
|
api.add_operation(:check_capacity, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -922,6 +983,7 @@ module Aws::WAFV2
|
|
|
922
983
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
923
984
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
924
985
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
986
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
925
987
|
end)
|
|
926
988
|
|
|
927
989
|
api.add_operation(:create_regex_pattern_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -937,6 +999,7 @@ module Aws::WAFV2
|
|
|
937
999
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
938
1000
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
939
1001
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1002
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
940
1003
|
end)
|
|
941
1004
|
|
|
942
1005
|
api.add_operation(:create_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -954,6 +1017,8 @@ module Aws::WAFV2
|
|
|
954
1017
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
955
1018
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
956
1019
|
o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
|
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
957
1022
|
end)
|
|
958
1023
|
|
|
959
1024
|
api.add_operation(:create_web_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -973,6 +1038,20 @@ module Aws::WAFV2
|
|
|
973
1038
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
974
1039
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
975
1040
|
o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
|
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1042
|
+
end)
|
|
1043
|
+
|
|
1044
|
+
api.add_operation(:delete_firewall_manager_rule_groups, Seahorse::Model::Operation.new.tap do |o|
|
|
1045
|
+
o.name = "DeleteFirewallManagerRuleGroups"
|
|
1046
|
+
o.http_method = "POST"
|
|
1047
|
+
o.http_request_uri = "/"
|
|
1048
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFirewallManagerRuleGroupsRequest)
|
|
1049
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFirewallManagerRuleGroupsResponse)
|
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
|
1054
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
976
1055
|
end)
|
|
977
1056
|
|
|
978
1057
|
api.add_operation(:delete_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -988,6 +1067,7 @@ module Aws::WAFV2
|
|
|
988
1067
|
o.errors << Shapes::ShapeRef.new(shape: WAFAssociatedItemException)
|
|
989
1068
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
990
1069
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
991
1071
|
end)
|
|
992
1072
|
|
|
993
1073
|
api.add_operation(:delete_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -999,6 +1079,19 @@ module Aws::WAFV2
|
|
|
999
1079
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1000
1080
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1001
1081
|
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1084
|
+
end)
|
|
1085
|
+
|
|
1086
|
+
api.add_operation(:delete_permission_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1087
|
+
o.name = "DeletePermissionPolicy"
|
|
1088
|
+
o.http_method = "POST"
|
|
1089
|
+
o.http_request_uri = "/"
|
|
1090
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePermissionPolicyRequest)
|
|
1091
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePermissionPolicyResponse)
|
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1002
1095
|
end)
|
|
1003
1096
|
|
|
1004
1097
|
api.add_operation(:delete_regex_pattern_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1014,6 +1107,7 @@ module Aws::WAFV2
|
|
|
1014
1107
|
o.errors << Shapes::ShapeRef.new(shape: WAFAssociatedItemException)
|
|
1015
1108
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1016
1109
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1017
1111
|
end)
|
|
1018
1112
|
|
|
1019
1113
|
api.add_operation(:delete_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1029,6 +1123,7 @@ module Aws::WAFV2
|
|
|
1029
1123
|
o.errors << Shapes::ShapeRef.new(shape: WAFAssociatedItemException)
|
|
1030
1124
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1031
1125
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1126
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1032
1127
|
end)
|
|
1033
1128
|
|
|
1034
1129
|
api.add_operation(:delete_web_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1044,6 +1139,7 @@ module Aws::WAFV2
|
|
|
1044
1139
|
o.errors << Shapes::ShapeRef.new(shape: WAFAssociatedItemException)
|
|
1045
1140
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1046
1141
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1047
1143
|
end)
|
|
1048
1144
|
|
|
1049
1145
|
api.add_operation(:describe_managed_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1056,6 +1152,7 @@ module Aws::WAFV2
|
|
|
1056
1152
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1057
1153
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
|
|
1058
1154
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1155
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1059
1156
|
end)
|
|
1060
1157
|
|
|
1061
1158
|
api.add_operation(:disassociate_web_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1067,6 +1164,7 @@ module Aws::WAFV2
|
|
|
1067
1164
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1068
1165
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1069
1166
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1167
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1070
1168
|
end)
|
|
1071
1169
|
|
|
1072
1170
|
api.add_operation(:get_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1078,6 +1176,7 @@ module Aws::WAFV2
|
|
|
1078
1176
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1079
1177
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1080
1178
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1081
1180
|
end)
|
|
1082
1181
|
|
|
1083
1182
|
api.add_operation(:get_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1088,6 +1187,19 @@ module Aws::WAFV2
|
|
|
1088
1187
|
o.output = Shapes::ShapeRef.new(shape: GetLoggingConfigurationResponse)
|
|
1089
1188
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1090
1189
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1190
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1192
|
+
end)
|
|
1193
|
+
|
|
1194
|
+
api.add_operation(:get_permission_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1195
|
+
o.name = "GetPermissionPolicy"
|
|
1196
|
+
o.http_method = "POST"
|
|
1197
|
+
o.http_request_uri = "/"
|
|
1198
|
+
o.input = Shapes::ShapeRef.new(shape: GetPermissionPolicyRequest)
|
|
1199
|
+
o.output = Shapes::ShapeRef.new(shape: GetPermissionPolicyResponse)
|
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1201
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1202
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1091
1203
|
end)
|
|
1092
1204
|
|
|
1093
1205
|
api.add_operation(:get_rate_based_statement_managed_keys, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1099,6 +1211,7 @@ module Aws::WAFV2
|
|
|
1099
1211
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1100
1212
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1101
1213
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1102
1215
|
end)
|
|
1103
1216
|
|
|
1104
1217
|
api.add_operation(:get_regex_pattern_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1110,6 +1223,7 @@ module Aws::WAFV2
|
|
|
1110
1223
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1111
1224
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1112
1225
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1226
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1113
1227
|
end)
|
|
1114
1228
|
|
|
1115
1229
|
api.add_operation(:get_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1121,6 +1235,7 @@ module Aws::WAFV2
|
|
|
1121
1235
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1122
1236
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1123
1237
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1124
1239
|
end)
|
|
1125
1240
|
|
|
1126
1241
|
api.add_operation(:get_sampled_requests, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1143,6 +1258,7 @@ module Aws::WAFV2
|
|
|
1143
1258
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1144
1259
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1145
1260
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1146
1262
|
end)
|
|
1147
1263
|
|
|
1148
1264
|
api.add_operation(:get_web_acl_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1155,6 +1271,7 @@ module Aws::WAFV2
|
|
|
1155
1271
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1156
1272
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1157
1273
|
o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
|
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1158
1275
|
end)
|
|
1159
1276
|
|
|
1160
1277
|
api.add_operation(:list_available_managed_rule_groups, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1165,6 +1282,7 @@ module Aws::WAFV2
|
|
|
1165
1282
|
o.output = Shapes::ShapeRef.new(shape: ListAvailableManagedRuleGroupsResponse)
|
|
1166
1283
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1167
1284
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1168
1286
|
end)
|
|
1169
1287
|
|
|
1170
1288
|
api.add_operation(:list_ip_sets, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1175,6 +1293,7 @@ module Aws::WAFV2
|
|
|
1175
1293
|
o.output = Shapes::ShapeRef.new(shape: ListIPSetsResponse)
|
|
1176
1294
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1177
1295
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1296
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1178
1297
|
end)
|
|
1179
1298
|
|
|
1180
1299
|
api.add_operation(:list_logging_configurations, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1185,6 +1304,7 @@ module Aws::WAFV2
|
|
|
1185
1304
|
o.output = Shapes::ShapeRef.new(shape: ListLoggingConfigurationsResponse)
|
|
1186
1305
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1187
1306
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1188
1308
|
end)
|
|
1189
1309
|
|
|
1190
1310
|
api.add_operation(:list_regex_pattern_sets, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1195,6 +1315,7 @@ module Aws::WAFV2
|
|
|
1195
1315
|
o.output = Shapes::ShapeRef.new(shape: ListRegexPatternSetsResponse)
|
|
1196
1316
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1197
1317
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1198
1319
|
end)
|
|
1199
1320
|
|
|
1200
1321
|
api.add_operation(:list_resources_for_web_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1206,6 +1327,7 @@ module Aws::WAFV2
|
|
|
1206
1327
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1207
1328
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1208
1329
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1330
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1209
1331
|
end)
|
|
1210
1332
|
|
|
1211
1333
|
api.add_operation(:list_rule_groups, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1216,6 +1338,7 @@ module Aws::WAFV2
|
|
|
1216
1338
|
o.output = Shapes::ShapeRef.new(shape: ListRuleGroupsResponse)
|
|
1217
1339
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1218
1340
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1341
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1219
1342
|
end)
|
|
1220
1343
|
|
|
1221
1344
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1229,6 +1352,7 @@ module Aws::WAFV2
|
|
|
1229
1352
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1230
1353
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1231
1354
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1355
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1232
1356
|
end)
|
|
1233
1357
|
|
|
1234
1358
|
api.add_operation(:list_web_acls, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1239,6 +1363,7 @@ module Aws::WAFV2
|
|
|
1239
1363
|
o.output = Shapes::ShapeRef.new(shape: ListWebACLsResponse)
|
|
1240
1364
|
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1241
1365
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1242
1367
|
end)
|
|
1243
1368
|
|
|
1244
1369
|
api.add_operation(:put_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1252,6 +1377,19 @@ module Aws::WAFV2
|
|
|
1252
1377
|
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
|
1253
1378
|
o.errors << Shapes::ShapeRef.new(shape: WAFServiceLinkedRoleErrorException)
|
|
1254
1379
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1381
|
+
end)
|
|
1382
|
+
|
|
1383
|
+
api.add_operation(:put_permission_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1384
|
+
o.name = "PutPermissionPolicy"
|
|
1385
|
+
o.http_method = "POST"
|
|
1386
|
+
o.http_request_uri = "/"
|
|
1387
|
+
o.input = Shapes::ShapeRef.new(shape: PutPermissionPolicyRequest)
|
|
1388
|
+
o.output = Shapes::ShapeRef.new(shape: PutPermissionPolicyResponse)
|
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidPermissionPolicyException)
|
|
1255
1393
|
end)
|
|
1256
1394
|
|
|
1257
1395
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1266,6 +1404,7 @@ module Aws::WAFV2
|
|
|
1266
1404
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1267
1405
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1268
1406
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1407
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1269
1408
|
end)
|
|
1270
1409
|
|
|
1271
1410
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1279,6 +1418,7 @@ module Aws::WAFV2
|
|
|
1279
1418
|
o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
|
|
1280
1419
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationException)
|
|
1281
1420
|
o.errors << Shapes::ShapeRef.new(shape: WAFTagOperationInternalErrorException)
|
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1282
1422
|
end)
|
|
1283
1423
|
|
|
1284
1424
|
api.add_operation(:update_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1293,6 +1433,7 @@ module Aws::WAFV2
|
|
|
1293
1433
|
o.errors << Shapes::ShapeRef.new(shape: WAFDuplicateItemException)
|
|
1294
1434
|
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
|
1295
1435
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
1436
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1296
1437
|
end)
|
|
1297
1438
|
|
|
1298
1439
|
api.add_operation(:update_regex_pattern_set, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1307,6 +1448,7 @@ module Aws::WAFV2
|
|
|
1307
1448
|
o.errors << Shapes::ShapeRef.new(shape: WAFDuplicateItemException)
|
|
1308
1449
|
o.errors << Shapes::ShapeRef.new(shape: WAFOptimisticLockException)
|
|
1309
1450
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
1451
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1310
1452
|
end)
|
|
1311
1453
|
|
|
1312
1454
|
api.add_operation(:update_rule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1323,6 +1465,7 @@ module Aws::WAFV2
|
|
|
1323
1465
|
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
|
1324
1466
|
o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
|
|
1325
1467
|
o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
|
|
1468
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1326
1469
|
end)
|
|
1327
1470
|
|
|
1328
1471
|
api.add_operation(:update_web_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1340,6 +1483,7 @@ module Aws::WAFV2
|
|
|
1340
1483
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
|
|
1341
1484
|
o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
|
|
1342
1485
|
o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
|
|
1486
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
|
1343
1487
|
end)
|
|
1344
1488
|
end
|
|
1345
1489
|
|