amazonka-iam-1.4.3: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetAccountSummary

Contents

Description

Retrieves information about IAM entity usage and IAM quotas in the AWS account.

For information about limitations on IAM entities, see Limitations on IAM Entities in the IAM User Guide.

Synopsis

Creating a Request

getAccountSummary :: GetAccountSummary Source #

Creates a value of GetAccountSummary with the minimum fields required to make a request.

data GetAccountSummary Source #

See: getAccountSummary smart constructor.

Instances

Eq GetAccountSummary Source # 
Data GetAccountSummary Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAccountSummary -> c GetAccountSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAccountSummary #

toConstr :: GetAccountSummary -> Constr #

dataTypeOf :: GetAccountSummary -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAccountSummary) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAccountSummary) #

gmapT :: (forall b. Data b => b -> b) -> GetAccountSummary -> GetAccountSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAccountSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAccountSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAccountSummary -> m GetAccountSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountSummary -> m GetAccountSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountSummary -> m GetAccountSummary #

Read GetAccountSummary Source # 
Show GetAccountSummary Source # 
Generic GetAccountSummary Source # 
Hashable GetAccountSummary Source # 
NFData GetAccountSummary Source # 

Methods

rnf :: GetAccountSummary -> () #

AWSRequest GetAccountSummary Source # 
ToPath GetAccountSummary Source # 
ToHeaders GetAccountSummary Source # 
ToQuery GetAccountSummary Source # 
type Rep GetAccountSummary Source # 
type Rep GetAccountSummary = D1 (MetaData "GetAccountSummary" "Network.AWS.IAM.GetAccountSummary" "amazonka-iam-1.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "GetAccountSummary'" PrefixI False) U1)
type Rs GetAccountSummary Source # 

Destructuring the Response

getAccountSummaryResponse Source #

Creates a value of GetAccountSummaryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetAccountSummaryResponse Source #

Contains the response to a successful GetAccountSummary request.

See: getAccountSummaryResponse smart constructor.

Instances

Eq GetAccountSummaryResponse Source # 
Data GetAccountSummaryResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAccountSummaryResponse -> c GetAccountSummaryResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAccountSummaryResponse #

toConstr :: GetAccountSummaryResponse -> Constr #

dataTypeOf :: GetAccountSummaryResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAccountSummaryResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAccountSummaryResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetAccountSummaryResponse -> GetAccountSummaryResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountSummaryResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountSummaryResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAccountSummaryResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAccountSummaryResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAccountSummaryResponse -> m GetAccountSummaryResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountSummaryResponse -> m GetAccountSummaryResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountSummaryResponse -> m GetAccountSummaryResponse #

Read GetAccountSummaryResponse Source # 
Show GetAccountSummaryResponse Source # 
Generic GetAccountSummaryResponse Source # 
NFData GetAccountSummaryResponse Source # 
type Rep GetAccountSummaryResponse Source # 
type Rep GetAccountSummaryResponse = D1 (MetaData "GetAccountSummaryResponse" "Network.AWS.IAM.GetAccountSummary" "amazonka-iam-1.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "GetAccountSummaryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gasrsSummaryMap") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map SummaryKeyType Int)))) (S1 (MetaSel (Just Symbol "_gasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gasrsSummaryMap :: Lens' GetAccountSummaryResponse (HashMap SummaryKeyType Int) Source #

A set of key value pairs containing information about IAM entity usage and IAM quotas.

SummaryMap contains the following keys:

  • AccessKeysPerUserQuota

    The maximum number of active access keys allowed for each IAM user.

  • AccountAccessKeysPresent

    This value is 1 if the AWS account (root) has an access key, otherwise it is 0.

  • AccountMFAEnabled

    This value is 1 if the AWS account (root) has an MFA device assigned, otherwise it is 0.

  • AccountSigningCertificatesPresent

    This value is 1 if the AWS account (root) has a signing certificate, otherwise it is 0.

  • AssumeRolePolicySizeQuota

    The maximum allowed size for assume role policy documents (trust policies), in non-whitespace characters.

  • AttachedPoliciesPerGroupQuota

    The maximum number of managed policies that can be attached to an IAM group.

  • AttachedPoliciesPerRoleQuota

    The maximum number of managed policies that can be attached to an IAM role.

  • AttachedPoliciesPerUserQuota

    The maximum number of managed policies that can be attached to an IAM user.

  • GroupPolicySizeQuota

    The maximum allowed size for the aggregate of all inline policies embedded in an IAM group, in non-whitespace characters.

  • Groups

    The number of IAM groups in the AWS account.

  • GroupsPerUserQuota

    The maximum number of IAM groups each IAM user can belong to.

  • GroupsQuota

    The maximum number of IAM groups allowed in the AWS account.

  • InstanceProfiles

    The number of instance profiles in the AWS account.

  • InstanceProfilesQuota

    The maximum number of instance profiles allowed in the AWS account.

  • MFADevices

    The number of MFA devices in the AWS account, including those assigned and unassigned.

  • MFADevicesInUse

    The number of MFA devices that have been assigned to an IAM user or to the AWS account (root).

  • Policies

    The number of customer managed policies in the AWS account.

  • PoliciesQuota

    The maximum number of customer managed policies allowed in the AWS account.

  • PolicySizeQuota

    The maximum allowed size of a customer managed policy, in non-whitespace characters.

  • PolicyVersionsInUse

    The number of managed policies that are attached to IAM users, groups, or roles in the AWS account.

  • PolicyVersionsInUseQuota

    The maximum number of managed policies that can be attached to IAM users, groups, or roles in the AWS account.

  • Providers

    The number of identity providers in the AWS account.

  • RolePolicySizeQuota

    The maximum allowed size for the aggregate of all inline policies (access policies, not the trust policy) embedded in an IAM role, in non-whitespace characters.

  • Roles

    The number of IAM roles in the AWS account.

  • RolesQuota

    The maximum number of IAM roles allowed in the AWS account.

  • ServerCertificates

    The number of server certificates in the AWS account.

  • ServerCertificatesQuota

    The maximum number of server certificates allowed in the AWS account.

  • SigningCertificatesPerUserQuota

    The maximum number of X.509 signing certificates allowed for each IAM user.

  • UserPolicySizeQuota

    The maximum allowed size for the aggregate of all inline policies embedded in an IAM user, in non-whitespace characters.

  • Users

    The number of IAM users in the AWS account.

  • UsersQuota

    The maximum number of IAM users allowed in the AWS account.

  • VersionsPerPolicyQuota

    The maximum number of policy versions allowed for each managed policy.