GetProtectionStatusRequest

public struct GetProtectionStatusRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The end of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed.

    Declaration

    Swift

    public let endTime: TimeStamp?
  • Specifies the number of objects that you want AWS Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of objects.

    Declaration

    Swift

    public let maxResults: Int?
  • The AWS account that is in scope of the policy that you want to get the details for.

    Declaration

    Swift

    public let memberAccountId: String?
  • If you specify a value for MaxResults and you have more objects than the number that you specify for MaxResults, AWS Firewall Manager returns a NextToken value in the response, which you can use to retrieve another group of objects. For the second and subsequent GetProtectionStatus requests, specify the value of NextToken from the previous response to get information about another batch of objects.

    Declaration

    Swift

    public let nextToken: String?
  • The ID of the policy for which you want to get the attack information.

    Declaration

    Swift

    public let policyId: String
  • The start of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by AWS Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed.

    Declaration

    Swift

    public let startTime: TimeStamp?
  • Undocumented

    Declaration

    Swift

    public init(endTime: TimeStamp? = nil, maxResults: Int? = nil, memberAccountId: String? = nil, nextToken: String? = nil, policyId: String, startTime: TimeStamp? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws