Module Values.CreatePermissionResponseSource

Creates a customer managed permission for a specified resource type that you can attach to resource shares. It is created in the Amazon Web Services Region in which you call the operation.

Sourcetype nonrec t = {
  1. permission : ResourceSharePermissionSummary.t option;
    (*

    A structure with information about this customer managed permission.

    *)
  2. clientToken : String_.t option;
    (*

    The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the clientToken request parameter of that later call. All other parameters must also have the same values that you used in the first call.

    *)
}
Sourcetype nonrec error = [
  1. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  2. | `InvalidClientTokenException of InvalidClientTokenException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `InvalidPolicyException of InvalidPolicyException.t
  5. | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t
  6. | `OperationNotPermittedException of OperationNotPermittedException.t
  7. | `PermissionAlreadyExistsException of PermissionAlreadyExistsException.t
  8. | `PermissionLimitExceededException of PermissionLimitExceededException.t
  9. | `ServerInternalException of ServerInternalException.t
  10. | `ServiceUnavailableException of ServiceUnavailableException.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval make : ?permission:??? -> ?clientToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPolicyException of InvalidPolicyException.t | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `PermissionAlreadyExistsException of PermissionAlreadyExistsException.t | `PermissionLimitExceededException of PermissionLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPolicyException of InvalidPolicyException.t | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `PermissionAlreadyExistsException of PermissionAlreadyExistsException.t | `PermissionLimitExceededException of PermissionLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of String_.t | `Timestamp of DateTime.t ]) list ]) 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