Smaws_Client_IAM.CreateLoginProfileCreates a password for the specified IAM user. A password allows an IAM user to access Amazon Web Services services through the Amazon Web Services Management Console.
You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to create a password for any IAM user. Use ChangePassword to update your own existing password in the My Security Credentials page in the Amazon Web Services Management Console.
For more information about managing passwords, see Managing passwords in the IAM User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PasswordPolicyViolationException of
Types.password_policy_violation_exception
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_login_profile_request ->
(Types.create_login_profile_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PasswordPolicyViolationException of
Types.password_policy_violation_exception
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_login_profile_request ->
(Types.create_login_profile_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `EntityAlreadyExistsException of Types.entity_already_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NoSuchEntityException of Types.no_such_entity_exception
| `PasswordPolicyViolationException of
Types.password_policy_violation_exception
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result