@aws-sdk/client-device-farm 3.181.0 → 3.183.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 (107) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/DeviceFarm.js +310 -317
  3. package/dist-es/DeviceFarmClient.js +22 -28
  4. package/dist-es/commands/CreateDevicePoolCommand.js +21 -28
  5. package/dist-es/commands/CreateInstanceProfileCommand.js +21 -28
  6. package/dist-es/commands/CreateNetworkProfileCommand.js +21 -28
  7. package/dist-es/commands/CreateProjectCommand.js +21 -28
  8. package/dist-es/commands/CreateRemoteAccessSessionCommand.js +21 -28
  9. package/dist-es/commands/CreateTestGridProjectCommand.js +21 -28
  10. package/dist-es/commands/CreateTestGridUrlCommand.js +21 -28
  11. package/dist-es/commands/CreateUploadCommand.js +21 -28
  12. package/dist-es/commands/CreateVPCEConfigurationCommand.js +21 -28
  13. package/dist-es/commands/DeleteDevicePoolCommand.js +21 -28
  14. package/dist-es/commands/DeleteInstanceProfileCommand.js +21 -28
  15. package/dist-es/commands/DeleteNetworkProfileCommand.js +21 -28
  16. package/dist-es/commands/DeleteProjectCommand.js +21 -28
  17. package/dist-es/commands/DeleteRemoteAccessSessionCommand.js +21 -28
  18. package/dist-es/commands/DeleteRunCommand.js +21 -28
  19. package/dist-es/commands/DeleteTestGridProjectCommand.js +21 -28
  20. package/dist-es/commands/DeleteUploadCommand.js +21 -28
  21. package/dist-es/commands/DeleteVPCEConfigurationCommand.js +21 -28
  22. package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
  23. package/dist-es/commands/GetDeviceCommand.js +21 -28
  24. package/dist-es/commands/GetDeviceInstanceCommand.js +21 -28
  25. package/dist-es/commands/GetDevicePoolCommand.js +21 -28
  26. package/dist-es/commands/GetDevicePoolCompatibilityCommand.js +21 -28
  27. package/dist-es/commands/GetInstanceProfileCommand.js +21 -28
  28. package/dist-es/commands/GetJobCommand.js +21 -28
  29. package/dist-es/commands/GetNetworkProfileCommand.js +21 -28
  30. package/dist-es/commands/GetOfferingStatusCommand.js +21 -28
  31. package/dist-es/commands/GetProjectCommand.js +21 -28
  32. package/dist-es/commands/GetRemoteAccessSessionCommand.js +21 -28
  33. package/dist-es/commands/GetRunCommand.js +21 -28
  34. package/dist-es/commands/GetSuiteCommand.js +21 -28
  35. package/dist-es/commands/GetTestCommand.js +21 -28
  36. package/dist-es/commands/GetTestGridProjectCommand.js +21 -28
  37. package/dist-es/commands/GetTestGridSessionCommand.js +21 -28
  38. package/dist-es/commands/GetUploadCommand.js +21 -28
  39. package/dist-es/commands/GetVPCEConfigurationCommand.js +21 -28
  40. package/dist-es/commands/InstallToRemoteAccessSessionCommand.js +21 -28
  41. package/dist-es/commands/ListArtifactsCommand.js +21 -28
  42. package/dist-es/commands/ListDeviceInstancesCommand.js +21 -28
  43. package/dist-es/commands/ListDevicePoolsCommand.js +21 -28
  44. package/dist-es/commands/ListDevicesCommand.js +21 -28
  45. package/dist-es/commands/ListInstanceProfilesCommand.js +21 -28
  46. package/dist-es/commands/ListJobsCommand.js +21 -28
  47. package/dist-es/commands/ListNetworkProfilesCommand.js +21 -28
  48. package/dist-es/commands/ListOfferingPromotionsCommand.js +21 -28
  49. package/dist-es/commands/ListOfferingTransactionsCommand.js +21 -28
  50. package/dist-es/commands/ListOfferingsCommand.js +21 -28
  51. package/dist-es/commands/ListProjectsCommand.js +21 -28
  52. package/dist-es/commands/ListRemoteAccessSessionsCommand.js +21 -28
  53. package/dist-es/commands/ListRunsCommand.js +21 -28
  54. package/dist-es/commands/ListSamplesCommand.js +21 -28
  55. package/dist-es/commands/ListSuitesCommand.js +21 -28
  56. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  57. package/dist-es/commands/ListTestGridProjectsCommand.js +21 -28
  58. package/dist-es/commands/ListTestGridSessionActionsCommand.js +21 -28
  59. package/dist-es/commands/ListTestGridSessionArtifactsCommand.js +21 -28
  60. package/dist-es/commands/ListTestGridSessionsCommand.js +21 -28
  61. package/dist-es/commands/ListTestsCommand.js +21 -28
  62. package/dist-es/commands/ListUniqueProblemsCommand.js +21 -28
  63. package/dist-es/commands/ListUploadsCommand.js +21 -28
  64. package/dist-es/commands/ListVPCEConfigurationsCommand.js +21 -28
  65. package/dist-es/commands/PurchaseOfferingCommand.js +21 -28
  66. package/dist-es/commands/RenewOfferingCommand.js +21 -28
  67. package/dist-es/commands/ScheduleRunCommand.js +21 -28
  68. package/dist-es/commands/StopJobCommand.js +21 -28
  69. package/dist-es/commands/StopRemoteAccessSessionCommand.js +21 -28
  70. package/dist-es/commands/StopRunCommand.js +21 -28
  71. package/dist-es/commands/TagResourceCommand.js +21 -28
  72. package/dist-es/commands/UntagResourceCommand.js +21 -28
  73. package/dist-es/commands/UpdateDeviceInstanceCommand.js +21 -28
  74. package/dist-es/commands/UpdateDevicePoolCommand.js +21 -28
  75. package/dist-es/commands/UpdateInstanceProfileCommand.js +21 -28
  76. package/dist-es/commands/UpdateNetworkProfileCommand.js +21 -28
  77. package/dist-es/commands/UpdateProjectCommand.js +21 -28
  78. package/dist-es/commands/UpdateTestGridProjectCommand.js +21 -28
  79. package/dist-es/commands/UpdateUploadCommand.js +21 -28
  80. package/dist-es/commands/UpdateVPCEConfigurationCommand.js +21 -28
  81. package/dist-es/endpoints.js +8 -8
  82. package/dist-es/models/DeviceFarmServiceException.js +5 -10
  83. package/dist-es/models/models_0.js +756 -340
  84. package/dist-es/pagination/GetOfferingStatusPaginator.js +24 -67
  85. package/dist-es/pagination/ListArtifactsPaginator.js +24 -67
  86. package/dist-es/pagination/ListDevicePoolsPaginator.js +24 -67
  87. package/dist-es/pagination/ListDevicesPaginator.js +24 -67
  88. package/dist-es/pagination/ListJobsPaginator.js +24 -67
  89. package/dist-es/pagination/ListOfferingTransactionsPaginator.js +24 -67
  90. package/dist-es/pagination/ListOfferingsPaginator.js +24 -67
  91. package/dist-es/pagination/ListProjectsPaginator.js +24 -67
  92. package/dist-es/pagination/ListRunsPaginator.js +24 -67
  93. package/dist-es/pagination/ListSamplesPaginator.js +24 -67
  94. package/dist-es/pagination/ListSuitesPaginator.js +24 -67
  95. package/dist-es/pagination/ListTestGridProjectsPaginator.js +25 -68
  96. package/dist-es/pagination/ListTestGridSessionActionsPaginator.js +25 -68
  97. package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js +25 -68
  98. package/dist-es/pagination/ListTestGridSessionsPaginator.js +25 -68
  99. package/dist-es/pagination/ListTestsPaginator.js +24 -67
  100. package/dist-es/pagination/ListUniqueProblemsPaginator.js +24 -67
  101. package/dist-es/pagination/ListUploadsPaginator.js +24 -67
  102. package/dist-es/protocols/Aws_json1_1.js +4984 -6427
  103. package/dist-es/runtimeConfig.browser.js +26 -12
  104. package/dist-es/runtimeConfig.js +30 -12
  105. package/dist-es/runtimeConfig.native.js +8 -5
  106. package/dist-es/runtimeConfig.shared.js +8 -11
  107. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var DeviceFarmClient = (function (_super) {
13
- __extends(DeviceFarmClient, _super);
14
- function DeviceFarmClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class DeviceFarmClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- DeviceFarmClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return DeviceFarmClient;
38
- }(__Client));
39
- export { DeviceFarmClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { CreateDevicePoolRequestFilterSensitiveLog, CreateDevicePoolResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDevicePoolCommand, serializeAws_json1_1CreateDevicePoolCommand, } from "../protocols/Aws_json1_1";
6
- var CreateDevicePoolCommand = (function (_super) {
7
- __extends(CreateDevicePoolCommand, _super);
8
- function CreateDevicePoolCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDevicePoolCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDevicePoolCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateDevicePoolCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateDevicePoolCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDevicePoolRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDevicePoolResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDevicePoolCommand.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_json1_1CreateDevicePoolCommand(input, context);
33
- };
34
- CreateDevicePoolCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDevicePoolCommand(output, context);
36
- };
37
- return CreateDevicePoolCommand;
38
- }($Command));
39
- export { CreateDevicePoolCommand };
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 { CreateInstanceProfileRequestFilterSensitiveLog, CreateInstanceProfileResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateInstanceProfileCommand, serializeAws_json1_1CreateInstanceProfileCommand, } from "../protocols/Aws_json1_1";
6
- var CreateInstanceProfileCommand = (function (_super) {
7
- __extends(CreateInstanceProfileCommand, _super);
8
- function CreateInstanceProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateInstanceProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateInstanceProfileCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateInstanceProfileCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateInstanceProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateInstanceProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateInstanceProfileResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateInstanceProfileCommand.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_json1_1CreateInstanceProfileCommand(input, context);
33
- };
34
- CreateInstanceProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateInstanceProfileCommand(output, context);
36
- };
37
- return CreateInstanceProfileCommand;
38
- }($Command));
39
- export { CreateInstanceProfileCommand };
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 { CreateNetworkProfileRequestFilterSensitiveLog, CreateNetworkProfileResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateNetworkProfileCommand, serializeAws_json1_1CreateNetworkProfileCommand, } from "../protocols/Aws_json1_1";
6
- var CreateNetworkProfileCommand = (function (_super) {
7
- __extends(CreateNetworkProfileCommand, _super);
8
- function CreateNetworkProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateNetworkProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateNetworkProfileCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateNetworkProfileCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateNetworkProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateNetworkProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateNetworkProfileResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateNetworkProfileCommand.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_json1_1CreateNetworkProfileCommand(input, context);
33
- };
34
- CreateNetworkProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateNetworkProfileCommand(output, context);
36
- };
37
- return CreateNetworkProfileCommand;
38
- }($Command));
39
- export { CreateNetworkProfileCommand };
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 { CreateProjectRequestFilterSensitiveLog, CreateProjectResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateProjectCommand, serializeAws_json1_1CreateProjectCommand, } from "../protocols/Aws_json1_1";
6
- var CreateProjectCommand = (function (_super) {
7
- __extends(CreateProjectCommand, _super);
8
- function CreateProjectCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateProjectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateProjectCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateProjectCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateProjectCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateProjectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateProjectResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateProjectCommand.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_json1_1CreateProjectCommand(input, context);
33
- };
34
- CreateProjectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateProjectCommand(output, context);
36
- };
37
- return CreateProjectCommand;
38
- }($Command));
39
- export { CreateProjectCommand };
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 { CreateRemoteAccessSessionRequestFilterSensitiveLog, CreateRemoteAccessSessionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateRemoteAccessSessionCommand, serializeAws_json1_1CreateRemoteAccessSessionCommand, } from "../protocols/Aws_json1_1";
6
- var CreateRemoteAccessSessionCommand = (function (_super) {
7
- __extends(CreateRemoteAccessSessionCommand, _super);
8
- function CreateRemoteAccessSessionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateRemoteAccessSessionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateRemoteAccessSessionCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateRemoteAccessSessionCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateRemoteAccessSessionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateRemoteAccessSessionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateRemoteAccessSessionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateRemoteAccessSessionCommand.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_json1_1CreateRemoteAccessSessionCommand(input, context);
33
- };
34
- CreateRemoteAccessSessionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateRemoteAccessSessionCommand(output, context);
36
- };
37
- return CreateRemoteAccessSessionCommand;
38
- }($Command));
39
- export { CreateRemoteAccessSessionCommand };
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 { CreateTestGridProjectRequestFilterSensitiveLog, CreateTestGridProjectResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateTestGridProjectCommand, serializeAws_json1_1CreateTestGridProjectCommand, } from "../protocols/Aws_json1_1";
6
- var CreateTestGridProjectCommand = (function (_super) {
7
- __extends(CreateTestGridProjectCommand, _super);
8
- function CreateTestGridProjectCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTestGridProjectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTestGridProjectCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateTestGridProjectCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateTestGridProjectCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTestGridProjectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTestGridProjectResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTestGridProjectCommand.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_json1_1CreateTestGridProjectCommand(input, context);
33
- };
34
- CreateTestGridProjectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateTestGridProjectCommand(output, context);
36
- };
37
- return CreateTestGridProjectCommand;
38
- }($Command));
39
- export { CreateTestGridProjectCommand };
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 { CreateTestGridUrlRequestFilterSensitiveLog, CreateTestGridUrlResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateTestGridUrlCommand, serializeAws_json1_1CreateTestGridUrlCommand, } from "../protocols/Aws_json1_1";
6
- var CreateTestGridUrlCommand = (function (_super) {
7
- __extends(CreateTestGridUrlCommand, _super);
8
- function CreateTestGridUrlCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTestGridUrlCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTestGridUrlCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateTestGridUrlCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateTestGridUrlCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTestGridUrlRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTestGridUrlResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTestGridUrlCommand.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_json1_1CreateTestGridUrlCommand(input, context);
33
- };
34
- CreateTestGridUrlCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateTestGridUrlCommand(output, context);
36
- };
37
- return CreateTestGridUrlCommand;
38
- }($Command));
39
- export { CreateTestGridUrlCommand };
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 { CreateUploadRequestFilterSensitiveLog, CreateUploadResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateUploadCommand, serializeAws_json1_1CreateUploadCommand, } from "../protocols/Aws_json1_1";
6
- var CreateUploadCommand = (function (_super) {
7
- __extends(CreateUploadCommand, _super);
8
- function CreateUploadCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateUploadCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateUploadCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateUploadCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateUploadCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateUploadRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateUploadResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateUploadCommand.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_json1_1CreateUploadCommand(input, context);
33
- };
34
- CreateUploadCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateUploadCommand(output, context);
36
- };
37
- return CreateUploadCommand;
38
- }($Command));
39
- export { CreateUploadCommand };
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 { CreateVPCEConfigurationRequestFilterSensitiveLog, CreateVPCEConfigurationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateVPCEConfigurationCommand, serializeAws_json1_1CreateVPCEConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- var CreateVPCEConfigurationCommand = (function (_super) {
7
- __extends(CreateVPCEConfigurationCommand, _super);
8
- function CreateVPCEConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateVPCEConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateVPCEConfigurationCommand.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 = "DeviceFarmClient";
18
- var commandName = "CreateVPCEConfigurationCommand";
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 = "DeviceFarmClient";
15
+ const commandName = "CreateVPCEConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateVPCEConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateVPCEConfigurationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateVPCEConfigurationCommand.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_json1_1CreateVPCEConfigurationCommand(input, context);
33
- };
34
- CreateVPCEConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateVPCEConfigurationCommand(output, context);
36
- };
37
- return CreateVPCEConfigurationCommand;
38
- }($Command));
39
- export { CreateVPCEConfigurationCommand };
31
+ }
32
+ }