@aws-sdk/client-xray 3.1137.0 → 3.1138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -700,10 +700,10 @@ const _h = "http";
700
700
  const _hE = "httpError";
701
701
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.xray";
702
702
  const n0 = "com.amazonaws.xray";
703
- const _s_registry = TypeRegistry.for(_s);
703
+ const _s_registry = new TypeRegistry(_s);
704
704
  var XRayServiceException$ = [-3, _s, "XRayServiceException", 0, [], []];
705
705
  _s_registry.registerError(XRayServiceException$, XRayServiceException);
706
- const n0_registry = TypeRegistry.for(n0);
706
+ const n0_registry = new TypeRegistry(n0);
707
707
  var InvalidPolicyRevisionIdException$ = [-3, n0, _IPRIE,
708
708
  { [_e]: _c, [_hE]: 400 },
709
709
  [_M],
@@ -418,10 +418,10 @@ const n0 = "com.amazonaws.xray";
418
418
  import { TypeRegistry } from "@smithy/core/schema";
419
419
  import { InvalidPolicyRevisionIdException, InvalidRequestException, LockoutPreventionException, MalformedPolicyDocumentException, PolicyCountLimitExceededException, PolicySizeLimitExceededException, ResourceNotFoundException, RuleLimitExceededException, ThrottledException, TooManyTagsException, } from "../models/errors";
420
420
  import { XRayServiceException } from "../models/XRayServiceException";
421
- const _s_registry = TypeRegistry.for(_s);
421
+ const _s_registry = new TypeRegistry(_s);
422
422
  export var XRayServiceException$ = [-3, _s, "XRayServiceException", 0, [], []];
423
423
  _s_registry.registerError(XRayServiceException$, XRayServiceException);
424
- const n0_registry = TypeRegistry.for(n0);
424
+ const n0_registry = new TypeRegistry(n0);
425
425
  export var InvalidPolicyRevisionIdException$ = [-3, n0, _IPRIE,
426
426
  { [_e]: _c, [_hE]: 400 },
427
427
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type BatchGetTracesCommandInput, type BatchGetTracesCommandOutput } from "./commands/BatchGetTracesCommand";
3
3
  import { type CancelTraceRetrievalCommandInput, type CancelTraceRetrievalCommandOutput } from "./commands/CancelTraceRetrievalCommand";
4
4
  import { type CreateGroupCommandInput, type CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
@@ -38,247 +38,253 @@ import { type UpdateIndexingRuleCommandInput, type UpdateIndexingRuleCommandOutp
38
38
  import { type UpdateSamplingRuleCommandInput, type UpdateSamplingRuleCommandOutput } from "./commands/UpdateSamplingRuleCommand";
39
39
  import { type UpdateTraceSegmentDestinationCommandInput, type UpdateTraceSegmentDestinationCommandOutput } from "./commands/UpdateTraceSegmentDestinationCommand";
40
40
  import { XRayClient } from "./XRayClient";
41
+ /**
42
+ * @public
43
+ */
44
+ export interface XRayRequestOptions extends __HttpHandlerOptions {
45
+ metricsRecorder?: __MetricsRecorder<unknown>;
46
+ }
41
47
  export interface XRay {
42
48
  /**
43
49
  * @see {@link BatchGetTracesCommand}
44
50
  */
45
- batchGetTraces(args: BatchGetTracesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetTracesCommandOutput>;
51
+ batchGetTraces(args: BatchGetTracesCommandInput, options?: XRayRequestOptions): Promise<BatchGetTracesCommandOutput>;
46
52
  batchGetTraces(args: BatchGetTracesCommandInput, cb: (err: any, data?: BatchGetTracesCommandOutput) => void): void;
47
- batchGetTraces(args: BatchGetTracesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetTracesCommandOutput) => void): void;
53
+ batchGetTraces(args: BatchGetTracesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: BatchGetTracesCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link CancelTraceRetrievalCommand}
50
56
  */
51
- cancelTraceRetrieval(args: CancelTraceRetrievalCommandInput, options?: __HttpHandlerOptions): Promise<CancelTraceRetrievalCommandOutput>;
57
+ cancelTraceRetrieval(args: CancelTraceRetrievalCommandInput, options?: XRayRequestOptions): Promise<CancelTraceRetrievalCommandOutput>;
52
58
  cancelTraceRetrieval(args: CancelTraceRetrievalCommandInput, cb: (err: any, data?: CancelTraceRetrievalCommandOutput) => void): void;
53
- cancelTraceRetrieval(args: CancelTraceRetrievalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelTraceRetrievalCommandOutput) => void): void;
59
+ cancelTraceRetrieval(args: CancelTraceRetrievalCommandInput, options: XRayRequestOptions, cb: (err: any, data?: CancelTraceRetrievalCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link CreateGroupCommand}
56
62
  */
57
- createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
63
+ createGroup(args: CreateGroupCommandInput, options?: XRayRequestOptions): Promise<CreateGroupCommandOutput>;
58
64
  createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
59
- createGroup(args: CreateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
65
+ createGroup(args: CreateGroupCommandInput, options: XRayRequestOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link CreateSamplingRuleCommand}
62
68
  */
63
- createSamplingRule(args: CreateSamplingRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateSamplingRuleCommandOutput>;
69
+ createSamplingRule(args: CreateSamplingRuleCommandInput, options?: XRayRequestOptions): Promise<CreateSamplingRuleCommandOutput>;
64
70
  createSamplingRule(args: CreateSamplingRuleCommandInput, cb: (err: any, data?: CreateSamplingRuleCommandOutput) => void): void;
65
- createSamplingRule(args: CreateSamplingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSamplingRuleCommandOutput) => void): void;
71
+ createSamplingRule(args: CreateSamplingRuleCommandInput, options: XRayRequestOptions, cb: (err: any, data?: CreateSamplingRuleCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link DeleteGroupCommand}
68
74
  */
69
75
  deleteGroup(): Promise<DeleteGroupCommandOutput>;
70
- deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
76
+ deleteGroup(args: DeleteGroupCommandInput, options?: XRayRequestOptions): Promise<DeleteGroupCommandOutput>;
71
77
  deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
72
- deleteGroup(args: DeleteGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
78
+ deleteGroup(args: DeleteGroupCommandInput, options: XRayRequestOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
73
79
  /**
74
80
  * @see {@link DeleteResourcePolicyCommand}
75
81
  */
76
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
82
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: XRayRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
77
83
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
78
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
84
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: XRayRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
79
85
  /**
80
86
  * @see {@link DeleteSamplingRuleCommand}
81
87
  */
82
88
  deleteSamplingRule(): Promise<DeleteSamplingRuleCommandOutput>;
83
- deleteSamplingRule(args: DeleteSamplingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSamplingRuleCommandOutput>;
89
+ deleteSamplingRule(args: DeleteSamplingRuleCommandInput, options?: XRayRequestOptions): Promise<DeleteSamplingRuleCommandOutput>;
84
90
  deleteSamplingRule(args: DeleteSamplingRuleCommandInput, cb: (err: any, data?: DeleteSamplingRuleCommandOutput) => void): void;
85
- deleteSamplingRule(args: DeleteSamplingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSamplingRuleCommandOutput) => void): void;
91
+ deleteSamplingRule(args: DeleteSamplingRuleCommandInput, options: XRayRequestOptions, cb: (err: any, data?: DeleteSamplingRuleCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link GetEncryptionConfigCommand}
88
94
  */
89
95
  getEncryptionConfig(): Promise<GetEncryptionConfigCommandOutput>;
90
- getEncryptionConfig(args: GetEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetEncryptionConfigCommandOutput>;
96
+ getEncryptionConfig(args: GetEncryptionConfigCommandInput, options?: XRayRequestOptions): Promise<GetEncryptionConfigCommandOutput>;
91
97
  getEncryptionConfig(args: GetEncryptionConfigCommandInput, cb: (err: any, data?: GetEncryptionConfigCommandOutput) => void): void;
92
- getEncryptionConfig(args: GetEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEncryptionConfigCommandOutput) => void): void;
98
+ getEncryptionConfig(args: GetEncryptionConfigCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetEncryptionConfigCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link GetGroupCommand}
95
101
  */
96
102
  getGroup(): Promise<GetGroupCommandOutput>;
97
- getGroup(args: GetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupCommandOutput>;
103
+ getGroup(args: GetGroupCommandInput, options?: XRayRequestOptions): Promise<GetGroupCommandOutput>;
98
104
  getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
99
- getGroup(args: GetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
105
+ getGroup(args: GetGroupCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link GetGroupsCommand}
102
108
  */
103
109
  getGroups(): Promise<GetGroupsCommandOutput>;
104
- getGroups(args: GetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupsCommandOutput>;
110
+ getGroups(args: GetGroupsCommandInput, options?: XRayRequestOptions): Promise<GetGroupsCommandOutput>;
105
111
  getGroups(args: GetGroupsCommandInput, cb: (err: any, data?: GetGroupsCommandOutput) => void): void;
106
- getGroups(args: GetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupsCommandOutput) => void): void;
112
+ getGroups(args: GetGroupsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetGroupsCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link GetIndexingRulesCommand}
109
115
  */
110
116
  getIndexingRules(): Promise<GetIndexingRulesCommandOutput>;
111
- getIndexingRules(args: GetIndexingRulesCommandInput, options?: __HttpHandlerOptions): Promise<GetIndexingRulesCommandOutput>;
117
+ getIndexingRules(args: GetIndexingRulesCommandInput, options?: XRayRequestOptions): Promise<GetIndexingRulesCommandOutput>;
112
118
  getIndexingRules(args: GetIndexingRulesCommandInput, cb: (err: any, data?: GetIndexingRulesCommandOutput) => void): void;
113
- getIndexingRules(args: GetIndexingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIndexingRulesCommandOutput) => void): void;
119
+ getIndexingRules(args: GetIndexingRulesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetIndexingRulesCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link GetInsightCommand}
116
122
  */
117
- getInsight(args: GetInsightCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightCommandOutput>;
123
+ getInsight(args: GetInsightCommandInput, options?: XRayRequestOptions): Promise<GetInsightCommandOutput>;
118
124
  getInsight(args: GetInsightCommandInput, cb: (err: any, data?: GetInsightCommandOutput) => void): void;
119
- getInsight(args: GetInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightCommandOutput) => void): void;
125
+ getInsight(args: GetInsightCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetInsightCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link GetInsightEventsCommand}
122
128
  */
123
- getInsightEvents(args: GetInsightEventsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightEventsCommandOutput>;
129
+ getInsightEvents(args: GetInsightEventsCommandInput, options?: XRayRequestOptions): Promise<GetInsightEventsCommandOutput>;
124
130
  getInsightEvents(args: GetInsightEventsCommandInput, cb: (err: any, data?: GetInsightEventsCommandOutput) => void): void;
125
- getInsightEvents(args: GetInsightEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightEventsCommandOutput) => void): void;
131
+ getInsightEvents(args: GetInsightEventsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetInsightEventsCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link GetInsightImpactGraphCommand}
128
134
  */
129
- getInsightImpactGraph(args: GetInsightImpactGraphCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightImpactGraphCommandOutput>;
135
+ getInsightImpactGraph(args: GetInsightImpactGraphCommandInput, options?: XRayRequestOptions): Promise<GetInsightImpactGraphCommandOutput>;
130
136
  getInsightImpactGraph(args: GetInsightImpactGraphCommandInput, cb: (err: any, data?: GetInsightImpactGraphCommandOutput) => void): void;
131
- getInsightImpactGraph(args: GetInsightImpactGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightImpactGraphCommandOutput) => void): void;
137
+ getInsightImpactGraph(args: GetInsightImpactGraphCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetInsightImpactGraphCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link GetInsightSummariesCommand}
134
140
  */
135
- getInsightSummaries(args: GetInsightSummariesCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightSummariesCommandOutput>;
141
+ getInsightSummaries(args: GetInsightSummariesCommandInput, options?: XRayRequestOptions): Promise<GetInsightSummariesCommandOutput>;
136
142
  getInsightSummaries(args: GetInsightSummariesCommandInput, cb: (err: any, data?: GetInsightSummariesCommandOutput) => void): void;
137
- getInsightSummaries(args: GetInsightSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSummariesCommandOutput) => void): void;
143
+ getInsightSummaries(args: GetInsightSummariesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetInsightSummariesCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link GetRetrievedTracesGraphCommand}
140
146
  */
141
- getRetrievedTracesGraph(args: GetRetrievedTracesGraphCommandInput, options?: __HttpHandlerOptions): Promise<GetRetrievedTracesGraphCommandOutput>;
147
+ getRetrievedTracesGraph(args: GetRetrievedTracesGraphCommandInput, options?: XRayRequestOptions): Promise<GetRetrievedTracesGraphCommandOutput>;
142
148
  getRetrievedTracesGraph(args: GetRetrievedTracesGraphCommandInput, cb: (err: any, data?: GetRetrievedTracesGraphCommandOutput) => void): void;
143
- getRetrievedTracesGraph(args: GetRetrievedTracesGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRetrievedTracesGraphCommandOutput) => void): void;
149
+ getRetrievedTracesGraph(args: GetRetrievedTracesGraphCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetRetrievedTracesGraphCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link GetSamplingRulesCommand}
146
152
  */
147
153
  getSamplingRules(): Promise<GetSamplingRulesCommandOutput>;
148
- getSamplingRules(args: GetSamplingRulesCommandInput, options?: __HttpHandlerOptions): Promise<GetSamplingRulesCommandOutput>;
154
+ getSamplingRules(args: GetSamplingRulesCommandInput, options?: XRayRequestOptions): Promise<GetSamplingRulesCommandOutput>;
149
155
  getSamplingRules(args: GetSamplingRulesCommandInput, cb: (err: any, data?: GetSamplingRulesCommandOutput) => void): void;
150
- getSamplingRules(args: GetSamplingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSamplingRulesCommandOutput) => void): void;
156
+ getSamplingRules(args: GetSamplingRulesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetSamplingRulesCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link GetSamplingStatisticSummariesCommand}
153
159
  */
154
160
  getSamplingStatisticSummaries(): Promise<GetSamplingStatisticSummariesCommandOutput>;
155
- getSamplingStatisticSummaries(args: GetSamplingStatisticSummariesCommandInput, options?: __HttpHandlerOptions): Promise<GetSamplingStatisticSummariesCommandOutput>;
161
+ getSamplingStatisticSummaries(args: GetSamplingStatisticSummariesCommandInput, options?: XRayRequestOptions): Promise<GetSamplingStatisticSummariesCommandOutput>;
156
162
  getSamplingStatisticSummaries(args: GetSamplingStatisticSummariesCommandInput, cb: (err: any, data?: GetSamplingStatisticSummariesCommandOutput) => void): void;
157
- getSamplingStatisticSummaries(args: GetSamplingStatisticSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSamplingStatisticSummariesCommandOutput) => void): void;
163
+ getSamplingStatisticSummaries(args: GetSamplingStatisticSummariesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetSamplingStatisticSummariesCommandOutput) => void): void;
158
164
  /**
159
165
  * @see {@link GetSamplingTargetsCommand}
160
166
  */
161
- getSamplingTargets(args: GetSamplingTargetsCommandInput, options?: __HttpHandlerOptions): Promise<GetSamplingTargetsCommandOutput>;
167
+ getSamplingTargets(args: GetSamplingTargetsCommandInput, options?: XRayRequestOptions): Promise<GetSamplingTargetsCommandOutput>;
162
168
  getSamplingTargets(args: GetSamplingTargetsCommandInput, cb: (err: any, data?: GetSamplingTargetsCommandOutput) => void): void;
163
- getSamplingTargets(args: GetSamplingTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSamplingTargetsCommandOutput) => void): void;
169
+ getSamplingTargets(args: GetSamplingTargetsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetSamplingTargetsCommandOutput) => void): void;
164
170
  /**
165
171
  * @see {@link GetServiceGraphCommand}
166
172
  */
167
- getServiceGraph(args: GetServiceGraphCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceGraphCommandOutput>;
173
+ getServiceGraph(args: GetServiceGraphCommandInput, options?: XRayRequestOptions): Promise<GetServiceGraphCommandOutput>;
168
174
  getServiceGraph(args: GetServiceGraphCommandInput, cb: (err: any, data?: GetServiceGraphCommandOutput) => void): void;
169
- getServiceGraph(args: GetServiceGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceGraphCommandOutput) => void): void;
175
+ getServiceGraph(args: GetServiceGraphCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetServiceGraphCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link GetTimeSeriesServiceStatisticsCommand}
172
178
  */
173
- getTimeSeriesServiceStatistics(args: GetTimeSeriesServiceStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetTimeSeriesServiceStatisticsCommandOutput>;
179
+ getTimeSeriesServiceStatistics(args: GetTimeSeriesServiceStatisticsCommandInput, options?: XRayRequestOptions): Promise<GetTimeSeriesServiceStatisticsCommandOutput>;
174
180
  getTimeSeriesServiceStatistics(args: GetTimeSeriesServiceStatisticsCommandInput, cb: (err: any, data?: GetTimeSeriesServiceStatisticsCommandOutput) => void): void;
175
- getTimeSeriesServiceStatistics(args: GetTimeSeriesServiceStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTimeSeriesServiceStatisticsCommandOutput) => void): void;
181
+ getTimeSeriesServiceStatistics(args: GetTimeSeriesServiceStatisticsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetTimeSeriesServiceStatisticsCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link GetTraceGraphCommand}
178
184
  */
179
- getTraceGraph(args: GetTraceGraphCommandInput, options?: __HttpHandlerOptions): Promise<GetTraceGraphCommandOutput>;
185
+ getTraceGraph(args: GetTraceGraphCommandInput, options?: XRayRequestOptions): Promise<GetTraceGraphCommandOutput>;
180
186
  getTraceGraph(args: GetTraceGraphCommandInput, cb: (err: any, data?: GetTraceGraphCommandOutput) => void): void;
181
- getTraceGraph(args: GetTraceGraphCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTraceGraphCommandOutput) => void): void;
187
+ getTraceGraph(args: GetTraceGraphCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetTraceGraphCommandOutput) => void): void;
182
188
  /**
183
189
  * @see {@link GetTraceSegmentDestinationCommand}
184
190
  */
185
191
  getTraceSegmentDestination(): Promise<GetTraceSegmentDestinationCommandOutput>;
186
- getTraceSegmentDestination(args: GetTraceSegmentDestinationCommandInput, options?: __HttpHandlerOptions): Promise<GetTraceSegmentDestinationCommandOutput>;
192
+ getTraceSegmentDestination(args: GetTraceSegmentDestinationCommandInput, options?: XRayRequestOptions): Promise<GetTraceSegmentDestinationCommandOutput>;
187
193
  getTraceSegmentDestination(args: GetTraceSegmentDestinationCommandInput, cb: (err: any, data?: GetTraceSegmentDestinationCommandOutput) => void): void;
188
- getTraceSegmentDestination(args: GetTraceSegmentDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTraceSegmentDestinationCommandOutput) => void): void;
194
+ getTraceSegmentDestination(args: GetTraceSegmentDestinationCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetTraceSegmentDestinationCommandOutput) => void): void;
189
195
  /**
190
196
  * @see {@link GetTraceSummariesCommand}
191
197
  */
192
- getTraceSummaries(args: GetTraceSummariesCommandInput, options?: __HttpHandlerOptions): Promise<GetTraceSummariesCommandOutput>;
198
+ getTraceSummaries(args: GetTraceSummariesCommandInput, options?: XRayRequestOptions): Promise<GetTraceSummariesCommandOutput>;
193
199
  getTraceSummaries(args: GetTraceSummariesCommandInput, cb: (err: any, data?: GetTraceSummariesCommandOutput) => void): void;
194
- getTraceSummaries(args: GetTraceSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTraceSummariesCommandOutput) => void): void;
200
+ getTraceSummaries(args: GetTraceSummariesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: GetTraceSummariesCommandOutput) => void): void;
195
201
  /**
196
202
  * @see {@link ListResourcePoliciesCommand}
197
203
  */
198
204
  listResourcePolicies(): Promise<ListResourcePoliciesCommandOutput>;
199
- listResourcePolicies(args: ListResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcePoliciesCommandOutput>;
205
+ listResourcePolicies(args: ListResourcePoliciesCommandInput, options?: XRayRequestOptions): Promise<ListResourcePoliciesCommandOutput>;
200
206
  listResourcePolicies(args: ListResourcePoliciesCommandInput, cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void): void;
201
- listResourcePolicies(args: ListResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void): void;
207
+ listResourcePolicies(args: ListResourcePoliciesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void): void;
202
208
  /**
203
209
  * @see {@link ListRetrievedTracesCommand}
204
210
  */
205
- listRetrievedTraces(args: ListRetrievedTracesCommandInput, options?: __HttpHandlerOptions): Promise<ListRetrievedTracesCommandOutput>;
211
+ listRetrievedTraces(args: ListRetrievedTracesCommandInput, options?: XRayRequestOptions): Promise<ListRetrievedTracesCommandOutput>;
206
212
  listRetrievedTraces(args: ListRetrievedTracesCommandInput, cb: (err: any, data?: ListRetrievedTracesCommandOutput) => void): void;
207
- listRetrievedTraces(args: ListRetrievedTracesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRetrievedTracesCommandOutput) => void): void;
213
+ listRetrievedTraces(args: ListRetrievedTracesCommandInput, options: XRayRequestOptions, cb: (err: any, data?: ListRetrievedTracesCommandOutput) => void): void;
208
214
  /**
209
215
  * @see {@link ListTagsForResourceCommand}
210
216
  */
211
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
217
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: XRayRequestOptions): Promise<ListTagsForResourceCommandOutput>;
212
218
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
213
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
219
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: XRayRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
214
220
  /**
215
221
  * @see {@link PutEncryptionConfigCommand}
216
222
  */
217
- putEncryptionConfig(args: PutEncryptionConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutEncryptionConfigCommandOutput>;
223
+ putEncryptionConfig(args: PutEncryptionConfigCommandInput, options?: XRayRequestOptions): Promise<PutEncryptionConfigCommandOutput>;
218
224
  putEncryptionConfig(args: PutEncryptionConfigCommandInput, cb: (err: any, data?: PutEncryptionConfigCommandOutput) => void): void;
219
- putEncryptionConfig(args: PutEncryptionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEncryptionConfigCommandOutput) => void): void;
225
+ putEncryptionConfig(args: PutEncryptionConfigCommandInput, options: XRayRequestOptions, cb: (err: any, data?: PutEncryptionConfigCommandOutput) => void): void;
220
226
  /**
221
227
  * @see {@link PutResourcePolicyCommand}
222
228
  */
223
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
229
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: XRayRequestOptions): Promise<PutResourcePolicyCommandOutput>;
224
230
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
225
- putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
231
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: XRayRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
226
232
  /**
227
233
  * @see {@link PutTelemetryRecordsCommand}
228
234
  */
229
- putTelemetryRecords(args: PutTelemetryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<PutTelemetryRecordsCommandOutput>;
235
+ putTelemetryRecords(args: PutTelemetryRecordsCommandInput, options?: XRayRequestOptions): Promise<PutTelemetryRecordsCommandOutput>;
230
236
  putTelemetryRecords(args: PutTelemetryRecordsCommandInput, cb: (err: any, data?: PutTelemetryRecordsCommandOutput) => void): void;
231
- putTelemetryRecords(args: PutTelemetryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTelemetryRecordsCommandOutput) => void): void;
237
+ putTelemetryRecords(args: PutTelemetryRecordsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: PutTelemetryRecordsCommandOutput) => void): void;
232
238
  /**
233
239
  * @see {@link PutTraceSegmentsCommand}
234
240
  */
235
- putTraceSegments(args: PutTraceSegmentsCommandInput, options?: __HttpHandlerOptions): Promise<PutTraceSegmentsCommandOutput>;
241
+ putTraceSegments(args: PutTraceSegmentsCommandInput, options?: XRayRequestOptions): Promise<PutTraceSegmentsCommandOutput>;
236
242
  putTraceSegments(args: PutTraceSegmentsCommandInput, cb: (err: any, data?: PutTraceSegmentsCommandOutput) => void): void;
237
- putTraceSegments(args: PutTraceSegmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTraceSegmentsCommandOutput) => void): void;
243
+ putTraceSegments(args: PutTraceSegmentsCommandInput, options: XRayRequestOptions, cb: (err: any, data?: PutTraceSegmentsCommandOutput) => void): void;
238
244
  /**
239
245
  * @see {@link StartTraceRetrievalCommand}
240
246
  */
241
- startTraceRetrieval(args: StartTraceRetrievalCommandInput, options?: __HttpHandlerOptions): Promise<StartTraceRetrievalCommandOutput>;
247
+ startTraceRetrieval(args: StartTraceRetrievalCommandInput, options?: XRayRequestOptions): Promise<StartTraceRetrievalCommandOutput>;
242
248
  startTraceRetrieval(args: StartTraceRetrievalCommandInput, cb: (err: any, data?: StartTraceRetrievalCommandOutput) => void): void;
243
- startTraceRetrieval(args: StartTraceRetrievalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTraceRetrievalCommandOutput) => void): void;
249
+ startTraceRetrieval(args: StartTraceRetrievalCommandInput, options: XRayRequestOptions, cb: (err: any, data?: StartTraceRetrievalCommandOutput) => void): void;
244
250
  /**
245
251
  * @see {@link TagResourceCommand}
246
252
  */
247
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
253
+ tagResource(args: TagResourceCommandInput, options?: XRayRequestOptions): Promise<TagResourceCommandOutput>;
248
254
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
249
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
255
+ tagResource(args: TagResourceCommandInput, options: XRayRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
250
256
  /**
251
257
  * @see {@link UntagResourceCommand}
252
258
  */
253
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
259
+ untagResource(args: UntagResourceCommandInput, options?: XRayRequestOptions): Promise<UntagResourceCommandOutput>;
254
260
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
255
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
261
+ untagResource(args: UntagResourceCommandInput, options: XRayRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
256
262
  /**
257
263
  * @see {@link UpdateGroupCommand}
258
264
  */
259
265
  updateGroup(): Promise<UpdateGroupCommandOutput>;
260
- updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
266
+ updateGroup(args: UpdateGroupCommandInput, options?: XRayRequestOptions): Promise<UpdateGroupCommandOutput>;
261
267
  updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
262
- updateGroup(args: UpdateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
268
+ updateGroup(args: UpdateGroupCommandInput, options: XRayRequestOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
263
269
  /**
264
270
  * @see {@link UpdateIndexingRuleCommand}
265
271
  */
266
- updateIndexingRule(args: UpdateIndexingRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIndexingRuleCommandOutput>;
272
+ updateIndexingRule(args: UpdateIndexingRuleCommandInput, options?: XRayRequestOptions): Promise<UpdateIndexingRuleCommandOutput>;
267
273
  updateIndexingRule(args: UpdateIndexingRuleCommandInput, cb: (err: any, data?: UpdateIndexingRuleCommandOutput) => void): void;
268
- updateIndexingRule(args: UpdateIndexingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIndexingRuleCommandOutput) => void): void;
274
+ updateIndexingRule(args: UpdateIndexingRuleCommandInput, options: XRayRequestOptions, cb: (err: any, data?: UpdateIndexingRuleCommandOutput) => void): void;
269
275
  /**
270
276
  * @see {@link UpdateSamplingRuleCommand}
271
277
  */
272
- updateSamplingRule(args: UpdateSamplingRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSamplingRuleCommandOutput>;
278
+ updateSamplingRule(args: UpdateSamplingRuleCommandInput, options?: XRayRequestOptions): Promise<UpdateSamplingRuleCommandOutput>;
273
279
  updateSamplingRule(args: UpdateSamplingRuleCommandInput, cb: (err: any, data?: UpdateSamplingRuleCommandOutput) => void): void;
274
- updateSamplingRule(args: UpdateSamplingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSamplingRuleCommandOutput) => void): void;
280
+ updateSamplingRule(args: UpdateSamplingRuleCommandInput, options: XRayRequestOptions, cb: (err: any, data?: UpdateSamplingRuleCommandOutput) => void): void;
275
281
  /**
276
282
  * @see {@link UpdateTraceSegmentDestinationCommand}
277
283
  */
278
284
  updateTraceSegmentDestination(): Promise<UpdateTraceSegmentDestinationCommandOutput>;
279
- updateTraceSegmentDestination(args: UpdateTraceSegmentDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTraceSegmentDestinationCommandOutput>;
285
+ updateTraceSegmentDestination(args: UpdateTraceSegmentDestinationCommandInput, options?: XRayRequestOptions): Promise<UpdateTraceSegmentDestinationCommandOutput>;
280
286
  updateTraceSegmentDestination(args: UpdateTraceSegmentDestinationCommandInput, cb: (err: any, data?: UpdateTraceSegmentDestinationCommandOutput) => void): void;
281
- updateTraceSegmentDestination(args: UpdateTraceSegmentDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTraceSegmentDestinationCommandOutput) => void): void;
287
+ updateTraceSegmentDestination(args: UpdateTraceSegmentDestinationCommandInput, options: XRayRequestOptions, cb: (err: any, data?: UpdateTraceSegmentDestinationCommandOutput) => void): void;
282
288
  /**
283
289
  * @see {@link BatchGetTracesCommand}
284
290
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -135,10 +136,13 @@ import {
135
136
  UpdateTraceSegmentDestinationCommandOutput,
136
137
  } from "./commands/UpdateTraceSegmentDestinationCommand";
137
138
  import { XRayClient } from "./XRayClient";
139
+ export interface XRayRequestOptions extends __HttpHandlerOptions {
140
+ metricsRecorder?: __MetricsRecorder<unknown>;
141
+ }
138
142
  export interface XRay {
139
143
  batchGetTraces(
140
144
  args: BatchGetTracesCommandInput,
141
- options?: __HttpHandlerOptions,
145
+ options?: XRayRequestOptions,
142
146
  ): Promise<BatchGetTracesCommandOutput>;
143
147
  batchGetTraces(
144
148
  args: BatchGetTracesCommandInput,
@@ -146,12 +150,12 @@ export interface XRay {
146
150
  ): void;
147
151
  batchGetTraces(
148
152
  args: BatchGetTracesCommandInput,
149
- options: __HttpHandlerOptions,
153
+ options: XRayRequestOptions,
150
154
  cb: (err: any, data?: BatchGetTracesCommandOutput) => void,
151
155
  ): void;
152
156
  cancelTraceRetrieval(
153
157
  args: CancelTraceRetrievalCommandInput,
154
- options?: __HttpHandlerOptions,
158
+ options?: XRayRequestOptions,
155
159
  ): Promise<CancelTraceRetrievalCommandOutput>;
156
160
  cancelTraceRetrieval(
157
161
  args: CancelTraceRetrievalCommandInput,
@@ -159,12 +163,12 @@ export interface XRay {
159
163
  ): void;
160
164
  cancelTraceRetrieval(
161
165
  args: CancelTraceRetrievalCommandInput,
162
- options: __HttpHandlerOptions,
166
+ options: XRayRequestOptions,
163
167
  cb: (err: any, data?: CancelTraceRetrievalCommandOutput) => void,
164
168
  ): void;
165
169
  createGroup(
166
170
  args: CreateGroupCommandInput,
167
- options?: __HttpHandlerOptions,
171
+ options?: XRayRequestOptions,
168
172
  ): Promise<CreateGroupCommandOutput>;
169
173
  createGroup(
170
174
  args: CreateGroupCommandInput,
@@ -172,12 +176,12 @@ export interface XRay {
172
176
  ): void;
173
177
  createGroup(
174
178
  args: CreateGroupCommandInput,
175
- options: __HttpHandlerOptions,
179
+ options: XRayRequestOptions,
176
180
  cb: (err: any, data?: CreateGroupCommandOutput) => void,
177
181
  ): void;
178
182
  createSamplingRule(
179
183
  args: CreateSamplingRuleCommandInput,
180
- options?: __HttpHandlerOptions,
184
+ options?: XRayRequestOptions,
181
185
  ): Promise<CreateSamplingRuleCommandOutput>;
182
186
  createSamplingRule(
183
187
  args: CreateSamplingRuleCommandInput,
@@ -185,13 +189,13 @@ export interface XRay {
185
189
  ): void;
186
190
  createSamplingRule(
187
191
  args: CreateSamplingRuleCommandInput,
188
- options: __HttpHandlerOptions,
192
+ options: XRayRequestOptions,
189
193
  cb: (err: any, data?: CreateSamplingRuleCommandOutput) => void,
190
194
  ): void;
191
195
  deleteGroup(): Promise<DeleteGroupCommandOutput>;
192
196
  deleteGroup(
193
197
  args: DeleteGroupCommandInput,
194
- options?: __HttpHandlerOptions,
198
+ options?: XRayRequestOptions,
195
199
  ): Promise<DeleteGroupCommandOutput>;
196
200
  deleteGroup(
197
201
  args: DeleteGroupCommandInput,
@@ -199,12 +203,12 @@ export interface XRay {
199
203
  ): void;
200
204
  deleteGroup(
201
205
  args: DeleteGroupCommandInput,
202
- options: __HttpHandlerOptions,
206
+ options: XRayRequestOptions,
203
207
  cb: (err: any, data?: DeleteGroupCommandOutput) => void,
204
208
  ): void;
205
209
  deleteResourcePolicy(
206
210
  args: DeleteResourcePolicyCommandInput,
207
- options?: __HttpHandlerOptions,
211
+ options?: XRayRequestOptions,
208
212
  ): Promise<DeleteResourcePolicyCommandOutput>;
209
213
  deleteResourcePolicy(
210
214
  args: DeleteResourcePolicyCommandInput,
@@ -212,13 +216,13 @@ export interface XRay {
212
216
  ): void;
213
217
  deleteResourcePolicy(
214
218
  args: DeleteResourcePolicyCommandInput,
215
- options: __HttpHandlerOptions,
219
+ options: XRayRequestOptions,
216
220
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
217
221
  ): void;
218
222
  deleteSamplingRule(): Promise<DeleteSamplingRuleCommandOutput>;
219
223
  deleteSamplingRule(
220
224
  args: DeleteSamplingRuleCommandInput,
221
- options?: __HttpHandlerOptions,
225
+ options?: XRayRequestOptions,
222
226
  ): Promise<DeleteSamplingRuleCommandOutput>;
223
227
  deleteSamplingRule(
224
228
  args: DeleteSamplingRuleCommandInput,
@@ -226,13 +230,13 @@ export interface XRay {
226
230
  ): void;
227
231
  deleteSamplingRule(
228
232
  args: DeleteSamplingRuleCommandInput,
229
- options: __HttpHandlerOptions,
233
+ options: XRayRequestOptions,
230
234
  cb: (err: any, data?: DeleteSamplingRuleCommandOutput) => void,
231
235
  ): void;
232
236
  getEncryptionConfig(): Promise<GetEncryptionConfigCommandOutput>;
233
237
  getEncryptionConfig(
234
238
  args: GetEncryptionConfigCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: XRayRequestOptions,
236
240
  ): Promise<GetEncryptionConfigCommandOutput>;
237
241
  getEncryptionConfig(
238
242
  args: GetEncryptionConfigCommandInput,
@@ -240,24 +244,24 @@ export interface XRay {
240
244
  ): void;
241
245
  getEncryptionConfig(
242
246
  args: GetEncryptionConfigCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: XRayRequestOptions,
244
248
  cb: (err: any, data?: GetEncryptionConfigCommandOutput) => void,
245
249
  ): void;
246
250
  getGroup(): Promise<GetGroupCommandOutput>;
247
251
  getGroup(
248
252
  args: GetGroupCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: XRayRequestOptions,
250
254
  ): Promise<GetGroupCommandOutput>;
251
255
  getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
252
256
  getGroup(
253
257
  args: GetGroupCommandInput,
254
- options: __HttpHandlerOptions,
258
+ options: XRayRequestOptions,
255
259
  cb: (err: any, data?: GetGroupCommandOutput) => void,
256
260
  ): void;
257
261
  getGroups(): Promise<GetGroupsCommandOutput>;
258
262
  getGroups(
259
263
  args: GetGroupsCommandInput,
260
- options?: __HttpHandlerOptions,
264
+ options?: XRayRequestOptions,
261
265
  ): Promise<GetGroupsCommandOutput>;
262
266
  getGroups(
263
267
  args: GetGroupsCommandInput,
@@ -265,13 +269,13 @@ export interface XRay {
265
269
  ): void;
266
270
  getGroups(
267
271
  args: GetGroupsCommandInput,
268
- options: __HttpHandlerOptions,
272
+ options: XRayRequestOptions,
269
273
  cb: (err: any, data?: GetGroupsCommandOutput) => void,
270
274
  ): void;
271
275
  getIndexingRules(): Promise<GetIndexingRulesCommandOutput>;
272
276
  getIndexingRules(
273
277
  args: GetIndexingRulesCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: XRayRequestOptions,
275
279
  ): Promise<GetIndexingRulesCommandOutput>;
276
280
  getIndexingRules(
277
281
  args: GetIndexingRulesCommandInput,
@@ -279,12 +283,12 @@ export interface XRay {
279
283
  ): void;
280
284
  getIndexingRules(
281
285
  args: GetIndexingRulesCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: XRayRequestOptions,
283
287
  cb: (err: any, data?: GetIndexingRulesCommandOutput) => void,
284
288
  ): void;
285
289
  getInsight(
286
290
  args: GetInsightCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: XRayRequestOptions,
288
292
  ): Promise<GetInsightCommandOutput>;
289
293
  getInsight(
290
294
  args: GetInsightCommandInput,
@@ -292,12 +296,12 @@ export interface XRay {
292
296
  ): void;
293
297
  getInsight(
294
298
  args: GetInsightCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: XRayRequestOptions,
296
300
  cb: (err: any, data?: GetInsightCommandOutput) => void,
297
301
  ): void;
298
302
  getInsightEvents(
299
303
  args: GetInsightEventsCommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: XRayRequestOptions,
301
305
  ): Promise<GetInsightEventsCommandOutput>;
302
306
  getInsightEvents(
303
307
  args: GetInsightEventsCommandInput,
@@ -305,12 +309,12 @@ export interface XRay {
305
309
  ): void;
306
310
  getInsightEvents(
307
311
  args: GetInsightEventsCommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: XRayRequestOptions,
309
313
  cb: (err: any, data?: GetInsightEventsCommandOutput) => void,
310
314
  ): void;
311
315
  getInsightImpactGraph(
312
316
  args: GetInsightImpactGraphCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: XRayRequestOptions,
314
318
  ): Promise<GetInsightImpactGraphCommandOutput>;
315
319
  getInsightImpactGraph(
316
320
  args: GetInsightImpactGraphCommandInput,
@@ -318,12 +322,12 @@ export interface XRay {
318
322
  ): void;
319
323
  getInsightImpactGraph(
320
324
  args: GetInsightImpactGraphCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: XRayRequestOptions,
322
326
  cb: (err: any, data?: GetInsightImpactGraphCommandOutput) => void,
323
327
  ): void;
324
328
  getInsightSummaries(
325
329
  args: GetInsightSummariesCommandInput,
326
- options?: __HttpHandlerOptions,
330
+ options?: XRayRequestOptions,
327
331
  ): Promise<GetInsightSummariesCommandOutput>;
328
332
  getInsightSummaries(
329
333
  args: GetInsightSummariesCommandInput,
@@ -331,12 +335,12 @@ export interface XRay {
331
335
  ): void;
332
336
  getInsightSummaries(
333
337
  args: GetInsightSummariesCommandInput,
334
- options: __HttpHandlerOptions,
338
+ options: XRayRequestOptions,
335
339
  cb: (err: any, data?: GetInsightSummariesCommandOutput) => void,
336
340
  ): void;
337
341
  getRetrievedTracesGraph(
338
342
  args: GetRetrievedTracesGraphCommandInput,
339
- options?: __HttpHandlerOptions,
343
+ options?: XRayRequestOptions,
340
344
  ): Promise<GetRetrievedTracesGraphCommandOutput>;
341
345
  getRetrievedTracesGraph(
342
346
  args: GetRetrievedTracesGraphCommandInput,
@@ -344,13 +348,13 @@ export interface XRay {
344
348
  ): void;
345
349
  getRetrievedTracesGraph(
346
350
  args: GetRetrievedTracesGraphCommandInput,
347
- options: __HttpHandlerOptions,
351
+ options: XRayRequestOptions,
348
352
  cb: (err: any, data?: GetRetrievedTracesGraphCommandOutput) => void,
349
353
  ): void;
350
354
  getSamplingRules(): Promise<GetSamplingRulesCommandOutput>;
351
355
  getSamplingRules(
352
356
  args: GetSamplingRulesCommandInput,
353
- options?: __HttpHandlerOptions,
357
+ options?: XRayRequestOptions,
354
358
  ): Promise<GetSamplingRulesCommandOutput>;
355
359
  getSamplingRules(
356
360
  args: GetSamplingRulesCommandInput,
@@ -358,13 +362,13 @@ export interface XRay {
358
362
  ): void;
359
363
  getSamplingRules(
360
364
  args: GetSamplingRulesCommandInput,
361
- options: __HttpHandlerOptions,
365
+ options: XRayRequestOptions,
362
366
  cb: (err: any, data?: GetSamplingRulesCommandOutput) => void,
363
367
  ): void;
364
368
  getSamplingStatisticSummaries(): Promise<GetSamplingStatisticSummariesCommandOutput>;
365
369
  getSamplingStatisticSummaries(
366
370
  args: GetSamplingStatisticSummariesCommandInput,
367
- options?: __HttpHandlerOptions,
371
+ options?: XRayRequestOptions,
368
372
  ): Promise<GetSamplingStatisticSummariesCommandOutput>;
369
373
  getSamplingStatisticSummaries(
370
374
  args: GetSamplingStatisticSummariesCommandInput,
@@ -372,12 +376,12 @@ export interface XRay {
372
376
  ): void;
373
377
  getSamplingStatisticSummaries(
374
378
  args: GetSamplingStatisticSummariesCommandInput,
375
- options: __HttpHandlerOptions,
379
+ options: XRayRequestOptions,
376
380
  cb: (err: any, data?: GetSamplingStatisticSummariesCommandOutput) => void,
377
381
  ): void;
378
382
  getSamplingTargets(
379
383
  args: GetSamplingTargetsCommandInput,
380
- options?: __HttpHandlerOptions,
384
+ options?: XRayRequestOptions,
381
385
  ): Promise<GetSamplingTargetsCommandOutput>;
382
386
  getSamplingTargets(
383
387
  args: GetSamplingTargetsCommandInput,
@@ -385,12 +389,12 @@ export interface XRay {
385
389
  ): void;
386
390
  getSamplingTargets(
387
391
  args: GetSamplingTargetsCommandInput,
388
- options: __HttpHandlerOptions,
392
+ options: XRayRequestOptions,
389
393
  cb: (err: any, data?: GetSamplingTargetsCommandOutput) => void,
390
394
  ): void;
391
395
  getServiceGraph(
392
396
  args: GetServiceGraphCommandInput,
393
- options?: __HttpHandlerOptions,
397
+ options?: XRayRequestOptions,
394
398
  ): Promise<GetServiceGraphCommandOutput>;
395
399
  getServiceGraph(
396
400
  args: GetServiceGraphCommandInput,
@@ -398,12 +402,12 @@ export interface XRay {
398
402
  ): void;
399
403
  getServiceGraph(
400
404
  args: GetServiceGraphCommandInput,
401
- options: __HttpHandlerOptions,
405
+ options: XRayRequestOptions,
402
406
  cb: (err: any, data?: GetServiceGraphCommandOutput) => void,
403
407
  ): void;
404
408
  getTimeSeriesServiceStatistics(
405
409
  args: GetTimeSeriesServiceStatisticsCommandInput,
406
- options?: __HttpHandlerOptions,
410
+ options?: XRayRequestOptions,
407
411
  ): Promise<GetTimeSeriesServiceStatisticsCommandOutput>;
408
412
  getTimeSeriesServiceStatistics(
409
413
  args: GetTimeSeriesServiceStatisticsCommandInput,
@@ -411,12 +415,12 @@ export interface XRay {
411
415
  ): void;
412
416
  getTimeSeriesServiceStatistics(
413
417
  args: GetTimeSeriesServiceStatisticsCommandInput,
414
- options: __HttpHandlerOptions,
418
+ options: XRayRequestOptions,
415
419
  cb: (err: any, data?: GetTimeSeriesServiceStatisticsCommandOutput) => void,
416
420
  ): void;
417
421
  getTraceGraph(
418
422
  args: GetTraceGraphCommandInput,
419
- options?: __HttpHandlerOptions,
423
+ options?: XRayRequestOptions,
420
424
  ): Promise<GetTraceGraphCommandOutput>;
421
425
  getTraceGraph(
422
426
  args: GetTraceGraphCommandInput,
@@ -424,13 +428,13 @@ export interface XRay {
424
428
  ): void;
425
429
  getTraceGraph(
426
430
  args: GetTraceGraphCommandInput,
427
- options: __HttpHandlerOptions,
431
+ options: XRayRequestOptions,
428
432
  cb: (err: any, data?: GetTraceGraphCommandOutput) => void,
429
433
  ): void;
430
434
  getTraceSegmentDestination(): Promise<GetTraceSegmentDestinationCommandOutput>;
431
435
  getTraceSegmentDestination(
432
436
  args: GetTraceSegmentDestinationCommandInput,
433
- options?: __HttpHandlerOptions,
437
+ options?: XRayRequestOptions,
434
438
  ): Promise<GetTraceSegmentDestinationCommandOutput>;
435
439
  getTraceSegmentDestination(
436
440
  args: GetTraceSegmentDestinationCommandInput,
@@ -438,12 +442,12 @@ export interface XRay {
438
442
  ): void;
439
443
  getTraceSegmentDestination(
440
444
  args: GetTraceSegmentDestinationCommandInput,
441
- options: __HttpHandlerOptions,
445
+ options: XRayRequestOptions,
442
446
  cb: (err: any, data?: GetTraceSegmentDestinationCommandOutput) => void,
443
447
  ): void;
444
448
  getTraceSummaries(
445
449
  args: GetTraceSummariesCommandInput,
446
- options?: __HttpHandlerOptions,
450
+ options?: XRayRequestOptions,
447
451
  ): Promise<GetTraceSummariesCommandOutput>;
448
452
  getTraceSummaries(
449
453
  args: GetTraceSummariesCommandInput,
@@ -451,13 +455,13 @@ export interface XRay {
451
455
  ): void;
452
456
  getTraceSummaries(
453
457
  args: GetTraceSummariesCommandInput,
454
- options: __HttpHandlerOptions,
458
+ options: XRayRequestOptions,
455
459
  cb: (err: any, data?: GetTraceSummariesCommandOutput) => void,
456
460
  ): void;
457
461
  listResourcePolicies(): Promise<ListResourcePoliciesCommandOutput>;
458
462
  listResourcePolicies(
459
463
  args: ListResourcePoliciesCommandInput,
460
- options?: __HttpHandlerOptions,
464
+ options?: XRayRequestOptions,
461
465
  ): Promise<ListResourcePoliciesCommandOutput>;
462
466
  listResourcePolicies(
463
467
  args: ListResourcePoliciesCommandInput,
@@ -465,12 +469,12 @@ export interface XRay {
465
469
  ): void;
466
470
  listResourcePolicies(
467
471
  args: ListResourcePoliciesCommandInput,
468
- options: __HttpHandlerOptions,
472
+ options: XRayRequestOptions,
469
473
  cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void,
470
474
  ): void;
471
475
  listRetrievedTraces(
472
476
  args: ListRetrievedTracesCommandInput,
473
- options?: __HttpHandlerOptions,
477
+ options?: XRayRequestOptions,
474
478
  ): Promise<ListRetrievedTracesCommandOutput>;
475
479
  listRetrievedTraces(
476
480
  args: ListRetrievedTracesCommandInput,
@@ -478,12 +482,12 @@ export interface XRay {
478
482
  ): void;
479
483
  listRetrievedTraces(
480
484
  args: ListRetrievedTracesCommandInput,
481
- options: __HttpHandlerOptions,
485
+ options: XRayRequestOptions,
482
486
  cb: (err: any, data?: ListRetrievedTracesCommandOutput) => void,
483
487
  ): void;
484
488
  listTagsForResource(
485
489
  args: ListTagsForResourceCommandInput,
486
- options?: __HttpHandlerOptions,
490
+ options?: XRayRequestOptions,
487
491
  ): Promise<ListTagsForResourceCommandOutput>;
488
492
  listTagsForResource(
489
493
  args: ListTagsForResourceCommandInput,
@@ -491,12 +495,12 @@ export interface XRay {
491
495
  ): void;
492
496
  listTagsForResource(
493
497
  args: ListTagsForResourceCommandInput,
494
- options: __HttpHandlerOptions,
498
+ options: XRayRequestOptions,
495
499
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
496
500
  ): void;
497
501
  putEncryptionConfig(
498
502
  args: PutEncryptionConfigCommandInput,
499
- options?: __HttpHandlerOptions,
503
+ options?: XRayRequestOptions,
500
504
  ): Promise<PutEncryptionConfigCommandOutput>;
501
505
  putEncryptionConfig(
502
506
  args: PutEncryptionConfigCommandInput,
@@ -504,12 +508,12 @@ export interface XRay {
504
508
  ): void;
505
509
  putEncryptionConfig(
506
510
  args: PutEncryptionConfigCommandInput,
507
- options: __HttpHandlerOptions,
511
+ options: XRayRequestOptions,
508
512
  cb: (err: any, data?: PutEncryptionConfigCommandOutput) => void,
509
513
  ): void;
510
514
  putResourcePolicy(
511
515
  args: PutResourcePolicyCommandInput,
512
- options?: __HttpHandlerOptions,
516
+ options?: XRayRequestOptions,
513
517
  ): Promise<PutResourcePolicyCommandOutput>;
514
518
  putResourcePolicy(
515
519
  args: PutResourcePolicyCommandInput,
@@ -517,12 +521,12 @@ export interface XRay {
517
521
  ): void;
518
522
  putResourcePolicy(
519
523
  args: PutResourcePolicyCommandInput,
520
- options: __HttpHandlerOptions,
524
+ options: XRayRequestOptions,
521
525
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
522
526
  ): void;
523
527
  putTelemetryRecords(
524
528
  args: PutTelemetryRecordsCommandInput,
525
- options?: __HttpHandlerOptions,
529
+ options?: XRayRequestOptions,
526
530
  ): Promise<PutTelemetryRecordsCommandOutput>;
527
531
  putTelemetryRecords(
528
532
  args: PutTelemetryRecordsCommandInput,
@@ -530,12 +534,12 @@ export interface XRay {
530
534
  ): void;
531
535
  putTelemetryRecords(
532
536
  args: PutTelemetryRecordsCommandInput,
533
- options: __HttpHandlerOptions,
537
+ options: XRayRequestOptions,
534
538
  cb: (err: any, data?: PutTelemetryRecordsCommandOutput) => void,
535
539
  ): void;
536
540
  putTraceSegments(
537
541
  args: PutTraceSegmentsCommandInput,
538
- options?: __HttpHandlerOptions,
542
+ options?: XRayRequestOptions,
539
543
  ): Promise<PutTraceSegmentsCommandOutput>;
540
544
  putTraceSegments(
541
545
  args: PutTraceSegmentsCommandInput,
@@ -543,12 +547,12 @@ export interface XRay {
543
547
  ): void;
544
548
  putTraceSegments(
545
549
  args: PutTraceSegmentsCommandInput,
546
- options: __HttpHandlerOptions,
550
+ options: XRayRequestOptions,
547
551
  cb: (err: any, data?: PutTraceSegmentsCommandOutput) => void,
548
552
  ): void;
549
553
  startTraceRetrieval(
550
554
  args: StartTraceRetrievalCommandInput,
551
- options?: __HttpHandlerOptions,
555
+ options?: XRayRequestOptions,
552
556
  ): Promise<StartTraceRetrievalCommandOutput>;
553
557
  startTraceRetrieval(
554
558
  args: StartTraceRetrievalCommandInput,
@@ -556,12 +560,12 @@ export interface XRay {
556
560
  ): void;
557
561
  startTraceRetrieval(
558
562
  args: StartTraceRetrievalCommandInput,
559
- options: __HttpHandlerOptions,
563
+ options: XRayRequestOptions,
560
564
  cb: (err: any, data?: StartTraceRetrievalCommandOutput) => void,
561
565
  ): void;
562
566
  tagResource(
563
567
  args: TagResourceCommandInput,
564
- options?: __HttpHandlerOptions,
568
+ options?: XRayRequestOptions,
565
569
  ): Promise<TagResourceCommandOutput>;
566
570
  tagResource(
567
571
  args: TagResourceCommandInput,
@@ -569,12 +573,12 @@ export interface XRay {
569
573
  ): void;
570
574
  tagResource(
571
575
  args: TagResourceCommandInput,
572
- options: __HttpHandlerOptions,
576
+ options: XRayRequestOptions,
573
577
  cb: (err: any, data?: TagResourceCommandOutput) => void,
574
578
  ): void;
575
579
  untagResource(
576
580
  args: UntagResourceCommandInput,
577
- options?: __HttpHandlerOptions,
581
+ options?: XRayRequestOptions,
578
582
  ): Promise<UntagResourceCommandOutput>;
579
583
  untagResource(
580
584
  args: UntagResourceCommandInput,
@@ -582,13 +586,13 @@ export interface XRay {
582
586
  ): void;
583
587
  untagResource(
584
588
  args: UntagResourceCommandInput,
585
- options: __HttpHandlerOptions,
589
+ options: XRayRequestOptions,
586
590
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
587
591
  ): void;
588
592
  updateGroup(): Promise<UpdateGroupCommandOutput>;
589
593
  updateGroup(
590
594
  args: UpdateGroupCommandInput,
591
- options?: __HttpHandlerOptions,
595
+ options?: XRayRequestOptions,
592
596
  ): Promise<UpdateGroupCommandOutput>;
593
597
  updateGroup(
594
598
  args: UpdateGroupCommandInput,
@@ -596,12 +600,12 @@ export interface XRay {
596
600
  ): void;
597
601
  updateGroup(
598
602
  args: UpdateGroupCommandInput,
599
- options: __HttpHandlerOptions,
603
+ options: XRayRequestOptions,
600
604
  cb: (err: any, data?: UpdateGroupCommandOutput) => void,
601
605
  ): void;
602
606
  updateIndexingRule(
603
607
  args: UpdateIndexingRuleCommandInput,
604
- options?: __HttpHandlerOptions,
608
+ options?: XRayRequestOptions,
605
609
  ): Promise<UpdateIndexingRuleCommandOutput>;
606
610
  updateIndexingRule(
607
611
  args: UpdateIndexingRuleCommandInput,
@@ -609,12 +613,12 @@ export interface XRay {
609
613
  ): void;
610
614
  updateIndexingRule(
611
615
  args: UpdateIndexingRuleCommandInput,
612
- options: __HttpHandlerOptions,
616
+ options: XRayRequestOptions,
613
617
  cb: (err: any, data?: UpdateIndexingRuleCommandOutput) => void,
614
618
  ): void;
615
619
  updateSamplingRule(
616
620
  args: UpdateSamplingRuleCommandInput,
617
- options?: __HttpHandlerOptions,
621
+ options?: XRayRequestOptions,
618
622
  ): Promise<UpdateSamplingRuleCommandOutput>;
619
623
  updateSamplingRule(
620
624
  args: UpdateSamplingRuleCommandInput,
@@ -622,13 +626,13 @@ export interface XRay {
622
626
  ): void;
623
627
  updateSamplingRule(
624
628
  args: UpdateSamplingRuleCommandInput,
625
- options: __HttpHandlerOptions,
629
+ options: XRayRequestOptions,
626
630
  cb: (err: any, data?: UpdateSamplingRuleCommandOutput) => void,
627
631
  ): void;
628
632
  updateTraceSegmentDestination(): Promise<UpdateTraceSegmentDestinationCommandOutput>;
629
633
  updateTraceSegmentDestination(
630
634
  args: UpdateTraceSegmentDestinationCommandInput,
631
- options?: __HttpHandlerOptions,
635
+ options?: XRayRequestOptions,
632
636
  ): Promise<UpdateTraceSegmentDestinationCommandOutput>;
633
637
  updateTraceSegmentDestination(
634
638
  args: UpdateTraceSegmentDestinationCommandInput,
@@ -636,7 +640,7 @@ export interface XRay {
636
640
  ): void;
637
641
  updateTraceSegmentDestination(
638
642
  args: UpdateTraceSegmentDestinationCommandInput,
639
- options: __HttpHandlerOptions,
643
+ options: XRayRequestOptions,
640
644
  cb: (err: any, data?: UpdateTraceSegmentDestinationCommandOutput) => void,
641
645
  ): void;
642
646
  paginateBatchGetTraces(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-xray",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {