ListProtectionsRequest

public struct ListProtectionsRequest : AWSShape
extension Shield.ListProtectionsRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned. This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the number of Protection objects returned could be less than MaxResults, even if there are still more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will always also return a NextToken.

    Declaration

    Swift

    public let maxResults: Int?
  • The ListProtectionsRequest.NextToken value from a previous call to ListProtections. Pass null if this is the first call.

    Declaration

    Swift

    public let nextToken: String?
  • Undocumented

    Declaration

    Swift

    public init(maxResults: Int? = nil, nextToken: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws