Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes the specified SSH public key.
The SSH public key deleted 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.
Synopsis
- data DeleteSSHPublicKey = DeleteSSHPublicKey' {
- userName :: Text
- sSHPublicKeyId :: Text
- newDeleteSSHPublicKey :: Text -> Text -> DeleteSSHPublicKey
- deleteSSHPublicKey_userName :: Lens' DeleteSSHPublicKey Text
- deleteSSHPublicKey_sSHPublicKeyId :: Lens' DeleteSSHPublicKey Text
- data DeleteSSHPublicKeyResponse = DeleteSSHPublicKeyResponse' {
- newDeleteSSHPublicKeyResponse :: DeleteSSHPublicKeyResponse
Creating a Request
data DeleteSSHPublicKey Source #
See: newDeleteSSHPublicKey
smart constructor.
DeleteSSHPublicKey' | |
|
Instances
newDeleteSSHPublicKey Source #
Create a value of DeleteSSHPublicKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteSSHPublicKey
, deleteSSHPublicKey_userName
- The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
DeleteSSHPublicKey
, deleteSSHPublicKey_sSHPublicKeyId
- The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Request Lenses
deleteSSHPublicKey_userName :: Lens' DeleteSSHPublicKey Text Source #
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
deleteSSHPublicKey_sSHPublicKeyId :: Lens' DeleteSSHPublicKey Text Source #
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Destructuring the Response
data DeleteSSHPublicKeyResponse Source #
See: newDeleteSSHPublicKeyResponse
smart constructor.
Instances
newDeleteSSHPublicKeyResponse :: DeleteSSHPublicKeyResponse Source #
Create a value of DeleteSSHPublicKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.