@aws-sdk/client-device-farm 3.183.0 → 3.185.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 (108) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DeviceFarm.js +317 -310
  4. package/dist-es/DeviceFarmClient.js +28 -22
  5. package/dist-es/commands/CreateDevicePoolCommand.js +28 -21
  6. package/dist-es/commands/CreateInstanceProfileCommand.js +28 -21
  7. package/dist-es/commands/CreateNetworkProfileCommand.js +28 -21
  8. package/dist-es/commands/CreateProjectCommand.js +28 -21
  9. package/dist-es/commands/CreateRemoteAccessSessionCommand.js +28 -21
  10. package/dist-es/commands/CreateTestGridProjectCommand.js +28 -21
  11. package/dist-es/commands/CreateTestGridUrlCommand.js +28 -21
  12. package/dist-es/commands/CreateUploadCommand.js +28 -21
  13. package/dist-es/commands/CreateVPCEConfigurationCommand.js +28 -21
  14. package/dist-es/commands/DeleteDevicePoolCommand.js +28 -21
  15. package/dist-es/commands/DeleteInstanceProfileCommand.js +28 -21
  16. package/dist-es/commands/DeleteNetworkProfileCommand.js +28 -21
  17. package/dist-es/commands/DeleteProjectCommand.js +28 -21
  18. package/dist-es/commands/DeleteRemoteAccessSessionCommand.js +28 -21
  19. package/dist-es/commands/DeleteRunCommand.js +28 -21
  20. package/dist-es/commands/DeleteTestGridProjectCommand.js +28 -21
  21. package/dist-es/commands/DeleteUploadCommand.js +28 -21
  22. package/dist-es/commands/DeleteVPCEConfigurationCommand.js +28 -21
  23. package/dist-es/commands/GetAccountSettingsCommand.js +28 -21
  24. package/dist-es/commands/GetDeviceCommand.js +28 -21
  25. package/dist-es/commands/GetDeviceInstanceCommand.js +28 -21
  26. package/dist-es/commands/GetDevicePoolCommand.js +28 -21
  27. package/dist-es/commands/GetDevicePoolCompatibilityCommand.js +28 -21
  28. package/dist-es/commands/GetInstanceProfileCommand.js +28 -21
  29. package/dist-es/commands/GetJobCommand.js +28 -21
  30. package/dist-es/commands/GetNetworkProfileCommand.js +28 -21
  31. package/dist-es/commands/GetOfferingStatusCommand.js +28 -21
  32. package/dist-es/commands/GetProjectCommand.js +28 -21
  33. package/dist-es/commands/GetRemoteAccessSessionCommand.js +28 -21
  34. package/dist-es/commands/GetRunCommand.js +28 -21
  35. package/dist-es/commands/GetSuiteCommand.js +28 -21
  36. package/dist-es/commands/GetTestCommand.js +28 -21
  37. package/dist-es/commands/GetTestGridProjectCommand.js +28 -21
  38. package/dist-es/commands/GetTestGridSessionCommand.js +28 -21
  39. package/dist-es/commands/GetUploadCommand.js +28 -21
  40. package/dist-es/commands/GetVPCEConfigurationCommand.js +28 -21
  41. package/dist-es/commands/InstallToRemoteAccessSessionCommand.js +28 -21
  42. package/dist-es/commands/ListArtifactsCommand.js +28 -21
  43. package/dist-es/commands/ListDeviceInstancesCommand.js +28 -21
  44. package/dist-es/commands/ListDevicePoolsCommand.js +28 -21
  45. package/dist-es/commands/ListDevicesCommand.js +28 -21
  46. package/dist-es/commands/ListInstanceProfilesCommand.js +28 -21
  47. package/dist-es/commands/ListJobsCommand.js +28 -21
  48. package/dist-es/commands/ListNetworkProfilesCommand.js +28 -21
  49. package/dist-es/commands/ListOfferingPromotionsCommand.js +28 -21
  50. package/dist-es/commands/ListOfferingTransactionsCommand.js +28 -21
  51. package/dist-es/commands/ListOfferingsCommand.js +28 -21
  52. package/dist-es/commands/ListProjectsCommand.js +28 -21
  53. package/dist-es/commands/ListRemoteAccessSessionsCommand.js +28 -21
  54. package/dist-es/commands/ListRunsCommand.js +28 -21
  55. package/dist-es/commands/ListSamplesCommand.js +28 -21
  56. package/dist-es/commands/ListSuitesCommand.js +28 -21
  57. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  58. package/dist-es/commands/ListTestGridProjectsCommand.js +28 -21
  59. package/dist-es/commands/ListTestGridSessionActionsCommand.js +28 -21
  60. package/dist-es/commands/ListTestGridSessionArtifactsCommand.js +28 -21
  61. package/dist-es/commands/ListTestGridSessionsCommand.js +28 -21
  62. package/dist-es/commands/ListTestsCommand.js +28 -21
  63. package/dist-es/commands/ListUniqueProblemsCommand.js +28 -21
  64. package/dist-es/commands/ListUploadsCommand.js +28 -21
  65. package/dist-es/commands/ListVPCEConfigurationsCommand.js +28 -21
  66. package/dist-es/commands/PurchaseOfferingCommand.js +28 -21
  67. package/dist-es/commands/RenewOfferingCommand.js +28 -21
  68. package/dist-es/commands/ScheduleRunCommand.js +28 -21
  69. package/dist-es/commands/StopJobCommand.js +28 -21
  70. package/dist-es/commands/StopRemoteAccessSessionCommand.js +28 -21
  71. package/dist-es/commands/StopRunCommand.js +28 -21
  72. package/dist-es/commands/TagResourceCommand.js +28 -21
  73. package/dist-es/commands/UntagResourceCommand.js +28 -21
  74. package/dist-es/commands/UpdateDeviceInstanceCommand.js +28 -21
  75. package/dist-es/commands/UpdateDevicePoolCommand.js +28 -21
  76. package/dist-es/commands/UpdateInstanceProfileCommand.js +28 -21
  77. package/dist-es/commands/UpdateNetworkProfileCommand.js +28 -21
  78. package/dist-es/commands/UpdateProjectCommand.js +28 -21
  79. package/dist-es/commands/UpdateTestGridProjectCommand.js +28 -21
  80. package/dist-es/commands/UpdateUploadCommand.js +28 -21
  81. package/dist-es/commands/UpdateVPCEConfigurationCommand.js +28 -21
  82. package/dist-es/endpoints.js +8 -8
  83. package/dist-es/models/DeviceFarmServiceException.js +10 -5
  84. package/dist-es/models/models_0.js +340 -756
  85. package/dist-es/pagination/GetOfferingStatusPaginator.js +67 -24
  86. package/dist-es/pagination/ListArtifactsPaginator.js +67 -24
  87. package/dist-es/pagination/ListDevicePoolsPaginator.js +67 -24
  88. package/dist-es/pagination/ListDevicesPaginator.js +67 -24
  89. package/dist-es/pagination/ListJobsPaginator.js +67 -24
  90. package/dist-es/pagination/ListOfferingTransactionsPaginator.js +67 -24
  91. package/dist-es/pagination/ListOfferingsPaginator.js +67 -24
  92. package/dist-es/pagination/ListProjectsPaginator.js +67 -24
  93. package/dist-es/pagination/ListRunsPaginator.js +67 -24
  94. package/dist-es/pagination/ListSamplesPaginator.js +67 -24
  95. package/dist-es/pagination/ListSuitesPaginator.js +67 -24
  96. package/dist-es/pagination/ListTestGridProjectsPaginator.js +68 -25
  97. package/dist-es/pagination/ListTestGridSessionActionsPaginator.js +68 -25
  98. package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js +68 -25
  99. package/dist-es/pagination/ListTestGridSessionsPaginator.js +68 -25
  100. package/dist-es/pagination/ListTestsPaginator.js +67 -24
  101. package/dist-es/pagination/ListUniqueProblemsPaginator.js +67 -24
  102. package/dist-es/pagination/ListUploadsPaginator.js +67 -24
  103. package/dist-es/protocols/Aws_json1_1.js +6427 -4984
  104. package/dist-es/runtimeConfig.browser.js +12 -26
  105. package/dist-es/runtimeConfig.js +12 -30
  106. package/dist-es/runtimeConfig.native.js +5 -8
  107. package/dist-es/runtimeConfig.shared.js +11 -8
  108. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListUploadsRequestFilterSensitiveLog, ListUploadsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListUploadsCommand, serializeAws_json1_1ListUploadsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListUploadsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListUploadsCommand = (function (_super) {
7
+ __extends(ListUploadsCommand, _super);
8
+ function ListUploadsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListUploadsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "ListUploadsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "ListUploadsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListUploadsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListUploadsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListUploadsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListUploadsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListUploadsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListUploadsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListUploadsCommand;
38
+ }($Command));
39
+ export { ListUploadsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListVPCEConfigurationsRequestFilterSensitiveLog, ListVPCEConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListVPCEConfigurationsCommand, serializeAws_json1_1ListVPCEConfigurationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListVPCEConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVPCEConfigurationsCommand = (function (_super) {
7
+ __extends(ListVPCEConfigurationsCommand, _super);
8
+ function ListVPCEConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVPCEConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "ListVPCEConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "ListVPCEConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVPCEConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVPCEConfigurationsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListVPCEConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListVPCEConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVPCEConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListVPCEConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVPCEConfigurationsCommand;
38
+ }($Command));
39
+ export { ListVPCEConfigurationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PurchaseOfferingRequestFilterSensitiveLog, PurchaseOfferingResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PurchaseOfferingCommand, serializeAws_json1_1PurchaseOfferingCommand, } from "../protocols/Aws_json1_1";
5
- export class PurchaseOfferingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PurchaseOfferingCommand = (function (_super) {
7
+ __extends(PurchaseOfferingCommand, _super);
8
+ function PurchaseOfferingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PurchaseOfferingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "PurchaseOfferingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "PurchaseOfferingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PurchaseOfferingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PurchaseOfferingResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PurchaseOfferingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PurchaseOfferingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PurchaseOfferingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PurchaseOfferingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PurchaseOfferingCommand;
38
+ }($Command));
39
+ export { PurchaseOfferingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RenewOfferingRequestFilterSensitiveLog, RenewOfferingResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RenewOfferingCommand, serializeAws_json1_1RenewOfferingCommand, } from "../protocols/Aws_json1_1";
5
- export class RenewOfferingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RenewOfferingCommand = (function (_super) {
7
+ __extends(RenewOfferingCommand, _super);
8
+ function RenewOfferingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RenewOfferingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "RenewOfferingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "RenewOfferingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RenewOfferingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RenewOfferingResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RenewOfferingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RenewOfferingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RenewOfferingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RenewOfferingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RenewOfferingCommand;
38
+ }($Command));
39
+ export { RenewOfferingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ScheduleRunRequestFilterSensitiveLog, ScheduleRunResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ScheduleRunCommand, serializeAws_json1_1ScheduleRunCommand, } from "../protocols/Aws_json1_1";
5
- export class ScheduleRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ScheduleRunCommand = (function (_super) {
7
+ __extends(ScheduleRunCommand, _super);
8
+ function ScheduleRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ScheduleRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "ScheduleRunCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "ScheduleRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScheduleRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ScheduleRunResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ScheduleRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ScheduleRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ScheduleRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ScheduleRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ScheduleRunCommand;
38
+ }($Command));
39
+ export { ScheduleRunCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopJobRequestFilterSensitiveLog, StopJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopJobCommand, serializeAws_json1_1StopJobCommand } from "../protocols/Aws_json1_1";
5
- export class StopJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopJobCommand = (function (_super) {
7
+ __extends(StopJobCommand, _super);
8
+ function StopJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "StopJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "StopJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopJobCommand;
38
+ }($Command));
39
+ export { StopJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopRemoteAccessSessionRequestFilterSensitiveLog, StopRemoteAccessSessionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopRemoteAccessSessionCommand, serializeAws_json1_1StopRemoteAccessSessionCommand, } from "../protocols/Aws_json1_1";
5
- export class StopRemoteAccessSessionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopRemoteAccessSessionCommand = (function (_super) {
7
+ __extends(StopRemoteAccessSessionCommand, _super);
8
+ function StopRemoteAccessSessionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopRemoteAccessSessionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "StopRemoteAccessSessionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "StopRemoteAccessSessionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopRemoteAccessSessionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopRemoteAccessSessionResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopRemoteAccessSessionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopRemoteAccessSessionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopRemoteAccessSessionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopRemoteAccessSessionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopRemoteAccessSessionCommand;
38
+ }($Command));
39
+ export { StopRemoteAccessSessionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopRunRequestFilterSensitiveLog, StopRunResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopRunCommand, serializeAws_json1_1StopRunCommand } from "../protocols/Aws_json1_1";
5
- export class StopRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopRunCommand = (function (_super) {
7
+ __extends(StopRunCommand, _super);
8
+ function StopRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "StopRunCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "StopRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopRunResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopRunCommand;
38
+ }($Command));
39
+ export { StopRunCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DeviceFarmClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DeviceFarmClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };