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.DeleteSigningCertificate

Description

Deletes a signing certificate associated with the specified IAM user.

If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID signing the request. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated IAM users.

Synopsis

Creating a Request

data DeleteSigningCertificate Source #

See: newDeleteSigningCertificate smart constructor.

Constructors

DeleteSigningCertificate' 

Fields

  • userName :: Maybe Text

    The name of the user the signing certificate belongs to.

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

  • certificateId :: Text

    The ID of the signing certificate to delete.

    The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

Instances

Instances details
Eq DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Read DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Show DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Generic DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Associated Types

type Rep DeleteSigningCertificate :: Type -> Type #

NFData DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Hashable DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

AWSRequest DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

ToHeaders DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

ToPath DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

ToQuery DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

type Rep DeleteSigningCertificate Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

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

Defined in Amazonka.IAM.DeleteSigningCertificate

newDeleteSigningCertificate Source #

Create a value of DeleteSigningCertificate 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:DeleteSigningCertificate', deleteSigningCertificate_userName - The name of the user the signing certificate belongs to.

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:certificateId:DeleteSigningCertificate', deleteSigningCertificate_certificateId - The ID of the signing certificate to delete.

The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

Request Lenses

deleteSigningCertificate_userName :: Lens' DeleteSigningCertificate (Maybe Text) Source #

The name of the user the signing certificate belongs to.

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

deleteSigningCertificate_certificateId :: Lens' DeleteSigningCertificate Text Source #

The ID of the signing certificate to delete.

The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

Destructuring the Response

data DeleteSigningCertificateResponse Source #

See: newDeleteSigningCertificateResponse smart constructor.

Instances

Instances details
Eq DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Read DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Show DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Generic DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

Associated Types

type Rep DeleteSigningCertificateResponse :: Type -> Type #

NFData DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

type Rep DeleteSigningCertificateResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteSigningCertificate

type Rep DeleteSigningCertificateResponse = D1 ('MetaData "DeleteSigningCertificateResponse" "Amazonka.IAM.DeleteSigningCertificate" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteSigningCertificateResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteSigningCertificateResponse :: DeleteSigningCertificateResponse Source #

Create a value of DeleteSigningCertificateResponse with all optional fields omitted.

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