aws-sdk 2.1124.0 → 2.1127.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.
- package/CHANGELOG.md +19 -1
- package/README.md +1 -1
- package/apis/codeguru-reviewer-2019-09-19.min.json +15 -8
- package/apis/ec2-2016-11-15.min.json +5 -1
- package/apis/kinesis-video-archived-media-2017-09-30.min.json +64 -0
- package/apis/kinesis-video-archived-media-2017-09-30.paginators.json +6 -0
- package/apis/kinesisvideo-2017-09-30.min.json +145 -8
- package/apis/mediaconvert-2017-08-29.min.json +136 -120
- package/apis/outposts-2019-12-03.min.json +56 -0
- package/apis/outposts-2019-12-03.paginators.json +10 -0
- package/apis/rds-2014-10-31.min.json +20 -7
- package/apis/s3-2006-03-01.examples.json +124 -124
- package/apis/sagemaker-2017-07-24.min.json +149 -138
- package/apis/ssm-2014-11-06.min.json +3 -0
- package/apis/synthetics-2017-10-11.min.json +8 -3
- package/apis/wafv2-2019-07-29.min.json +196 -130
- package/clients/codegurureviewer.d.ts +18 -5
- package/clients/ec2.d.ts +10 -2
- package/clients/kinesisvideo.d.ts +177 -10
- package/clients/kinesisvideoarchivedmedia.d.ts +94 -0
- package/clients/mediaconvert.d.ts +23 -2
- package/clients/organizations.d.ts +5 -5
- package/clients/outposts.d.ts +67 -10
- package/clients/rds.d.ts +36 -0
- package/clients/s3.d.ts +8 -8
- package/clients/sagemaker.d.ts +10 -0
- package/clients/ssm.d.ts +5 -1
- package/clients/synthetics.d.ts +7 -3
- package/clients/wafv2.d.ts +104 -27
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +14 -14
- package/dist/aws-sdk.js +246 -19
- package/dist/aws-sdk.min.js +69 -69
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/synthetics.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ declare class Synthetics extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
createCanary(callback?: (err: AWSError, data: Synthetics.Types.CreateCanaryResponse) => void): Request<Synthetics.Types.CreateCanaryResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Permanently deletes the specified canary.
|
|
23
|
+
* Permanently deletes the specified canary. If you specify DeleteLambda to true, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary. Other esources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
|
|
24
24
|
*/
|
|
25
25
|
deleteCanary(params: Synthetics.Types.DeleteCanaryRequest, callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request<Synthetics.Types.DeleteCanaryResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Permanently deletes the specified canary.
|
|
27
|
+
* Permanently deletes the specified canary. If you specify DeleteLambda to true, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary. Other esources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following: The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName . Amazon S3 objects and buckets, such as the canary's artifact location. IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName . Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
|
|
28
28
|
*/
|
|
29
29
|
deleteCanary(callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request<Synthetics.Types.DeleteCanaryResponse, AWSError>;
|
|
30
30
|
/**
|
|
@@ -352,7 +352,7 @@ declare namespace Synthetics {
|
|
|
352
352
|
DurationInSeconds?: MaxOneYearInSeconds;
|
|
353
353
|
}
|
|
354
354
|
export type CanaryState = "CREATING"|"READY"|"STARTING"|"RUNNING"|"UPDATING"|"STOPPING"|"STOPPED"|"ERROR"|"DELETING"|string;
|
|
355
|
-
export type CanaryStateReasonCode = "INVALID_PERMISSIONS"|string;
|
|
355
|
+
export type CanaryStateReasonCode = "INVALID_PERMISSIONS"|"CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_PENDING"|"UPDATE_IN_PROGRESS"|"UPDATE_COMPLETE"|"ROLLBACK_COMPLETE"|"ROLLBACK_FAILED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"SYNC_DELETE_IN_PROGRESS"|string;
|
|
356
356
|
export interface CanaryStatus {
|
|
357
357
|
/**
|
|
358
358
|
* The current state of the canary.
|
|
@@ -447,6 +447,10 @@ declare namespace Synthetics {
|
|
|
447
447
|
* The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
|
|
448
448
|
*/
|
|
449
449
|
Name: CanaryName;
|
|
450
|
+
/**
|
|
451
|
+
* Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false. Type: Boolean
|
|
452
|
+
*/
|
|
453
|
+
DeleteLambda?: boolean;
|
|
450
454
|
}
|
|
451
455
|
export interface DeleteCanaryResponse {
|
|
452
456
|
}
|
package/clients/wafv2.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ declare class WAFV2 extends Service {
|
|
|
12
12
|
constructor(options?: WAFV2.Types.ClientConfiguration)
|
|
13
13
|
config: Config & WAFV2.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Associates a web ACL with a regional application resource, to protect the resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To associate a web ACL, in the CloudFront call UpdateDistribution, set the web ACL ID to the Amazon Resource Name (ARN) of the web ACL. For information, see UpdateDistribution.
|
|
15
|
+
* Associates a web ACL with a regional application resource, to protect the resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To associate a web ACL, in the CloudFront call UpdateDistribution, set the web ACL ID to the Amazon Resource Name (ARN) of the web ACL. For information, see UpdateDistribution. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
16
16
|
*/
|
|
17
17
|
associateWebACL(params: WAFV2.Types.AssociateWebACLRequest, callback?: (err: AWSError, data: WAFV2.Types.AssociateWebACLResponse) => void): Request<WAFV2.Types.AssociateWebACLResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Associates a web ACL with a regional application resource, to protect the resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To associate a web ACL, in the CloudFront call UpdateDistribution, set the web ACL ID to the Amazon Resource Name (ARN) of the web ACL. For information, see UpdateDistribution.
|
|
19
|
+
* Associates a web ACL with a regional application resource, to protect the resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To associate a web ACL, in the CloudFront call UpdateDistribution, set the web ACL ID to the Amazon Resource Name (ARN) of the web ACL. For information, see UpdateDistribution. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
20
20
|
*/
|
|
21
21
|
associateWebACL(callback?: (err: AWSError, data: WAFV2.Types.AssociateWebACLResponse) => void): Request<WAFV2.Types.AssociateWebACLResponse, AWSError>;
|
|
22
22
|
/**
|
|
@@ -108,11 +108,11 @@ declare class WAFV2 extends Service {
|
|
|
108
108
|
*/
|
|
109
109
|
deleteRuleGroup(callback?: (err: AWSError, data: WAFV2.Types.DeleteRuleGroupResponse) => void): Request<WAFV2.Types.DeleteRuleGroupResponse, AWSError>;
|
|
110
110
|
/**
|
|
111
|
-
* Deletes the specified WebACL.
|
|
111
|
+
* Deletes the specified WebACL. You can only use this if ManagedByFirewallManager is false in the specified WebACL. Before deleting any web ACL, first disassociate it from all resources. To retrieve a list of the resources that are associated with a web ACL, use the following calls: For regional resources, call ListResourcesForWebACL. For Amazon CloudFront distributions, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId. To disassociate a resource from a web ACL, use the following calls: For regional resources, call DisassociateWebACL. For Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution.
|
|
112
112
|
*/
|
|
113
113
|
deleteWebACL(params: WAFV2.Types.DeleteWebACLRequest, callback?: (err: AWSError, data: WAFV2.Types.DeleteWebACLResponse) => void): Request<WAFV2.Types.DeleteWebACLResponse, AWSError>;
|
|
114
114
|
/**
|
|
115
|
-
* Deletes the specified WebACL.
|
|
115
|
+
* Deletes the specified WebACL. You can only use this if ManagedByFirewallManager is false in the specified WebACL. Before deleting any web ACL, first disassociate it from all resources. To retrieve a list of the resources that are associated with a web ACL, use the following calls: For regional resources, call ListResourcesForWebACL. For Amazon CloudFront distributions, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId. To disassociate a resource from a web ACL, use the following calls: For regional resources, call DisassociateWebACL. For Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution.
|
|
116
116
|
*/
|
|
117
117
|
deleteWebACL(callback?: (err: AWSError, data: WAFV2.Types.DeleteWebACLResponse) => void): Request<WAFV2.Types.DeleteWebACLResponse, AWSError>;
|
|
118
118
|
/**
|
|
@@ -124,11 +124,11 @@ declare class WAFV2 extends Service {
|
|
|
124
124
|
*/
|
|
125
125
|
describeManagedRuleGroup(callback?: (err: AWSError, data: WAFV2.Types.DescribeManagedRuleGroupResponse) => void): Request<WAFV2.Types.DescribeManagedRuleGroupResponse, AWSError>;
|
|
126
126
|
/**
|
|
127
|
-
* Disassociates
|
|
127
|
+
* Disassociates the specified regional application resource from any existing web ACL association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a web ACL, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution.
|
|
128
128
|
*/
|
|
129
129
|
disassociateWebACL(params: WAFV2.Types.DisassociateWebACLRequest, callback?: (err: AWSError, data: WAFV2.Types.DisassociateWebACLResponse) => void): Request<WAFV2.Types.DisassociateWebACLResponse, AWSError>;
|
|
130
130
|
/**
|
|
131
|
-
* Disassociates
|
|
131
|
+
* Disassociates the specified regional application resource from any existing web ACL association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a web ACL, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution.
|
|
132
132
|
*/
|
|
133
133
|
disassociateWebACL(callback?: (err: AWSError, data: WAFV2.Types.DisassociateWebACLResponse) => void): Request<WAFV2.Types.DisassociateWebACLResponse, AWSError>;
|
|
134
134
|
/**
|
|
@@ -356,11 +356,11 @@ declare class WAFV2 extends Service {
|
|
|
356
356
|
*/
|
|
357
357
|
untagResource(callback?: (err: AWSError, data: WAFV2.Types.UntagResourceResponse) => void): Request<WAFV2.Types.UntagResourceResponse, AWSError>;
|
|
358
358
|
/**
|
|
359
|
-
* Updates the specified IPSet. This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling GetIPSet, update the settings as needed, and then provide the complete IP set specification to this call.
|
|
359
|
+
* Updates the specified IPSet. This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling GetIPSet, update the settings as needed, and then provide the complete IP set specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
360
360
|
*/
|
|
361
361
|
updateIPSet(params: WAFV2.Types.UpdateIPSetRequest, callback?: (err: AWSError, data: WAFV2.Types.UpdateIPSetResponse) => void): Request<WAFV2.Types.UpdateIPSetResponse, AWSError>;
|
|
362
362
|
/**
|
|
363
|
-
* Updates the specified IPSet. This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling GetIPSet, update the settings as needed, and then provide the complete IP set specification to this call.
|
|
363
|
+
* Updates the specified IPSet. This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling GetIPSet, update the settings as needed, and then provide the complete IP set specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
364
364
|
*/
|
|
365
365
|
updateIPSet(callback?: (err: AWSError, data: WAFV2.Types.UpdateIPSetResponse) => void): Request<WAFV2.Types.UpdateIPSetResponse, AWSError>;
|
|
366
366
|
/**
|
|
@@ -372,27 +372,27 @@ declare class WAFV2 extends Service {
|
|
|
372
372
|
*/
|
|
373
373
|
updateManagedRuleSetVersionExpiryDate(callback?: (err: AWSError, data: WAFV2.Types.UpdateManagedRuleSetVersionExpiryDateResponse) => void): Request<WAFV2.Types.UpdateManagedRuleSetVersionExpiryDateResponse, AWSError>;
|
|
374
374
|
/**
|
|
375
|
-
* Updates the specified RegexPatternSet. This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling GetRegexPatternSet, update the settings as needed, and then provide the complete regex pattern set specification to this call.
|
|
375
|
+
* Updates the specified RegexPatternSet. This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling GetRegexPatternSet, update the settings as needed, and then provide the complete regex pattern set specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
376
376
|
*/
|
|
377
377
|
updateRegexPatternSet(params: WAFV2.Types.UpdateRegexPatternSetRequest, callback?: (err: AWSError, data: WAFV2.Types.UpdateRegexPatternSetResponse) => void): Request<WAFV2.Types.UpdateRegexPatternSetResponse, AWSError>;
|
|
378
378
|
/**
|
|
379
|
-
* Updates the specified RegexPatternSet. This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling GetRegexPatternSet, update the settings as needed, and then provide the complete regex pattern set specification to this call.
|
|
379
|
+
* Updates the specified RegexPatternSet. This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling GetRegexPatternSet, update the settings as needed, and then provide the complete regex pattern set specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.
|
|
380
380
|
*/
|
|
381
381
|
updateRegexPatternSet(callback?: (err: AWSError, data: WAFV2.Types.UpdateRegexPatternSetResponse) => void): Request<WAFV2.Types.UpdateRegexPatternSetResponse, AWSError>;
|
|
382
382
|
/**
|
|
383
|
-
* Updates the specified RuleGroup. This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling GetRuleGroup, update the settings as needed, and then provide the complete rule group specification to this call.
|
|
383
|
+
* Updates the specified RuleGroup. This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling GetRuleGroup, update the settings as needed, and then provide the complete rule group specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds. A rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
|
|
384
384
|
*/
|
|
385
385
|
updateRuleGroup(params: WAFV2.Types.UpdateRuleGroupRequest, callback?: (err: AWSError, data: WAFV2.Types.UpdateRuleGroupResponse) => void): Request<WAFV2.Types.UpdateRuleGroupResponse, AWSError>;
|
|
386
386
|
/**
|
|
387
|
-
* Updates the specified RuleGroup. This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling GetRuleGroup, update the settings as needed, and then provide the complete rule group specification to this call.
|
|
387
|
+
* Updates the specified RuleGroup. This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling GetRuleGroup, update the settings as needed, and then provide the complete rule group specification to this call. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds. A rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
|
|
388
388
|
*/
|
|
389
389
|
updateRuleGroup(callback?: (err: AWSError, data: WAFV2.Types.UpdateRuleGroupResponse) => void): Request<WAFV2.Types.UpdateRuleGroupResponse, AWSError>;
|
|
390
390
|
/**
|
|
391
|
-
* Updates the specified WebACL. This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling GetWebACL, update the settings as needed, and then provide the complete web ACL specification to this call. A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync GraphQL API.
|
|
391
|
+
* Updates the specified WebACL. While updating a web ACL, WAF provides continous coverage to the resources that you have associated with the web ACL. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds. This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling GetWebACL, update the settings as needed, and then provide the complete web ACL specification to this call. A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync GraphQL API.
|
|
392
392
|
*/
|
|
393
393
|
updateWebACL(params: WAFV2.Types.UpdateWebACLRequest, callback?: (err: AWSError, data: WAFV2.Types.UpdateWebACLResponse) => void): Request<WAFV2.Types.UpdateWebACLResponse, AWSError>;
|
|
394
394
|
/**
|
|
395
|
-
* Updates the specified WebACL. This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling GetWebACL, update the settings as needed, and then provide the complete web ACL specification to this call. A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync GraphQL API.
|
|
395
|
+
* Updates the specified WebACL. While updating a web ACL, WAF provides continous coverage to the resources that you have associated with the web ACL. When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds. This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling GetWebACL, update the settings as needed, and then provide the complete web ACL specification to this call. A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync GraphQL API.
|
|
396
396
|
*/
|
|
397
397
|
updateWebACL(callback?: (err: AWSError, data: WAFV2.Types.UpdateWebACLResponse) => void): Request<WAFV2.Types.UpdateWebACLResponse, AWSError>;
|
|
398
398
|
}
|
|
@@ -440,6 +440,10 @@ declare namespace WAFV2 {
|
|
|
440
440
|
CustomResponse?: CustomResponse;
|
|
441
441
|
}
|
|
442
442
|
export interface Body {
|
|
443
|
+
/**
|
|
444
|
+
* What WAF should do if the body is larger than WAF can inspect. WAF does not support inspecting the entire contents of the body of a web request when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to WAF by the underlying host service. The options for oversize handling are the following: CONTINUE - Inspect the body normally, according to the rule inspection criteria. MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement. You can combine the MATCH or NO_MATCH settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over 8 KB. Default: CONTINUE
|
|
445
|
+
*/
|
|
446
|
+
OversizeHandling?: OversizeHandling;
|
|
443
447
|
}
|
|
444
448
|
export type BodyParsingFallbackBehavior = "MATCH"|"NO_MATCH"|"EVALUATE_AS_STRING"|string;
|
|
445
449
|
export type Boolean = boolean;
|
|
@@ -449,7 +453,7 @@ declare namespace WAFV2 {
|
|
|
449
453
|
*/
|
|
450
454
|
SearchString: SearchString;
|
|
451
455
|
/**
|
|
452
|
-
* The part of
|
|
456
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
453
457
|
*/
|
|
454
458
|
FieldToMatch: FieldToMatch;
|
|
455
459
|
/**
|
|
@@ -457,7 +461,7 @@ declare namespace WAFV2 {
|
|
|
457
461
|
*/
|
|
458
462
|
TextTransformations: TextTransformations;
|
|
459
463
|
/**
|
|
460
|
-
* The area within the portion of
|
|
464
|
+
* The area within the portion of the web request that you want WAF to search for SearchString. Valid values include the following: CONTAINS The specified part of the web request must include the value of SearchString, but the location doesn't matter. CONTAINS_WORD The specified part of the web request must include the value of SearchString, and SearchString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, SearchString must be a word, which means that both of the following are true: SearchString is at the beginning of the specified part of the web request or is preceded by a character other than an alphanumeric character or underscore (_). Examples include the value of a header and ;BadBot. SearchString is at the end of the specified part of the web request or is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot; and -BadBot;. EXACTLY The value of the specified part of the web request must exactly match the value of SearchString. STARTS_WITH The value of SearchString must appear at the beginning of the specified part of the web request. ENDS_WITH The value of SearchString must appear at the end of the specified part of the web request.
|
|
461
465
|
*/
|
|
462
466
|
PositionalConstraint: PositionalConstraint;
|
|
463
467
|
}
|
|
@@ -517,6 +521,35 @@ declare namespace WAFV2 {
|
|
|
517
521
|
}
|
|
518
522
|
export type Conditions = Condition[];
|
|
519
523
|
export type ConsumedCapacity = number;
|
|
524
|
+
export interface CookieMatchPattern {
|
|
525
|
+
/**
|
|
526
|
+
* Inspect all cookies.
|
|
527
|
+
*/
|
|
528
|
+
All?: All;
|
|
529
|
+
/**
|
|
530
|
+
* Inspect only the cookies that have a key that matches one of the strings specified here.
|
|
531
|
+
*/
|
|
532
|
+
IncludedCookies?: CookieNames;
|
|
533
|
+
/**
|
|
534
|
+
* Inspect only the cookies whose keys don't match any of the strings specified here.
|
|
535
|
+
*/
|
|
536
|
+
ExcludedCookies?: CookieNames;
|
|
537
|
+
}
|
|
538
|
+
export type CookieNames = SingleCookieName[];
|
|
539
|
+
export interface Cookies {
|
|
540
|
+
/**
|
|
541
|
+
* The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies. Example JSON: "CookieMatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} }
|
|
542
|
+
*/
|
|
543
|
+
MatchPattern: CookieMatchPattern;
|
|
544
|
+
/**
|
|
545
|
+
* The parts of the cookies to inspect with the rule inspection criteria. If you specify All, WAF inspects both keys and values.
|
|
546
|
+
*/
|
|
547
|
+
MatchScope: MapMatchScope;
|
|
548
|
+
/**
|
|
549
|
+
* What WAF should do if the cookies of the request are larger than WAF can inspect. WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to WAF. The options for oversize handling are the following: CONTINUE - Inspect the cookies normally, according to the rule inspection criteria. MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement.
|
|
550
|
+
*/
|
|
551
|
+
OversizeHandling: OversizeHandling;
|
|
552
|
+
}
|
|
520
553
|
export interface CountAction {
|
|
521
554
|
/**
|
|
522
555
|
* Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
|
|
@@ -524,7 +557,7 @@ declare namespace WAFV2 {
|
|
|
524
557
|
CustomRequestHandling?: CustomRequestHandling;
|
|
525
558
|
}
|
|
526
559
|
export type Country = string;
|
|
527
|
-
export type CountryCode = "AF"|"AX"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|"BQ"|"BA"|"BW"|"BV"|"BR"|"IO"|"BN"|"BG"|"BF"|"BI"|"KH"|"CM"|"CA"|"CV"|"KY"|"CF"|"TD"|"CL"|"CN"|"CX"|"CC"|"CO"|"KM"|"CG"|"CD"|"CK"|"CR"|"CI"|"HR"|"CU"|"CW"|"CY"|"CZ"|"DK"|"DJ"|"DM"|"DO"|"EC"|"EG"|"SV"|"GQ"|"ER"|"EE"|"ET"|"FK"|"FO"|"FJ"|"FI"|"FR"|"GF"|"PF"|"TF"|"GA"|"GM"|"GE"|"DE"|"GH"|"GI"|"GR"|"GL"|"GD"|"GP"|"GU"|"GT"|"GG"|"GN"|"GW"|"GY"|"HT"|"HM"|"VA"|"HN"|"HK"|"HU"|"IS"|"IN"|"ID"|"IR"|"IQ"|"IE"|"IM"|"IL"|"IT"|"JM"|"JP"|"JE"|"JO"|"KZ"|"KE"|"KI"|"KP"|"KR"|"KW"|"KG"|"LA"|"LV"|"LB"|"LS"|"LR"|"LY"|"LI"|"LT"|"LU"|"MO"|"MK"|"MG"|"MW"|"MY"|"MV"|"ML"|"MT"|"MH"|"MQ"|"MR"|"MU"|"YT"|"MX"|"FM"|"MD"|"MC"|"MN"|"ME"|"MS"|"MA"|"MZ"|"MM"|"NA"|"NR"|"NP"|"NL"|"NC"|"NZ"|"NI"|"NE"|"NG"|"NU"|"NF"|"MP"|"NO"|"OM"|"PK"|"PW"|"PS"|"PA"|"PG"|"PY"|"PE"|"PH"|"PN"|"PL"|"PT"|"PR"|"QA"|"RE"|"RO"|"RU"|"RW"|"BL"|"SH"|"KN"|"LC"|"MF"|"PM"|"VC"|"WS"|"SM"|"ST"|"SA"|"SN"|"RS"|"SC"|"SL"|"SG"|"SX"|"SK"|"SI"|"SB"|"SO"|"ZA"|"GS"|"SS"|"ES"|"LK"|"SD"|"SR"|"SJ"|"SZ"|"SE"|"CH"|"SY"|"TW"|"TJ"|"TZ"|"TH"|"TL"|"TG"|"TK"|"TO"|"TT"|"TN"|"TR"|"TM"|"TC"|"TV"|"UG"|"UA"|"AE"|"GB"|"US"|"UM"|"UY"|"UZ"|"VU"|"VE"|"VN"|"VG"|"VI"|"WF"|"EH"|"YE"|"ZM"|"ZW"|string;
|
|
560
|
+
export type CountryCode = "AF"|"AX"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|"BQ"|"BA"|"BW"|"BV"|"BR"|"IO"|"BN"|"BG"|"BF"|"BI"|"KH"|"CM"|"CA"|"CV"|"KY"|"CF"|"TD"|"CL"|"CN"|"CX"|"CC"|"CO"|"KM"|"CG"|"CD"|"CK"|"CR"|"CI"|"HR"|"CU"|"CW"|"CY"|"CZ"|"DK"|"DJ"|"DM"|"DO"|"EC"|"EG"|"SV"|"GQ"|"ER"|"EE"|"ET"|"FK"|"FO"|"FJ"|"FI"|"FR"|"GF"|"PF"|"TF"|"GA"|"GM"|"GE"|"DE"|"GH"|"GI"|"GR"|"GL"|"GD"|"GP"|"GU"|"GT"|"GG"|"GN"|"GW"|"GY"|"HT"|"HM"|"VA"|"HN"|"HK"|"HU"|"IS"|"IN"|"ID"|"IR"|"IQ"|"IE"|"IM"|"IL"|"IT"|"JM"|"JP"|"JE"|"JO"|"KZ"|"KE"|"KI"|"KP"|"KR"|"KW"|"KG"|"LA"|"LV"|"LB"|"LS"|"LR"|"LY"|"LI"|"LT"|"LU"|"MO"|"MK"|"MG"|"MW"|"MY"|"MV"|"ML"|"MT"|"MH"|"MQ"|"MR"|"MU"|"YT"|"MX"|"FM"|"MD"|"MC"|"MN"|"ME"|"MS"|"MA"|"MZ"|"MM"|"NA"|"NR"|"NP"|"NL"|"NC"|"NZ"|"NI"|"NE"|"NG"|"NU"|"NF"|"MP"|"NO"|"OM"|"PK"|"PW"|"PS"|"PA"|"PG"|"PY"|"PE"|"PH"|"PN"|"PL"|"PT"|"PR"|"QA"|"RE"|"RO"|"RU"|"RW"|"BL"|"SH"|"KN"|"LC"|"MF"|"PM"|"VC"|"WS"|"SM"|"ST"|"SA"|"SN"|"RS"|"SC"|"SL"|"SG"|"SX"|"SK"|"SI"|"SB"|"SO"|"ZA"|"GS"|"SS"|"ES"|"LK"|"SD"|"SR"|"SJ"|"SZ"|"SE"|"CH"|"SY"|"TW"|"TJ"|"TZ"|"TH"|"TL"|"TG"|"TK"|"TO"|"TT"|"TN"|"TR"|"TM"|"TC"|"TV"|"UG"|"UA"|"AE"|"GB"|"US"|"UM"|"UY"|"UZ"|"VU"|"VE"|"VN"|"VG"|"VI"|"WF"|"EH"|"YE"|"ZM"|"ZW"|"XK"|string;
|
|
528
561
|
export type CountryCodes = CountryCode[];
|
|
529
562
|
export interface CreateIPSetRequest {
|
|
530
563
|
/**
|
|
@@ -908,11 +941,11 @@ declare namespace WAFV2 {
|
|
|
908
941
|
export type FieldIdentifier = string;
|
|
909
942
|
export interface FieldToMatch {
|
|
910
943
|
/**
|
|
911
|
-
* Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. Example JSON: "SingleHeader": { "Name": "haystack" }
|
|
944
|
+
* Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. Example JSON: "SingleHeader": { "Name": "haystack" } Alternately, you can filter and inspect all headers with the Headers FieldToMatch setting.
|
|
912
945
|
*/
|
|
913
946
|
SingleHeader?: SingleHeader;
|
|
914
947
|
/**
|
|
915
|
-
* Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.
|
|
948
|
+
* Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive. Example JSON: "SingleQueryArgument": { "Name": "myArgument" }
|
|
916
949
|
*/
|
|
917
950
|
SingleQueryArgument?: SingleQueryArgument;
|
|
918
951
|
/**
|
|
@@ -920,7 +953,7 @@ declare namespace WAFV2 {
|
|
|
920
953
|
*/
|
|
921
954
|
AllQueryArguments?: AllQueryArguments;
|
|
922
955
|
/**
|
|
923
|
-
* Inspect the request URI path. This is the part of
|
|
956
|
+
* Inspect the request URI path. This is the part of the web request that identifies a resource, for example, /images/daily-ad.jpg.
|
|
924
957
|
*/
|
|
925
958
|
UriPath?: UriPath;
|
|
926
959
|
/**
|
|
@@ -928,7 +961,7 @@ declare namespace WAFV2 {
|
|
|
928
961
|
*/
|
|
929
962
|
QueryString?: QueryString;
|
|
930
963
|
/**
|
|
931
|
-
* Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
|
|
964
|
+
* Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. For information about how to handle oversized request bodies, see the Body object configuration.
|
|
932
965
|
*/
|
|
933
966
|
Body?: Body;
|
|
934
967
|
/**
|
|
@@ -936,9 +969,17 @@ declare namespace WAFV2 {
|
|
|
936
969
|
*/
|
|
937
970
|
Method?: Method;
|
|
938
971
|
/**
|
|
939
|
-
* Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
|
|
972
|
+
* Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying host service. For information about how to handle oversized request bodies, see the JsonBody object configuration.
|
|
940
973
|
*/
|
|
941
974
|
JsonBody?: JsonBody;
|
|
975
|
+
/**
|
|
976
|
+
* Inspect the request headers. You must configure scope and pattern matching filters in the Headers object, to define the set of headers to and the parts of the headers that WAF inspects. Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded to WAF for inspection by the underlying host service. You must configure how to handle any oversize header content in the Headers object. WAF applies the pattern matching filters to the headers that it receives from the underlying host service.
|
|
977
|
+
*/
|
|
978
|
+
Headers?: Headers;
|
|
979
|
+
/**
|
|
980
|
+
* Inspect the request cookies. You must configure scope and pattern matching filters in the Cookies object, to define the set of cookies and the parts of the cookies that WAF inspects. Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded to WAF for inspection by the underlying host service. You must configure how to handle any oversize cookie content in the Cookies object. WAF applies the pattern matching filters to the cookies that it receives from the underlying host service.
|
|
981
|
+
*/
|
|
982
|
+
Cookies?: Cookies;
|
|
942
983
|
}
|
|
943
984
|
export type FieldToMatchData = string;
|
|
944
985
|
export interface Filter {
|
|
@@ -1316,8 +1357,37 @@ declare namespace WAFV2 {
|
|
|
1316
1357
|
Headers?: HTTPHeaders;
|
|
1317
1358
|
}
|
|
1318
1359
|
export type HTTPVersion = string;
|
|
1360
|
+
export interface HeaderMatchPattern {
|
|
1361
|
+
/**
|
|
1362
|
+
* Inspect all headers.
|
|
1363
|
+
*/
|
|
1364
|
+
All?: All;
|
|
1365
|
+
/**
|
|
1366
|
+
* Inspect only the headers that have a key that matches one of the strings specified here.
|
|
1367
|
+
*/
|
|
1368
|
+
IncludedHeaders?: HeaderNames;
|
|
1369
|
+
/**
|
|
1370
|
+
* Inspect only the headers whose keys don't match any of the strings specified here.
|
|
1371
|
+
*/
|
|
1372
|
+
ExcludedHeaders?: HeaderNames;
|
|
1373
|
+
}
|
|
1319
1374
|
export type HeaderName = string;
|
|
1375
|
+
export type HeaderNames = FieldToMatchData[];
|
|
1320
1376
|
export type HeaderValue = string;
|
|
1377
|
+
export interface Headers {
|
|
1378
|
+
/**
|
|
1379
|
+
* The filter to use to identify the subset of headers to inspect in a web request. You must specify exactly one setting: either All, IncludedHeaders, or ExcludedHeaders. Example JSON: "HeaderMatchPattern": { "ExcludedHeaders": {"KeyToExclude1", "KeyToExclude2"} }
|
|
1380
|
+
*/
|
|
1381
|
+
MatchPattern: HeaderMatchPattern;
|
|
1382
|
+
/**
|
|
1383
|
+
* The parts of the headers to match with the rule inspection criteria. If you specify All, WAF inspects both keys and values.
|
|
1384
|
+
*/
|
|
1385
|
+
MatchScope: MapMatchScope;
|
|
1386
|
+
/**
|
|
1387
|
+
* What WAF should do if the headers of the request are larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF. The options for oversize handling are the following: CONTINUE - Inspect the headers normally, according to the rule inspection criteria. MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement.
|
|
1388
|
+
*/
|
|
1389
|
+
OversizeHandling: OversizeHandling;
|
|
1390
|
+
}
|
|
1321
1391
|
export type IPAddress = string;
|
|
1322
1392
|
export type IPAddressVersion = "IPV4"|"IPV6"|string;
|
|
1323
1393
|
export type IPAddresses = IPAddress[];
|
|
@@ -1414,6 +1484,10 @@ declare namespace WAFV2 {
|
|
|
1414
1484
|
* What WAF should do if it fails to completely parse the JSON body. The options are the following: EVALUATE_AS_STRING - Inspect the body as plain text. WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement. If you don't provide this setting, WAF parses and evaluates the content only up to the first parsing failure that it encounters. WAF does its best to parse the entire JSON body, but might be forced to stop for reasons such as invalid characters, duplicate keys, truncation, and any content whose root node isn't an object or an array. WAF parses the JSON in the following examples as two valid key, value pairs: Missing comma: {"key1":"value1""key2":"value2"} Missing colon: {"key1":"value1","key2""value2"} Extra colons: {"key1"::"value1","key2""value2"}
|
|
1415
1485
|
*/
|
|
1416
1486
|
InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
|
|
1487
|
+
/**
|
|
1488
|
+
* What WAF should do if the body is larger than WAF can inspect. WAF does not support inspecting the entire contents of the body of a web request when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to WAF by the underlying host service. The options for oversize handling are the following: CONTINUE - Inspect the body normally, according to the rule inspection criteria. MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request. NO_MATCH - Treat the web request as not matching the rule statement. You can combine the MATCH or NO_MATCH settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over 8 KB. Default: CONTINUE
|
|
1489
|
+
*/
|
|
1490
|
+
OversizeHandling?: OversizeHandling;
|
|
1417
1491
|
}
|
|
1418
1492
|
export interface JsonMatchPattern {
|
|
1419
1493
|
/**
|
|
@@ -1924,6 +1998,7 @@ declare namespace WAFV2 {
|
|
|
1924
1998
|
*/
|
|
1925
1999
|
ExpiryTimestamp?: Timestamp;
|
|
1926
2000
|
}
|
|
2001
|
+
export type MapMatchScope = "ALL"|"KEY"|"VALUE"|string;
|
|
1927
2002
|
export interface Method {
|
|
1928
2003
|
}
|
|
1929
2004
|
export type MetricName = string;
|
|
@@ -1971,6 +2046,7 @@ declare namespace WAFV2 {
|
|
|
1971
2046
|
*/
|
|
1972
2047
|
None?: NoneAction;
|
|
1973
2048
|
}
|
|
2049
|
+
export type OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"|string;
|
|
1974
2050
|
export type PaginationLimit = number;
|
|
1975
2051
|
export interface PasswordField {
|
|
1976
2052
|
/**
|
|
@@ -2085,7 +2161,7 @@ declare namespace WAFV2 {
|
|
|
2085
2161
|
*/
|
|
2086
2162
|
RegexString: RegexPatternString;
|
|
2087
2163
|
/**
|
|
2088
|
-
* The part of
|
|
2164
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
2089
2165
|
*/
|
|
2090
2166
|
FieldToMatch: FieldToMatch;
|
|
2091
2167
|
/**
|
|
@@ -2121,7 +2197,7 @@ declare namespace WAFV2 {
|
|
|
2121
2197
|
*/
|
|
2122
2198
|
ARN: ResourceArn;
|
|
2123
2199
|
/**
|
|
2124
|
-
* The part of
|
|
2200
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
2125
2201
|
*/
|
|
2126
2202
|
FieldToMatch: FieldToMatch;
|
|
2127
2203
|
/**
|
|
@@ -2359,6 +2435,7 @@ declare namespace WAFV2 {
|
|
|
2359
2435
|
export type SampledHTTPRequests = SampledHTTPRequest[];
|
|
2360
2436
|
export type Scope = "CLOUDFRONT"|"REGIONAL"|string;
|
|
2361
2437
|
export type SearchString = Buffer|Uint8Array|Blob|string;
|
|
2438
|
+
export type SingleCookieName = string;
|
|
2362
2439
|
export interface SingleHeader {
|
|
2363
2440
|
/**
|
|
2364
2441
|
* The name of the query header to inspect.
|
|
@@ -2374,7 +2451,7 @@ declare namespace WAFV2 {
|
|
|
2374
2451
|
export type Size = number;
|
|
2375
2452
|
export interface SizeConstraintStatement {
|
|
2376
2453
|
/**
|
|
2377
|
-
* The part of
|
|
2454
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
2378
2455
|
*/
|
|
2379
2456
|
FieldToMatch: FieldToMatch;
|
|
2380
2457
|
/**
|
|
@@ -2393,7 +2470,7 @@ declare namespace WAFV2 {
|
|
|
2393
2470
|
export type SolveTimestamp = number;
|
|
2394
2471
|
export interface SqliMatchStatement {
|
|
2395
2472
|
/**
|
|
2396
|
-
* The part of
|
|
2473
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
2397
2474
|
*/
|
|
2398
2475
|
FieldToMatch: FieldToMatch;
|
|
2399
2476
|
/**
|
|
@@ -2849,7 +2926,7 @@ declare namespace WAFV2 {
|
|
|
2849
2926
|
}
|
|
2850
2927
|
export interface XssMatchStatement {
|
|
2851
2928
|
/**
|
|
2852
|
-
* The part of
|
|
2929
|
+
* The part of the web request that you want WAF to inspect. For more information, see FieldToMatch.
|
|
2853
2930
|
*/
|
|
2854
2931
|
FieldToMatch: FieldToMatch;
|
|
2855
2932
|
/**
|