getAccountPasswordPolicy method

Future<GetAccountPasswordPolicyResponse> getAccountPasswordPolicy()

Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy.

May throw NoSuchEntityException. May throw ServiceFailureException.

Implementation

Future<GetAccountPasswordPolicyResponse> getAccountPasswordPolicy() async {
  final $request = <String, dynamic>{};
  final $result = await _protocol.send(
    $request,
    action: 'GetAccountPasswordPolicy',
    version: '2010-05-08',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shapes: shapes,
    resultWrapper: 'GetAccountPasswordPolicyResult',
  );
  return GetAccountPasswordPolicyResponse.fromXml($result);
}