@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,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 { DeleteDevicePoolRequestFilterSensitiveLog, DeleteDevicePoolResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteDevicePoolCommand, serializeAws_json1_1DeleteDevicePoolCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteDevicePoolCommand = (function (_super) {
7
- __extends(DeleteDevicePoolCommand, _super);
8
- function DeleteDevicePoolCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDevicePoolCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDevicePoolCommand.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 = "DeleteDevicePoolCommand";
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 = "DeleteDevicePoolCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDevicePoolRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDevicePoolResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDevicePoolCommand.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_1DeleteDevicePoolCommand(input, context);
33
- };
34
- DeleteDevicePoolCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteDevicePoolCommand(output, context);
36
- };
37
- return DeleteDevicePoolCommand;
38
- }($Command));
39
- export { DeleteDevicePoolCommand };
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 { DeleteInstanceProfileRequestFilterSensitiveLog, DeleteInstanceProfileResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteInstanceProfileCommand, serializeAws_json1_1DeleteInstanceProfileCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteInstanceProfileCommand = (function (_super) {
7
- __extends(DeleteInstanceProfileCommand, _super);
8
- function DeleteInstanceProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteInstanceProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteInstanceProfileCommand.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 = "DeleteInstanceProfileCommand";
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 = "DeleteInstanceProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteInstanceProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteInstanceProfileResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteInstanceProfileCommand.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_1DeleteInstanceProfileCommand(input, context);
33
- };
34
- DeleteInstanceProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteInstanceProfileCommand(output, context);
36
- };
37
- return DeleteInstanceProfileCommand;
38
- }($Command));
39
- export { DeleteInstanceProfileCommand };
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 { DeleteNetworkProfileRequestFilterSensitiveLog, DeleteNetworkProfileResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteNetworkProfileCommand, serializeAws_json1_1DeleteNetworkProfileCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteNetworkProfileCommand = (function (_super) {
7
- __extends(DeleteNetworkProfileCommand, _super);
8
- function DeleteNetworkProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteNetworkProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteNetworkProfileCommand.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 = "DeleteNetworkProfileCommand";
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 = "DeleteNetworkProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteNetworkProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteNetworkProfileResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteNetworkProfileCommand.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_1DeleteNetworkProfileCommand(input, context);
33
- };
34
- DeleteNetworkProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteNetworkProfileCommand(output, context);
36
- };
37
- return DeleteNetworkProfileCommand;
38
- }($Command));
39
- export { DeleteNetworkProfileCommand };
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 { DeleteProjectRequestFilterSensitiveLog, DeleteProjectResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteProjectCommand, serializeAws_json1_1DeleteProjectCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteProjectCommand = (function (_super) {
7
- __extends(DeleteProjectCommand, _super);
8
- function DeleteProjectCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteProjectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteProjectCommand.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 = "DeleteProjectCommand";
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 = "DeleteProjectCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteProjectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteProjectResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteProjectCommand.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_1DeleteProjectCommand(input, context);
33
- };
34
- DeleteProjectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteProjectCommand(output, context);
36
- };
37
- return DeleteProjectCommand;
38
- }($Command));
39
- export { DeleteProjectCommand };
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 { DeleteRemoteAccessSessionRequestFilterSensitiveLog, DeleteRemoteAccessSessionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteRemoteAccessSessionCommand, serializeAws_json1_1DeleteRemoteAccessSessionCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteRemoteAccessSessionCommand = (function (_super) {
7
- __extends(DeleteRemoteAccessSessionCommand, _super);
8
- function DeleteRemoteAccessSessionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRemoteAccessSessionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRemoteAccessSessionCommand.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 = "DeleteRemoteAccessSessionCommand";
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 = "DeleteRemoteAccessSessionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRemoteAccessSessionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteRemoteAccessSessionResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRemoteAccessSessionCommand.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_1DeleteRemoteAccessSessionCommand(input, context);
33
- };
34
- DeleteRemoteAccessSessionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteRemoteAccessSessionCommand(output, context);
36
- };
37
- return DeleteRemoteAccessSessionCommand;
38
- }($Command));
39
- export { DeleteRemoteAccessSessionCommand };
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 { DeleteRunRequestFilterSensitiveLog, DeleteRunResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteRunCommand, serializeAws_json1_1DeleteRunCommand } from "../protocols/Aws_json1_1";
6
- var DeleteRunCommand = (function (_super) {
7
- __extends(DeleteRunCommand, _super);
8
- function DeleteRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRunCommand.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 = "DeleteRunCommand";
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 = "DeleteRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRunRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteRunResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRunCommand.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_1DeleteRunCommand(input, context);
33
- };
34
- DeleteRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteRunCommand(output, context);
36
- };
37
- return DeleteRunCommand;
38
- }($Command));
39
- export { DeleteRunCommand };
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 { DeleteTestGridProjectRequestFilterSensitiveLog, DeleteTestGridProjectResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteTestGridProjectCommand, serializeAws_json1_1DeleteTestGridProjectCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteTestGridProjectCommand = (function (_super) {
7
- __extends(DeleteTestGridProjectCommand, _super);
8
- function DeleteTestGridProjectCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTestGridProjectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTestGridProjectCommand.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 = "DeleteTestGridProjectCommand";
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 = "DeleteTestGridProjectCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTestGridProjectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTestGridProjectResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTestGridProjectCommand.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_1DeleteTestGridProjectCommand(input, context);
33
- };
34
- DeleteTestGridProjectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteTestGridProjectCommand(output, context);
36
- };
37
- return DeleteTestGridProjectCommand;
38
- }($Command));
39
- export { DeleteTestGridProjectCommand };
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 { DeleteUploadRequestFilterSensitiveLog, DeleteUploadResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteUploadCommand, serializeAws_json1_1DeleteUploadCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteUploadCommand = (function (_super) {
7
- __extends(DeleteUploadCommand, _super);
8
- function DeleteUploadCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteUploadCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUploadCommand.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 = "DeleteUploadCommand";
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 = "DeleteUploadCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUploadRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteUploadResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteUploadCommand.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_1DeleteUploadCommand(input, context);
33
- };
34
- DeleteUploadCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteUploadCommand(output, context);
36
- };
37
- return DeleteUploadCommand;
38
- }($Command));
39
- export { DeleteUploadCommand };
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 { DeleteVPCEConfigurationRequestFilterSensitiveLog, DeleteVPCEConfigurationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteVPCEConfigurationCommand, serializeAws_json1_1DeleteVPCEConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteVPCEConfigurationCommand = (function (_super) {
7
- __extends(DeleteVPCEConfigurationCommand, _super);
8
- function DeleteVPCEConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteVPCEConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteVPCEConfigurationCommand.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 = "DeleteVPCEConfigurationCommand";
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 = "DeleteVPCEConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteVPCEConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteVPCEConfigurationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteVPCEConfigurationCommand.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_1DeleteVPCEConfigurationCommand(input, context);
33
- };
34
- DeleteVPCEConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteVPCEConfigurationCommand(output, context);
36
- };
37
- return DeleteVPCEConfigurationCommand;
38
- }($Command));
39
- export { DeleteVPCEConfigurationCommand };
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 { GetAccountSettingsRequestFilterSensitiveLog, GetAccountSettingsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetAccountSettingsCommand, serializeAws_json1_1GetAccountSettingsCommand, } from "../protocols/Aws_json1_1";
6
- var GetAccountSettingsCommand = (function (_super) {
7
- __extends(GetAccountSettingsCommand, _super);
8
- function GetAccountSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAccountSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAccountSettingsCommand.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 = "GetAccountSettingsCommand";
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 = "GetAccountSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAccountSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAccountSettingsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAccountSettingsCommand.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_1GetAccountSettingsCommand(input, context);
33
- };
34
- GetAccountSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetAccountSettingsCommand(output, context);
36
- };
37
- return GetAccountSettingsCommand;
38
- }($Command));
39
- export { GetAccountSettingsCommand };
31
+ }
32
+ }