Module Values.GetPermissionRequestSource

Retrieves the contents of a managed permission in JSON format.

Sourcetype nonrec t = {
  1. permissionArn : String_.t;
    (*

    Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.

    *)
  2. permissionVersion : Integer.t option;
    (*

    Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version. To see the list of available versions, use ListPermissionVersions.

    *)
}
Sourceval context_ : string
Sourceval make : ?permissionVersion:??? -> permissionArn:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.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