// Retrieves a list of traces specified by ID. Each trace is a collection of
// segment documents that originates from a single request. Use GetTraceSummaries
// to get a list of trace IDs.
Retrieves a list of traces specified by ID. Each trace is a collection of
segment documents that originates from a single request. Use GetTraceSummaries
to get a list of trace IDs.
// Retrieves a list of traces specified by ID . Each trace is a collection of // segment documents that originates from a single request . Use GetTraceSummaries // to get a list of trace IDs .
func (c *Client) BatchGetTraces(ctx context.Context, params *BatchGetTracesInput, optFns ...func(*Options)) (*BatchGetTracesOutput, error) {
	if params == nil {
		params = &BatchGetTracesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "BatchGetTraces", params, optFns, addOperationBatchGetTracesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*BatchGetTracesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) BatchGetTraces ( ctx context . Context , params * BatchGetTracesInput , optFns ... func ( * Options ) ) ( * BatchGetTracesOutput , error ) { if params == nil { params = & BatchGetTracesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationBatchGetTracesMiddlewares ) if err != nil { return nil , err } out := result . ( * BatchGetTracesOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves a list of traces specified by ID.
Retrieves a list of traces specified by ID .