Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetAccountPasswordPolicyCommand

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.

import { IAMClient, GetAccountPasswordPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
// const { IAMClient, GetAccountPasswordPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
const client = new IAMClient(config);
const command = new GetAccountPasswordPolicyCommand(input);
const response = await client.send(command);
see

GetAccountPasswordPolicyCommandInput for command's input shape.

see

GetAccountPasswordPolicyCommandOutput for command's response shape.

see

config for IAMClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetAccountPasswordPolicyCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions