/AWS1/CL_SSM=>MODIFYDOCUMENTPERMISSION()
¶
About ModifyDocumentPermission¶
Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/SSMDOCUMENTNAME
/AWS1/SSMDOCUMENTNAME
¶
The name of the document that you want to share.
IV_PERMISSIONTYPE
TYPE /AWS1/SSMDOCUMENTPERMTYPE
/AWS1/SSMDOCUMENTPERMTYPE
¶
The permission type for the document. The permission type can be Share.
Optional arguments:¶
IT_ACCOUNTIDSTOADD
TYPE /AWS1/CL_SSMACCOUNTIDLIST_W=>TT_ACCOUNTIDLIST
TT_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.
IT_ACCOUNTIDSTOREMOVE
TYPE /AWS1/CL_SSMACCOUNTIDLIST_W=>TT_ACCOUNTIDLIST
TT_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.
IV_SHAREDDOCUMENTVERSION
TYPE /AWS1/SSMSHAREDDOCUMENTVERSION
/AWS1/SSMSHAREDDOCUMENTVERSION
¶
(Optional) The version of the document to share. If it isn't specified, the system choose the
Default
version to share.