DescribeProtectionRequest

public struct DescribeProtectionRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The unique identifier (ID) for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

    Declaration

    Swift

    public let protectionId: String?
  • The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

    Declaration

    Swift

    public let resourceArn: String?
  • Undocumented

    Declaration

    Swift

    public init(protectionId: String? = nil, resourceArn: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws