Module Values_1.ModifyDocumentPermissionRequestSource

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.

Sourcetype nonrec t = {
  1. name : Values_0.DocumentName.t;
    (*

    The name of the document that you want to share.

    *)
  2. permissionType : Values_0.DocumentPermissionType.t;
    (*

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

    *)
  3. accountIdsToAdd : Values_0.AccountIdList.t option;
    (*

    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.

    *)
  4. accountIdsToRemove : Values_0.AccountIdList.t option;
    (*

    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.

    *)
  5. sharedDocumentVersion : Values_0.SharedDocumentVersion.t option;
    (*

    (Optional) The version of the document to share. If it isn't specified, the system choose the Default version to share.

    *)
}
Sourceval context_ : string
Sourceval make : ?accountIdsToAdd:??? -> ?accountIdsToRemove:??? -> ?sharedDocumentVersion:??? -> name:Values_0.DocumentName.t -> permissionType:Values_0.DocumentPermissionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `String of Values_0.DocumentName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t