| 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 |
Amazonka.IAM.DeleteServiceSpecificCredential
Description
Deletes the specified service-specific credential.
Synopsis
- data DeleteServiceSpecificCredential = DeleteServiceSpecificCredential' {}
- newDeleteServiceSpecificCredential :: Text -> DeleteServiceSpecificCredential
- deleteServiceSpecificCredential_userName :: Lens' DeleteServiceSpecificCredential (Maybe Text)
- deleteServiceSpecificCredential_serviceSpecificCredentialId :: Lens' DeleteServiceSpecificCredential Text
- data DeleteServiceSpecificCredentialResponse = DeleteServiceSpecificCredentialResponse' {
- newDeleteServiceSpecificCredentialResponse :: DeleteServiceSpecificCredentialResponse
Creating a Request
data DeleteServiceSpecificCredential Source #
See: newDeleteServiceSpecificCredential smart constructor.
Constructors
| DeleteServiceSpecificCredential' | |
Fields
| |
Instances
newDeleteServiceSpecificCredential Source #
Create a value of DeleteServiceSpecificCredential 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:
DeleteServiceSpecificCredential, deleteServiceSpecificCredential_userName - The name of the IAM user associated with the service-specific
credential. If this value is not specified, then the operation assumes
the user whose credentials are used to call the operation.
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: _+=,.@-
DeleteServiceSpecificCredential, deleteServiceSpecificCredential_serviceSpecificCredentialId - The unique identifier of the service-specific credential. You can get
this value by calling ListServiceSpecificCredentials.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Request Lenses
deleteServiceSpecificCredential_userName :: Lens' DeleteServiceSpecificCredential (Maybe Text) Source #
The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.
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: _+=,.@-
deleteServiceSpecificCredential_serviceSpecificCredentialId :: Lens' DeleteServiceSpecificCredential Text Source #
The unique identifier of the service-specific credential. You can get this value by calling ListServiceSpecificCredentials.
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 DeleteServiceSpecificCredentialResponse Source #
See: newDeleteServiceSpecificCredentialResponse smart constructor.
Constructors
| DeleteServiceSpecificCredentialResponse' | |
Instances
newDeleteServiceSpecificCredentialResponse :: DeleteServiceSpecificCredentialResponse Source #
Create a value of DeleteServiceSpecificCredentialResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.