@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
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteGroupRequest, DeleteGroupResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteGroupCommand,
|
|
17
|
-
serializeAws_restJson1DeleteGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteGroupCommandInput extends DeleteGroupRequest {}
|
|
22
|
-
export interface DeleteGroupCommandOutput extends DeleteGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a group resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, DeleteGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, DeleteGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new DeleteGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteGroupCommand extends $Command<
|
|
42
|
-
DeleteGroupCommandInput,
|
|
43
|
-
DeleteGroupCommandOutput,
|
|
44
|
-
XRayClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteGroupCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: XRayClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteGroupCommandInput, DeleteGroupCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "XRayClient";
|
|
69
|
-
const commandName = "DeleteGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteGroupResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteSamplingRuleRequest, DeleteSamplingRuleResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteSamplingRuleCommand,
|
|
17
|
-
serializeAws_restJson1DeleteSamplingRuleCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface DeleteSamplingRuleCommandInput extends DeleteSamplingRuleRequest {}
|
|
22
|
-
export interface DeleteSamplingRuleCommandOutput extends DeleteSamplingRuleResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a sampling rule.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, DeleteSamplingRuleCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, DeleteSamplingRuleCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new DeleteSamplingRuleCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteSamplingRuleCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteSamplingRuleCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteSamplingRuleCommand extends $Command<
|
|
42
|
-
DeleteSamplingRuleCommandInput,
|
|
43
|
-
DeleteSamplingRuleCommandOutput,
|
|
44
|
-
XRayClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteSamplingRuleCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: XRayClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteSamplingRuleCommandInput, DeleteSamplingRuleCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "XRayClient";
|
|
69
|
-
const commandName = "DeleteSamplingRuleCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteSamplingRuleRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteSamplingRuleResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteSamplingRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteSamplingRuleCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSamplingRuleCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteSamplingRuleCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetEncryptionConfigRequest, GetEncryptionConfigResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetEncryptionConfigCommand,
|
|
17
|
-
serializeAws_restJson1GetEncryptionConfigCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface GetEncryptionConfigCommandInput extends GetEncryptionConfigRequest {}
|
|
22
|
-
export interface GetEncryptionConfigCommandOutput extends GetEncryptionConfigResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the current encryption configuration for X-Ray data.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, GetEncryptionConfigCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, GetEncryptionConfigCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new GetEncryptionConfigCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetEncryptionConfigCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetEncryptionConfigCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetEncryptionConfigCommand extends $Command<
|
|
42
|
-
GetEncryptionConfigCommandInput,
|
|
43
|
-
GetEncryptionConfigCommandOutput,
|
|
44
|
-
XRayClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetEncryptionConfigCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: XRayClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetEncryptionConfigCommandInput, GetEncryptionConfigCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "XRayClient";
|
|
69
|
-
const commandName = "GetEncryptionConfigCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetEncryptionConfigRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetEncryptionConfigResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetEncryptionConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetEncryptionConfigCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEncryptionConfigCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetEncryptionConfigCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetGroupRequest, GetGroupResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetGroupCommand,
|
|
17
|
-
serializeAws_restJson1GetGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface GetGroupCommandInput extends GetGroupRequest {}
|
|
22
|
-
export interface GetGroupCommandOutput extends GetGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves group resource details.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, GetGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, GetGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new GetGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, XRayClientResolvedConfig> {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
|
|
45
|
-
constructor(readonly input: GetGroupCommandInput) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(
|
|
55
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
56
|
-
configuration: XRayClientResolvedConfig,
|
|
57
|
-
options?: __HttpHandlerOptions
|
|
58
|
-
): Handler<GetGroupCommandInput, GetGroupCommandOutput> {
|
|
59
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
|
-
|
|
61
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
62
|
-
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "XRayClient";
|
|
65
|
-
const commandName = "GetGroupCommand";
|
|
66
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: GetGroupRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: GetGroupResult.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve(
|
|
75
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
76
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
77
|
-
handlerExecutionContext
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private serialize(input: GetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
82
|
-
return serializeAws_restJson1GetGroupCommand(input, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGroupCommandOutput> {
|
|
86
|
-
return deserializeAws_restJson1GetGroupCommand(output, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Start section: command_body_extra
|
|
90
|
-
// End section: command_body_extra
|
|
91
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetGroupsRequest, GetGroupsResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetGroupsCommand,
|
|
17
|
-
serializeAws_restJson1GetGroupsCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface GetGroupsCommandInput extends GetGroupsRequest {}
|
|
22
|
-
export interface GetGroupsCommandOutput extends GetGroupsResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves all active group details.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { XRayClient, GetGroupsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
30
|
-
* // const { XRayClient, GetGroupsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
31
|
-
* const client = new XRayClient(config);
|
|
32
|
-
* const command = new GetGroupsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetGroupsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetGroupsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetGroupsCommand extends $Command<
|
|
42
|
-
GetGroupsCommandInput,
|
|
43
|
-
GetGroupsCommandOutput,
|
|
44
|
-
XRayClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetGroupsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: XRayClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetGroupsCommandInput, GetGroupsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "XRayClient";
|
|
69
|
-
const commandName = "GetGroupsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetGroupsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetGroupsResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetGroupsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGroupsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetGroupsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetInsightRequest, GetInsightResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetInsightCommand,
|
|
17
|
-
serializeAws_restJson1GetInsightCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface GetInsightCommandInput extends GetInsightRequest {}
|
|
22
|
-
export interface GetInsightCommandOutput extends GetInsightResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the summary information of an insight. This includes impact to clients and
|
|
26
|
-
* root cause services, the top anomalous services, the category, the state of the insight,
|
|
27
|
-
* and the start and end time of the insight.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { XRayClient, GetInsightCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
32
|
-
* // const { XRayClient, GetInsightCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
33
|
-
* const client = new XRayClient(config);
|
|
34
|
-
* const command = new GetInsightCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetInsightCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetInsightCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetInsightCommand extends $Command<
|
|
44
|
-
GetInsightCommandInput,
|
|
45
|
-
GetInsightCommandOutput,
|
|
46
|
-
XRayClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetInsightCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: XRayClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetInsightCommandInput, GetInsightCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "XRayClient";
|
|
71
|
-
const commandName = "GetInsightCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetInsightRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetInsightResult.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetInsightCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetInsightCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInsightCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetInsightCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetInsightEventsRequest, GetInsightEventsResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetInsightEventsCommand,
|
|
17
|
-
serializeAws_restJson1GetInsightEventsCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
|
|
20
|
-
|
|
21
|
-
export interface GetInsightEventsCommandInput extends GetInsightEventsRequest {}
|
|
22
|
-
export interface GetInsightEventsCommandOutput extends GetInsightEventsResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an
|
|
26
|
-
* event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray
|
|
27
|
-
* console.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { XRayClient, GetInsightEventsCommand } from "@aws-sdk/client-xray"; // ES Modules import
|
|
32
|
-
* // const { XRayClient, GetInsightEventsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
|
|
33
|
-
* const client = new XRayClient(config);
|
|
34
|
-
* const command = new GetInsightEventsCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetInsightEventsCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetInsightEventsCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetInsightEventsCommand extends $Command<
|
|
44
|
-
GetInsightEventsCommandInput,
|
|
45
|
-
GetInsightEventsCommandOutput,
|
|
46
|
-
XRayClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetInsightEventsCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: XRayClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetInsightEventsCommandInput, GetInsightEventsCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "XRayClient";
|
|
71
|
-
const commandName = "GetInsightEventsCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetInsightEventsRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetInsightEventsResult.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetInsightEventsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetInsightEventsCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInsightEventsCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetInsightEventsCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|