@aws-sdk/client-xray 3.185.0 → 3.188.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 (49) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/XRay.js +110 -117
  3. package/dist-es/XRayClient.js +22 -28
  4. package/dist-es/commands/BatchGetTracesCommand.js +21 -28
  5. package/dist-es/commands/CreateGroupCommand.js +21 -28
  6. package/dist-es/commands/CreateSamplingRuleCommand.js +21 -28
  7. package/dist-es/commands/DeleteGroupCommand.js +21 -28
  8. package/dist-es/commands/DeleteSamplingRuleCommand.js +21 -28
  9. package/dist-es/commands/GetEncryptionConfigCommand.js +21 -28
  10. package/dist-es/commands/GetGroupCommand.js +21 -28
  11. package/dist-es/commands/GetGroupsCommand.js +21 -28
  12. package/dist-es/commands/GetInsightCommand.js +21 -28
  13. package/dist-es/commands/GetInsightEventsCommand.js +21 -28
  14. package/dist-es/commands/GetInsightImpactGraphCommand.js +21 -28
  15. package/dist-es/commands/GetInsightSummariesCommand.js +21 -28
  16. package/dist-es/commands/GetSamplingRulesCommand.js +21 -28
  17. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +21 -28
  18. package/dist-es/commands/GetSamplingTargetsCommand.js +21 -28
  19. package/dist-es/commands/GetServiceGraphCommand.js +21 -28
  20. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +21 -28
  21. package/dist-es/commands/GetTraceGraphCommand.js +21 -28
  22. package/dist-es/commands/GetTraceSummariesCommand.js +21 -28
  23. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  24. package/dist-es/commands/PutEncryptionConfigCommand.js +21 -28
  25. package/dist-es/commands/PutTelemetryRecordsCommand.js +21 -28
  26. package/dist-es/commands/PutTraceSegmentsCommand.js +21 -28
  27. package/dist-es/commands/TagResourceCommand.js +21 -28
  28. package/dist-es/commands/UntagResourceCommand.js +21 -28
  29. package/dist-es/commands/UpdateGroupCommand.js +21 -28
  30. package/dist-es/commands/UpdateSamplingRuleCommand.js +21 -28
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/XRayServiceException.js +5 -10
  33. package/dist-es/models/models_0.js +393 -180
  34. package/dist-es/pagination/BatchGetTracesPaginator.js +24 -67
  35. package/dist-es/pagination/GetGroupsPaginator.js +24 -67
  36. package/dist-es/pagination/GetInsightEventsPaginator.js +25 -68
  37. package/dist-es/pagination/GetInsightSummariesPaginator.js +25 -68
  38. package/dist-es/pagination/GetSamplingRulesPaginator.js +24 -67
  39. package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +24 -67
  40. package/dist-es/pagination/GetServiceGraphPaginator.js +24 -67
  41. package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +24 -67
  42. package/dist-es/pagination/GetTraceGraphPaginator.js +24 -67
  43. package/dist-es/pagination/GetTraceSummariesPaginator.js +24 -67
  44. package/dist-es/protocols/Aws_restJson1.js +2041 -2708
  45. package/dist-es/runtimeConfig.browser.js +26 -12
  46. package/dist-es/runtimeConfig.js +30 -12
  47. package/dist-es/runtimeConfig.native.js +8 -5
  48. package/dist-es/runtimeConfig.shared.js +8 -11
  49. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetInsightSummariesRequestFilterSensitiveLog, GetInsightSummariesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetInsightSummariesCommand, serializeAws_restJson1GetInsightSummariesCommand, } from "../protocols/Aws_restJson1";
6
- var GetInsightSummariesCommand = (function (_super) {
7
- __extends(GetInsightSummariesCommand, _super);
8
- function GetInsightSummariesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetInsightSummariesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetInsightSummariesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetInsightSummariesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetInsightSummariesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetInsightSummariesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetInsightSummariesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetInsightSummariesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetInsightSummariesCommand(input, context);
33
- };
34
- GetInsightSummariesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetInsightSummariesCommand(output, context);
36
- };
37
- return GetInsightSummariesCommand;
38
- }($Command));
39
- export { GetInsightSummariesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSamplingRulesRequestFilterSensitiveLog, GetSamplingRulesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSamplingRulesCommand, serializeAws_restJson1GetSamplingRulesCommand, } from "../protocols/Aws_restJson1";
6
- var GetSamplingRulesCommand = (function (_super) {
7
- __extends(GetSamplingRulesCommand, _super);
8
- function GetSamplingRulesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSamplingRulesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSamplingRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetSamplingRulesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetSamplingRulesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSamplingRulesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSamplingRulesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSamplingRulesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetSamplingRulesCommand(input, context);
33
- };
34
- GetSamplingRulesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSamplingRulesCommand(output, context);
36
- };
37
- return GetSamplingRulesCommand;
38
- }($Command));
39
- export { GetSamplingRulesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSamplingStatisticSummariesRequestFilterSensitiveLog, GetSamplingStatisticSummariesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSamplingStatisticSummariesCommand, serializeAws_restJson1GetSamplingStatisticSummariesCommand, } from "../protocols/Aws_restJson1";
6
- var GetSamplingStatisticSummariesCommand = (function (_super) {
7
- __extends(GetSamplingStatisticSummariesCommand, _super);
8
- function GetSamplingStatisticSummariesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSamplingStatisticSummariesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSamplingStatisticSummariesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetSamplingStatisticSummariesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetSamplingStatisticSummariesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSamplingStatisticSummariesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSamplingStatisticSummariesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSamplingStatisticSummariesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetSamplingStatisticSummariesCommand(input, context);
33
- };
34
- GetSamplingStatisticSummariesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSamplingStatisticSummariesCommand(output, context);
36
- };
37
- return GetSamplingStatisticSummariesCommand;
38
- }($Command));
39
- export { GetSamplingStatisticSummariesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSamplingTargetsRequestFilterSensitiveLog, GetSamplingTargetsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSamplingTargetsCommand, serializeAws_restJson1GetSamplingTargetsCommand, } from "../protocols/Aws_restJson1";
6
- var GetSamplingTargetsCommand = (function (_super) {
7
- __extends(GetSamplingTargetsCommand, _super);
8
- function GetSamplingTargetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSamplingTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSamplingTargetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetSamplingTargetsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetSamplingTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSamplingTargetsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSamplingTargetsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSamplingTargetsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetSamplingTargetsCommand(input, context);
33
- };
34
- GetSamplingTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSamplingTargetsCommand(output, context);
36
- };
37
- return GetSamplingTargetsCommand;
38
- }($Command));
39
- export { GetSamplingTargetsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetServiceGraphRequestFilterSensitiveLog, GetServiceGraphResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetServiceGraphCommand, serializeAws_restJson1GetServiceGraphCommand, } from "../protocols/Aws_restJson1";
6
- var GetServiceGraphCommand = (function (_super) {
7
- __extends(GetServiceGraphCommand, _super);
8
- function GetServiceGraphCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetServiceGraphCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetServiceGraphCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetServiceGraphCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetServiceGraphCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetServiceGraphRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetServiceGraphResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetServiceGraphCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetServiceGraphCommand(input, context);
33
- };
34
- GetServiceGraphCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetServiceGraphCommand(output, context);
36
- };
37
- return GetServiceGraphCommand;
38
- }($Command));
39
- export { GetServiceGraphCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetTimeSeriesServiceStatisticsRequestFilterSensitiveLog, GetTimeSeriesServiceStatisticsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand, serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand, } from "../protocols/Aws_restJson1";
6
- var GetTimeSeriesServiceStatisticsCommand = (function (_super) {
7
- __extends(GetTimeSeriesServiceStatisticsCommand, _super);
8
- function GetTimeSeriesServiceStatisticsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTimeSeriesServiceStatisticsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTimeSeriesServiceStatisticsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetTimeSeriesServiceStatisticsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetTimeSeriesServiceStatisticsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTimeSeriesServiceStatisticsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTimeSeriesServiceStatisticsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTimeSeriesServiceStatisticsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand(input, context);
33
- };
34
- GetTimeSeriesServiceStatisticsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand(output, context);
36
- };
37
- return GetTimeSeriesServiceStatisticsCommand;
38
- }($Command));
39
- export { GetTimeSeriesServiceStatisticsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetTraceGraphRequestFilterSensitiveLog, GetTraceGraphResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTraceGraphCommand, serializeAws_restJson1GetTraceGraphCommand, } from "../protocols/Aws_restJson1";
6
- var GetTraceGraphCommand = (function (_super) {
7
- __extends(GetTraceGraphCommand, _super);
8
- function GetTraceGraphCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTraceGraphCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTraceGraphCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetTraceGraphCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetTraceGraphCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTraceGraphRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTraceGraphResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTraceGraphCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetTraceGraphCommand(input, context);
33
- };
34
- GetTraceGraphCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTraceGraphCommand(output, context);
36
- };
37
- return GetTraceGraphCommand;
38
- }($Command));
39
- export { GetTraceGraphCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetTraceSummariesRequestFilterSensitiveLog, GetTraceSummariesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTraceSummariesCommand, serializeAws_restJson1GetTraceSummariesCommand, } from "../protocols/Aws_restJson1";
6
- var GetTraceSummariesCommand = (function (_super) {
7
- __extends(GetTraceSummariesCommand, _super);
8
- function GetTraceSummariesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTraceSummariesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTraceSummariesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "GetTraceSummariesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "GetTraceSummariesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTraceSummariesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTraceSummariesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTraceSummariesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetTraceSummariesCommand(input, context);
33
- };
34
- GetTraceSummariesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTraceSummariesCommand(output, context);
36
- };
37
- return GetTraceSummariesCommand;
38
- }($Command));
39
- export { GetTraceSummariesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutEncryptionConfigRequestFilterSensitiveLog, PutEncryptionConfigResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutEncryptionConfigCommand, serializeAws_restJson1PutEncryptionConfigCommand, } from "../protocols/Aws_restJson1";
6
- var PutEncryptionConfigCommand = (function (_super) {
7
- __extends(PutEncryptionConfigCommand, _super);
8
- function PutEncryptionConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutEncryptionConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutEncryptionConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "XRayClient";
18
- var commandName = "PutEncryptionConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "XRayClient";
15
+ const commandName = "PutEncryptionConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutEncryptionConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutEncryptionConfigResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutEncryptionConfigCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PutEncryptionConfigCommand(input, context);
33
- };
34
- PutEncryptionConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutEncryptionConfigCommand(output, context);
36
- };
37
- return PutEncryptionConfigCommand;
38
- }($Command));
39
- export { PutEncryptionConfigCommand };
31
+ }
32
+ }