aws xray update-group
Updates a group resource. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To update a group
The following update-group example updates the criteria by which to accept traces into the group named AdminGroup. You can specify the desired group by using either the group name or group ARN.
aws xray update-group --group-name "AdminGroup" --group-arn "arn:aws:xray:us-west-2:123456789012:group/AdminGroup/123456789" --filter-expression "service(\"mydomain.com\") {fault}"Identify--group-nameThe case-sensitive name of the group.--group-arnThe ARN that was generated upon creation.--filter-expressionThe updated filter expression defining criteria by which to group traces.Its output
{
"Group": {
"GroupName": "AdminGroup",
"GroupARN": "arn:aws:xray:us-west-2:123456789012:group/AdminGroup/123456789",
"FilterExpression": "service(\"mydomain.com\") {fault}"
}
}For more information, see Configuring Sampling, Groups, and Encryption Settings with the AWS X-Ray API in the AWS X-Ray Developer Guide.
Options
--filter-expressionThe updated filter expression defining criteria by which to group traces.--group-arnThe ARN that was generated upon creation.--group-nameThe case-sensitive name of the group.--insights-configurationThe structure containing configurations related to insights.