AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Shares a Systems Manager document publicly or privately. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to ModifyDocumentPermissionAsync.
public abstract ModifyDocumentPermissionResponse ModifyDocumentPermission( ModifyDocumentPermissionRequest request )
Container for the necessary parameters to execute the ModifyDocumentPermission service method.
|DocumentLimitExceededException||You can have at most 200 active Systems Manager documents.|
|DocumentPermissionLimitException||The document cannot be shared with more AWS user accounts. You can share a document with a maximum of 20 accounts. You can publicly share up to five documents. If you need to increase this limit, contact AWS Support.|
|InternalServerErrorException||An error occurred on the server side.|
|InvalidDocumentException||The specified document does not exist.|
|InvalidPermissionTypeException||The permission type is not supported. Share is the only supported permission type.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms