// Retrieves 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 AWS CodeCommit repository. For more information about
// using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS
// CodeCommit for SSH Connections
// (https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html)
// in the AWS CodeCommit User Guide.
Retrieves 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 AWS CodeCommit repository. For more information about
using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS
CodeCommit for SSH Connections

in the AWS CodeCommit User Guide.
// Retrieves 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 AWS CodeCommit repository . For more information about // using SSH keys to authenticate to an AWS CodeCommit repository see Set up AWS // CodeCommit for SSH Connections // ( https : // docs . aws . amazon . com / codecommit / latest / userguide / setting - up - credentials - ssh . html ) // in the AWS CodeCommit User Guide .
func (c *Client) GetSSHPublicKey(ctx context.Context, params *GetSSHPublicKeyInput, optFns ...func(*Options)) (*GetSSHPublicKeyOutput, error) {
	if params == nil {
		params = &GetSSHPublicKeyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetSSHPublicKey", params, optFns, addOperationGetSSHPublicKeyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetSSHPublicKeyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetSSHPublicKey ( ctx context . Context , params * GetSSHPublicKeyInput , optFns ... func ( * Options ) ) ( * GetSSHPublicKeyOutput , error ) { if params == nil { params = & GetSSHPublicKeyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetSSHPublicKeyMiddlewares ) if err != nil { return nil , err } out := result . ( * GetSSHPublicKeyOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves the specified SSH public key, including metadata about the key.
Retrieves the specified SSH public key including metadata about the key .