list_groups
(**kwargs)¶Returns a list of all groups in the account, displaying their names, unique IDs, and ARNs. The groups from all Regions are returned.
See also: AWS API Documentation
Request Syntax
response = client.list_groups(
NextToken='string',
MaxResults=123
)
ListGroups
operation. If you omit this parameter, the default of 20 is used.dict
Response Syntax
{
'Groups': [
{
'Id': 'string',
'Name': 'string',
'Arn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Groups (list) --
An array of structures that each contain information about one group.
(dict) --
A structure containing some information about a group.
Id (string) --
The unique ID of the group.
Name (string) --
The name of the group.
Arn (string) --
The ARN of the group.
NextToken (string) --
A token that indicates that there is more data available. You can use this token in a subsequent ListGroups
operation to retrieve the next set of results.
Exceptions
Synthetics.Client.exceptions.InternalServerException
Synthetics.Client.exceptions.ValidationException