@aws-sdk/client-xray 3.1076.0 → 3.1078.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 (134) hide show
  1. package/dist-cjs/index.js +49 -385
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetTracesCommand.js +2 -14
  4. package/dist-es/commands/CancelTraceRetrievalCommand.js +2 -14
  5. package/dist-es/commands/CreateGroupCommand.js +2 -14
  6. package/dist-es/commands/CreateSamplingRuleCommand.js +2 -14
  7. package/dist-es/commands/DeleteGroupCommand.js +2 -14
  8. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  9. package/dist-es/commands/DeleteSamplingRuleCommand.js +2 -14
  10. package/dist-es/commands/GetEncryptionConfigCommand.js +2 -14
  11. package/dist-es/commands/GetGroupCommand.js +2 -14
  12. package/dist-es/commands/GetGroupsCommand.js +2 -14
  13. package/dist-es/commands/GetIndexingRulesCommand.js +2 -14
  14. package/dist-es/commands/GetInsightCommand.js +2 -14
  15. package/dist-es/commands/GetInsightEventsCommand.js +2 -14
  16. package/dist-es/commands/GetInsightImpactGraphCommand.js +2 -14
  17. package/dist-es/commands/GetInsightSummariesCommand.js +2 -14
  18. package/dist-es/commands/GetRetrievedTracesGraphCommand.js +2 -14
  19. package/dist-es/commands/GetSamplingRulesCommand.js +2 -14
  20. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +2 -14
  21. package/dist-es/commands/GetSamplingTargetsCommand.js +2 -14
  22. package/dist-es/commands/GetServiceGraphCommand.js +2 -14
  23. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +2 -14
  24. package/dist-es/commands/GetTraceGraphCommand.js +2 -14
  25. package/dist-es/commands/GetTraceSegmentDestinationCommand.js +2 -14
  26. package/dist-es/commands/GetTraceSummariesCommand.js +2 -14
  27. package/dist-es/commands/ListResourcePoliciesCommand.js +2 -14
  28. package/dist-es/commands/ListRetrievedTracesCommand.js +2 -14
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  30. package/dist-es/commands/PutEncryptionConfigCommand.js +2 -14
  31. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  32. package/dist-es/commands/PutTelemetryRecordsCommand.js +2 -14
  33. package/dist-es/commands/PutTraceSegmentsCommand.js +2 -14
  34. package/dist-es/commands/StartTraceRetrievalCommand.js +2 -14
  35. package/dist-es/commands/TagResourceCommand.js +2 -14
  36. package/dist-es/commands/UntagResourceCommand.js +2 -14
  37. package/dist-es/commands/UpdateGroupCommand.js +2 -14
  38. package/dist-es/commands/UpdateIndexingRuleCommand.js +2 -14
  39. package/dist-es/commands/UpdateSamplingRuleCommand.js +2 -14
  40. package/dist-es/commands/UpdateTraceSegmentDestinationCommand.js +2 -14
  41. package/dist-es/index.js +1 -0
  42. package/dist-es/runtimeConfig.browser.js +0 -2
  43. package/dist-es/runtimeConfig.js +1 -2
  44. package/dist-es/runtimeConfig.native.js +0 -2
  45. package/dist-es/runtimeConfig.shared.js +2 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/BatchGetTracesCommand.d.ts +3 -8
  48. package/dist-types/commands/CancelTraceRetrievalCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/CreateSamplingRuleCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteSamplingRuleCommand.d.ts +3 -8
  54. package/dist-types/commands/GetEncryptionConfigCommand.d.ts +3 -8
  55. package/dist-types/commands/GetGroupCommand.d.ts +3 -8
  56. package/dist-types/commands/GetGroupsCommand.d.ts +3 -8
  57. package/dist-types/commands/GetIndexingRulesCommand.d.ts +3 -8
  58. package/dist-types/commands/GetInsightCommand.d.ts +3 -8
  59. package/dist-types/commands/GetInsightEventsCommand.d.ts +3 -8
  60. package/dist-types/commands/GetInsightImpactGraphCommand.d.ts +3 -8
  61. package/dist-types/commands/GetInsightSummariesCommand.d.ts +3 -8
  62. package/dist-types/commands/GetRetrievedTracesGraphCommand.d.ts +3 -8
  63. package/dist-types/commands/GetSamplingRulesCommand.d.ts +3 -8
  64. package/dist-types/commands/GetSamplingStatisticSummariesCommand.d.ts +3 -8
  65. package/dist-types/commands/GetSamplingTargetsCommand.d.ts +3 -8
  66. package/dist-types/commands/GetServiceGraphCommand.d.ts +3 -8
  67. package/dist-types/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +3 -8
  68. package/dist-types/commands/GetTraceGraphCommand.d.ts +3 -8
  69. package/dist-types/commands/GetTraceSegmentDestinationCommand.d.ts +3 -8
  70. package/dist-types/commands/GetTraceSummariesCommand.d.ts +3 -8
  71. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +3 -8
  72. package/dist-types/commands/ListRetrievedTracesCommand.d.ts +3 -8
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/PutEncryptionConfigCommand.d.ts +3 -8
  75. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  76. package/dist-types/commands/PutTelemetryRecordsCommand.d.ts +3 -8
  77. package/dist-types/commands/PutTraceSegmentsCommand.d.ts +3 -8
  78. package/dist-types/commands/StartTraceRetrievalCommand.d.ts +3 -8
  79. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  80. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateGroupCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateIndexingRuleCommand.d.ts +3 -8
  83. package/dist-types/commands/UpdateSamplingRuleCommand.d.ts +3 -8
  84. package/dist-types/commands/UpdateTraceSegmentDestinationCommand.d.ts +3 -8
  85. package/dist-types/index.d.ts +1 -0
  86. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  87. package/dist-types/runtimeConfig.d.ts +1 -1
  88. package/dist-types/runtimeConfig.native.d.ts +1 -1
  89. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/BatchGetTracesCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CancelTraceRetrievalCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreateSamplingRuleCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteSamplingRuleCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetEncryptionConfigCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetGroupsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetIndexingRulesCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetInsightCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetInsightEventsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetInsightImpactGraphCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetInsightSummariesCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetRetrievedTracesGraphCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetSamplingRulesCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetSamplingStatisticSummariesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetSamplingTargetsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetServiceGraphCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/GetTraceGraphCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/GetTraceSegmentDestinationCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/GetTraceSummariesCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListRetrievedTracesCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/PutEncryptionConfigCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/PutTelemetryRecordsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/PutTraceSegmentsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/StartTraceRetrievalCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/UpdateIndexingRuleCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/UpdateSamplingRuleCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/UpdateTraceSegmentDestinationCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/index.d.ts +1 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  134. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultXRayHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1759,6 +1761,7 @@ const getRuntimeConfig$1 = (config) => {
1759
1761
  serviceTarget: "AWSXRay",
1760
1762
  },
1761
1763
  serviceId: config?.serviceId ?? "XRay",
1764
+ sha256: config?.sha256 ?? Sha256,
1762
1765
  urlParser: config?.urlParser ?? parseUrl,
1763
1766
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1764
1767
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1792,7 +1795,6 @@ const getRuntimeConfig = (config) => {
1792
1795
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1793
1796
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1794
1797
  }, config),
1795
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1796
1798
  streamCollector: config?.streamCollector ?? streamCollector,
1797
1799
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1798
1800
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1880,460 +1882,122 @@ class XRayClient extends Client {
1880
1882
  }
1881
1883
  }
1882
1884
 
1883
- class BatchGetTracesCommand extends Command
1884
- .classBuilder()
1885
- .ep(commonParams)
1886
- .m(function (Command, cs, config, o) {
1887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1888
- })
1889
- .s("AWSXRay", "BatchGetTraces", {})
1890
- .n("XRayClient", "BatchGetTracesCommand")
1891
- .sc(BatchGetTraces$)
1892
- .build() {
1885
+ const command = makeBuilder(commonParams, "AWSXRay", "XRayClient", getEndpointPlugin);
1886
+ const _ep0 = {};
1887
+ const _mw0 = (Command, cs, config, o) => [];
1888
+
1889
+ class BatchGetTracesCommand extends command(_ep0, _mw0, "BatchGetTraces", BatchGetTraces$) {
1893
1890
  }
1894
1891
 
1895
- class CancelTraceRetrievalCommand extends Command
1896
- .classBuilder()
1897
- .ep(commonParams)
1898
- .m(function (Command, cs, config, o) {
1899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1900
- })
1901
- .s("AWSXRay", "CancelTraceRetrieval", {})
1902
- .n("XRayClient", "CancelTraceRetrievalCommand")
1903
- .sc(CancelTraceRetrieval$)
1904
- .build() {
1892
+ class CancelTraceRetrievalCommand extends command(_ep0, _mw0, "CancelTraceRetrieval", CancelTraceRetrieval$) {
1905
1893
  }
1906
1894
 
1907
- class CreateGroupCommand extends Command
1908
- .classBuilder()
1909
- .ep(commonParams)
1910
- .m(function (Command, cs, config, o) {
1911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1912
- })
1913
- .s("AWSXRay", "CreateGroup", {})
1914
- .n("XRayClient", "CreateGroupCommand")
1915
- .sc(CreateGroup$)
1916
- .build() {
1895
+ class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
1917
1896
  }
1918
1897
 
1919
- class CreateSamplingRuleCommand extends Command
1920
- .classBuilder()
1921
- .ep(commonParams)
1922
- .m(function (Command, cs, config, o) {
1923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1924
- })
1925
- .s("AWSXRay", "CreateSamplingRule", {})
1926
- .n("XRayClient", "CreateSamplingRuleCommand")
1927
- .sc(CreateSamplingRule$)
1928
- .build() {
1898
+ class CreateSamplingRuleCommand extends command(_ep0, _mw0, "CreateSamplingRule", CreateSamplingRule$) {
1929
1899
  }
1930
1900
 
1931
- class DeleteGroupCommand extends Command
1932
- .classBuilder()
1933
- .ep(commonParams)
1934
- .m(function (Command, cs, config, o) {
1935
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1936
- })
1937
- .s("AWSXRay", "DeleteGroup", {})
1938
- .n("XRayClient", "DeleteGroupCommand")
1939
- .sc(DeleteGroup$)
1940
- .build() {
1901
+ class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
1941
1902
  }
1942
1903
 
1943
- class DeleteResourcePolicyCommand extends Command
1944
- .classBuilder()
1945
- .ep(commonParams)
1946
- .m(function (Command, cs, config, o) {
1947
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1948
- })
1949
- .s("AWSXRay", "DeleteResourcePolicy", {})
1950
- .n("XRayClient", "DeleteResourcePolicyCommand")
1951
- .sc(DeleteResourcePolicy$)
1952
- .build() {
1904
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1953
1905
  }
1954
1906
 
1955
- class DeleteSamplingRuleCommand extends Command
1956
- .classBuilder()
1957
- .ep(commonParams)
1958
- .m(function (Command, cs, config, o) {
1959
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1960
- })
1961
- .s("AWSXRay", "DeleteSamplingRule", {})
1962
- .n("XRayClient", "DeleteSamplingRuleCommand")
1963
- .sc(DeleteSamplingRule$)
1964
- .build() {
1907
+ class DeleteSamplingRuleCommand extends command(_ep0, _mw0, "DeleteSamplingRule", DeleteSamplingRule$) {
1965
1908
  }
1966
1909
 
1967
- class GetEncryptionConfigCommand extends Command
1968
- .classBuilder()
1969
- .ep(commonParams)
1970
- .m(function (Command, cs, config, o) {
1971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1972
- })
1973
- .s("AWSXRay", "GetEncryptionConfig", {})
1974
- .n("XRayClient", "GetEncryptionConfigCommand")
1975
- .sc(GetEncryptionConfig$)
1976
- .build() {
1910
+ class GetEncryptionConfigCommand extends command(_ep0, _mw0, "GetEncryptionConfig", GetEncryptionConfig$) {
1977
1911
  }
1978
1912
 
1979
- class GetGroupCommand extends Command
1980
- .classBuilder()
1981
- .ep(commonParams)
1982
- .m(function (Command, cs, config, o) {
1983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
- })
1985
- .s("AWSXRay", "GetGroup", {})
1986
- .n("XRayClient", "GetGroupCommand")
1987
- .sc(GetGroup$)
1988
- .build() {
1913
+ class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {
1989
1914
  }
1990
1915
 
1991
- class GetGroupsCommand extends Command
1992
- .classBuilder()
1993
- .ep(commonParams)
1994
- .m(function (Command, cs, config, o) {
1995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1996
- })
1997
- .s("AWSXRay", "GetGroups", {})
1998
- .n("XRayClient", "GetGroupsCommand")
1999
- .sc(GetGroups$)
2000
- .build() {
1916
+ class GetGroupsCommand extends command(_ep0, _mw0, "GetGroups", GetGroups$) {
2001
1917
  }
2002
1918
 
2003
- class GetIndexingRulesCommand extends Command
2004
- .classBuilder()
2005
- .ep(commonParams)
2006
- .m(function (Command, cs, config, o) {
2007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2008
- })
2009
- .s("AWSXRay", "GetIndexingRules", {})
2010
- .n("XRayClient", "GetIndexingRulesCommand")
2011
- .sc(GetIndexingRules$)
2012
- .build() {
1919
+ class GetIndexingRulesCommand extends command(_ep0, _mw0, "GetIndexingRules", GetIndexingRules$) {
2013
1920
  }
2014
1921
 
2015
- class GetInsightCommand extends Command
2016
- .classBuilder()
2017
- .ep(commonParams)
2018
- .m(function (Command, cs, config, o) {
2019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2020
- })
2021
- .s("AWSXRay", "GetInsight", {})
2022
- .n("XRayClient", "GetInsightCommand")
2023
- .sc(GetInsight$)
2024
- .build() {
1922
+ class GetInsightCommand extends command(_ep0, _mw0, "GetInsight", GetInsight$) {
2025
1923
  }
2026
1924
 
2027
- class GetInsightEventsCommand extends Command
2028
- .classBuilder()
2029
- .ep(commonParams)
2030
- .m(function (Command, cs, config, o) {
2031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
- })
2033
- .s("AWSXRay", "GetInsightEvents", {})
2034
- .n("XRayClient", "GetInsightEventsCommand")
2035
- .sc(GetInsightEvents$)
2036
- .build() {
1925
+ class GetInsightEventsCommand extends command(_ep0, _mw0, "GetInsightEvents", GetInsightEvents$) {
2037
1926
  }
2038
1927
 
2039
- class GetInsightImpactGraphCommand extends Command
2040
- .classBuilder()
2041
- .ep(commonParams)
2042
- .m(function (Command, cs, config, o) {
2043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2044
- })
2045
- .s("AWSXRay", "GetInsightImpactGraph", {})
2046
- .n("XRayClient", "GetInsightImpactGraphCommand")
2047
- .sc(GetInsightImpactGraph$)
2048
- .build() {
1928
+ class GetInsightImpactGraphCommand extends command(_ep0, _mw0, "GetInsightImpactGraph", GetInsightImpactGraph$) {
2049
1929
  }
2050
1930
 
2051
- class GetInsightSummariesCommand extends Command
2052
- .classBuilder()
2053
- .ep(commonParams)
2054
- .m(function (Command, cs, config, o) {
2055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2056
- })
2057
- .s("AWSXRay", "GetInsightSummaries", {})
2058
- .n("XRayClient", "GetInsightSummariesCommand")
2059
- .sc(GetInsightSummaries$)
2060
- .build() {
1931
+ class GetInsightSummariesCommand extends command(_ep0, _mw0, "GetInsightSummaries", GetInsightSummaries$) {
2061
1932
  }
2062
1933
 
2063
- class GetRetrievedTracesGraphCommand extends Command
2064
- .classBuilder()
2065
- .ep(commonParams)
2066
- .m(function (Command, cs, config, o) {
2067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2068
- })
2069
- .s("AWSXRay", "GetRetrievedTracesGraph", {})
2070
- .n("XRayClient", "GetRetrievedTracesGraphCommand")
2071
- .sc(GetRetrievedTracesGraph$)
2072
- .build() {
1934
+ class GetRetrievedTracesGraphCommand extends command(_ep0, _mw0, "GetRetrievedTracesGraph", GetRetrievedTracesGraph$) {
2073
1935
  }
2074
1936
 
2075
- class GetSamplingRulesCommand extends Command
2076
- .classBuilder()
2077
- .ep(commonParams)
2078
- .m(function (Command, cs, config, o) {
2079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2080
- })
2081
- .s("AWSXRay", "GetSamplingRules", {})
2082
- .n("XRayClient", "GetSamplingRulesCommand")
2083
- .sc(GetSamplingRules$)
2084
- .build() {
1937
+ class GetSamplingRulesCommand extends command(_ep0, _mw0, "GetSamplingRules", GetSamplingRules$) {
2085
1938
  }
2086
1939
 
2087
- class GetSamplingStatisticSummariesCommand extends Command
2088
- .classBuilder()
2089
- .ep(commonParams)
2090
- .m(function (Command, cs, config, o) {
2091
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2092
- })
2093
- .s("AWSXRay", "GetSamplingStatisticSummaries", {})
2094
- .n("XRayClient", "GetSamplingStatisticSummariesCommand")
2095
- .sc(GetSamplingStatisticSummaries$)
2096
- .build() {
1940
+ class GetSamplingStatisticSummariesCommand extends command(_ep0, _mw0, "GetSamplingStatisticSummaries", GetSamplingStatisticSummaries$) {
2097
1941
  }
2098
1942
 
2099
- class GetSamplingTargetsCommand extends Command
2100
- .classBuilder()
2101
- .ep(commonParams)
2102
- .m(function (Command, cs, config, o) {
2103
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2104
- })
2105
- .s("AWSXRay", "GetSamplingTargets", {})
2106
- .n("XRayClient", "GetSamplingTargetsCommand")
2107
- .sc(GetSamplingTargets$)
2108
- .build() {
1943
+ class GetSamplingTargetsCommand extends command(_ep0, _mw0, "GetSamplingTargets", GetSamplingTargets$) {
2109
1944
  }
2110
1945
 
2111
- class GetServiceGraphCommand extends Command
2112
- .classBuilder()
2113
- .ep(commonParams)
2114
- .m(function (Command, cs, config, o) {
2115
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2116
- })
2117
- .s("AWSXRay", "GetServiceGraph", {})
2118
- .n("XRayClient", "GetServiceGraphCommand")
2119
- .sc(GetServiceGraph$)
2120
- .build() {
1946
+ class GetServiceGraphCommand extends command(_ep0, _mw0, "GetServiceGraph", GetServiceGraph$) {
2121
1947
  }
2122
1948
 
2123
- class GetTimeSeriesServiceStatisticsCommand extends Command
2124
- .classBuilder()
2125
- .ep(commonParams)
2126
- .m(function (Command, cs, config, o) {
2127
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2128
- })
2129
- .s("AWSXRay", "GetTimeSeriesServiceStatistics", {})
2130
- .n("XRayClient", "GetTimeSeriesServiceStatisticsCommand")
2131
- .sc(GetTimeSeriesServiceStatistics$)
2132
- .build() {
1949
+ class GetTimeSeriesServiceStatisticsCommand extends command(_ep0, _mw0, "GetTimeSeriesServiceStatistics", GetTimeSeriesServiceStatistics$) {
2133
1950
  }
2134
1951
 
2135
- class GetTraceGraphCommand extends Command
2136
- .classBuilder()
2137
- .ep(commonParams)
2138
- .m(function (Command, cs, config, o) {
2139
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
- })
2141
- .s("AWSXRay", "GetTraceGraph", {})
2142
- .n("XRayClient", "GetTraceGraphCommand")
2143
- .sc(GetTraceGraph$)
2144
- .build() {
1952
+ class GetTraceGraphCommand extends command(_ep0, _mw0, "GetTraceGraph", GetTraceGraph$) {
2145
1953
  }
2146
1954
 
2147
- class GetTraceSegmentDestinationCommand extends Command
2148
- .classBuilder()
2149
- .ep(commonParams)
2150
- .m(function (Command, cs, config, o) {
2151
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2152
- })
2153
- .s("AWSXRay", "GetTraceSegmentDestination", {})
2154
- .n("XRayClient", "GetTraceSegmentDestinationCommand")
2155
- .sc(GetTraceSegmentDestination$)
2156
- .build() {
1955
+ class GetTraceSegmentDestinationCommand extends command(_ep0, _mw0, "GetTraceSegmentDestination", GetTraceSegmentDestination$) {
2157
1956
  }
2158
1957
 
2159
- class GetTraceSummariesCommand extends Command
2160
- .classBuilder()
2161
- .ep(commonParams)
2162
- .m(function (Command, cs, config, o) {
2163
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2164
- })
2165
- .s("AWSXRay", "GetTraceSummaries", {})
2166
- .n("XRayClient", "GetTraceSummariesCommand")
2167
- .sc(GetTraceSummaries$)
2168
- .build() {
1958
+ class GetTraceSummariesCommand extends command(_ep0, _mw0, "GetTraceSummaries", GetTraceSummaries$) {
2169
1959
  }
2170
1960
 
2171
- class ListResourcePoliciesCommand extends Command
2172
- .classBuilder()
2173
- .ep(commonParams)
2174
- .m(function (Command, cs, config, o) {
2175
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2176
- })
2177
- .s("AWSXRay", "ListResourcePolicies", {})
2178
- .n("XRayClient", "ListResourcePoliciesCommand")
2179
- .sc(ListResourcePolicies$)
2180
- .build() {
1961
+ class ListResourcePoliciesCommand extends command(_ep0, _mw0, "ListResourcePolicies", ListResourcePolicies$) {
2181
1962
  }
2182
1963
 
2183
- class ListRetrievedTracesCommand extends Command
2184
- .classBuilder()
2185
- .ep(commonParams)
2186
- .m(function (Command, cs, config, o) {
2187
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2188
- })
2189
- .s("AWSXRay", "ListRetrievedTraces", {})
2190
- .n("XRayClient", "ListRetrievedTracesCommand")
2191
- .sc(ListRetrievedTraces$)
2192
- .build() {
1964
+ class ListRetrievedTracesCommand extends command(_ep0, _mw0, "ListRetrievedTraces", ListRetrievedTraces$) {
2193
1965
  }
2194
1966
 
2195
- class ListTagsForResourceCommand extends Command
2196
- .classBuilder()
2197
- .ep(commonParams)
2198
- .m(function (Command, cs, config, o) {
2199
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2200
- })
2201
- .s("AWSXRay", "ListTagsForResource", {})
2202
- .n("XRayClient", "ListTagsForResourceCommand")
2203
- .sc(ListTagsForResource$)
2204
- .build() {
1967
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2205
1968
  }
2206
1969
 
2207
- class PutEncryptionConfigCommand extends Command
2208
- .classBuilder()
2209
- .ep(commonParams)
2210
- .m(function (Command, cs, config, o) {
2211
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2212
- })
2213
- .s("AWSXRay", "PutEncryptionConfig", {})
2214
- .n("XRayClient", "PutEncryptionConfigCommand")
2215
- .sc(PutEncryptionConfig$)
2216
- .build() {
1970
+ class PutEncryptionConfigCommand extends command(_ep0, _mw0, "PutEncryptionConfig", PutEncryptionConfig$) {
2217
1971
  }
2218
1972
 
2219
- class PutResourcePolicyCommand extends Command
2220
- .classBuilder()
2221
- .ep(commonParams)
2222
- .m(function (Command, cs, config, o) {
2223
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2224
- })
2225
- .s("AWSXRay", "PutResourcePolicy", {})
2226
- .n("XRayClient", "PutResourcePolicyCommand")
2227
- .sc(PutResourcePolicy$)
2228
- .build() {
1973
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
2229
1974
  }
2230
1975
 
2231
- class PutTelemetryRecordsCommand extends Command
2232
- .classBuilder()
2233
- .ep(commonParams)
2234
- .m(function (Command, cs, config, o) {
2235
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2236
- })
2237
- .s("AWSXRay", "PutTelemetryRecords", {})
2238
- .n("XRayClient", "PutTelemetryRecordsCommand")
2239
- .sc(PutTelemetryRecords$)
2240
- .build() {
1976
+ class PutTelemetryRecordsCommand extends command(_ep0, _mw0, "PutTelemetryRecords", PutTelemetryRecords$) {
2241
1977
  }
2242
1978
 
2243
- class PutTraceSegmentsCommand extends Command
2244
- .classBuilder()
2245
- .ep(commonParams)
2246
- .m(function (Command, cs, config, o) {
2247
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2248
- })
2249
- .s("AWSXRay", "PutTraceSegments", {})
2250
- .n("XRayClient", "PutTraceSegmentsCommand")
2251
- .sc(PutTraceSegments$)
2252
- .build() {
1979
+ class PutTraceSegmentsCommand extends command(_ep0, _mw0, "PutTraceSegments", PutTraceSegments$) {
2253
1980
  }
2254
1981
 
2255
- class StartTraceRetrievalCommand extends Command
2256
- .classBuilder()
2257
- .ep(commonParams)
2258
- .m(function (Command, cs, config, o) {
2259
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2260
- })
2261
- .s("AWSXRay", "StartTraceRetrieval", {})
2262
- .n("XRayClient", "StartTraceRetrievalCommand")
2263
- .sc(StartTraceRetrieval$)
2264
- .build() {
1982
+ class StartTraceRetrievalCommand extends command(_ep0, _mw0, "StartTraceRetrieval", StartTraceRetrieval$) {
2265
1983
  }
2266
1984
 
2267
- class TagResourceCommand extends Command
2268
- .classBuilder()
2269
- .ep(commonParams)
2270
- .m(function (Command, cs, config, o) {
2271
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2272
- })
2273
- .s("AWSXRay", "TagResource", {})
2274
- .n("XRayClient", "TagResourceCommand")
2275
- .sc(TagResource$)
2276
- .build() {
1985
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2277
1986
  }
2278
1987
 
2279
- class UntagResourceCommand extends Command
2280
- .classBuilder()
2281
- .ep(commonParams)
2282
- .m(function (Command, cs, config, o) {
2283
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2284
- })
2285
- .s("AWSXRay", "UntagResource", {})
2286
- .n("XRayClient", "UntagResourceCommand")
2287
- .sc(UntagResource$)
2288
- .build() {
1988
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2289
1989
  }
2290
1990
 
2291
- class UpdateGroupCommand extends Command
2292
- .classBuilder()
2293
- .ep(commonParams)
2294
- .m(function (Command, cs, config, o) {
2295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2296
- })
2297
- .s("AWSXRay", "UpdateGroup", {})
2298
- .n("XRayClient", "UpdateGroupCommand")
2299
- .sc(UpdateGroup$)
2300
- .build() {
1991
+ class UpdateGroupCommand extends command(_ep0, _mw0, "UpdateGroup", UpdateGroup$) {
2301
1992
  }
2302
1993
 
2303
- class UpdateIndexingRuleCommand extends Command
2304
- .classBuilder()
2305
- .ep(commonParams)
2306
- .m(function (Command, cs, config, o) {
2307
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2308
- })
2309
- .s("AWSXRay", "UpdateIndexingRule", {})
2310
- .n("XRayClient", "UpdateIndexingRuleCommand")
2311
- .sc(UpdateIndexingRule$)
2312
- .build() {
1994
+ class UpdateIndexingRuleCommand extends command(_ep0, _mw0, "UpdateIndexingRule", UpdateIndexingRule$) {
2313
1995
  }
2314
1996
 
2315
- class UpdateSamplingRuleCommand extends Command
2316
- .classBuilder()
2317
- .ep(commonParams)
2318
- .m(function (Command, cs, config, o) {
2319
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2320
- })
2321
- .s("AWSXRay", "UpdateSamplingRule", {})
2322
- .n("XRayClient", "UpdateSamplingRuleCommand")
2323
- .sc(UpdateSamplingRule$)
2324
- .build() {
1997
+ class UpdateSamplingRuleCommand extends command(_ep0, _mw0, "UpdateSamplingRule", UpdateSamplingRule$) {
2325
1998
  }
2326
1999
 
2327
- class UpdateTraceSegmentDestinationCommand extends Command
2328
- .classBuilder()
2329
- .ep(commonParams)
2330
- .m(function (Command, cs, config, o) {
2331
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2332
- })
2333
- .s("AWSXRay", "UpdateTraceSegmentDestination", {})
2334
- .n("XRayClient", "UpdateTraceSegmentDestinationCommand")
2335
- .sc(UpdateTraceSegmentDestination$)
2336
- .build() {
2000
+ class UpdateTraceSegmentDestinationCommand extends command(_ep0, _mw0, "UpdateTraceSegmentDestination", UpdateTraceSegmentDestination$) {
2337
2001
  }
2338
2002
 
2339
2003
  const paginateBatchGetTraces = createPaginator(XRayClient, BatchGetTracesCommand, "NextToken", "NextToken", "");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSXRay", "XRayClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetTraces$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetTracesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "BatchGetTraces", {})
13
- .n("XRayClient", "BatchGetTracesCommand")
14
- .sc(BatchGetTraces$)
15
- .build() {
3
+ export class BatchGetTracesCommand extends command(_ep0, _mw0, "BatchGetTraces", BatchGetTraces$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelTraceRetrieval$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelTraceRetrievalCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "CancelTraceRetrieval", {})
13
- .n("XRayClient", "CancelTraceRetrievalCommand")
14
- .sc(CancelTraceRetrieval$)
15
- .build() {
3
+ export class CancelTraceRetrievalCommand extends command(_ep0, _mw0, "CancelTraceRetrieval", CancelTraceRetrieval$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "CreateGroup", {})
13
- .n("XRayClient", "CreateGroupCommand")
14
- .sc(CreateGroup$)
15
- .build() {
3
+ export class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSamplingRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSamplingRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "CreateSamplingRule", {})
13
- .n("XRayClient", "CreateSamplingRuleCommand")
14
- .sc(CreateSamplingRule$)
15
- .build() {
3
+ export class CreateSamplingRuleCommand extends command(_ep0, _mw0, "CreateSamplingRule", CreateSamplingRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "DeleteGroup", {})
13
- .n("XRayClient", "DeleteGroupCommand")
14
- .sc(DeleteGroup$)
15
- .build() {
3
+ export class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSXRay", "DeleteResourcePolicy", {})
13
- .n("XRayClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
16
4
  }