ResourceGroups / Client / get_account_settings
get_account_settings#
- ResourceGroups.Client.get_account_settings()#
Retrieves the current status of optional features in Resource Groups.
See also: AWS API Documentation
Request Syntax
response = client.get_account_settings()
- Return type:
dict
- Returns:
Response Syntax
{ 'AccountSettings': { 'GroupLifecycleEventsDesiredStatus': 'ACTIVE'|'INACTIVE', 'GroupLifecycleEventsStatus': 'ACTIVE'|'INACTIVE'|'IN_PROGRESS'|'ERROR', 'GroupLifecycleEventsStatusMessage': 'string' } }
Response Structure
(dict) –
AccountSettings (dict) –
The current settings for the optional features in Resource Groups.
GroupLifecycleEventsDesiredStatus (string) –
The desired target status of the group lifecycle events feature. If
GroupLifecycleEventsStatus (string) –
The current status of the group lifecycle events feature.
GroupLifecycleEventsStatusMessage (string) –
The text of any error message occurs during an attempt to turn group lifecycle events on or off.
Exceptions
ResourceGroups.Client.exceptions.BadRequestException
ResourceGroups.Client.exceptions.ForbiddenException
ResourceGroups.Client.exceptions.MethodNotAllowedException
ResourceGroups.Client.exceptions.TooManyRequestsException
ResourceGroups.Client.exceptions.InternalServerErrorException