Smaws_Client_IAM.GetAccountPasswordPolicyRetrieves the password policy for the Amazon Web Services account. This tells you the complexity requirements and mandatory rotation periods for the IAM user passwords in your account. For more information about using a password policy, see Managing an IAM password policy.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.get_account_password_policy_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.get_account_password_policy_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result