@aws-sdk/client-xray 3.933.0 → 3.935.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.
@@ -1,5 +1,15 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { XRayServiceException as __BaseException } from "./XRayServiceException";
1
+ import {
2
+ EncryptionStatus,
3
+ EncryptionType,
4
+ InsightCategory,
5
+ InsightState,
6
+ RetrievalStatus,
7
+ SamplingStrategyName,
8
+ TimeRangeType,
9
+ TraceFormatType,
10
+ TraceSegmentDestination,
11
+ TraceSegmentDestinationStatus,
12
+ } from "./enums";
3
13
  export interface Alias {
4
14
  Name?: string | undefined;
5
15
  Names?: string[] | undefined;
@@ -77,33 +87,10 @@ export interface BatchGetTracesResult {
77
87
  UnprocessedTraceIds?: string[] | undefined;
78
88
  NextToken?: string | undefined;
79
89
  }
80
- export declare class InvalidRequestException extends __BaseException {
81
- readonly name: "InvalidRequestException";
82
- readonly $fault: "client";
83
- Message?: string | undefined;
84
- constructor(
85
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
86
- );
87
- }
88
- export declare class ThrottledException extends __BaseException {
89
- readonly name: "ThrottledException";
90
- readonly $fault: "client";
91
- Message?: string | undefined;
92
- constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
93
- }
94
90
  export interface CancelTraceRetrievalRequest {
95
91
  RetrievalToken: string | undefined;
96
92
  }
97
93
  export interface CancelTraceRetrievalResult {}
98
- export declare class ResourceNotFoundException extends __BaseException {
99
- readonly name: "ResourceNotFoundException";
100
- readonly $fault: "client";
101
- Message?: string | undefined;
102
- ResourceName?: string | undefined;
103
- constructor(
104
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
105
- );
106
- }
107
94
  export interface InsightsConfiguration {
108
95
  InsightsEnabled?: boolean | undefined;
109
96
  NotificationsEnabled?: boolean | undefined;
@@ -159,14 +146,6 @@ export interface SamplingRuleRecord {
159
146
  export interface CreateSamplingRuleResult {
160
147
  SamplingRuleRecord?: SamplingRuleRecord | undefined;
161
148
  }
162
- export declare class RuleLimitExceededException extends __BaseException {
163
- readonly name: "RuleLimitExceededException";
164
- readonly $fault: "client";
165
- Message?: string | undefined;
166
- constructor(
167
- opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>
168
- );
169
- }
170
149
  export interface DeleteGroupRequest {
171
150
  GroupName?: string | undefined;
172
151
  GroupARN?: string | undefined;
@@ -177,17 +156,6 @@ export interface DeleteResourcePolicyRequest {
177
156
  PolicyRevisionId?: string | undefined;
178
157
  }
179
158
  export interface DeleteResourcePolicyResult {}
180
- export declare class InvalidPolicyRevisionIdException extends __BaseException {
181
- readonly name: "InvalidPolicyRevisionIdException";
182
- readonly $fault: "client";
183
- Message?: string | undefined;
184
- constructor(
185
- opts: __ExceptionOptionType<
186
- InvalidPolicyRevisionIdException,
187
- __BaseException
188
- >
189
- );
190
- }
191
159
  export interface DeleteSamplingRuleRequest {
192
160
  RuleName?: string | undefined;
193
161
  RuleARN?: string | undefined;
@@ -196,18 +164,6 @@ export interface DeleteSamplingRuleResult {
196
164
  SamplingRuleRecord?: SamplingRuleRecord | undefined;
197
165
  }
198
166
  export interface GetEncryptionConfigRequest {}
199
- export declare const EncryptionStatus: {
200
- readonly ACTIVE: "ACTIVE";
201
- readonly UPDATING: "UPDATING";
202
- };
203
- export type EncryptionStatus =
204
- (typeof EncryptionStatus)[keyof typeof EncryptionStatus];
205
- export declare const EncryptionType: {
206
- readonly KMS: "KMS";
207
- readonly NONE: "NONE";
208
- };
209
- export type EncryptionType =
210
- (typeof EncryptionType)[keyof typeof EncryptionType];
211
167
  export interface EncryptionConfig {
212
168
  KeyId?: string | undefined;
213
169
  Status?: EncryptionStatus | undefined;
@@ -272,21 +228,11 @@ export interface GetIndexingRulesResult {
272
228
  export interface GetInsightRequest {
273
229
  InsightId: string | undefined;
274
230
  }
275
- export declare const InsightCategory: {
276
- readonly FAULT: "FAULT";
277
- };
278
- export type InsightCategory =
279
- (typeof InsightCategory)[keyof typeof InsightCategory];
280
231
  export interface RequestImpactStatistics {
281
232
  FaultCount?: number | undefined;
282
233
  OkCount?: number | undefined;
283
234
  TotalCount?: number | undefined;
284
235
  }
285
- export declare const InsightState: {
286
- readonly ACTIVE: "ACTIVE";
287
- readonly CLOSED: "CLOSED";
288
- };
289
- export type InsightState = (typeof InsightState)[keyof typeof InsightState];
290
236
  export interface Insight {
291
237
  InsightId?: string | undefined;
292
238
  GroupARN?: string | undefined;
@@ -378,16 +324,6 @@ export interface GetRetrievedTracesGraphRequest {
378
324
  RetrievalToken: string | undefined;
379
325
  NextToken?: string | undefined;
380
326
  }
381
- export declare const RetrievalStatus: {
382
- readonly CANCELLED: "CANCELLED";
383
- readonly COMPLETE: "COMPLETE";
384
- readonly FAILED: "FAILED";
385
- readonly RUNNING: "RUNNING";
386
- readonly SCHEDULED: "SCHEDULED";
387
- readonly TIMEOUT: "TIMEOUT";
388
- };
389
- export type RetrievalStatus =
390
- (typeof RetrievalStatus)[keyof typeof RetrievalStatus];
391
327
  export interface GraphLink {
392
328
  ReferenceType?: string | undefined;
393
329
  SourceTraceId?: string | undefined;
@@ -569,38 +505,14 @@ export interface GetTraceGraphResult {
569
505
  NextToken?: string | undefined;
570
506
  }
571
507
  export interface GetTraceSegmentDestinationRequest {}
572
- export declare const TraceSegmentDestination: {
573
- readonly CloudWatchLogs: "CloudWatchLogs";
574
- readonly XRay: "XRay";
575
- };
576
- export type TraceSegmentDestination =
577
- (typeof TraceSegmentDestination)[keyof typeof TraceSegmentDestination];
578
- export declare const TraceSegmentDestinationStatus: {
579
- readonly ACTIVE: "ACTIVE";
580
- readonly PENDING: "PENDING";
581
- };
582
- export type TraceSegmentDestinationStatus =
583
- (typeof TraceSegmentDestinationStatus)[keyof typeof TraceSegmentDestinationStatus];
584
508
  export interface GetTraceSegmentDestinationResult {
585
509
  Destination?: TraceSegmentDestination | undefined;
586
510
  Status?: TraceSegmentDestinationStatus | undefined;
587
511
  }
588
- export declare const SamplingStrategyName: {
589
- readonly FixedRate: "FixedRate";
590
- readonly PartialScan: "PartialScan";
591
- };
592
- export type SamplingStrategyName =
593
- (typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
594
512
  export interface SamplingStrategy {
595
513
  Name?: SamplingStrategyName | undefined;
596
514
  Value?: number | undefined;
597
515
  }
598
- export declare const TimeRangeType: {
599
- readonly Event: "Event";
600
- readonly Service: "Service";
601
- readonly TraceId: "TraceId";
602
- };
603
- export type TimeRangeType = (typeof TimeRangeType)[keyof typeof TimeRangeType];
604
516
  export interface GetTraceSummariesRequest {
605
517
  StartTime: Date | undefined;
606
518
  EndTime: Date | undefined;
@@ -724,12 +636,6 @@ export interface ListResourcePoliciesResult {
724
636
  ResourcePolicies?: ResourcePolicy[] | undefined;
725
637
  NextToken?: string | undefined;
726
638
  }
727
- export declare const TraceFormatType: {
728
- readonly OTEL: "OTEL";
729
- readonly XRAY: "XRAY";
730
- };
731
- export type TraceFormatType =
732
- (typeof TraceFormatType)[keyof typeof TraceFormatType];
733
639
  export interface ListRetrievedTracesRequest {
734
640
  RetrievalToken: string | undefined;
735
641
  TraceFormat?: TraceFormatType | undefined;
@@ -765,47 +671,6 @@ export interface PutEncryptionConfigRequest {
765
671
  export interface PutEncryptionConfigResult {
766
672
  EncryptionConfig?: EncryptionConfig | undefined;
767
673
  }
768
- export declare class LockoutPreventionException extends __BaseException {
769
- readonly name: "LockoutPreventionException";
770
- readonly $fault: "client";
771
- Message?: string | undefined;
772
- constructor(
773
- opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>
774
- );
775
- }
776
- export declare class MalformedPolicyDocumentException extends __BaseException {
777
- readonly name: "MalformedPolicyDocumentException";
778
- readonly $fault: "client";
779
- Message?: string | undefined;
780
- constructor(
781
- opts: __ExceptionOptionType<
782
- MalformedPolicyDocumentException,
783
- __BaseException
784
- >
785
- );
786
- }
787
- export declare class PolicyCountLimitExceededException extends __BaseException {
788
- readonly name: "PolicyCountLimitExceededException";
789
- readonly $fault: "client";
790
- Message?: string | undefined;
791
- constructor(
792
- opts: __ExceptionOptionType<
793
- PolicyCountLimitExceededException,
794
- __BaseException
795
- >
796
- );
797
- }
798
- export declare class PolicySizeLimitExceededException extends __BaseException {
799
- readonly name: "PolicySizeLimitExceededException";
800
- readonly $fault: "client";
801
- Message?: string | undefined;
802
- constructor(
803
- opts: __ExceptionOptionType<
804
- PolicySizeLimitExceededException,
805
- __BaseException
806
- >
807
- );
808
- }
809
674
  export interface PutResourcePolicyRequest {
810
675
  PolicyName: string | undefined;
811
676
  PolicyDocument: string | undefined;
@@ -862,15 +727,6 @@ export interface TagResourceRequest {
862
727
  Tags: Tag[] | undefined;
863
728
  }
864
729
  export interface TagResourceResponse {}
865
- export declare class TooManyTagsException extends __BaseException {
866
- readonly name: "TooManyTagsException";
867
- readonly $fault: "client";
868
- Message?: string | undefined;
869
- ResourceName?: string | undefined;
870
- constructor(
871
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
872
- );
873
- }
874
730
  export interface UntagResourceRequest {
875
731
  ResourceARN: string | undefined;
876
732
  TagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
3
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-xray",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";