amazonka-iam-1.2.0.1: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.CreateLoginProfile

Contents

Description

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.

Synopsis

Creating a Request

createLoginProfile Source

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:

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:

Response Lenses

clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile Source

The user name and password create date.