@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 { GetRunRequestFilterSensitiveLog, GetRunResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetRunCommand, serializeAws_json1_1GetRunCommand } from "../protocols/Aws_json1_1";
5
- export class GetRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRunCommand = (function (_super) {
7
+ __extends(GetRunCommand, _super);
8
+ function GetRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRunCommand.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 = "GetRunCommand";
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 = "GetRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRunResultFilterSensitiveLog,
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
+ GetRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRunCommand;
38
+ }($Command));
39
+ export { GetRunCommand };
@@ -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 { GetSuiteRequestFilterSensitiveLog, GetSuiteResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetSuiteCommand, serializeAws_json1_1GetSuiteCommand } from "../protocols/Aws_json1_1";
5
- export class GetSuiteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSuiteCommand = (function (_super) {
7
+ __extends(GetSuiteCommand, _super);
8
+ function GetSuiteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSuiteCommand.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 = "GetSuiteCommand";
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 = "GetSuiteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSuiteRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSuiteResultFilterSensitiveLog,
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
+ GetSuiteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetSuiteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSuiteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetSuiteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSuiteCommand;
38
+ }($Command));
39
+ export { GetSuiteCommand };
@@ -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 { GetTestRequestFilterSensitiveLog, GetTestResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetTestCommand, serializeAws_json1_1GetTestCommand } from "../protocols/Aws_json1_1";
5
- export class GetTestCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTestCommand = (function (_super) {
7
+ __extends(GetTestCommand, _super);
8
+ function GetTestCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTestCommand.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 = "GetTestCommand";
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 = "GetTestCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTestRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTestResultFilterSensitiveLog,
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
+ GetTestCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetTestCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTestCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetTestCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTestCommand;
38
+ }($Command));
39
+ export { GetTestCommand };
@@ -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 { GetTestGridProjectRequestFilterSensitiveLog, GetTestGridProjectResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetTestGridProjectCommand, serializeAws_json1_1GetTestGridProjectCommand, } from "../protocols/Aws_json1_1";
5
- export class GetTestGridProjectCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTestGridProjectCommand = (function (_super) {
7
+ __extends(GetTestGridProjectCommand, _super);
8
+ function GetTestGridProjectCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTestGridProjectCommand.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 = "GetTestGridProjectCommand";
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 = "GetTestGridProjectCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTestGridProjectRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTestGridProjectResultFilterSensitiveLog,
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
+ GetTestGridProjectCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetTestGridProjectCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTestGridProjectCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetTestGridProjectCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTestGridProjectCommand;
38
+ }($Command));
39
+ export { GetTestGridProjectCommand };
@@ -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 { GetTestGridSessionRequestFilterSensitiveLog, GetTestGridSessionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetTestGridSessionCommand, serializeAws_json1_1GetTestGridSessionCommand, } from "../protocols/Aws_json1_1";
5
- export class GetTestGridSessionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTestGridSessionCommand = (function (_super) {
7
+ __extends(GetTestGridSessionCommand, _super);
8
+ function GetTestGridSessionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTestGridSessionCommand.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 = "GetTestGridSessionCommand";
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 = "GetTestGridSessionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTestGridSessionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTestGridSessionResultFilterSensitiveLog,
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
+ GetTestGridSessionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetTestGridSessionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTestGridSessionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetTestGridSessionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTestGridSessionCommand;
38
+ }($Command));
39
+ export { GetTestGridSessionCommand };
@@ -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 { GetUploadRequestFilterSensitiveLog, GetUploadResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetUploadCommand, serializeAws_json1_1GetUploadCommand } from "../protocols/Aws_json1_1";
5
- export class GetUploadCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetUploadCommand = (function (_super) {
7
+ __extends(GetUploadCommand, _super);
8
+ function GetUploadCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetUploadCommand.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 = "GetUploadCommand";
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 = "GetUploadCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetUploadRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetUploadResultFilterSensitiveLog,
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
+ GetUploadCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetUploadCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetUploadCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetUploadCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetUploadCommand;
38
+ }($Command));
39
+ export { GetUploadCommand };
@@ -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 { GetVPCEConfigurationRequestFilterSensitiveLog, GetVPCEConfigurationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetVPCEConfigurationCommand, serializeAws_json1_1GetVPCEConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class GetVPCEConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVPCEConfigurationCommand = (function (_super) {
7
+ __extends(GetVPCEConfigurationCommand, _super);
8
+ function GetVPCEConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVPCEConfigurationCommand.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 = "GetVPCEConfigurationCommand";
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 = "GetVPCEConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVPCEConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVPCEConfigurationResultFilterSensitiveLog,
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
+ GetVPCEConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetVPCEConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVPCEConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetVPCEConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVPCEConfigurationCommand;
38
+ }($Command));
39
+ export { GetVPCEConfigurationCommand };
@@ -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 { InstallToRemoteAccessSessionRequestFilterSensitiveLog, InstallToRemoteAccessSessionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1InstallToRemoteAccessSessionCommand, serializeAws_json1_1InstallToRemoteAccessSessionCommand, } from "../protocols/Aws_json1_1";
5
- export class InstallToRemoteAccessSessionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InstallToRemoteAccessSessionCommand = (function (_super) {
7
+ __extends(InstallToRemoteAccessSessionCommand, _super);
8
+ function InstallToRemoteAccessSessionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InstallToRemoteAccessSessionCommand.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 = "InstallToRemoteAccessSessionCommand";
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 = "InstallToRemoteAccessSessionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InstallToRemoteAccessSessionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InstallToRemoteAccessSessionResultFilterSensitiveLog,
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
+ InstallToRemoteAccessSessionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1InstallToRemoteAccessSessionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InstallToRemoteAccessSessionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1InstallToRemoteAccessSessionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InstallToRemoteAccessSessionCommand;
38
+ }($Command));
39
+ export { InstallToRemoteAccessSessionCommand };
@@ -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 { ListArtifactsRequestFilterSensitiveLog, ListArtifactsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListArtifactsCommand, serializeAws_json1_1ListArtifactsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListArtifactsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListArtifactsCommand = (function (_super) {
7
+ __extends(ListArtifactsCommand, _super);
8
+ function ListArtifactsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListArtifactsCommand.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 = "ListArtifactsCommand";
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 = "ListArtifactsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListArtifactsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListArtifactsResultFilterSensitiveLog,
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
+ ListArtifactsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListArtifactsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListArtifactsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListArtifactsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListArtifactsCommand;
38
+ }($Command));
39
+ export { ListArtifactsCommand };
@@ -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 { ListDeviceInstancesRequestFilterSensitiveLog, ListDeviceInstancesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeviceInstancesCommand, serializeAws_json1_1ListDeviceInstancesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeviceInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeviceInstancesCommand = (function (_super) {
7
+ __extends(ListDeviceInstancesCommand, _super);
8
+ function ListDeviceInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeviceInstancesCommand.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 = "ListDeviceInstancesCommand";
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 = "ListDeviceInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeviceInstancesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeviceInstancesResultFilterSensitiveLog,
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
+ ListDeviceInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeviceInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeviceInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeviceInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeviceInstancesCommand;
38
+ }($Command));
39
+ export { ListDeviceInstancesCommand };