Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteSigningCertificate = DeleteSigningCertificate' {
- userName :: Maybe Text
- certificateId :: Text
- newDeleteSigningCertificate :: Text -> DeleteSigningCertificate
- deleteSigningCertificate_userName :: Lens' DeleteSigningCertificate (Maybe Text)
- deleteSigningCertificate_certificateId :: Lens' DeleteSigningCertificate Text
- data DeleteSigningCertificateResponse = DeleteSigningCertificateResponse' {
- newDeleteSigningCertificateResponse :: DeleteSigningCertificateResponse
Creating a Request
data DeleteSigningCertificate Source #
See: newDeleteSigningCertificate
smart constructor.
DeleteSigningCertificate' | |
|
Instances
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
newDeleteSigningCertificateResponse :: DeleteSigningCertificateResponse Source #
Create a value of DeleteSigningCertificateResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.