aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

X-Ray BatchGetTraces does not support `NextToken` #642

Closed tim-finnigan closed 2 months ago

tim-finnigan commented 7 months ago

Original issue: https://github.com/boto/boto3/issues/3924

To reproduce:

import boto3

client = boto3.client('xray')

response = client.batch_get_traces(
    TraceIds=[
        '1-5759e988-bd862e3fe1be46a994272793',
    ],
    NextToken='string'
)

Results in:

botocore.errorfactory.InvalidRequestException: An error occurred (InvalidRequestException) when calling the BatchGetTraces operation: NextToken is currently not supported

Ref: P126466252

tim-finnigan commented 2 months ago

Closing as the X-Ray team has updated the documentation for NextToken:

This pagination token is currently not implemented for BatchGetTraces.

github-actions[bot] commented 2 months ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.