Retrieves 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.
Example
Use a bare-bones client and the command you need to make an API call.
Retrieves 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.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetAccountPasswordPolicyCommandInput
Returns
GetAccountPasswordPolicyCommandOutput
See
input
shape.response
shape.config
shape.Throws
NoSuchEntityException (client fault)
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
Throws
ServiceFailureException (server fault)
The request processing has failed because of an unknown error, exception or failure.
Throws
IAMServiceException
Base exception class for all service exceptions from IAM service.
Example
To see the current account password policy