@aws-sdk/client-xray 3.325.0 → 3.327.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.
Files changed (31) hide show
  1. package/dist-types/commands/BatchGetTracesCommand.d.ts +22 -0
  2. package/dist-types/commands/CreateGroupCommand.d.ts +14 -0
  3. package/dist-types/commands/CreateSamplingRuleCommand.d.ts +26 -0
  4. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  5. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteSamplingRuleCommand.d.ts +26 -0
  7. package/dist-types/commands/GetEncryptionConfigCommand.d.ts +10 -0
  8. package/dist-types/commands/GetGroupCommand.d.ts +14 -0
  9. package/dist-types/commands/GetGroupsCommand.d.ts +17 -0
  10. package/dist-types/commands/GetInsightCommand.d.ts +47 -0
  11. package/dist-types/commands/GetInsightEventsCommand.d.ts +34 -0
  12. package/dist-types/commands/GetInsightImpactGraphCommand.d.ts +27 -0
  13. package/dist-types/commands/GetInsightSummariesCommand.d.ts +51 -0
  14. package/dist-types/commands/GetSamplingRulesCommand.d.ts +29 -0
  15. package/dist-types/commands/GetSamplingStatisticSummariesCommand.d.ts +15 -0
  16. package/dist-types/commands/GetSamplingTargetsCommand.d.ts +22 -0
  17. package/dist-types/commands/GetServiceGraphCommand.d.ts +93 -0
  18. package/dist-types/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +50 -0
  19. package/dist-types/commands/GetTraceGraphCommand.d.ts +90 -0
  20. package/dist-types/commands/GetTraceSummariesCommand.d.ts +160 -0
  21. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +14 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  23. package/dist-types/commands/PutEncryptionConfigCommand.d.ts +10 -0
  24. package/dist-types/commands/PutResourcePolicyCommand.d.ts +11 -0
  25. package/dist-types/commands/PutTelemetryRecordsCommand.d.ts +4 -0
  26. package/dist-types/commands/PutTraceSegmentsCommand.d.ts +12 -0
  27. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  28. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  29. package/dist-types/commands/UpdateGroupCommand.d.ts +14 -0
  30. package/dist-types/commands/UpdateSamplingRuleCommand.d.ts +26 -0
  31. package/package.json +7 -7
@@ -36,6 +36,26 @@ export interface BatchGetTracesCommandOutput extends BatchGetTracesResult, __Met
36
36
  * };
37
37
  * const command = new BatchGetTracesCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // BatchGetTracesResult
40
+ * // Traces: [ // TraceList
41
+ * // { // Trace
42
+ * // Id: "STRING_VALUE",
43
+ * // Duration: Number("double"),
44
+ * // LimitExceeded: true || false,
45
+ * // Segments: [ // SegmentList
46
+ * // { // Segment
47
+ * // Id: "STRING_VALUE",
48
+ * // Document: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // UnprocessedTraceIds: [ // UnprocessedTraceIdList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // NextToken: "STRING_VALUE",
57
+ * // };
58
+ *
39
59
  * ```
40
60
  *
41
61
  * @param BatchGetTracesCommandInput - {@link BatchGetTracesCommandInput}
@@ -50,6 +70,8 @@ export interface BatchGetTracesCommandOutput extends BatchGetTracesResult, __Met
50
70
  * @throws {@link ThrottledException} (client fault)
51
71
  * <p>The request exceeds the maximum number of requests per second.</p>
52
72
  *
73
+ * @throws {@link XRayServiceException}
74
+ * <p>Base exception class for all service exceptions from XRay service.</p>
53
75
  *
54
76
  */
55
77
  export declare class BatchGetTracesCommand extends $Command<BatchGetTracesCommandInput, BatchGetTracesCommandOutput, XRayClientResolvedConfig> {
@@ -42,6 +42,18 @@ export interface CreateGroupCommandOutput extends CreateGroupResult, __MetadataB
42
42
  * };
43
43
  * const command = new CreateGroupCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // CreateGroupResult
46
+ * // Group: { // Group
47
+ * // GroupName: "STRING_VALUE",
48
+ * // GroupARN: "STRING_VALUE",
49
+ * // FilterExpression: "STRING_VALUE",
50
+ * // InsightsConfiguration: { // InsightsConfiguration
51
+ * // InsightsEnabled: true || false,
52
+ * // NotificationsEnabled: true || false,
53
+ * // },
54
+ * // },
55
+ * // };
56
+ *
45
57
  * ```
46
58
  *
47
59
  * @param CreateGroupCommandInput - {@link CreateGroupCommandInput}
@@ -56,6 +68,8 @@ export interface CreateGroupCommandOutput extends CreateGroupResult, __MetadataB
56
68
  * @throws {@link ThrottledException} (client fault)
57
69
  * <p>The request exceeds the maximum number of requests per second.</p>
58
70
  *
71
+ * @throws {@link XRayServiceException}
72
+ * <p>Base exception class for all service exceptions from XRay service.</p>
59
73
  *
60
74
  */
61
75
  export declare class CreateGroupCommand extends $Command<CreateGroupCommandInput, CreateGroupCommandOutput, XRayClientResolvedConfig> {
@@ -59,6 +59,30 @@ export interface CreateSamplingRuleCommandOutput extends CreateSamplingRuleResul
59
59
  * };
60
60
  * const command = new CreateSamplingRuleCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // CreateSamplingRuleResult
63
+ * // SamplingRuleRecord: { // SamplingRuleRecord
64
+ * // SamplingRule: { // SamplingRule
65
+ * // RuleName: "STRING_VALUE",
66
+ * // RuleARN: "STRING_VALUE",
67
+ * // ResourceARN: "STRING_VALUE", // required
68
+ * // Priority: Number("int"), // required
69
+ * // FixedRate: Number("double"), // required
70
+ * // ReservoirSize: Number("int"), // required
71
+ * // ServiceName: "STRING_VALUE", // required
72
+ * // ServiceType: "STRING_VALUE", // required
73
+ * // Host: "STRING_VALUE", // required
74
+ * // HTTPMethod: "STRING_VALUE", // required
75
+ * // URLPath: "STRING_VALUE", // required
76
+ * // Version: Number("int"), // required
77
+ * // Attributes: { // AttributeMap
78
+ * // "<keys>": "STRING_VALUE",
79
+ * // },
80
+ * // },
81
+ * // CreatedAt: new Date("TIMESTAMP"),
82
+ * // ModifiedAt: new Date("TIMESTAMP"),
83
+ * // },
84
+ * // };
85
+ *
62
86
  * ```
63
87
  *
64
88
  * @param CreateSamplingRuleCommandInput - {@link CreateSamplingRuleCommandInput}
@@ -76,6 +100,8 @@ export interface CreateSamplingRuleCommandOutput extends CreateSamplingRuleResul
76
100
  * @throws {@link ThrottledException} (client fault)
77
101
  * <p>The request exceeds the maximum number of requests per second.</p>
78
102
  *
103
+ * @throws {@link XRayServiceException}
104
+ * <p>Base exception class for all service exceptions from XRay service.</p>
79
105
  *
80
106
  */
81
107
  export declare class CreateSamplingRuleCommand extends $Command<CreateSamplingRuleCommandInput, CreateSamplingRuleCommandOutput, XRayClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResult, __MetadataB
32
32
  * };
33
33
  * const command = new DeleteGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteGroupCommandInput - {@link DeleteGroupCommandInput}
@@ -46,6 +48,8 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResult, __MetadataB
46
48
  * @throws {@link ThrottledException} (client fault)
47
49
  * <p>The request exceeds the maximum number of requests per second.</p>
48
50
  *
51
+ * @throws {@link XRayServiceException}
52
+ * <p>Base exception class for all service exceptions from XRay service.</p>
49
53
  *
50
54
  */
51
55
  export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, XRayClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
32
32
  * };
33
33
  * const command = new DeleteResourcePolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
@@ -50,6 +52,8 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
50
52
  * @throws {@link ThrottledException} (client fault)
51
53
  * <p>The request exceeds the maximum number of requests per second.</p>
52
54
  *
55
+ * @throws {@link XRayServiceException}
56
+ * <p>Base exception class for all service exceptions from XRay service.</p>
53
57
  *
54
58
  */
55
59
  export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, XRayClientResolvedConfig> {
@@ -32,6 +32,30 @@ export interface DeleteSamplingRuleCommandOutput extends DeleteSamplingRuleResul
32
32
  * };
33
33
  * const command = new DeleteSamplingRuleCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DeleteSamplingRuleResult
36
+ * // SamplingRuleRecord: { // SamplingRuleRecord
37
+ * // SamplingRule: { // SamplingRule
38
+ * // RuleName: "STRING_VALUE",
39
+ * // RuleARN: "STRING_VALUE",
40
+ * // ResourceARN: "STRING_VALUE", // required
41
+ * // Priority: Number("int"), // required
42
+ * // FixedRate: Number("double"), // required
43
+ * // ReservoirSize: Number("int"), // required
44
+ * // ServiceName: "STRING_VALUE", // required
45
+ * // ServiceType: "STRING_VALUE", // required
46
+ * // Host: "STRING_VALUE", // required
47
+ * // HTTPMethod: "STRING_VALUE", // required
48
+ * // URLPath: "STRING_VALUE", // required
49
+ * // Version: Number("int"), // required
50
+ * // Attributes: { // AttributeMap
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // CreatedAt: new Date("TIMESTAMP"),
55
+ * // ModifiedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // };
58
+ *
35
59
  * ```
36
60
  *
37
61
  * @param DeleteSamplingRuleCommandInput - {@link DeleteSamplingRuleCommandInput}
@@ -46,6 +70,8 @@ export interface DeleteSamplingRuleCommandOutput extends DeleteSamplingRuleResul
46
70
  * @throws {@link ThrottledException} (client fault)
47
71
  * <p>The request exceeds the maximum number of requests per second.</p>
48
72
  *
73
+ * @throws {@link XRayServiceException}
74
+ * <p>Base exception class for all service exceptions from XRay service.</p>
49
75
  *
50
76
  */
51
77
  export declare class DeleteSamplingRuleCommand extends $Command<DeleteSamplingRuleCommandInput, DeleteSamplingRuleCommandOutput, XRayClientResolvedConfig> {
@@ -29,6 +29,14 @@ export interface GetEncryptionConfigCommandOutput extends GetEncryptionConfigRes
29
29
  * const input = {};
30
30
  * const command = new GetEncryptionConfigCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetEncryptionConfigResult
33
+ * // EncryptionConfig: { // EncryptionConfig
34
+ * // KeyId: "STRING_VALUE",
35
+ * // Status: "UPDATING" || "ACTIVE",
36
+ * // Type: "NONE" || "KMS",
37
+ * // },
38
+ * // };
39
+ *
32
40
  * ```
33
41
  *
34
42
  * @param GetEncryptionConfigCommandInput - {@link GetEncryptionConfigCommandInput}
@@ -43,6 +51,8 @@ export interface GetEncryptionConfigCommandOutput extends GetEncryptionConfigRes
43
51
  * @throws {@link ThrottledException} (client fault)
44
52
  * <p>The request exceeds the maximum number of requests per second.</p>
45
53
  *
54
+ * @throws {@link XRayServiceException}
55
+ * <p>Base exception class for all service exceptions from XRay service.</p>
46
56
  *
47
57
  */
48
58
  export declare class GetEncryptionConfigCommand extends $Command<GetEncryptionConfigCommandInput, GetEncryptionConfigCommandOutput, XRayClientResolvedConfig> {
@@ -32,6 +32,18 @@ export interface GetGroupCommandOutput extends GetGroupResult, __MetadataBearer
32
32
  * };
33
33
  * const command = new GetGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetGroupResult
36
+ * // Group: { // Group
37
+ * // GroupName: "STRING_VALUE",
38
+ * // GroupARN: "STRING_VALUE",
39
+ * // FilterExpression: "STRING_VALUE",
40
+ * // InsightsConfiguration: { // InsightsConfiguration
41
+ * // InsightsEnabled: true || false,
42
+ * // NotificationsEnabled: true || false,
43
+ * // },
44
+ * // },
45
+ * // };
46
+ *
35
47
  * ```
36
48
  *
37
49
  * @param GetGroupCommandInput - {@link GetGroupCommandInput}
@@ -46,6 +58,8 @@ export interface GetGroupCommandOutput extends GetGroupResult, __MetadataBearer
46
58
  * @throws {@link ThrottledException} (client fault)
47
59
  * <p>The request exceeds the maximum number of requests per second.</p>
48
60
  *
61
+ * @throws {@link XRayServiceException}
62
+ * <p>Base exception class for all service exceptions from XRay service.</p>
49
63
  *
50
64
  */
51
65
  export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, XRayClientResolvedConfig> {
@@ -31,6 +31,21 @@ export interface GetGroupsCommandOutput extends GetGroupsResult, __MetadataBeare
31
31
  * };
32
32
  * const command = new GetGroupsCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetGroupsResult
35
+ * // Groups: [ // GroupSummaryList
36
+ * // { // GroupSummary
37
+ * // GroupName: "STRING_VALUE",
38
+ * // GroupARN: "STRING_VALUE",
39
+ * // FilterExpression: "STRING_VALUE",
40
+ * // InsightsConfiguration: { // InsightsConfiguration
41
+ * // InsightsEnabled: true || false,
42
+ * // NotificationsEnabled: true || false,
43
+ * // },
44
+ * // },
45
+ * // ],
46
+ * // NextToken: "STRING_VALUE",
47
+ * // };
48
+ *
34
49
  * ```
35
50
  *
36
51
  * @param GetGroupsCommandInput - {@link GetGroupsCommandInput}
@@ -45,6 +60,8 @@ export interface GetGroupsCommandOutput extends GetGroupsResult, __MetadataBeare
45
60
  * @throws {@link ThrottledException} (client fault)
46
61
  * <p>The request exceeds the maximum number of requests per second.</p>
47
62
  *
63
+ * @throws {@link XRayServiceException}
64
+ * <p>Base exception class for all service exceptions from XRay service.</p>
48
65
  *
49
66
  */
50
67
  export declare class GetGroupsCommand extends $Command<GetGroupsCommandInput, GetGroupsCommandOutput, XRayClientResolvedConfig> {
@@ -33,6 +33,51 @@ export interface GetInsightCommandOutput extends GetInsightResult, __MetadataBea
33
33
  * };
34
34
  * const command = new GetInsightCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetInsightResult
37
+ * // Insight: { // Insight
38
+ * // InsightId: "STRING_VALUE",
39
+ * // GroupARN: "STRING_VALUE",
40
+ * // GroupName: "STRING_VALUE",
41
+ * // RootCauseServiceId: { // ServiceId
42
+ * // Name: "STRING_VALUE",
43
+ * // Names: [ // ServiceNames
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // AccountId: "STRING_VALUE",
47
+ * // Type: "STRING_VALUE",
48
+ * // },
49
+ * // Categories: [ // InsightCategoryList
50
+ * // "FAULT",
51
+ * // ],
52
+ * // State: "ACTIVE" || "CLOSED",
53
+ * // StartTime: new Date("TIMESTAMP"),
54
+ * // EndTime: new Date("TIMESTAMP"),
55
+ * // Summary: "STRING_VALUE",
56
+ * // ClientRequestImpactStatistics: { // RequestImpactStatistics
57
+ * // FaultCount: Number("long"),
58
+ * // OkCount: Number("long"),
59
+ * // TotalCount: Number("long"),
60
+ * // },
61
+ * // RootCauseServiceRequestImpactStatistics: {
62
+ * // FaultCount: Number("long"),
63
+ * // OkCount: Number("long"),
64
+ * // TotalCount: Number("long"),
65
+ * // },
66
+ * // TopAnomalousServices: [ // AnomalousServiceList
67
+ * // { // AnomalousService
68
+ * // ServiceId: {
69
+ * // Name: "STRING_VALUE",
70
+ * // Names: [
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // AccountId: "STRING_VALUE",
74
+ * // Type: "STRING_VALUE",
75
+ * // },
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // };
80
+ *
36
81
  * ```
37
82
  *
38
83
  * @param GetInsightCommandInput - {@link GetInsightCommandInput}
@@ -47,6 +92,8 @@ export interface GetInsightCommandOutput extends GetInsightResult, __MetadataBea
47
92
  * @throws {@link ThrottledException} (client fault)
48
93
  * <p>The request exceeds the maximum number of requests per second.</p>
49
94
  *
95
+ * @throws {@link XRayServiceException}
96
+ * <p>Base exception class for all service exceptions from XRay service.</p>
50
97
  *
51
98
  */
52
99
  export declare class GetInsightCommand extends $Command<GetInsightCommandInput, GetInsightCommandOutput, XRayClientResolvedConfig> {
@@ -35,6 +35,38 @@ export interface GetInsightEventsCommandOutput extends GetInsightEventsResult, _
35
35
  * };
36
36
  * const command = new GetInsightEventsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetInsightEventsResult
39
+ * // InsightEvents: [ // InsightEventList
40
+ * // { // InsightEvent
41
+ * // Summary: "STRING_VALUE",
42
+ * // EventTime: new Date("TIMESTAMP"),
43
+ * // ClientRequestImpactStatistics: { // RequestImpactStatistics
44
+ * // FaultCount: Number("long"),
45
+ * // OkCount: Number("long"),
46
+ * // TotalCount: Number("long"),
47
+ * // },
48
+ * // RootCauseServiceRequestImpactStatistics: {
49
+ * // FaultCount: Number("long"),
50
+ * // OkCount: Number("long"),
51
+ * // TotalCount: Number("long"),
52
+ * // },
53
+ * // TopAnomalousServices: [ // AnomalousServiceList
54
+ * // { // AnomalousService
55
+ * // ServiceId: { // ServiceId
56
+ * // Name: "STRING_VALUE",
57
+ * // Names: [ // ServiceNames
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // AccountId: "STRING_VALUE",
61
+ * // Type: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // NextToken: "STRING_VALUE",
68
+ * // };
69
+ *
38
70
  * ```
39
71
  *
40
72
  * @param GetInsightEventsCommandInput - {@link GetInsightEventsCommandInput}
@@ -49,6 +81,8 @@ export interface GetInsightEventsCommandOutput extends GetInsightEventsResult, _
49
81
  * @throws {@link ThrottledException} (client fault)
50
82
  * <p>The request exceeds the maximum number of requests per second.</p>
51
83
  *
84
+ * @throws {@link XRayServiceException}
85
+ * <p>Base exception class for all service exceptions from XRay service.</p>
52
86
  *
53
87
  */
54
88
  export declare class GetInsightEventsCommand extends $Command<GetInsightEventsCommandInput, GetInsightEventsCommandOutput, XRayClientResolvedConfig> {
@@ -35,6 +35,31 @@ export interface GetInsightImpactGraphCommandOutput extends GetInsightImpactGrap
35
35
  * };
36
36
  * const command = new GetInsightImpactGraphCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetInsightImpactGraphResult
39
+ * // InsightId: "STRING_VALUE",
40
+ * // StartTime: new Date("TIMESTAMP"),
41
+ * // EndTime: new Date("TIMESTAMP"),
42
+ * // ServiceGraphStartTime: new Date("TIMESTAMP"),
43
+ * // ServiceGraphEndTime: new Date("TIMESTAMP"),
44
+ * // Services: [ // InsightImpactGraphServiceList
45
+ * // { // InsightImpactGraphService
46
+ * // ReferenceId: Number("int"),
47
+ * // Type: "STRING_VALUE",
48
+ * // Name: "STRING_VALUE",
49
+ * // Names: [ // ServiceNames
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // AccountId: "STRING_VALUE",
53
+ * // Edges: [ // InsightImpactGraphEdgeList
54
+ * // { // InsightImpactGraphEdge
55
+ * // ReferenceId: Number("int"),
56
+ * // },
57
+ * // ],
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
38
63
  * ```
39
64
  *
40
65
  * @param GetInsightImpactGraphCommandInput - {@link GetInsightImpactGraphCommandInput}
@@ -49,6 +74,8 @@ export interface GetInsightImpactGraphCommandOutput extends GetInsightImpactGrap
49
74
  * @throws {@link ThrottledException} (client fault)
50
75
  * <p>The request exceeds the maximum number of requests per second.</p>
51
76
  *
77
+ * @throws {@link XRayServiceException}
78
+ * <p>Base exception class for all service exceptions from XRay service.</p>
52
79
  *
53
80
  */
54
81
  export declare class GetInsightImpactGraphCommand extends $Command<GetInsightImpactGraphCommandInput, GetInsightImpactGraphCommandOutput, XRayClientResolvedConfig> {
@@ -39,6 +39,55 @@ export interface GetInsightSummariesCommandOutput extends GetInsightSummariesRes
39
39
  * };
40
40
  * const command = new GetInsightSummariesCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetInsightSummariesResult
43
+ * // InsightSummaries: [ // InsightSummaryList
44
+ * // { // InsightSummary
45
+ * // InsightId: "STRING_VALUE",
46
+ * // GroupARN: "STRING_VALUE",
47
+ * // GroupName: "STRING_VALUE",
48
+ * // RootCauseServiceId: { // ServiceId
49
+ * // Name: "STRING_VALUE",
50
+ * // Names: [ // ServiceNames
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // AccountId: "STRING_VALUE",
54
+ * // Type: "STRING_VALUE",
55
+ * // },
56
+ * // Categories: [ // InsightCategoryList
57
+ * // "FAULT",
58
+ * // ],
59
+ * // State: "ACTIVE" || "CLOSED",
60
+ * // StartTime: new Date("TIMESTAMP"),
61
+ * // EndTime: new Date("TIMESTAMP"),
62
+ * // Summary: "STRING_VALUE",
63
+ * // ClientRequestImpactStatistics: { // RequestImpactStatistics
64
+ * // FaultCount: Number("long"),
65
+ * // OkCount: Number("long"),
66
+ * // TotalCount: Number("long"),
67
+ * // },
68
+ * // RootCauseServiceRequestImpactStatistics: {
69
+ * // FaultCount: Number("long"),
70
+ * // OkCount: Number("long"),
71
+ * // TotalCount: Number("long"),
72
+ * // },
73
+ * // TopAnomalousServices: [ // AnomalousServiceList
74
+ * // { // AnomalousService
75
+ * // ServiceId: {
76
+ * // Name: "STRING_VALUE",
77
+ * // Names: [
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // AccountId: "STRING_VALUE",
81
+ * // Type: "STRING_VALUE",
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // LastUpdateTime: new Date("TIMESTAMP"),
86
+ * // },
87
+ * // ],
88
+ * // NextToken: "STRING_VALUE",
89
+ * // };
90
+ *
42
91
  * ```
43
92
  *
44
93
  * @param GetInsightSummariesCommandInput - {@link GetInsightSummariesCommandInput}
@@ -53,6 +102,8 @@ export interface GetInsightSummariesCommandOutput extends GetInsightSummariesRes
53
102
  * @throws {@link ThrottledException} (client fault)
54
103
  * <p>The request exceeds the maximum number of requests per second.</p>
55
104
  *
105
+ * @throws {@link XRayServiceException}
106
+ * <p>Base exception class for all service exceptions from XRay service.</p>
56
107
  *
57
108
  */
58
109
  export declare class GetInsightSummariesCommand extends $Command<GetInsightSummariesCommandInput, GetInsightSummariesCommandOutput, XRayClientResolvedConfig> {
@@ -31,6 +31,33 @@ export interface GetSamplingRulesCommandOutput extends GetSamplingRulesResult, _
31
31
  * };
32
32
  * const command = new GetSamplingRulesCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSamplingRulesResult
35
+ * // SamplingRuleRecords: [ // SamplingRuleRecordList
36
+ * // { // SamplingRuleRecord
37
+ * // SamplingRule: { // SamplingRule
38
+ * // RuleName: "STRING_VALUE",
39
+ * // RuleARN: "STRING_VALUE",
40
+ * // ResourceARN: "STRING_VALUE", // required
41
+ * // Priority: Number("int"), // required
42
+ * // FixedRate: Number("double"), // required
43
+ * // ReservoirSize: Number("int"), // required
44
+ * // ServiceName: "STRING_VALUE", // required
45
+ * // ServiceType: "STRING_VALUE", // required
46
+ * // Host: "STRING_VALUE", // required
47
+ * // HTTPMethod: "STRING_VALUE", // required
48
+ * // URLPath: "STRING_VALUE", // required
49
+ * // Version: Number("int"), // required
50
+ * // Attributes: { // AttributeMap
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // CreatedAt: new Date("TIMESTAMP"),
55
+ * // ModifiedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // NextToken: "STRING_VALUE",
59
+ * // };
60
+ *
34
61
  * ```
35
62
  *
36
63
  * @param GetSamplingRulesCommandInput - {@link GetSamplingRulesCommandInput}
@@ -45,6 +72,8 @@ export interface GetSamplingRulesCommandOutput extends GetSamplingRulesResult, _
45
72
  * @throws {@link ThrottledException} (client fault)
46
73
  * <p>The request exceeds the maximum number of requests per second.</p>
47
74
  *
75
+ * @throws {@link XRayServiceException}
76
+ * <p>Base exception class for all service exceptions from XRay service.</p>
48
77
  *
49
78
  */
50
79
  export declare class GetSamplingRulesCommand extends $Command<GetSamplingRulesCommandInput, GetSamplingRulesCommandOutput, XRayClientResolvedConfig> {
@@ -31,6 +31,19 @@ export interface GetSamplingStatisticSummariesCommandOutput extends GetSamplingS
31
31
  * };
32
32
  * const command = new GetSamplingStatisticSummariesCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSamplingStatisticSummariesResult
35
+ * // SamplingStatisticSummaries: [ // SamplingStatisticSummaryList
36
+ * // { // SamplingStatisticSummary
37
+ * // RuleName: "STRING_VALUE",
38
+ * // Timestamp: new Date("TIMESTAMP"),
39
+ * // RequestCount: Number("int"),
40
+ * // BorrowCount: Number("int"),
41
+ * // SampledCount: Number("int"),
42
+ * // },
43
+ * // ],
44
+ * // NextToken: "STRING_VALUE",
45
+ * // };
46
+ *
34
47
  * ```
35
48
  *
36
49
  * @param GetSamplingStatisticSummariesCommandInput - {@link GetSamplingStatisticSummariesCommandInput}
@@ -45,6 +58,8 @@ export interface GetSamplingStatisticSummariesCommandOutput extends GetSamplingS
45
58
  * @throws {@link ThrottledException} (client fault)
46
59
  * <p>The request exceeds the maximum number of requests per second.</p>
47
60
  *
61
+ * @throws {@link XRayServiceException}
62
+ * <p>Base exception class for all service exceptions from XRay service.</p>
48
63
  *
49
64
  */
50
65
  export declare class GetSamplingStatisticSummariesCommand extends $Command<GetSamplingStatisticSummariesCommandInput, GetSamplingStatisticSummariesCommandOutput, XRayClientResolvedConfig> {
@@ -41,6 +41,26 @@ export interface GetSamplingTargetsCommandOutput extends GetSamplingTargetsResul
41
41
  * };
42
42
  * const command = new GetSamplingTargetsCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // GetSamplingTargetsResult
45
+ * // SamplingTargetDocuments: [ // SamplingTargetDocumentList
46
+ * // { // SamplingTargetDocument
47
+ * // RuleName: "STRING_VALUE",
48
+ * // FixedRate: Number("double"),
49
+ * // ReservoirQuota: Number("int"),
50
+ * // ReservoirQuotaTTL: new Date("TIMESTAMP"),
51
+ * // Interval: Number("int"),
52
+ * // },
53
+ * // ],
54
+ * // LastRuleModification: new Date("TIMESTAMP"),
55
+ * // UnprocessedStatistics: [ // UnprocessedStatisticsList
56
+ * // { // UnprocessedStatistics
57
+ * // RuleName: "STRING_VALUE",
58
+ * // ErrorCode: "STRING_VALUE",
59
+ * // Message: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
44
64
  * ```
45
65
  *
46
66
  * @param GetSamplingTargetsCommandInput - {@link GetSamplingTargetsCommandInput}
@@ -55,6 +75,8 @@ export interface GetSamplingTargetsCommandOutput extends GetSamplingTargetsResul
55
75
  * @throws {@link ThrottledException} (client fault)
56
76
  * <p>The request exceeds the maximum number of requests per second.</p>
57
77
  *
78
+ * @throws {@link XRayServiceException}
79
+ * <p>Base exception class for all service exceptions from XRay service.</p>
58
80
  *
59
81
  */
60
82
  export declare class GetSamplingTargetsCommand extends $Command<GetSamplingTargetsCommandInput, GetSamplingTargetsCommandOutput, XRayClientResolvedConfig> {