UpdateWebACLRequest

public struct UpdateWebACLRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The action to perform if none of the Rules contained in the WebACL match.

    Declaration

    Swift

    public let defaultAction: DefaultAction
  • A description of the Web ACL that helps with identification. You cannot change the description of a Web ACL after you create it.

    Declaration

    Swift

    public let description: String?
  • id

    The unique identifier for the Web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

    Declaration

    Swift

    public let id: String
  • A token used for optimistic locking. AWS WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. AWS WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

    Declaration

    Swift

    public let lockToken: String
  • The name of the Web ACL. You cannot change the name of a Web ACL after you create it.

    Declaration

    Swift

    public let name: String
  • The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching web requests, and parameters that govern how AWS WAF handles them.

    Declaration

    Swift

    public let rules: [Rule]?
  • Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.

    Declaration

    Swift

    public let scope: Scope
  • Defines and enables Amazon CloudWatch metrics and web request sample collection.

    Declaration

    Swift

    public let visibilityConfig: VisibilityConfig
  • Undocumented

    Declaration

    Swift

    public init(defaultAction: DefaultAction, description: String? = nil, id: String, lockToken: String, name: String, rules: [Rule]? = nil, scope: Scope, visibilityConfig: VisibilityConfig)
  • Declaration

    Swift

    public func validate(name: String) throws