libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Read DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Generic DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKey :: Type -> Type #

NFData DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Methods

rnf :: DeleteSSHPublicKey -> () #

Hashable DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

AWSRequest DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type AWSResponse DeleteSSHPublicKey #

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

type Rep DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKey = D1 ('MetaData "DeleteSSHPublicKey" "Amazonka.IAM.DeleteSSHPublicKey" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteSSHPublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sSHPublicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSSHPublicKey Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

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:

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

$sel:sSHPublicKeyId: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
Eq DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Read DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Generic DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKeyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iamZSamazonka-iam" '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.