Retrieves account level information about account entity usage and IAM quotas.
For information about limitations on IAM entities, see Limitations on IAM Entities in Using AWS Identity and Access Management.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Get a summary of your account.
// Instantiate the class $iam = new AmazonIAM(array( 'key' => 'USERS_KEY', 'secret' => 'USERS_SECRET_KEY' )); $response = $iam->get_account_summary(); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/iam.class.php | Toggle source view (6 lines) | View on GitHub