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