ModifyDocumentPermissionRequest
¶
Source code in docs_src/capo_ssm/types/modify_document_permission_request.py
account_ids_to_add
instance-attribute
¶
account_ids_to_add: NotRequired[AccountIdList]
The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All. You must specify a value for this parameter or the AccountIdsToRemove parameter.
account_ids_to_remove
instance-attribute
¶
account_ids_to_remove: NotRequired[AccountIdList]
The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system removes access to the document. You must specify a value for this parameter or the AccountIdsToAdd parameter.
permission_type
instance-attribute
¶
permission_type: DocumentPermissionType
The permission type for the document. The permission type can be Share.
shared_document_version
instance-attribute
¶
shared_document_version: NotRequired[SharedDocumentVersion]
(Optional) The version of the document to share. If it isn't specified, the system choose the Default version to share.