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 |
Resets the password for a service-specific credential. The new password is Amazon Web Services generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.
Synopsis
- data ResetServiceSpecificCredential = ResetServiceSpecificCredential' {}
- newResetServiceSpecificCredential :: Text -> ResetServiceSpecificCredential
- resetServiceSpecificCredential_userName :: Lens' ResetServiceSpecificCredential (Maybe Text)
- resetServiceSpecificCredential_serviceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text
- data ResetServiceSpecificCredentialResponse = ResetServiceSpecificCredentialResponse' {}
- newResetServiceSpecificCredentialResponse :: Int -> ResetServiceSpecificCredentialResponse
- resetServiceSpecificCredentialResponse_serviceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential)
- resetServiceSpecificCredentialResponse_httpStatus :: Lens' ResetServiceSpecificCredentialResponse Int
Creating a Request
data ResetServiceSpecificCredential Source #
See: newResetServiceSpecificCredential
smart constructor.
ResetServiceSpecificCredential' | |
|
Instances
newResetServiceSpecificCredential Source #
:: Text |
|
-> ResetServiceSpecificCredential |
Create a value of ResetServiceSpecificCredential
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:ResetServiceSpecificCredential'
, resetServiceSpecificCredential_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: _+=,.@-
$sel:serviceSpecificCredentialId:ResetServiceSpecificCredential'
, resetServiceSpecificCredential_serviceSpecificCredentialId
- The unique identifier of the service-specific credential.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Request Lenses
resetServiceSpecificCredential_userName :: Lens' ResetServiceSpecificCredential (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: _+=,.@-
resetServiceSpecificCredential_serviceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text Source #
The unique identifier of the service-specific credential.
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 ResetServiceSpecificCredentialResponse Source #
See: newResetServiceSpecificCredentialResponse
smart constructor.
ResetServiceSpecificCredentialResponse' | |
|
Instances
newResetServiceSpecificCredentialResponse Source #
Create a value of ResetServiceSpecificCredentialResponse
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:serviceSpecificCredential:ResetServiceSpecificCredentialResponse'
, resetServiceSpecificCredentialResponse_serviceSpecificCredential
- A structure with details about the updated service-specific credential,
including the new password.
This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
$sel:httpStatus:ResetServiceSpecificCredentialResponse'
, resetServiceSpecificCredentialResponse_httpStatus
- The response's http status code.
Response Lenses
resetServiceSpecificCredentialResponse_serviceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential) Source #
A structure with details about the updated service-specific credential, including the new password.
This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
resetServiceSpecificCredentialResponse_httpStatus :: Lens' ResetServiceSpecificCredentialResponse Int Source #
The response's http status code.