Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the Using IAM guide.
See: AWS API Reference for CreateLoginProfile.
- createLoginProfile :: Text -> Text -> CreateLoginProfile
- data CreateLoginProfile
- clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool)
- clpUserName :: Lens' CreateLoginProfile Text
- clpPassword :: Lens' CreateLoginProfile Text
- createLoginProfileResponse :: Int -> LoginProfile -> CreateLoginProfileResponse
- data CreateLoginProfileResponse
- clprsStatus :: Lens' CreateLoginProfileResponse Int
- clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile
Creating a Request
Creates a value of CreateLoginProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateLoginProfile Source
See: createLoginProfile
smart constructor.
Request Lenses
clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool) Source
Specifies whether the user is required to set a new password on next sign-in.
clpUserName :: Lens' CreateLoginProfile Text Source
The name of the user to create a password for.
clpPassword :: Lens' CreateLoginProfile Text Source
The new password for the user.
Destructuring the Response
createLoginProfileResponse Source
Creates a value of CreateLoginProfileResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateLoginProfileResponse Source
Contains the response to a successful CreateLoginProfile request.
See: createLoginProfileResponse
smart constructor.
Response Lenses
clprsStatus :: Lens' CreateLoginProfileResponse Int Source
The response status code.
clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile Source
The user name and password create date.