ModifyDocumentPermissionRequest
public struct ModifyDocumentPermissionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
Declaration
Swift
public let accountIdsToAdd: [String]? -
The AWS user accounts that should no longer have access to the document. The AWS user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.
Declaration
Swift
public let accountIdsToRemove: [String]? -
The name of the document that you want to share.
Declaration
Swift
public let name: String -
The permission type for the document. The permission type can be Share.
Declaration
Swift
public let permissionType: DocumentPermissionType -
(Optional) The version of the document to share. If it’s not specified, the system choose the Default version to share.
Declaration
Swift
public let sharedDocumentVersion: String? -
Undocumented
Declaration
Swift
public init(accountIdsToAdd: [String]? = nil, accountIdsToRemove: [String]? = nil, name: String, permissionType: DocumentPermissionType, sharedDocumentVersion: String? = nil) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
ModifyDocumentPermissionRequest Structure Reference