Smaws_Client_ECR.ListImageReferrersLists the artifacts associated with a specified subject image.
The IAM principal invoking this operation must have the ecr:BatchGetImage permission.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnableToListUpstreamImageReferrersException of
Types.unable_to_list_upstream_image_referrers_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_image_referrers_request ->
(Types.list_image_referrers_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnableToListUpstreamImageReferrersException of
Types.unable_to_list_upstream_image_referrers_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_image_referrers_request ->
(Types.list_image_referrers_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnableToListUpstreamImageReferrersException of
Types.unable_to_list_upstream_image_referrers_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result