get_account
()¶Gets information about the current Account resource.
See also: AWS API Documentation
Request Syntax
response = client.get_account()
{
'cloudwatchRoleArn': 'string',
'throttleSettings': {
'burstLimit': 123,
'rateLimit': 123.0
},
'features': [
'string',
],
'apiKeyVersion': 'string'
}
Response Structure
Represents an AWS account that is associated with API Gateway.
The ARN of an Amazon CloudWatch role for the current Account.
Specifies the API request limits configured for the current Account.
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
The API target request rate limit.
A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans"
.
The version of the API keys used for the account.
Exceptions
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.TooManyRequestsException