AWS SDK Version 3 for .NET
API Reference

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.

Container for the parameters to the ModifyDocumentPermission operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementRequest
      Amazon.SimpleSystemsManagement.Model.ModifyDocumentPermissionRequest

Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public class ModifyDocumentPermissionRequest : AmazonSimpleSystemsManagementRequest
         IAmazonWebServiceRequest

The ModifyDocumentPermissionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AccountIdsToAdd System.Collections.Generic.List<System.String>

Gets and sets the property AccountIdsToAdd.

The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.

Public Property AccountIdsToRemove System.Collections.Generic.List<System.String>

Gets and sets the property AccountIdsToRemove.

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.

Public Property Name System.String

Gets and sets the property Name.

The name of the document that you want to share.

Public Property PermissionType Amazon.SimpleSystemsManagement.DocumentPermissionType

Gets and sets the property PermissionType.

The permission type for the document. The permission type can be Share.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
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