Module Values_0.DescribeDocumentPermissionResponseSource

Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's Amazon Web Services account ID) or publicly (All).

Sourcetype nonrec t = {
  1. accountIds : AccountIdList.t option;
    (*

    The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account number or all.

    *)
  2. accountSharingInfoList : AccountSharingInfoList.t option;
    (*

    A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.

    *)
  3. nextToken : NextToken.t option;
    (*

    The token for the next set of items to return. Use this token to get the next set of results.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerError of InternalServerError.t
  2. | `InvalidDocument of InvalidDocument.t
  3. | `InvalidDocumentOperation of InvalidDocumentOperation.t
  4. | `InvalidNextToken of InvalidNextToken.t
  5. | `InvalidPermissionType of InvalidPermissionType.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?accountIds:??? -> ?accountSharingInfoList:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerError of InternalServerError.t | `InvalidDocument of InvalidDocument.t | `InvalidDocumentOperation of InvalidDocumentOperation.t | `InvalidNextToken of InvalidNextToken.t | `InvalidPermissionType of InvalidPermissionType.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerError of InternalServerError.t | `InvalidDocument of InvalidDocument.t | `InvalidDocumentOperation of InvalidDocumentOperation.t | `InvalidNextToken of InvalidNextToken.t | `InvalidPermissionType of InvalidPermissionType.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of AccountId.t | `Structure of (string * [> `String of AccountId.t ]) list ] list | `String of NextToken.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