Values.PutImagePolicyResponseSourceApplies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
type nonrec t = {requestId : NonEmptyString.t option;The request ID that uniquely identifies this request.
*)imageArn : ImageBuildVersionArn.t option;The Amazon Resource Name (ARN) of the image that this policy was applied to.
*)}type nonrec error = [ | `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| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]