Module Values.CreateResourceShareResponseSource

Creates a resource share. You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, the permissions to grant those principals, and optionally source constraints to enhance security for service principal sharing. Sharing a resource makes it available for use by principals outside of the Amazon Web Services account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.

Sourcetype nonrec t = {
  1. resourceShare : ResourceShare.t option;
    (*

    An object with information about the new resource share.

    *)
  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. | `InvalidStateTransitionException of InvalidStateTransitionException.t
  5. | `MalformedArnException of MalformedArnException.t
  6. | `OperationNotPermittedException of OperationNotPermittedException.t
  7. | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t
  8. | `ServerInternalException of ServerInternalException.t
  9. | `ServiceUnavailableException of ServiceUnavailableException.t
  10. | `TagLimitExceededException of TagLimitExceededException.t
  11. | `TagPolicyViolationException of TagPolicyViolationException.t
  12. | `ThrottlingException of ThrottlingException.t
  13. | `UnknownResourceException of UnknownResourceException.t
  14. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceShare:??? -> ?clientToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidStateTransitionException of InvalidStateTransitionException.t | `MalformedArnException of MalformedArnException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `TagLimitExceededException of TagLimitExceededException.t | `TagPolicyViolationException of TagPolicyViolationException.t | `ThrottlingException of ThrottlingException.t | `UnknownResourceException of UnknownResourceException.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 | `InvalidStateTransitionException of InvalidStateTransitionException.t | `MalformedArnException of MalformedArnException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `TagLimitExceededException of TagLimitExceededException.t | `TagPolicyViolationException of TagPolicyViolationException.t | `ThrottlingException of ThrottlingException.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 * [> `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 | `Structure of (string * [> `Boolean of Boolean.t ]) list | `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