Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Resets the password for a service-specific credential. The new password is AWS generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.
Synopsis
- resetServiceSpecificCredential :: Text -> ResetServiceSpecificCredential
- data ResetServiceSpecificCredential
- rsscUserName :: Lens' ResetServiceSpecificCredential (Maybe Text)
- rsscServiceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text
- resetServiceSpecificCredentialResponse :: Int -> ResetServiceSpecificCredentialResponse
- data ResetServiceSpecificCredentialResponse
- rsscrsServiceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential)
- rsscrsResponseStatus :: Lens' ResetServiceSpecificCredentialResponse Int
Creating a Request
resetServiceSpecificCredential Source #
Creates a value of ResetServiceSpecificCredential
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsscUserName
- 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 (per 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: _+=,.@-rsscServiceSpecificCredentialId
- The unique identifier of the service-specific credential. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.
data ResetServiceSpecificCredential Source #
See: resetServiceSpecificCredential
smart constructor.
Instances
Request Lenses
rsscUserName :: 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 (per 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: _+=,.@-
rsscServiceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text Source #
The unique identifier of the service-specific credential. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.
Destructuring the Response
resetServiceSpecificCredentialResponse Source #
Creates a value of ResetServiceSpecificCredentialResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsscrsServiceSpecificCredential
- A structure with details about the updated service-specific credential, including the new password. Important: This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.rsscrsResponseStatus
- -- | The response status code.
data ResetServiceSpecificCredentialResponse Source #
See: resetServiceSpecificCredentialResponse
smart constructor.
Instances
Response Lenses
rsscrsServiceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential) Source #
A structure with details about the updated service-specific credential, including the new password. Important: This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
rsscrsResponseStatus :: Lens' ResetServiceSpecificCredentialResponse Int Source #
- - | The response status code.