Returns a list of the groups that the specified canary is associated with¶
Description¶
Returns a list of the groups that the specified canary is associated with. The canary that you specify must be in the current Region.
Usage¶
Arguments¶
-
NextTokenA token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.
-
MaxResultsSpecify this parameter to limit how many groups are returned each time you use the
list_associated_groupsoperation. If you omit this parameter, the default of 20 is used. -
ResourceArn[required] The ARN of the canary that you want to view groups for.
Value¶
A list with the following syntax:
list(
Groups = list(
list(
Id = "string",
Name = "string",
Arn = "string"
)
),
NextToken = "string"
)