@aws-sdk/client-xray 3.928.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist-cjs/index.js +1651 -2146
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/XRayClient.js +2 -0
  4. package/dist-es/commands/BatchGetTracesCommand.js +3 -9
  5. package/dist-es/commands/CancelTraceRetrievalCommand.js +3 -9
  6. package/dist-es/commands/CreateGroupCommand.js +3 -9
  7. package/dist-es/commands/CreateSamplingRuleCommand.js +3 -9
  8. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  10. package/dist-es/commands/DeleteSamplingRuleCommand.js +3 -9
  11. package/dist-es/commands/GetEncryptionConfigCommand.js +3 -9
  12. package/dist-es/commands/GetGroupCommand.js +3 -9
  13. package/dist-es/commands/GetGroupsCommand.js +3 -9
  14. package/dist-es/commands/GetIndexingRulesCommand.js +3 -9
  15. package/dist-es/commands/GetInsightCommand.js +3 -9
  16. package/dist-es/commands/GetInsightEventsCommand.js +3 -9
  17. package/dist-es/commands/GetInsightImpactGraphCommand.js +3 -9
  18. package/dist-es/commands/GetInsightSummariesCommand.js +3 -9
  19. package/dist-es/commands/GetRetrievedTracesGraphCommand.js +3 -9
  20. package/dist-es/commands/GetSamplingRulesCommand.js +3 -9
  21. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +3 -9
  22. package/dist-es/commands/GetSamplingTargetsCommand.js +3 -9
  23. package/dist-es/commands/GetServiceGraphCommand.js +3 -9
  24. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +3 -9
  25. package/dist-es/commands/GetTraceGraphCommand.js +3 -9
  26. package/dist-es/commands/GetTraceSegmentDestinationCommand.js +3 -9
  27. package/dist-es/commands/GetTraceSummariesCommand.js +3 -9
  28. package/dist-es/commands/ListResourcePoliciesCommand.js +3 -9
  29. package/dist-es/commands/ListRetrievedTracesCommand.js +3 -9
  30. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  31. package/dist-es/commands/PutEncryptionConfigCommand.js +3 -9
  32. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  33. package/dist-es/commands/PutTelemetryRecordsCommand.js +3 -9
  34. package/dist-es/commands/PutTraceSegmentsCommand.js +3 -9
  35. package/dist-es/commands/StartTraceRetrievalCommand.js +3 -9
  36. package/dist-es/commands/TagResourceCommand.js +3 -9
  37. package/dist-es/commands/UntagResourceCommand.js +3 -9
  38. package/dist-es/commands/UpdateGroupCommand.js +3 -9
  39. package/dist-es/commands/UpdateIndexingRuleCommand.js +3 -9
  40. package/dist-es/commands/UpdateSamplingRuleCommand.js +3 -9
  41. package/dist-es/commands/UpdateTraceSegmentDestinationCommand.js +3 -9
  42. package/dist-es/models/models_0.js +0 -28
  43. package/dist-es/runtimeConfig.shared.js +2 -0
  44. package/dist-es/schemas/schemas_0.js +1554 -0
  45. package/dist-types/XRayClient.d.ts +10 -1
  46. package/dist-types/models/models_0.d.ts +12 -3
  47. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  48. package/dist-types/runtimeConfig.d.ts +1 -0
  49. package/dist-types/runtimeConfig.native.d.ts +1 -0
  50. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/schemas/schemas_0.d.ts +250 -0
  52. package/dist-types/ts3.4/XRayClient.d.ts +4 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +0 -3
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +256 -0
  59. package/package.json +33 -33
  60. package/dist-es/protocols/Aws_restJson1.js +0 -1823
  61. package/dist-types/protocols/Aws_restJson1.d.ts +0 -344
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -461
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.xray" }),
28
30
  serviceId: config?.serviceId ?? "XRay",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class XRayClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetTracesCommand, se_BatchGetTracesCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchGetTraces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetTracesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "BatchGetTraces", {})
17
13
  .n("XRayClient", "BatchGetTracesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetTracesCommand)
20
- .de(de_BatchGetTracesCommand)
14
+ .sc(BatchGetTraces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelTraceRetrievalCommand, se_CancelTraceRetrievalCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelTraceRetrieval } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelTraceRetrievalCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "CancelTraceRetrieval", {})
17
13
  .n("XRayClient", "CancelTraceRetrievalCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelTraceRetrievalCommand)
20
- .de(de_CancelTraceRetrievalCommand)
14
+ .sc(CancelTraceRetrieval)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateGroupCommand, se_CreateGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "CreateGroup", {})
17
13
  .n("XRayClient", "CreateGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGroupCommand)
20
- .de(de_CreateGroupCommand)
14
+ .sc(CreateGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSamplingRuleCommand, se_CreateSamplingRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSamplingRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSamplingRuleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "CreateSamplingRule", {})
17
13
  .n("XRayClient", "CreateSamplingRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSamplingRuleCommand)
20
- .de(de_CreateSamplingRuleCommand)
14
+ .sc(CreateSamplingRule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteGroupCommand, se_DeleteGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "DeleteGroup", {})
17
13
  .n("XRayClient", "DeleteGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGroupCommand)
20
- .de(de_DeleteGroupCommand)
14
+ .sc(DeleteGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "DeleteResourcePolicy", {})
17
13
  .n("XRayClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSamplingRuleCommand, se_DeleteSamplingRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSamplingRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSamplingRuleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "DeleteSamplingRule", {})
17
13
  .n("XRayClient", "DeleteSamplingRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSamplingRuleCommand)
20
- .de(de_DeleteSamplingRuleCommand)
14
+ .sc(DeleteSamplingRule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetEncryptionConfigCommand, se_GetEncryptionConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEncryptionConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEncryptionConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetEncryptionConfig", {})
17
13
  .n("XRayClient", "GetEncryptionConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEncryptionConfigCommand)
20
- .de(de_GetEncryptionConfigCommand)
14
+ .sc(GetEncryptionConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGroupCommand, se_GetGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetGroup", {})
17
13
  .n("XRayClient", "GetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGroupCommand)
20
- .de(de_GetGroupCommand)
14
+ .sc(GetGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGroupsCommand, se_GetGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetGroups", {})
17
13
  .n("XRayClient", "GetGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGroupsCommand)
20
- .de(de_GetGroupsCommand)
14
+ .sc(GetGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetIndexingRulesCommand, se_GetIndexingRulesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetIndexingRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetIndexingRulesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetIndexingRules", {})
17
13
  .n("XRayClient", "GetIndexingRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetIndexingRulesCommand)
20
- .de(de_GetIndexingRulesCommand)
14
+ .sc(GetIndexingRules)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightCommand, se_GetInsightCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsight } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetInsight", {})
17
13
  .n("XRayClient", "GetInsightCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightCommand)
20
- .de(de_GetInsightCommand)
14
+ .sc(GetInsight)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightEventsCommand, se_GetInsightEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsightEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightEventsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetInsightEvents", {})
17
13
  .n("XRayClient", "GetInsightEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightEventsCommand)
20
- .de(de_GetInsightEventsCommand)
14
+ .sc(GetInsightEvents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightImpactGraphCommand, se_GetInsightImpactGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsightImpactGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightImpactGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetInsightImpactGraph", {})
17
13
  .n("XRayClient", "GetInsightImpactGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightImpactGraphCommand)
20
- .de(de_GetInsightImpactGraphCommand)
14
+ .sc(GetInsightImpactGraph)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightSummariesCommand, se_GetInsightSummariesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsightSummaries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightSummariesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetInsightSummaries", {})
17
13
  .n("XRayClient", "GetInsightSummariesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightSummariesCommand)
20
- .de(de_GetInsightSummariesCommand)
14
+ .sc(GetInsightSummaries)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetRetrievedTracesGraphCommand, se_GetRetrievedTracesGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { GetRetrievedTracesGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRetrievedTracesGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetRetrievedTracesGraph", {})
17
13
  .n("XRayClient", "GetRetrievedTracesGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRetrievedTracesGraphCommand)
20
- .de(de_GetRetrievedTracesGraphCommand)
14
+ .sc(GetRetrievedTracesGraph)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSamplingRulesCommand, se_GetSamplingRulesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSamplingRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSamplingRulesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetSamplingRules", {})
17
13
  .n("XRayClient", "GetSamplingRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSamplingRulesCommand)
20
- .de(de_GetSamplingRulesCommand)
14
+ .sc(GetSamplingRules)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSamplingStatisticSummariesCommand, se_GetSamplingStatisticSummariesCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetSamplingStatisticSummaries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSamplingStatisticSummariesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetSamplingStatisticSummaries", {})
17
13
  .n("XRayClient", "GetSamplingStatisticSummariesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSamplingStatisticSummariesCommand)
20
- .de(de_GetSamplingStatisticSummariesCommand)
14
+ .sc(GetSamplingStatisticSummaries)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSamplingTargetsCommand, se_GetSamplingTargetsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSamplingTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSamplingTargetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetSamplingTargets", {})
17
13
  .n("XRayClient", "GetSamplingTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSamplingTargetsCommand)
20
- .de(de_GetSamplingTargetsCommand)
14
+ .sc(GetSamplingTargets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetServiceGraphCommand, se_GetServiceGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { GetServiceGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetServiceGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetServiceGraph", {})
17
13
  .n("XRayClient", "GetServiceGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetServiceGraphCommand)
20
- .de(de_GetServiceGraphCommand)
14
+ .sc(GetServiceGraph)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTimeSeriesServiceStatisticsCommand, se_GetTimeSeriesServiceStatisticsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetTimeSeriesServiceStatistics } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTimeSeriesServiceStatisticsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetTimeSeriesServiceStatistics", {})
17
13
  .n("XRayClient", "GetTimeSeriesServiceStatisticsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTimeSeriesServiceStatisticsCommand)
20
- .de(de_GetTimeSeriesServiceStatisticsCommand)
14
+ .sc(GetTimeSeriesServiceStatistics)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTraceGraphCommand, se_GetTraceGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTraceGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTraceGraphCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSXRay", "GetTraceGraph", {})
17
13
  .n("XRayClient", "GetTraceGraphCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTraceGraphCommand)
20
- .de(de_GetTraceGraphCommand)
14
+ .sc(GetTraceGraph)
21
15
  .build() {
22
16
  }