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 |
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 IAM User Guide .
- 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
- clprsResponseStatus :: 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:
clpPasswordResetRequired
- Specifies whether the user is required to set a new password on next sign-in.clpUserName
- The name of the IAM user to create a password for. The user must already exist. 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: _+=,.@-clpPassword
- The new password for the user. The regex pattern that is used to validate this parameter is a string of characters. That string can include almost any printable ASCII character from the space (u0020) through the end of the ASCII character range (u00FF). You can also include the tab (u0009), line feed (u000A), and carriage return (u000D) characters. Any of these characters are valid in a password. However, many tools, such as the AWS Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.
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 IAM user to create a password for. The user must already exist. 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: _+=,.@-
clpPassword :: Lens' CreateLoginProfile Text Source #
The new password for the user. The regex pattern that is used to validate this parameter is a string of characters. That string can include almost any printable ASCII character from the space (u0020) through the end of the ASCII character range (u00FF). You can also include the tab (u0009), line feed (u000A), and carriage return (u000D) characters. Any of these characters are valid in a password. However, many tools, such as the AWS Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.
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:
clprsResponseStatus
- -- | The response status code.clprsLoginProfile
- A structure containing the user name and password create date.
data CreateLoginProfileResponse Source #
Contains the response to a successful CreateLoginProfile
request.
See: createLoginProfileResponse
smart constructor.
Response Lenses
clprsResponseStatus :: Lens' CreateLoginProfileResponse Int Source #
- - | The response status code.
clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile Source #
A structure containing the user name and password create date.