Module Values.PutContainerRecipePolicyResponseSource

Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

Sourcetype nonrec t = {
  1. requestId : NonEmptyString.t option;
    (*

    The request ID that uniquely identifies this request.

    *)
  2. containerRecipeArn : ContainerRecipeArn.t option;
    (*

    The Amazon Resource Name (ARN) of the container recipe that this policy was applied to.

    *)
}
Sourcetype nonrec error = [
  1. | `CallRateLimitExceededException of CallRateLimitExceededException.t
  2. | `ClientException of ClientException.t
  3. | `ForbiddenException of ForbiddenException.t
  4. | `InvalidParameterValueException of InvalidParameterValueException.t
  5. | `InvalidRequestException of InvalidRequestException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ServiceException of ServiceException.t
  8. | `ServiceUnavailableException of ServiceUnavailableException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?requestId:??? -> ?containerRecipeArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CallRateLimitExceededException of CallRateLimitExceededException.t | `ClientException of ClientException.t | `ForbiddenException of ForbiddenException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CallRateLimitExceededException of CallRateLimitExceededException.t | `ClientException of ClientException.t | `ForbiddenException of ForbiddenException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceException of ServiceException.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 NonEmptyString.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