PutDomainPermissionsPolicyRequest

public struct PutDomainPermissionsPolicyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the domain on which to set the resource policy.

    Declaration

    Swift

    public let domain: String
  • The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

    Declaration

    Swift

    public let domainOwner: String?
  • A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

    Declaration

    Swift

    public let policyDocument: String
  • The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain’s resource policy.

    Declaration

    Swift

    public let policyRevision: String?
  • Undocumented

    Declaration

    Swift

    public init(domain: String, domainOwner: String? = nil, policyDocument: String, policyRevision: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws