aws-sdk-wafv2 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,6 +76,7 @@ module Aws::WAFV2
76
76
  DescribeManagedRuleGroupResponse = Shapes::StructureShape.new(name: 'DescribeManagedRuleGroupResponse')
77
77
  DisassociateWebACLRequest = Shapes::StructureShape.new(name: 'DisassociateWebACLRequest')
78
78
  DisassociateWebACLResponse = Shapes::StructureShape.new(name: 'DisassociateWebACLResponse')
79
+ DownloadUrl = Shapes::StringShape.new(name: 'DownloadUrl')
79
80
  EntityDescription = Shapes::StringShape.new(name: 'EntityDescription')
80
81
  EntityId = Shapes::StringShape.new(name: 'EntityId')
81
82
  EntityName = Shapes::StringShape.new(name: 'EntityName')
@@ -85,6 +86,7 @@ module Aws::WAFV2
85
86
  ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
86
87
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
87
88
  FallbackBehavior = Shapes::StringShape.new(name: 'FallbackBehavior')
89
+ FieldIdentifier = Shapes::StringShape.new(name: 'FieldIdentifier')
88
90
  FieldToMatch = Shapes::StructureShape.new(name: 'FieldToMatch')
89
91
  FieldToMatchData = Shapes::StringShape.new(name: 'FieldToMatchData')
90
92
  Filter = Shapes::StructureShape.new(name: 'Filter')
@@ -97,6 +99,8 @@ module Aws::WAFV2
97
99
  ForwardedIPConfig = Shapes::StructureShape.new(name: 'ForwardedIPConfig')
98
100
  ForwardedIPHeaderName = Shapes::StringShape.new(name: 'ForwardedIPHeaderName')
99
101
  ForwardedIPPosition = Shapes::StringShape.new(name: 'ForwardedIPPosition')
102
+ GenerateMobileSdkReleaseUrlRequest = Shapes::StructureShape.new(name: 'GenerateMobileSdkReleaseUrlRequest')
103
+ GenerateMobileSdkReleaseUrlResponse = Shapes::StructureShape.new(name: 'GenerateMobileSdkReleaseUrlResponse')
100
104
  GeoMatchStatement = Shapes::StructureShape.new(name: 'GeoMatchStatement')
101
105
  GetIPSetRequest = Shapes::StructureShape.new(name: 'GetIPSetRequest')
102
106
  GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
@@ -104,6 +108,8 @@ module Aws::WAFV2
104
108
  GetLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetLoggingConfigurationResponse')
105
109
  GetManagedRuleSetRequest = Shapes::StructureShape.new(name: 'GetManagedRuleSetRequest')
106
110
  GetManagedRuleSetResponse = Shapes::StructureShape.new(name: 'GetManagedRuleSetResponse')
111
+ GetMobileSdkReleaseRequest = Shapes::StructureShape.new(name: 'GetMobileSdkReleaseRequest')
112
+ GetMobileSdkReleaseResponse = Shapes::StructureShape.new(name: 'GetMobileSdkReleaseResponse')
107
113
  GetPermissionPolicyRequest = Shapes::StructureShape.new(name: 'GetPermissionPolicyRequest')
108
114
  GetPermissionPolicyResponse = Shapes::StructureShape.new(name: 'GetPermissionPolicyResponse')
109
115
  GetRateBasedStatementManagedKeysRequest = Shapes::StructureShape.new(name: 'GetRateBasedStatementManagedKeysRequest')
@@ -160,6 +166,8 @@ module Aws::WAFV2
160
166
  ListManagedRuleSetsRequest = Shapes::StructureShape.new(name: 'ListManagedRuleSetsRequest')
161
167
  ListManagedRuleSetsResponse = Shapes::StructureShape.new(name: 'ListManagedRuleSetsResponse')
162
168
  ListMaxItems = Shapes::IntegerShape.new(name: 'ListMaxItems')
169
+ ListMobileSdkReleasesRequest = Shapes::StructureShape.new(name: 'ListMobileSdkReleasesRequest')
170
+ ListMobileSdkReleasesResponse = Shapes::StructureShape.new(name: 'ListMobileSdkReleasesResponse')
163
171
  ListRegexPatternSetsRequest = Shapes::StructureShape.new(name: 'ListRegexPatternSetsRequest')
164
172
  ListRegexPatternSetsResponse = Shapes::StructureShape.new(name: 'ListRegexPatternSetsResponse')
165
173
  ListResourcesForWebACLRequest = Shapes::StructureShape.new(name: 'ListResourcesForWebACLRequest')
@@ -175,6 +183,9 @@ module Aws::WAFV2
175
183
  LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
176
184
  LoggingConfigurations = Shapes::ListShape.new(name: 'LoggingConfigurations')
177
185
  LoggingFilter = Shapes::StructureShape.new(name: 'LoggingFilter')
186
+ LoginPathString = Shapes::StringShape.new(name: 'LoginPathString')
187
+ ManagedRuleGroupConfig = Shapes::StructureShape.new(name: 'ManagedRuleGroupConfig')
188
+ ManagedRuleGroupConfigs = Shapes::ListShape.new(name: 'ManagedRuleGroupConfigs')
178
189
  ManagedRuleGroupStatement = Shapes::StructureShape.new(name: 'ManagedRuleGroupStatement')
179
190
  ManagedRuleGroupSummaries = Shapes::ListShape.new(name: 'ManagedRuleGroupSummaries')
180
191
  ManagedRuleGroupSummary = Shapes::StructureShape.new(name: 'ManagedRuleGroupSummary')
@@ -186,14 +197,19 @@ module Aws::WAFV2
186
197
  ManagedRuleSetVersion = Shapes::StructureShape.new(name: 'ManagedRuleSetVersion')
187
198
  Method = Shapes::StructureShape.new(name: 'Method')
188
199
  MetricName = Shapes::StringShape.new(name: 'MetricName')
200
+ MobileSdkRelease = Shapes::StructureShape.new(name: 'MobileSdkRelease')
189
201
  NextMarker = Shapes::StringShape.new(name: 'NextMarker')
190
202
  NoneAction = Shapes::StructureShape.new(name: 'NoneAction')
191
203
  NotStatement = Shapes::StructureShape.new(name: 'NotStatement')
192
204
  OrStatement = Shapes::StructureShape.new(name: 'OrStatement')
205
+ OutputUrl = Shapes::StringShape.new(name: 'OutputUrl')
193
206
  OverrideAction = Shapes::StructureShape.new(name: 'OverrideAction')
194
207
  PaginationLimit = Shapes::IntegerShape.new(name: 'PaginationLimit')
195
208
  ParameterExceptionField = Shapes::StringShape.new(name: 'ParameterExceptionField')
196
209
  ParameterExceptionParameter = Shapes::StringShape.new(name: 'ParameterExceptionParameter')
210
+ PasswordField = Shapes::StructureShape.new(name: 'PasswordField')
211
+ PayloadType = Shapes::StringShape.new(name: 'PayloadType')
212
+ Platform = Shapes::StringShape.new(name: 'Platform')
197
213
  PolicyString = Shapes::StringShape.new(name: 'PolicyString')
198
214
  PopulationSize = Shapes::IntegerShape.new(name: 'PopulationSize')
199
215
  PositionalConstraint = Shapes::StringShape.new(name: 'PositionalConstraint')
@@ -218,6 +234,9 @@ module Aws::WAFV2
218
234
  RegexPatternSetSummary = Shapes::StructureShape.new(name: 'RegexPatternSetSummary')
219
235
  RegexPatternString = Shapes::StringShape.new(name: 'RegexPatternString')
220
236
  RegularExpressionList = Shapes::ListShape.new(name: 'RegularExpressionList')
237
+ ReleaseNotes = Shapes::StringShape.new(name: 'ReleaseNotes')
238
+ ReleaseSummaries = Shapes::ListShape.new(name: 'ReleaseSummaries')
239
+ ReleaseSummary = Shapes::StructureShape.new(name: 'ReleaseSummary')
221
240
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
222
241
  ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
223
242
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -278,6 +297,7 @@ module Aws::WAFV2
278
297
  UpdateWebACLRequest = Shapes::StructureShape.new(name: 'UpdateWebACLRequest')
279
298
  UpdateWebACLResponse = Shapes::StructureShape.new(name: 'UpdateWebACLResponse')
280
299
  UriPath = Shapes::StructureShape.new(name: 'UriPath')
300
+ UsernameField = Shapes::StructureShape.new(name: 'UsernameField')
281
301
  VendorName = Shapes::StringShape.new(name: 'VendorName')
282
302
  VersionKeyString = Shapes::StringShape.new(name: 'VersionKeyString')
283
303
  VersionToPublish = Shapes::StructureShape.new(name: 'VersionToPublish')
@@ -545,6 +565,13 @@ module Aws::WAFV2
545
565
  ForwardedIPConfig.add_member(:fallback_behavior, Shapes::ShapeRef.new(shape: FallbackBehavior, required: true, location_name: "FallbackBehavior"))
546
566
  ForwardedIPConfig.struct_class = Types::ForwardedIPConfig
547
567
 
568
+ GenerateMobileSdkReleaseUrlRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "Platform"))
569
+ GenerateMobileSdkReleaseUrlRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: VersionKeyString, required: true, location_name: "ReleaseVersion"))
570
+ GenerateMobileSdkReleaseUrlRequest.struct_class = Types::GenerateMobileSdkReleaseUrlRequest
571
+
572
+ GenerateMobileSdkReleaseUrlResponse.add_member(:url, Shapes::ShapeRef.new(shape: DownloadUrl, location_name: "Url"))
573
+ GenerateMobileSdkReleaseUrlResponse.struct_class = Types::GenerateMobileSdkReleaseUrlResponse
574
+
548
575
  GeoMatchStatement.add_member(:country_codes, Shapes::ShapeRef.new(shape: CountryCodes, location_name: "CountryCodes"))
549
576
  GeoMatchStatement.add_member(:forwarded_ip_config, Shapes::ShapeRef.new(shape: ForwardedIPConfig, location_name: "ForwardedIPConfig"))
550
577
  GeoMatchStatement.struct_class = Types::GeoMatchStatement
@@ -573,6 +600,13 @@ module Aws::WAFV2
573
600
  GetManagedRuleSetResponse.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "LockToken"))
574
601
  GetManagedRuleSetResponse.struct_class = Types::GetManagedRuleSetResponse
575
602
 
603
+ GetMobileSdkReleaseRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "Platform"))
604
+ GetMobileSdkReleaseRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: VersionKeyString, required: true, location_name: "ReleaseVersion"))
605
+ GetMobileSdkReleaseRequest.struct_class = Types::GetMobileSdkReleaseRequest
606
+
607
+ GetMobileSdkReleaseResponse.add_member(:mobile_sdk_release, Shapes::ShapeRef.new(shape: MobileSdkRelease, location_name: "MobileSdkRelease"))
608
+ GetMobileSdkReleaseResponse.struct_class = Types::GetMobileSdkReleaseResponse
609
+
576
610
  GetPermissionPolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
577
611
  GetPermissionPolicyRequest.struct_class = Types::GetPermissionPolicyRequest
578
612
 
@@ -634,6 +668,7 @@ module Aws::WAFV2
634
668
 
635
669
  GetWebACLResponse.add_member(:web_acl, Shapes::ShapeRef.new(shape: WebACL, location_name: "WebACL"))
636
670
  GetWebACLResponse.add_member(:lock_token, Shapes::ShapeRef.new(shape: LockToken, location_name: "LockToken"))
671
+ GetWebACLResponse.add_member(:application_integration_url, Shapes::ShapeRef.new(shape: OutputUrl, location_name: "ApplicationIntegrationURL"))
637
672
  GetWebACLResponse.struct_class = Types::GetWebACLResponse
638
673
 
639
674
  HTTPHeader.add_member(:name, Shapes::ShapeRef.new(shape: HeaderName, location_name: "Name"))
@@ -756,6 +791,15 @@ module Aws::WAFV2
756
791
  ListManagedRuleSetsResponse.add_member(:managed_rule_sets, Shapes::ShapeRef.new(shape: ManagedRuleSetSummaries, location_name: "ManagedRuleSets"))
757
792
  ListManagedRuleSetsResponse.struct_class = Types::ListManagedRuleSetsResponse
758
793
 
794
+ ListMobileSdkReleasesRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "Platform"))
795
+ ListMobileSdkReleasesRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
796
+ ListMobileSdkReleasesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
797
+ ListMobileSdkReleasesRequest.struct_class = Types::ListMobileSdkReleasesRequest
798
+
799
+ ListMobileSdkReleasesResponse.add_member(:release_summaries, Shapes::ShapeRef.new(shape: ReleaseSummaries, location_name: "ReleaseSummaries"))
800
+ ListMobileSdkReleasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
801
+ ListMobileSdkReleasesResponse.struct_class = Types::ListMobileSdkReleasesResponse
802
+
759
803
  ListRegexPatternSetsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
760
804
  ListRegexPatternSetsRequest.add_member(:next_marker, Shapes::ShapeRef.new(shape: NextMarker, location_name: "NextMarker"))
761
805
  ListRegexPatternSetsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PaginationLimit, location_name: "Limit"))
@@ -814,11 +858,20 @@ module Aws::WAFV2
814
858
  LoggingFilter.add_member(:default_behavior, Shapes::ShapeRef.new(shape: FilterBehavior, required: true, location_name: "DefaultBehavior"))
815
859
  LoggingFilter.struct_class = Types::LoggingFilter
816
860
 
861
+ ManagedRuleGroupConfig.add_member(:login_path, Shapes::ShapeRef.new(shape: LoginPathString, location_name: "LoginPath"))
862
+ ManagedRuleGroupConfig.add_member(:payload_type, Shapes::ShapeRef.new(shape: PayloadType, location_name: "PayloadType"))
863
+ ManagedRuleGroupConfig.add_member(:username_field, Shapes::ShapeRef.new(shape: UsernameField, location_name: "UsernameField"))
864
+ ManagedRuleGroupConfig.add_member(:password_field, Shapes::ShapeRef.new(shape: PasswordField, location_name: "PasswordField"))
865
+ ManagedRuleGroupConfig.struct_class = Types::ManagedRuleGroupConfig
866
+
867
+ ManagedRuleGroupConfigs.member = Shapes::ShapeRef.new(shape: ManagedRuleGroupConfig)
868
+
817
869
  ManagedRuleGroupStatement.add_member(:vendor_name, Shapes::ShapeRef.new(shape: VendorName, required: true, location_name: "VendorName"))
818
870
  ManagedRuleGroupStatement.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
819
871
  ManagedRuleGroupStatement.add_member(:version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "Version"))
820
872
  ManagedRuleGroupStatement.add_member(:excluded_rules, Shapes::ShapeRef.new(shape: ExcludedRules, location_name: "ExcludedRules"))
821
873
  ManagedRuleGroupStatement.add_member(:scope_down_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "ScopeDownStatement"))
874
+ ManagedRuleGroupStatement.add_member(:managed_rule_group_configs, Shapes::ShapeRef.new(shape: ManagedRuleGroupConfigs, location_name: "ManagedRuleGroupConfigs"))
822
875
  ManagedRuleGroupStatement.struct_class = Types::ManagedRuleGroupStatement
823
876
 
824
877
  ManagedRuleGroupSummaries.member = Shapes::ShapeRef.new(shape: ManagedRuleGroupSummary)
@@ -863,6 +916,12 @@ module Aws::WAFV2
863
916
 
864
917
  Method.struct_class = Types::Method
865
918
 
919
+ MobileSdkRelease.add_member(:release_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "ReleaseVersion"))
920
+ MobileSdkRelease.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
921
+ MobileSdkRelease.add_member(:release_notes, Shapes::ShapeRef.new(shape: ReleaseNotes, location_name: "ReleaseNotes"))
922
+ MobileSdkRelease.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
923
+ MobileSdkRelease.struct_class = Types::MobileSdkRelease
924
+
866
925
  NoneAction.struct_class = Types::NoneAction
867
926
 
868
927
  NotStatement.add_member(:statement, Shapes::ShapeRef.new(shape: Statement, required: true, location_name: "Statement"))
@@ -875,6 +934,9 @@ module Aws::WAFV2
875
934
  OverrideAction.add_member(:none, Shapes::ShapeRef.new(shape: NoneAction, location_name: "None"))
876
935
  OverrideAction.struct_class = Types::OverrideAction
877
936
 
937
+ PasswordField.add_member(:identifier, Shapes::ShapeRef.new(shape: FieldIdentifier, required: true, location_name: "Identifier"))
938
+ PasswordField.struct_class = Types::PasswordField
939
+
878
940
  PublishedVersions.key = Shapes::ShapeRef.new(shape: VersionKeyString)
879
941
  PublishedVersions.value = Shapes::ShapeRef.new(shape: ManagedRuleSetVersion)
880
942
 
@@ -946,6 +1008,12 @@ module Aws::WAFV2
946
1008
 
947
1009
  RegularExpressionList.member = Shapes::ShapeRef.new(shape: Regex)
948
1010
 
1011
+ ReleaseSummaries.member = Shapes::ShapeRef.new(shape: ReleaseSummary)
1012
+
1013
+ ReleaseSummary.add_member(:release_version, Shapes::ShapeRef.new(shape: VersionKeyString, location_name: "ReleaseVersion"))
1014
+ ReleaseSummary.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
1015
+ ReleaseSummary.struct_class = Types::ReleaseSummary
1016
+
949
1017
  ResourceArns.member = Shapes::ShapeRef.new(shape: ResourceArn)
950
1018
 
951
1019
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "Name"))
@@ -1145,6 +1213,9 @@ module Aws::WAFV2
1145
1213
 
1146
1214
  UriPath.struct_class = Types::UriPath
1147
1215
 
1216
+ UsernameField.add_member(:identifier, Shapes::ShapeRef.new(shape: FieldIdentifier, required: true, location_name: "Identifier"))
1217
+ UsernameField.struct_class = Types::UsernameField
1218
+
1148
1219
  VersionToPublish.add_member(:associated_rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "AssociatedRuleGroupArn"))
1149
1220
  VersionToPublish.add_member(:forecasted_lifetime, Shapes::ShapeRef.new(shape: TimeWindowDay, location_name: "ForecastedLifetime"))
1150
1221
  VersionToPublish.struct_class = Types::VersionToPublish
@@ -1486,6 +1557,18 @@ module Aws::WAFV2
1486
1557
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1487
1558
  end)
1488
1559
 
1560
+ api.add_operation(:generate_mobile_sdk_release_url, Seahorse::Model::Operation.new.tap do |o|
1561
+ o.name = "GenerateMobileSdkReleaseUrl"
1562
+ o.http_method = "POST"
1563
+ o.http_request_uri = "/"
1564
+ o.input = Shapes::ShapeRef.new(shape: GenerateMobileSdkReleaseUrlRequest)
1565
+ o.output = Shapes::ShapeRef.new(shape: GenerateMobileSdkReleaseUrlResponse)
1566
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1570
+ end)
1571
+
1489
1572
  api.add_operation(:get_ip_set, Seahorse::Model::Operation.new.tap do |o|
1490
1573
  o.name = "GetIPSet"
1491
1574
  o.http_method = "POST"
@@ -1522,6 +1605,18 @@ module Aws::WAFV2
1522
1605
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1523
1606
  end)
1524
1607
 
1608
+ api.add_operation(:get_mobile_sdk_release, Seahorse::Model::Operation.new.tap do |o|
1609
+ o.name = "GetMobileSdkRelease"
1610
+ o.http_method = "POST"
1611
+ o.http_request_uri = "/"
1612
+ o.input = Shapes::ShapeRef.new(shape: GetMobileSdkReleaseRequest)
1613
+ o.output = Shapes::ShapeRef.new(shape: GetMobileSdkReleaseResponse)
1614
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1615
+ o.errors << Shapes::ShapeRef.new(shape: WAFNonexistentItemException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1617
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1618
+ end)
1619
+
1525
1620
  api.add_operation(:get_permission_policy, Seahorse::Model::Operation.new.tap do |o|
1526
1621
  o.name = "GetPermissionPolicy"
1527
1622
  o.http_method = "POST"
@@ -1660,6 +1755,17 @@ module Aws::WAFV2
1660
1755
  o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1661
1756
  end)
1662
1757
 
1758
+ api.add_operation(:list_mobile_sdk_releases, Seahorse::Model::Operation.new.tap do |o|
1759
+ o.name = "ListMobileSdkReleases"
1760
+ o.http_method = "POST"
1761
+ o.http_request_uri = "/"
1762
+ o.input = Shapes::ShapeRef.new(shape: ListMobileSdkReleasesRequest)
1763
+ o.output = Shapes::ShapeRef.new(shape: ListMobileSdkReleasesResponse)
1764
+ o.errors << Shapes::ShapeRef.new(shape: WAFInternalErrorException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidParameterException)
1766
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1767
+ end)
1768
+
1663
1769
  api.add_operation(:list_regex_pattern_sets, Seahorse::Model::Operation.new.tap do |o|
1664
1770
  o.name = "ListRegexPatternSets"
1665
1771
  o.http_method = "POST"