Module Values.PromoteResourceShareCreatedFromPolicyResponseSource

When you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy. However, this type of managed permission is visible to only the resource share owner, and the associated resource share can't be modified by using RAM. This operation promotes the resource share to a STANDARD resource share that is fully manageable in RAM. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with. Before you perform this operation, you should first run PromotePermissionCreatedFromPolicyto ensure that you have an appropriate customer managed permission that can be associated with this resource share after its is promoted. If this operation can't find a managed permission that exactly matches the existing CREATED_FROM_POLICY permission, then this operation fails.

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.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `InvalidStateTransitionException of InvalidStateTransitionException.t
  3. | `MalformedArnException of MalformedArnException.t
  4. | `MissingRequiredParameterException of MissingRequiredParameterException.t
  5. | `OperationNotPermittedException of OperationNotPermittedException.t
  6. | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t
  7. | `ServerInternalException of ServerInternalException.t
  8. | `ServiceUnavailableException of ServiceUnavailableException.t
  9. | `UnknownResourceException of UnknownResourceException.t
  10. | `UnmatchedPolicyPermissionException of UnmatchedPolicyPermissionException.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval make : ?returnValue:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterException of InvalidParameterException.t | `InvalidStateTransitionException of InvalidStateTransitionException.t | `MalformedArnException of MalformedArnException.t | `MissingRequiredParameterException of MissingRequiredParameterException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnknownResourceException of UnknownResourceException.t | `Unknown_operation_error of string * string option | `UnmatchedPolicyPermissionException of UnmatchedPolicyPermissionException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterException of InvalidParameterException.t | `InvalidStateTransitionException of InvalidStateTransitionException.t | `MalformedArnException of MalformedArnException.t | `MissingRequiredParameterException of MissingRequiredParameterException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceShareLimitExceededException of ResourceShareLimitExceededException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnknownResourceException of UnknownResourceException.t | `Unknown_operation_error of string * string option | `UnmatchedPolicyPermissionException of UnmatchedPolicyPermissionException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.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