Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data GetAccountPasswordPolicy = GetAccountPasswordPolicy' {
- newGetAccountPasswordPolicy :: GetAccountPasswordPolicy
- data GetAccountPasswordPolicyResponse = GetAccountPasswordPolicyResponse' {}
- newGetAccountPasswordPolicyResponse :: Int -> PasswordPolicy -> GetAccountPasswordPolicyResponse
- getAccountPasswordPolicyResponse_httpStatus :: Lens' GetAccountPasswordPolicyResponse Int
- getAccountPasswordPolicyResponse_passwordPolicy :: Lens' GetAccountPasswordPolicyResponse PasswordPolicy
Creating a Request
data GetAccountPasswordPolicy Source #
See: newGetAccountPasswordPolicy
smart constructor.
Instances
newGetAccountPasswordPolicy :: GetAccountPasswordPolicy Source #
Create a value of GetAccountPasswordPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountPasswordPolicyResponse Source #
Contains the response to a successful GetAccountPasswordPolicy request.
See: newGetAccountPasswordPolicyResponse
smart constructor.
GetAccountPasswordPolicyResponse' | |
|
Instances
Eq GetAccountPasswordPolicyResponse Source # | |
Read GetAccountPasswordPolicyResponse Source # | |
Show GetAccountPasswordPolicyResponse Source # | |
Defined in Amazonka.IAM.GetAccountPasswordPolicy | |
Generic GetAccountPasswordPolicyResponse Source # | |
NFData GetAccountPasswordPolicyResponse Source # | |
Defined in Amazonka.IAM.GetAccountPasswordPolicy rnf :: GetAccountPasswordPolicyResponse -> () # | |
type Rep GetAccountPasswordPolicyResponse Source # | |
Defined in Amazonka.IAM.GetAccountPasswordPolicy type Rep GetAccountPasswordPolicyResponse = D1 ('MetaData "GetAccountPasswordPolicyResponse" "Amazonka.IAM.GetAccountPasswordPolicy" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "GetAccountPasswordPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "passwordPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PasswordPolicy))) |
newGetAccountPasswordPolicyResponse Source #
Create a value of GetAccountPasswordPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetAccountPasswordPolicyResponse'
, getAccountPasswordPolicyResponse_httpStatus
- The response's http status code.
$sel:passwordPolicy:GetAccountPasswordPolicyResponse'
, getAccountPasswordPolicyResponse_passwordPolicy
- A structure that contains details about the account's password policy.
Response Lenses
getAccountPasswordPolicyResponse_httpStatus :: Lens' GetAccountPasswordPolicyResponse Int Source #
The response's http status code.
getAccountPasswordPolicyResponse_passwordPolicy :: Lens' GetAccountPasswordPolicyResponse PasswordPolicy Source #
A structure that contains details about the account's password policy.