Module Smaws_Client_ECRPUBLIC.GetAuthorizationToken

Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_authorization_token_request -> (Types.get_authorization_token_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ]) Stdlib.result