CmdID

CmdID / aws / aws xray

aws xray update-group

Updates a group resource. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

4 in the AWS CLI reference
--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.