@aws-sdk/client-xray 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/XRay.js +0 -5
- package/dist-cjs/XRayClient.js +0 -10
- package/dist-cjs/commands/BatchGetTracesCommand.js +0 -27
- package/dist-cjs/commands/CreateGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateSamplingRuleCommand.js +0 -31
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteSamplingRuleCommand.js +0 -25
- package/dist-cjs/commands/GetEncryptionConfigCommand.js +0 -25
- package/dist-cjs/commands/GetGroupCommand.js +0 -25
- package/dist-cjs/commands/GetGroupsCommand.js +0 -25
- package/dist-cjs/commands/GetInsightCommand.js +0 -27
- package/dist-cjs/commands/GetInsightEventsCommand.js +0 -27
- package/dist-cjs/commands/GetInsightImpactGraphCommand.js +0 -26
- package/dist-cjs/commands/GetInsightSummariesCommand.js +0 -25
- package/dist-cjs/commands/GetSamplingRulesCommand.js +0 -25
- package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +0 -25
- package/dist-cjs/commands/GetSamplingTargetsCommand.js +0 -26
- package/dist-cjs/commands/GetServiceGraphCommand.js +0 -29
- package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +0 -26
- package/dist-cjs/commands/GetTraceGraphCommand.js +0 -25
- package/dist-cjs/commands/GetTraceSummariesCommand.js +0 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutEncryptionConfigCommand.js +0 -25
- package/dist-cjs/commands/PutTelemetryRecordsCommand.js +0 -25
- package/dist-cjs/commands/PutTraceSegmentsCommand.js +0 -87
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -25
- package/dist-cjs/commands/UpdateSamplingRuleCommand.js +0 -25
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -41
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -340
- package/dist-cjs/pagination/BatchGetTracesPaginator.js +0 -11
- package/dist-cjs/pagination/GetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/GetInsightEventsPaginator.js +0 -11
- package/dist-cjs/pagination/GetInsightSummariesPaginator.js +0 -11
- package/dist-cjs/pagination/GetSamplingRulesPaginator.js +0 -11
- package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js +0 -11
- package/dist-cjs/pagination/GetServiceGraphPaginator.js +0 -11
- package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js +0 -11
- package/dist-cjs/pagination/GetTraceGraphPaginator.js +0 -11
- package/dist-cjs/pagination/GetTraceSummariesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/XRay.js +0 -1
- package/dist-es/XRayClient.js +0 -1
- package/dist-es/commands/BatchGetTracesCommand.js +0 -1
- package/dist-es/commands/CreateGroupCommand.js +0 -1
- package/dist-es/commands/CreateSamplingRuleCommand.js +0 -1
- package/dist-es/commands/DeleteGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSamplingRuleCommand.js +0 -1
- package/dist-es/commands/GetEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/GetGroupCommand.js +0 -1
- package/dist-es/commands/GetGroupsCommand.js +0 -1
- package/dist-es/commands/GetInsightCommand.js +0 -1
- package/dist-es/commands/GetInsightEventsCommand.js +0 -1
- package/dist-es/commands/GetInsightImpactGraphCommand.js +0 -1
- package/dist-es/commands/GetInsightSummariesCommand.js +0 -1
- package/dist-es/commands/GetSamplingRulesCommand.js +0 -1
- package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +0 -1
- package/dist-es/commands/GetSamplingTargetsCommand.js +0 -1
- package/dist-es/commands/GetServiceGraphCommand.js +0 -1
- package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +0 -1
- package/dist-es/commands/GetTraceGraphCommand.js +0 -1
- package/dist-es/commands/GetTraceSummariesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/PutTelemetryRecordsCommand.js +0 -1
- package/dist-es/commands/PutTraceSegmentsCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSamplingRuleCommand.js +0 -1
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -41
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/BatchGetTracesPaginator.js +0 -1
- package/dist-es/pagination/GetGroupsPaginator.js +0 -1
- package/dist-es/pagination/GetInsightEventsPaginator.js +0 -1
- package/dist-es/pagination/GetInsightSummariesPaginator.js +0 -1
- package/dist-es/pagination/GetSamplingRulesPaginator.js +0 -1
- package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +0 -1
- package/dist-es/pagination/GetServiceGraphPaginator.js +0 -1
- package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +0 -1
- package/dist-es/pagination/GetTraceGraphPaginator.js +0 -1
- package/dist-es/pagination/GetTraceSummariesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +4 -40
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/XRay.d.ts +28 -183
- package/dist-types/ts3.4/XRayClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/BatchGetTracesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSamplingRuleCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSamplingRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInsightCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetInsightEventsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetInsightImpactGraphCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetInsightSummariesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSamplingRulesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSamplingStatisticSummariesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSamplingTargetsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetServiceGraphCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetTraceGraphCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTraceSummariesCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutTelemetryRecordsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutTraceSegmentsCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSamplingRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +4 -40
- package/dist-types/ts3.4/models/models_0.d.ts +540 -1902
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/XRay.js.map +0 -1
- package/dist-cjs/XRayClient.js.map +0 -1
- package/dist-cjs/commands/BatchGetTracesCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSamplingRuleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSamplingRuleCommand.js.map +0 -1
- package/dist-cjs/commands/GetEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/GetInsightCommand.js.map +0 -1
- package/dist-cjs/commands/GetInsightEventsCommand.js.map +0 -1
- package/dist-cjs/commands/GetInsightImpactGraphCommand.js.map +0 -1
- package/dist-cjs/commands/GetInsightSummariesCommand.js.map +0 -1
- package/dist-cjs/commands/GetSamplingRulesCommand.js.map +0 -1
- package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js.map +0 -1
- package/dist-cjs/commands/GetSamplingTargetsCommand.js.map +0 -1
- package/dist-cjs/commands/GetServiceGraphCommand.js.map +0 -1
- package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js.map +0 -1
- package/dist-cjs/commands/GetTraceGraphCommand.js.map +0 -1
- package/dist-cjs/commands/GetTraceSummariesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/PutTelemetryRecordsCommand.js.map +0 -1
- package/dist-cjs/commands/PutTraceSegmentsCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSamplingRuleCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/BatchGetTracesPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetInsightEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetInsightSummariesPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetSamplingRulesPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetServiceGraphPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetTraceGraphPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetTraceSummariesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/XRay.js.map +0 -1
- package/dist-es/XRayClient.js.map +0 -1
- package/dist-es/commands/BatchGetTracesCommand.js.map +0 -1
- package/dist-es/commands/CreateGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSamplingRuleCommand.js.map +0 -1
- package/dist-es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSamplingRuleCommand.js.map +0 -1
- package/dist-es/commands/GetEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/GetGroupCommand.js.map +0 -1
- package/dist-es/commands/GetGroupsCommand.js.map +0 -1
- package/dist-es/commands/GetInsightCommand.js.map +0 -1
- package/dist-es/commands/GetInsightEventsCommand.js.map +0 -1
- package/dist-es/commands/GetInsightImpactGraphCommand.js.map +0 -1
- package/dist-es/commands/GetInsightSummariesCommand.js.map +0 -1
- package/dist-es/commands/GetSamplingRulesCommand.js.map +0 -1
- package/dist-es/commands/GetSamplingStatisticSummariesCommand.js.map +0 -1
- package/dist-es/commands/GetSamplingTargetsCommand.js.map +0 -1
- package/dist-es/commands/GetServiceGraphCommand.js.map +0 -1
- package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js.map +0 -1
- package/dist-es/commands/GetTraceGraphCommand.js.map +0 -1
- package/dist-es/commands/GetTraceSummariesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/PutTelemetryRecordsCommand.js.map +0 -1
- package/dist-es/commands/PutTraceSegmentsCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateSamplingRuleCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/BatchGetTracesPaginator.js.map +0 -1
- package/dist-es/pagination/GetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/GetInsightEventsPaginator.js.map +0 -1
- package/dist-es/pagination/GetInsightSummariesPaginator.js.map +0 -1
- package/dist-es/pagination/GetSamplingRulesPaginator.js.map +0 -1
- package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js.map +0 -1
- package/dist-es/pagination/GetServiceGraphPaginator.js.map +0 -1
- package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js.map +0 -1
- package/dist-es/pagination/GetTraceGraphPaginator.js.map +0 -1
- package/dist-es/pagination/GetTraceSummariesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/XRay.ts +0 -1036
- package/src/XRayClient.ts +0 -342
- package/src/commands/BatchGetTracesCommand.ts +0 -97
- package/src/commands/CreateGroupCommand.ts +0 -95
- package/src/commands/CreateSamplingRuleCommand.ts +0 -101
- package/src/commands/DeleteGroupCommand.ts +0 -95
- package/src/commands/DeleteSamplingRuleCommand.ts +0 -95
- package/src/commands/GetEncryptionConfigCommand.ts +0 -95
- package/src/commands/GetGroupCommand.ts +0 -91
- package/src/commands/GetGroupsCommand.ts +0 -95
- package/src/commands/GetInsightCommand.ts +0 -97
- package/src/commands/GetInsightEventsCommand.ts +0 -97
- package/src/commands/GetInsightImpactGraphCommand.ts +0 -96
- package/src/commands/GetInsightSummariesCommand.ts +0 -95
- package/src/commands/GetSamplingRulesCommand.ts +0 -95
- package/src/commands/GetSamplingStatisticSummariesCommand.ts +0 -100
- package/src/commands/GetSamplingTargetsCommand.ts +0 -96
- package/src/commands/GetServiceGraphCommand.ts +0 -99
- package/src/commands/GetTimeSeriesServiceStatisticsCommand.ts +0 -104
- package/src/commands/GetTraceGraphCommand.ts +0 -95
- package/src/commands/GetTraceSummariesCommand.ts +0 -111
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutEncryptionConfigCommand.ts +0 -95
- package/src/commands/PutTelemetryRecordsCommand.ts +0 -95
- package/src/commands/PutTraceSegmentsCommand.ts +0 -157
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateGroupCommand.ts +0 -95
- package/src/commands/UpdateSamplingRuleCommand.ts +0 -95
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -41
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3647
- package/src/pagination/BatchGetTracesPaginator.ts +0 -58
- package/src/pagination/GetGroupsPaginator.ts +0 -54
- package/src/pagination/GetInsightEventsPaginator.ts +0 -59
- package/src/pagination/GetInsightSummariesPaginator.ts +0 -59
- package/src/pagination/GetSamplingRulesPaginator.ts +0 -58
- package/src/pagination/GetSamplingStatisticSummariesPaginator.ts +0 -58
- package/src/pagination/GetServiceGraphPaginator.ts +0 -58
- package/src/pagination/GetTimeSeriesServiceStatisticsPaginator.ts +0 -58
- package/src/pagination/GetTraceGraphPaginator.ts +0 -58
- package/src/pagination/GetTraceSummariesPaginator.ts +0 -58
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_restJson1.ts +0 -4338
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves information about recent sampling results for all sampling rules.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, GetSamplingStatisticSummariesCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, GetSamplingStatisticSummariesCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new GetSamplingStatisticSummariesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetSamplingStatisticSummariesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetSamplingStatisticSummariesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetSamplingStatisticSummariesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetSamplingStatisticSummariesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetSamplingStatisticSummariesCommand = GetSamplingStatisticSummariesCommand;
|
|
61
|
-
//# sourceMappingURL=GetSamplingStatisticSummariesCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Requests a sampling quota for rules that the service is using to sample requests.
|
|
10
|
-
* </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { XRayClient, GetSamplingTargetsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
15
|
-
* // const { XRayClient, GetSamplingTargetsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
16
|
-
* const client = new XRayClient(config);
|
|
17
|
-
* const command = new GetSamplingTargetsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetSamplingTargetsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetSamplingTargetsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetSamplingTargetsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetSamplingTargetsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetSamplingTargetsCommand = GetSamplingTargetsCommand;
|
|
62
|
-
//# sourceMappingURL=GetSamplingTargetsCommand.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a document that describes services that process incoming requests, and
|
|
10
|
-
* downstream services that they call as a result. Root services process incoming requests and
|
|
11
|
-
* make calls to downstream services. Root services are applications that use the <a href="https://docs.aws.amazon.com/xray/index.html">Amazon Web Services X-Ray SDK</a>.
|
|
12
|
-
* Downstream services can be other applications, Amazon Web Services resources, HTTP web APIs, or SQL
|
|
13
|
-
* databases.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { XRayClient, GetServiceGraphCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
18
|
-
* // const { XRayClient, GetServiceGraphCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
19
|
-
* const client = new XRayClient(config);
|
|
20
|
-
* const command = new GetServiceGraphCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetServiceGraphCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetServiceGraphCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetServiceGraphCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class GetServiceGraphCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.GetServiceGraphCommand = GetServiceGraphCommand;
|
|
65
|
-
//# sourceMappingURL=GetServiceGraphCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Get an aggregation of service statistics defined by a specific time
|
|
10
|
-
* range.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { XRayClient, GetTimeSeriesServiceStatisticsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
15
|
-
* // const { XRayClient, GetTimeSeriesServiceStatisticsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
16
|
-
* const client = new XRayClient(config);
|
|
17
|
-
* const command = new GetTimeSeriesServiceStatisticsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetTimeSeriesServiceStatisticsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetTimeSeriesServiceStatisticsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetTimeSeriesServiceStatisticsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetTimeSeriesServiceStatisticsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetTimeSeriesServiceStatisticsCommand = GetTimeSeriesServiceStatisticsCommand;
|
|
62
|
-
//# sourceMappingURL=GetTimeSeriesServiceStatisticsCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a service graph for one or more specific trace IDs.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, GetTraceGraphCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, GetTraceGraphCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new GetTraceGraphCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetTraceGraphCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetTraceGraphCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetTraceGraphCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetTraceGraphCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetTraceGraphCommand = GetTraceGraphCommand;
|
|
61
|
-
//# sourceMappingURL=GetTraceGraphCommand.js.map
|
|
@@ -5,51 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves IDs and annotations for traces available for a specified time frame using an
|
|
10
|
-
* optional filter. To get the full traces, pass the trace IDs to
|
|
11
|
-
* <code>BatchGetTraces</code>.</p>
|
|
12
|
-
* <p>A filter expression can target traced requests that hit specific service nodes or
|
|
13
|
-
* edges, have errors, or come from a known user. For example, the following filter expression
|
|
14
|
-
* targets traces that pass through <code>api.example.com</code>:</p>
|
|
15
|
-
* <p>
|
|
16
|
-
* <code>service("api.example.com")</code>
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>This filter expression finds traces that have an annotation named <code>account</code>
|
|
19
|
-
* with the value <code>12345</code>:</p>
|
|
20
|
-
* <p>
|
|
21
|
-
* <code>annotation.account = "12345"</code>
|
|
22
|
-
* </p>
|
|
23
|
-
* <p>For a full list of indexed fields and keywords that you can use in filter expressions,
|
|
24
|
-
* see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html">Using Filter
|
|
25
|
-
* Expressions</a> in the <i>Amazon Web Services X-Ray Developer Guide</i>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, GetTraceSummariesCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, GetTraceSummariesCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new GetTraceSummariesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetTraceSummariesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetTraceSummariesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
8
|
class GetTraceSummariesCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
9
|
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
10
|
super();
|
|
47
11
|
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
12
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
54
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -74,4 +34,3 @@ class GetTraceSummariesCommand extends smithy_client_1.Command {
|
|
|
74
34
|
}
|
|
75
35
|
}
|
|
76
36
|
exports.GetTraceSummariesCommand = GetTraceSummariesCommand;
|
|
77
|
-
//# sourceMappingURL=GetTraceSummariesCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns a list of tags that are applied to the specified Amazon Web Services X-Ray group or sampling rule.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, ListTagsForResourceCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, ListTagsForResourceCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
61
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the encryption configuration for X-Ray data.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, PutEncryptionConfigCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, PutEncryptionConfigCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new PutEncryptionConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutEncryptionConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutEncryptionConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutEncryptionConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class PutEncryptionConfigCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.PutEncryptionConfigCommand = PutEncryptionConfigCommand;
|
|
61
|
-
//# sourceMappingURL=PutEncryptionConfigCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Used by the Amazon Web Services X-Ray daemon to upload telemetry.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, PutTelemetryRecordsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, PutTelemetryRecordsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new PutTelemetryRecordsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutTelemetryRecordsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutTelemetryRecordsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutTelemetryRecordsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class PutTelemetryRecordsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.PutTelemetryRecordsCommand = PutTelemetryRecordsCommand;
|
|
61
|
-
//# sourceMappingURL=PutTelemetryRecordsCommand.js.map
|
|
@@ -5,97 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Uploads segment documents to Amazon Web Services X-Ray. The <a href="https://docs.aws.amazon.com/xray/index.html">X-Ray SDK</a> generates segment documents and sends them to the X-Ray daemon, which uploads them in
|
|
10
|
-
* batches. A segment document can be a completed segment, an in-progress segment, or an array of
|
|
11
|
-
* subsegments.</p>
|
|
12
|
-
* <p>Segments must include the following fields. For the full segment document schema, see
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html">Amazon Web Services X-Ray
|
|
14
|
-
* Segment Documents</a> in the <i>Amazon Web Services X-Ray Developer Guide</i>.</p>
|
|
15
|
-
* <p class="title">
|
|
16
|
-
* <b>Required segment document fields</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <ul>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <code>name</code> - The name of the service that handled the request.</p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>
|
|
25
|
-
* <code>id</code> - A 64-bit identifier for the segment, unique among segments in the same trace, in 16
|
|
26
|
-
* hexadecimal digits.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>
|
|
30
|
-
* <code>trace_id</code> - A unique identifier that connects all segments and subsegments originating from
|
|
31
|
-
* a single client request.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>start_time</code> - Time the segment or subsegment was created, in floating point seconds in
|
|
36
|
-
* epoch time, accurate to milliseconds. For example, <code>1480615200.010</code> or
|
|
37
|
-
* <code>1.480615200010E9</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>end_time</code> - Time the segment or subsegment was closed. For example,
|
|
42
|
-
* <code>1480615200.090</code> or <code>1.480615200090E9</code>. Specify either an <code>end_time</code> or
|
|
43
|
-
* <code>in_progress</code>.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>in_progress</code> - Set to <code>true</code> instead of specifying an <code>end_time</code> to
|
|
48
|
-
* record that a segment has been started, but is not complete. Send an in-progress segment when your application
|
|
49
|
-
* receives a request that will take a long time to serve, to trace that the request was received. When the
|
|
50
|
-
* response is sent, send the complete segment to overwrite the in-progress segment.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
53
|
-
* <p>A <code>trace_id</code> consists of three numbers separated by hyphens. For example,
|
|
54
|
-
* 1-58406520-a006649127e371903a2de979. This includes:</p>
|
|
55
|
-
* <p class="title">
|
|
56
|
-
* <b>Trace ID Format</b>
|
|
57
|
-
* </p>
|
|
58
|
-
* <ul>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>The version number, for instance, <code>1</code>.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For
|
|
64
|
-
* example, 10:00AM December 2nd, 2016 PST in epoch time is <code>1480615200</code> seconds,
|
|
65
|
-
* or <code>58406520</code> in hexadecimal.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>A 96-bit identifier for the trace, globally unique, in 24 hexadecimal
|
|
69
|
-
* digits.</p>
|
|
70
|
-
* </li>
|
|
71
|
-
* </ul>
|
|
72
|
-
* @example
|
|
73
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
74
|
-
* ```javascript
|
|
75
|
-
* import { XRayClient, PutTraceSegmentsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
76
|
-
* // const { XRayClient, PutTraceSegmentsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
77
|
-
* const client = new XRayClient(config);
|
|
78
|
-
* const command = new PutTraceSegmentsCommand(input);
|
|
79
|
-
* const response = await client.send(command);
|
|
80
|
-
* ```
|
|
81
|
-
*
|
|
82
|
-
* @see {@link PutTraceSegmentsCommandInput} for command's `input` shape.
|
|
83
|
-
* @see {@link PutTraceSegmentsCommandOutput} for command's `response` shape.
|
|
84
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
8
|
class PutTraceSegmentsCommand extends smithy_client_1.Command {
|
|
88
|
-
// Start section: command_properties
|
|
89
|
-
// End section: command_properties
|
|
90
9
|
constructor(input) {
|
|
91
|
-
// Start section: command_constructor
|
|
92
10
|
super();
|
|
93
11
|
this.input = input;
|
|
94
|
-
// End section: command_constructor
|
|
95
12
|
}
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
100
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
101
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -120,4 +34,3 @@ class PutTraceSegmentsCommand extends smithy_client_1.Command {
|
|
|
120
34
|
}
|
|
121
35
|
}
|
|
122
36
|
exports.PutTraceSegmentsCommand = PutTraceSegmentsCommand;
|
|
123
|
-
//# sourceMappingURL=PutTraceSegmentsCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Applies tags to an existing Amazon Web Services X-Ray group or sampling rule.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, TagResourceCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, TagResourceCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system
|
|
10
|
-
* tags (those with an <code>aws:</code> prefix).</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { XRayClient, UntagResourceCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
15
|
-
* // const { XRayClient, UntagResourceCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
16
|
-
* const client = new XRayClient(config);
|
|
17
|
-
* const command = new UntagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
62
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a group resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, UpdateGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, UpdateGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new UpdateGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateGroupCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateGroupCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Modifies a sampling rule's configuration.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { XRayClient, UpdateSamplingRuleCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
14
|
-
* // const { XRayClient, UpdateSamplingRuleCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
15
|
-
* const client = new XRayClient(config);
|
|
16
|
-
* const command = new UpdateSamplingRuleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateSamplingRuleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateSamplingRuleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateSamplingRuleCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateSamplingRuleCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateSamplingRuleCommand = UpdateSamplingRuleCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateSamplingRuleCommand.js.map
|