aws-sdk-wafv2 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +316 -84
- data/lib/aws-sdk-wafv2/client_api.rb +99 -0
- data/lib/aws-sdk-wafv2/endpoints.rb +42 -0
- data/lib/aws-sdk-wafv2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-wafv2/types.rb +587 -199
- data/lib/aws-sdk-wafv2.rb +1 -1
- metadata +2 -2
@@ -13,6 +13,11 @@ module Aws::WAFV2
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
APIKey = Shapes::StringShape.new(name: 'APIKey')
|
17
|
+
APIKeySummaries = Shapes::ListShape.new(name: 'APIKeySummaries')
|
18
|
+
APIKeySummary = Shapes::StructureShape.new(name: 'APIKeySummary')
|
19
|
+
APIKeyTokenDomains = Shapes::ListShape.new(name: 'APIKeyTokenDomains')
|
20
|
+
APIKeyVersion = Shapes::IntegerShape.new(name: 'APIKeyVersion')
|
16
21
|
AWSManagedRulesATPRuleSet = Shapes::StructureShape.new(name: 'AWSManagedRulesATPRuleSet')
|
17
22
|
AWSManagedRulesBotControlRuleSet = Shapes::StructureShape.new(name: 'AWSManagedRulesBotControlRuleSet')
|
18
23
|
Action = Shapes::StringShape.new(name: 'Action')
|
@@ -24,6 +29,8 @@ module Aws::WAFV2
|
|
24
29
|
AndStatement = Shapes::StructureShape.new(name: 'AndStatement')
|
25
30
|
AssociateWebACLRequest = Shapes::StructureShape.new(name: 'AssociateWebACLRequest')
|
26
31
|
AssociateWebACLResponse = Shapes::StructureShape.new(name: 'AssociateWebACLResponse')
|
32
|
+
AssociatedResourceType = Shapes::StringShape.new(name: 'AssociatedResourceType')
|
33
|
+
AssociationConfig = Shapes::StructureShape.new(name: 'AssociationConfig')
|
27
34
|
BlockAction = Shapes::StructureShape.new(name: 'BlockAction')
|
28
35
|
Body = Shapes::StructureShape.new(name: 'Body')
|
29
36
|
BodyParsingFallbackBehavior = Shapes::StringShape.new(name: 'BodyParsingFallbackBehavior')
|
@@ -49,6 +56,8 @@ module Aws::WAFV2
|
|
49
56
|
Country = Shapes::StringShape.new(name: 'Country')
|
50
57
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
51
58
|
CountryCodes = Shapes::ListShape.new(name: 'CountryCodes')
|
59
|
+
CreateAPIKeyRequest = Shapes::StructureShape.new(name: 'CreateAPIKeyRequest')
|
60
|
+
CreateAPIKeyResponse = Shapes::StructureShape.new(name: 'CreateAPIKeyResponse')
|
52
61
|
CreateIPSetRequest = Shapes::StructureShape.new(name: 'CreateIPSetRequest')
|
53
62
|
CreateIPSetResponse = Shapes::StructureShape.new(name: 'CreateIPSetResponse')
|
54
63
|
CreateRegexPatternSetRequest = Shapes::StructureShape.new(name: 'CreateRegexPatternSetRequest')
|
@@ -112,6 +121,8 @@ module Aws::WAFV2
|
|
112
121
|
GenerateMobileSdkReleaseUrlRequest = Shapes::StructureShape.new(name: 'GenerateMobileSdkReleaseUrlRequest')
|
113
122
|
GenerateMobileSdkReleaseUrlResponse = Shapes::StructureShape.new(name: 'GenerateMobileSdkReleaseUrlResponse')
|
114
123
|
GeoMatchStatement = Shapes::StructureShape.new(name: 'GeoMatchStatement')
|
124
|
+
GetDecryptedAPIKeyRequest = Shapes::StructureShape.new(name: 'GetDecryptedAPIKeyRequest')
|
125
|
+
GetDecryptedAPIKeyResponse = Shapes::StructureShape.new(name: 'GetDecryptedAPIKeyResponse')
|
115
126
|
GetIPSetRequest = Shapes::StructureShape.new(name: 'GetIPSetRequest')
|
116
127
|
GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
|
117
128
|
GetLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetLoggingConfigurationRequest')
|
@@ -169,6 +180,8 @@ module Aws::WAFV2
|
|
169
180
|
LabelSummaries = Shapes::ListShape.new(name: 'LabelSummaries')
|
170
181
|
LabelSummary = Shapes::StructureShape.new(name: 'LabelSummary')
|
171
182
|
Labels = Shapes::ListShape.new(name: 'Labels')
|
183
|
+
ListAPIKeysRequest = Shapes::StructureShape.new(name: 'ListAPIKeysRequest')
|
184
|
+
ListAPIKeysResponse = Shapes::StructureShape.new(name: 'ListAPIKeysResponse')
|
172
185
|
ListAvailableManagedRuleGroupVersionsRequest = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupVersionsRequest')
|
173
186
|
ListAvailableManagedRuleGroupVersionsResponse = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupVersionsResponse')
|
174
187
|
ListAvailableManagedRuleGroupsRequest = Shapes::StructureShape.new(name: 'ListAvailableManagedRuleGroupsRequest')
|
@@ -253,6 +266,8 @@ module Aws::WAFV2
|
|
253
266
|
ReleaseNotes = Shapes::StringShape.new(name: 'ReleaseNotes')
|
254
267
|
ReleaseSummaries = Shapes::ListShape.new(name: 'ReleaseSummaries')
|
255
268
|
ReleaseSummary = Shapes::StructureShape.new(name: 'ReleaseSummary')
|
269
|
+
RequestBody = Shapes::MapShape.new(name: 'RequestBody')
|
270
|
+
RequestBodyAssociatedResourceTypeConfig = Shapes::StructureShape.new(name: 'RequestBodyAssociatedResourceTypeConfig')
|
256
271
|
RequestInspection = Shapes::StructureShape.new(name: 'RequestInspection')
|
257
272
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
258
273
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
@@ -298,6 +313,7 @@ module Aws::WAFV2
|
|
298
313
|
SingleQueryArgument = Shapes::StructureShape.new(name: 'SingleQueryArgument')
|
299
314
|
Size = Shapes::IntegerShape.new(name: 'Size')
|
300
315
|
SizeConstraintStatement = Shapes::StructureShape.new(name: 'SizeConstraintStatement')
|
316
|
+
SizeInspectionLimit = Shapes::StringShape.new(name: 'SizeInspectionLimit')
|
301
317
|
SolveTimestamp = Shapes::IntegerShape.new(name: 'SolveTimestamp')
|
302
318
|
SqliMatchStatement = Shapes::StructureShape.new(name: 'SqliMatchStatement')
|
303
319
|
Statement = Shapes::StructureShape.new(name: 'Statement')
|
@@ -366,6 +382,16 @@ module Aws::WAFV2
|
|
366
382
|
WebACLSummary = Shapes::StructureShape.new(name: 'WebACLSummary')
|
367
383
|
XssMatchStatement = Shapes::StructureShape.new(name: 'XssMatchStatement')
|
368
384
|
|
385
|
+
APIKeySummaries.member = Shapes::ShapeRef.new(shape: APIKeySummary)
|
386
|
+
|
387
|
+
APIKeySummary.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
388
|
+
APIKeySummary.add_member(:api_key, Shapes::ShapeRef.new(shape: APIKey, location_name: "APIKey"))
|
389
|
+
APIKeySummary.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimestamp"))
|
390
|
+
APIKeySummary.add_member(:version, Shapes::ShapeRef.new(shape: APIKeyVersion, location_name: "Version"))
|
391
|
+
APIKeySummary.struct_class = Types::APIKeySummary
|
392
|
+
|
393
|
+
APIKeyTokenDomains.member = Shapes::ShapeRef.new(shape: TokenDomain)
|
394
|
+
|
369
395
|
AWSManagedRulesATPRuleSet.add_member(:login_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LoginPath"))
|
370
396
|
AWSManagedRulesATPRuleSet.add_member(:request_inspection, Shapes::ShapeRef.new(shape: RequestInspection, location_name: "RequestInspection"))
|
371
397
|
AWSManagedRulesATPRuleSet.add_member(:response_inspection, Shapes::ShapeRef.new(shape: ResponseInspection, location_name: "ResponseInspection"))
|
@@ -393,6 +419,9 @@ module Aws::WAFV2
|
|
393
419
|
|
394
420
|
AssociateWebACLResponse.struct_class = Types::AssociateWebACLResponse
|
395
421
|
|
422
|
+
AssociationConfig.add_member(:request_body, Shapes::ShapeRef.new(shape: RequestBody, location_name: "RequestBody"))
|
423
|
+
AssociationConfig.struct_class = Types::AssociationConfig
|
424
|
+
|
396
425
|
BlockAction.add_member(:custom_response, Shapes::ShapeRef.new(shape: CustomResponse, location_name: "CustomResponse"))
|
397
426
|
BlockAction.struct_class = Types::BlockAction
|
398
427
|
|
@@ -457,6 +486,13 @@ module Aws::WAFV2
|
|
457
486
|
|
458
487
|
CountryCodes.member = Shapes::ShapeRef.new(shape: CountryCode)
|
459
488
|
|
489
|
+
CreateAPIKeyRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
490
|
+
CreateAPIKeyRequest.add_member(:token_domains, Shapes::ShapeRef.new(shape: APIKeyTokenDomains, required: true, location_name: "TokenDomains"))
|
491
|
+
CreateAPIKeyRequest.struct_class = Types::CreateAPIKeyRequest
|
492
|
+
|
493
|
+
CreateAPIKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: APIKey, location_name: "APIKey"))
|
494
|
+
CreateAPIKeyResponse.struct_class = Types::CreateAPIKeyResponse
|
495
|
+
|
460
496
|
CreateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
461
497
|
CreateIPSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
462
498
|
CreateIPSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "Description"))
|
@@ -502,6 +538,7 @@ module Aws::WAFV2
|
|
502
538
|
CreateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
503
539
|
CreateWebACLRequest.add_member(:challenge_config, Shapes::ShapeRef.new(shape: ChallengeConfig, location_name: "ChallengeConfig"))
|
504
540
|
CreateWebACLRequest.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
541
|
+
CreateWebACLRequest.add_member(:association_config, Shapes::ShapeRef.new(shape: AssociationConfig, location_name: "AssociationConfig"))
|
505
542
|
CreateWebACLRequest.struct_class = Types::CreateWebACLRequest
|
506
543
|
|
507
544
|
CreateWebACLResponse.add_member(:summary, Shapes::ShapeRef.new(shape: WebACLSummary, location_name: "Summary"))
|
@@ -653,6 +690,14 @@ module Aws::WAFV2
|
|
653
690
|
GeoMatchStatement.add_member(:forwarded_ip_config, Shapes::ShapeRef.new(shape: ForwardedIPConfig, location_name: "ForwardedIPConfig"))
|
654
691
|
GeoMatchStatement.struct_class = Types::GeoMatchStatement
|
655
692
|
|
693
|
+
GetDecryptedAPIKeyRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
694
|
+
GetDecryptedAPIKeyRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: APIKey, required: true, location_name: "APIKey"))
|
695
|
+
GetDecryptedAPIKeyRequest.struct_class = Types::GetDecryptedAPIKeyRequest
|
696
|
+
|
697
|
+
GetDecryptedAPIKeyResponse.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
698
|
+
GetDecryptedAPIKeyResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimestamp"))
|
699
|
+
GetDecryptedAPIKeyResponse.struct_class = Types::GetDecryptedAPIKeyResponse
|
700
|
+
|
656
701
|
GetIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
657
702
|
GetIPSetRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
658
703
|
GetIPSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "Id"))
|
@@ -834,6 +879,16 @@ module Aws::WAFV2
|
|
834
879
|
|
835
880
|
Labels.member = Shapes::ShapeRef.new(shape: Label)
|
836
881
|
|
882
|
+
ListAPIKeysRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
883
|
+
ListAPIKeysRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
884
|
+
ListAPIKeysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
|
885
|
+
ListAPIKeysRequest.struct_class = Types::ListAPIKeysRequest
|
886
|
+
|
887
|
+
ListAPIKeysResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
|
888
|
+
ListAPIKeysResponse.add_member(:api_key_summaries, Shapes::ShapeRef.new(shape: APIKeySummaries, location_name: "APIKeySummaries"))
|
889
|
+
ListAPIKeysResponse.add_member(:application_integration_url, Shapes::ShapeRef.new(shape: OutputUrl, location_name: "ApplicationIntegrationURL"))
|
890
|
+
ListAPIKeysResponse.struct_class = Types::ListAPIKeysResponse
|
891
|
+
|
837
892
|
ListAvailableManagedRuleGroupVersionsRequest.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
|
838
893
|
ListAvailableManagedRuleGroupVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
|
839
894
|
ListAvailableManagedRuleGroupVersionsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
@@ -1109,6 +1164,12 @@ module Aws::WAFV2
|
|
1109
1164
|
ReleaseSummary.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
1110
1165
|
ReleaseSummary.struct_class = Types::ReleaseSummary
|
1111
1166
|
|
1167
|
+
RequestBody.key = Shapes::ShapeRef.new(shape: AssociatedResourceType)
|
1168
|
+
RequestBody.value = Shapes::ShapeRef.new(shape: RequestBodyAssociatedResourceTypeConfig)
|
1169
|
+
|
1170
|
+
RequestBodyAssociatedResourceTypeConfig.add_member(:default_size_inspection_limit, Shapes::ShapeRef.new(shape: SizeInspectionLimit, required: true, location_name: "DefaultSizeInspectionLimit"))
|
1171
|
+
RequestBodyAssociatedResourceTypeConfig.struct_class = Types::RequestBodyAssociatedResourceTypeConfig
|
1172
|
+
|
1112
1173
|
RequestInspection.add_member(:payload_type, Shapes::ShapeRef.new(shape: PayloadType, required: true, location_name: "PayloadType"))
|
1113
1174
|
RequestInspection.add_member(:username_field, Shapes::ShapeRef.new(shape: UsernameField, required: true, location_name: "UsernameField"))
|
1114
1175
|
RequestInspection.add_member(:password_field, Shapes::ShapeRef.new(shape: PasswordField, required: true, location_name: "PasswordField"))
|
@@ -1362,6 +1423,7 @@ module Aws::WAFV2
|
|
1362
1423
|
UpdateWebACLRequest.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
1363
1424
|
UpdateWebACLRequest.add_member(:challenge_config, Shapes::ShapeRef.new(shape: ChallengeConfig, location_name: "ChallengeConfig"))
|
1364
1425
|
UpdateWebACLRequest.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
1426
|
+
UpdateWebACLRequest.add_member(:association_config, Shapes::ShapeRef.new(shape: AssociationConfig, location_name: "AssociationConfig"))
|
1365
1427
|
UpdateWebACLRequest.struct_class = Types::UpdateWebACLRequest
|
1366
1428
|
|
1367
1429
|
UpdateWebACLResponse.add_member(:next_lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "NextLockToken"))
|
@@ -1457,6 +1519,7 @@ module Aws::WAFV2
|
|
1457
1519
|
WebACL.add_member(:captcha_config, Shapes::ShapeRef.new(shape: CaptchaConfig, location_name: "CaptchaConfig"))
|
1458
1520
|
WebACL.add_member(:challenge_config, Shapes::ShapeRef.new(shape: ChallengeConfig, location_name: "ChallengeConfig"))
|
1459
1521
|
WebACL.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
1522
|
+
WebACL.add_member(:association_config, Shapes::ShapeRef.new(shape: AssociationConfig, location_name: "AssociationConfig"))
|
1460
1523
|
WebACL.struct_class = Types::WebACL
|
1461
1524
|
|
1462
1525
|
WebACLSummaries.member = Shapes::ShapeRef.new(shape: WebACLSummary)
|
@@ -1521,6 +1584,18 @@ module Aws::WAFV2
|
|
1521
1584
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1522
1585
|
end)
|
1523
1586
|
|
1587
|
+
api.add_operation(:create_api_key, Seahorse::Model::Operation.new.tap do |o|
|
1588
|
+
o.name = "CreateAPIKey"
|
1589
|
+
o.http_method = "POST"
|
1590
|
+
o.http_request_uri = "/"
|
1591
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAPIKeyRequest)
|
1592
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAPIKeyResponse)
|
1593
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1594
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1595
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1596
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFLimitsExceededException)
|
1597
|
+
end)
|
1598
|
+
|
1524
1599
|
api.add_operation(:create_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
1525
1600
|
o.name = "CreateIPSet"
|
1526
1601
|
o.http_method = "POST"
|
@@ -1733,6 +1808,18 @@ module Aws::WAFV2
|
|
1733
1808
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1734
1809
|
end)
|
1735
1810
|
|
1811
|
+
api.add_operation(:get_decrypted_api_key, Seahorse::Model::Operation.new.tap do |o|
|
1812
|
+
o.name = "GetDecryptedAPIKey"
|
1813
|
+
o.http_method = "POST"
|
1814
|
+
o.http_request_uri = "/"
|
1815
|
+
o.input = Shapes::ShapeRef.new(shape: GetDecryptedAPIKeyRequest)
|
1816
|
+
o.output = Shapes::ShapeRef.new(shape: GetDecryptedAPIKeyResponse)
|
1817
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1818
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1819
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1820
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
|
1821
|
+
end)
|
1822
|
+
|
1736
1823
|
api.add_operation(:get_ip_set, Seahorse::Model::Operation.new.tap do |o|
|
1737
1824
|
o.name = "GetIPSet"
|
1738
1825
|
o.http_method = "POST"
|
@@ -1864,6 +1951,18 @@ module Aws::WAFV2
|
|
1864
1951
|
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1865
1952
|
end)
|
1866
1953
|
|
1954
|
+
api.add_operation(:list_api_keys, Seahorse::Model::Operation.new.tap do |o|
|
1955
|
+
o.name = "ListAPIKeys"
|
1956
|
+
o.http_method = "POST"
|
1957
|
+
o.http_request_uri = "/"
|
1958
|
+
o.input = Shapes::ShapeRef.new(shape: ListAPIKeysRequest)
|
1959
|
+
o.output = Shapes::ShapeRef.new(shape: ListAPIKeysResponse)
|
1960
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
|
1961
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
|
1962
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
|
1963
|
+
o.errors << Shapes::ShapeRef.new(shape: WAFInvalidResourceException)
|
1964
|
+
end)
|
1965
|
+
|
1867
1966
|
api.add_operation(:list_available_managed_rule_group_versions, Seahorse::Model::Operation.new.tap do |o|
|
1868
1967
|
o.name = "ListAvailableManagedRuleGroupVersions"
|
1869
1968
|
o.http_method = "POST"
|
@@ -39,6 +39,20 @@ module Aws::WAFV2
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
class CreateAPIKey
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::WAFV2::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
42
56
|
class CreateIPSet
|
43
57
|
def self.build(context)
|
44
58
|
unless context.config.regional_endpoint
|
@@ -235,6 +249,20 @@ module Aws::WAFV2
|
|
235
249
|
end
|
236
250
|
end
|
237
251
|
|
252
|
+
class GetDecryptedAPIKey
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::WAFV2::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
238
266
|
class GetIPSet
|
239
267
|
def self.build(context)
|
240
268
|
unless context.config.regional_endpoint
|
@@ -389,6 +417,20 @@ module Aws::WAFV2
|
|
389
417
|
end
|
390
418
|
end
|
391
419
|
|
420
|
+
class ListAPIKeys
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::WAFV2::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
392
434
|
class ListAvailableManagedRuleGroupVersions
|
393
435
|
def self.build(context)
|
394
436
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::WAFV2
|
|
60
60
|
Aws::WAFV2::Endpoints::AssociateWebACL.build(context)
|
61
61
|
when :check_capacity
|
62
62
|
Aws::WAFV2::Endpoints::CheckCapacity.build(context)
|
63
|
+
when :create_api_key
|
64
|
+
Aws::WAFV2::Endpoints::CreateAPIKey.build(context)
|
63
65
|
when :create_ip_set
|
64
66
|
Aws::WAFV2::Endpoints::CreateIPSet.build(context)
|
65
67
|
when :create_regex_pattern_set
|
@@ -88,6 +90,8 @@ module Aws::WAFV2
|
|
88
90
|
Aws::WAFV2::Endpoints::DisassociateWebACL.build(context)
|
89
91
|
when :generate_mobile_sdk_release_url
|
90
92
|
Aws::WAFV2::Endpoints::GenerateMobileSdkReleaseUrl.build(context)
|
93
|
+
when :get_decrypted_api_key
|
94
|
+
Aws::WAFV2::Endpoints::GetDecryptedAPIKey.build(context)
|
91
95
|
when :get_ip_set
|
92
96
|
Aws::WAFV2::Endpoints::GetIPSet.build(context)
|
93
97
|
when :get_logging_configuration
|
@@ -110,6 +114,8 @@ module Aws::WAFV2
|
|
110
114
|
Aws::WAFV2::Endpoints::GetWebACL.build(context)
|
111
115
|
when :get_web_acl_for_resource
|
112
116
|
Aws::WAFV2::Endpoints::GetWebACLForResource.build(context)
|
117
|
+
when :list_api_keys
|
118
|
+
Aws::WAFV2::Endpoints::ListAPIKeys.build(context)
|
113
119
|
when :list_available_managed_rule_group_versions
|
114
120
|
Aws::WAFV2::Endpoints::ListAvailableManagedRuleGroupVersions.build(context)
|
115
121
|
when :list_available_managed_rule_groups
|