Module Values.CreatePermissionVersionResponseSource

Creates a new version of the specified customer managed permission. The new version is automatically set as the default version of the customer managed permission. New resource shares automatically use the default permission. Existing resource shares continue to use their original permission versions, but you can use ReplacePermissionAssociations to update them. If the specified customer managed permission already has the maximum of 5 versions, then you must delete one of the existing versions before you can create a new one.

Sourcetype nonrec t = {
  1. permission : ResourceSharePermissionDetail.t option;
  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. | `MalformedArnException of MalformedArnException.t
  6. | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t
  7. | `PermissionVersionsLimitExceededException of PermissionVersionsLimitExceededException.t
  8. | `ServerInternalException of ServerInternalException.t
  9. | `ServiceUnavailableException of ServiceUnavailableException.t
  10. | `UnknownResourceException of UnknownResourceException.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 | `MalformedArnException of MalformedArnException.t | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t | `PermissionVersionsLimitExceededException of PermissionVersionsLimitExceededException.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 -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidClientTokenException of InvalidClientTokenException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPolicyException of InvalidPolicyException.t | `MalformedArnException of MalformedArnException.t | `MalformedPolicyTemplateException of MalformedPolicyTemplateException.t | `PermissionVersionsLimitExceededException of PermissionVersionsLimitExceededException.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 * [> `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