Module Values.AssociateResourceSharePermissionResponseSource

Adds or replaces the RAM permission for a resource type included in a resource share. You can have exactly one permission associated with each resource type in the resource share. You can add a new RAM permission only if there are currently no resources of that resource type currently in the resource share.

Sourcetype nonrec t = {
  1. returnValue : Boolean.t option;
    (*

    A return value of true indicates that the request succeeded. A value of false indicates that the request failed.

    *)
  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. | `InvalidClientTokenException of InvalidClientTokenException.t
  2. | `InvalidParameterException of InvalidParameterException.t
  3. | `MalformedArnException of MalformedArnException.t
  4. | `OperationNotPermittedException of OperationNotPermittedException.t
  5. | `ServerInternalException of ServerInternalException.t
  6. | `ServiceUnavailableException of ServiceUnavailableException.t
  7. | `UnknownResourceException of UnknownResourceException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?returnValue:??? -> ?clientToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `MalformedArnException of MalformedArnException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnknownResourceException of UnknownResourceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `MalformedArnException of MalformedArnException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnknownResourceException of UnknownResourceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.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