WellArchitected / Client / get_agent_preferences
get_agent_preferences¶
- WellArchitected.Client.get_agent_preferences()¶
Returns the caller’s complete set of Well-Architected Agent preferences with their current states.
See also: AWS API Documentation
Request Syntax
response = client.get_agent_preferences()
- Return type:
dict
- Returns:
Response Syntax
{ 'preferences': [ { 'key': 'ORG_INTEGRATION', 'status': 'ENABLED'|'DISABLED'|'FAILED', 'detail': 'string' }, ] }
Response Structure
(dict) –
preferences (list) –
The caller’s complete set of preferences.
(dict) –
A single Well-Architected Agent preference and its current state.
key (string) –
Which preference this entry describes.
status (string) –
Current state of the preference. ENABLED and DISABLED reflect the result of the most recent successful change. FAILED reflects a stored failure surfaced on a read and is accompanied by a detail message.
detail (string) –
A human-readable explanation present only when status is FAILED, describing what went wrong and how to recover.
Exceptions
WellArchitected.Client.exceptions.AccessDeniedExceptionWellArchitected.Client.exceptions.ValidationExceptionWellArchitected.Client.exceptions.InternalServerExceptionWellArchitected.Client.exceptions.ThrottlingException