amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.DeleteSSHPublicKey

Description

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

Creating a Request

data DeleteSSHPublicKey Source #

See: newDeleteSSHPublicKey smart constructor.

Constructors

DeleteSSHPublicKey' 

Fields

  • userName :: Text

    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: _+=,.@-

  • sSHPublicKeyId :: Text

    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.

Instances

Instances details
ToHeaders DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

ToPath DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

ToQuery DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

AWSRequest DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type AWSResponse DeleteSSHPublicKey #

Generic DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKey :: Type -> Type #

Read DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

NFData DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Methods

rnf :: DeleteSSHPublicKey -> () #

Eq DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Hashable DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type AWSResponse DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKey = D1 ('MetaData "DeleteSSHPublicKey" "Amazonka.IAM.DeleteSSHPublicKey" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "DeleteSSHPublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sSHPublicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Instances details
Generic DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKeyResponse :: Type -> Type #

Read DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

NFData DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Eq DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKeyResponse = D1 ('MetaData "DeleteSSHPublicKeyResponse" "Amazonka.IAM.DeleteSSHPublicKey" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "DeleteSSHPublicKeyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteSSHPublicKeyResponse :: DeleteSSHPublicKeyResponse Source #

Create a value of DeleteSSHPublicKeyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.