List State of a workgroup of name "ANALYTICS"
- User
List State of a workgroup of name "ANALYTICS"
Assistant
To list the state of the "ANALYTICS" workgroup in Athena, use the
get-work-groupcommand:aws athena get-work-group --work-group ANALYTICS --query 'WorkGroup.State' --output textThis will return just the state (e.g.,
ENABLEDorDISABLED).If you want more detailed information including the state, you can omit the query filter:
aws athena get-work-group --work-group ANALYTICSThis will return the full workgroup details in JSON format, where you can see the
"State"field along with other configuration information.For a more readable table format showing key information including the state:
aws athena get-work-group --work-group ANALYTICS --query 'WorkGroup.[Name,State,Description]' --output table- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.