Smaws_Client_IAM.GetSSHPublicKeyRetrieves the specified SSH public key, including metadata about the key.
The SSH public key retrieved by this operation is used only for authenticating the associated IAM user to an CodeCommit repository. For more information about using SSH keys to authenticate to an CodeCommit repository, see Set up CodeCommit for SSH connections in the CodeCommit User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `UnrecognizedPublicKeyEncodingException of
Types.unrecognized_public_key_encoding_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_ssh_public_key_request ->
(Types.get_ssh_public_key_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `UnrecognizedPublicKeyEncodingException of
Types.unrecognized_public_key_encoding_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_ssh_public_key_request ->
(Types.get_ssh_public_key_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `UnrecognizedPublicKeyEncodingException of
Types.unrecognized_public_key_encoding_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result