PutRepositoryPermissionsPolicyRequest
public struct PutRepositoryPermissionsPolicyRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the domain containing the repository to set the resource policy on.
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 repository.
Declaration
Swift
public let policyDocument: String
-
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository’s resource policy.
Declaration
Swift
public let policyRevision: String?
-
The name of the repository to set the resource policy on.
Declaration
Swift
public let repository: String
-
Undocumented
Declaration
Swift
public init(domain: String, domainOwner: String? = nil, policyDocument: String, policyRevision: String? = nil, repository: String)
-
Declaration
Swift
public func validate(name: String) throws