@aws-sdk/client-greengrass 3.185.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/Greengrass.js +370 -377
  3. package/dist-es/GreengrassClient.js +22 -28
  4. package/dist-es/commands/AssociateRoleToGroupCommand.js +21 -28
  5. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +21 -28
  6. package/dist-es/commands/CreateConnectorDefinitionCommand.js +21 -28
  7. package/dist-es/commands/CreateConnectorDefinitionVersionCommand.js +21 -28
  8. package/dist-es/commands/CreateCoreDefinitionCommand.js +21 -28
  9. package/dist-es/commands/CreateCoreDefinitionVersionCommand.js +21 -28
  10. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  11. package/dist-es/commands/CreateDeviceDefinitionCommand.js +21 -28
  12. package/dist-es/commands/CreateDeviceDefinitionVersionCommand.js +21 -28
  13. package/dist-es/commands/CreateFunctionDefinitionCommand.js +21 -28
  14. package/dist-es/commands/CreateFunctionDefinitionVersionCommand.js +21 -28
  15. package/dist-es/commands/CreateGroupCertificateAuthorityCommand.js +21 -28
  16. package/dist-es/commands/CreateGroupCommand.js +21 -28
  17. package/dist-es/commands/CreateGroupVersionCommand.js +21 -28
  18. package/dist-es/commands/CreateLoggerDefinitionCommand.js +21 -28
  19. package/dist-es/commands/CreateLoggerDefinitionVersionCommand.js +21 -28
  20. package/dist-es/commands/CreateResourceDefinitionCommand.js +21 -28
  21. package/dist-es/commands/CreateResourceDefinitionVersionCommand.js +21 -28
  22. package/dist-es/commands/CreateSoftwareUpdateJobCommand.js +21 -28
  23. package/dist-es/commands/CreateSubscriptionDefinitionCommand.js +21 -28
  24. package/dist-es/commands/CreateSubscriptionDefinitionVersionCommand.js +21 -28
  25. package/dist-es/commands/DeleteConnectorDefinitionCommand.js +21 -28
  26. package/dist-es/commands/DeleteCoreDefinitionCommand.js +21 -28
  27. package/dist-es/commands/DeleteDeviceDefinitionCommand.js +21 -28
  28. package/dist-es/commands/DeleteFunctionDefinitionCommand.js +21 -28
  29. package/dist-es/commands/DeleteGroupCommand.js +21 -28
  30. package/dist-es/commands/DeleteLoggerDefinitionCommand.js +21 -28
  31. package/dist-es/commands/DeleteResourceDefinitionCommand.js +21 -28
  32. package/dist-es/commands/DeleteSubscriptionDefinitionCommand.js +21 -28
  33. package/dist-es/commands/DisassociateRoleFromGroupCommand.js +21 -28
  34. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +21 -28
  35. package/dist-es/commands/GetAssociatedRoleCommand.js +21 -28
  36. package/dist-es/commands/GetBulkDeploymentStatusCommand.js +21 -28
  37. package/dist-es/commands/GetConnectivityInfoCommand.js +21 -28
  38. package/dist-es/commands/GetConnectorDefinitionCommand.js +21 -28
  39. package/dist-es/commands/GetConnectorDefinitionVersionCommand.js +21 -28
  40. package/dist-es/commands/GetCoreDefinitionCommand.js +21 -28
  41. package/dist-es/commands/GetCoreDefinitionVersionCommand.js +21 -28
  42. package/dist-es/commands/GetDeploymentStatusCommand.js +21 -28
  43. package/dist-es/commands/GetDeviceDefinitionCommand.js +21 -28
  44. package/dist-es/commands/GetDeviceDefinitionVersionCommand.js +21 -28
  45. package/dist-es/commands/GetFunctionDefinitionCommand.js +21 -28
  46. package/dist-es/commands/GetFunctionDefinitionVersionCommand.js +21 -28
  47. package/dist-es/commands/GetGroupCertificateAuthorityCommand.js +21 -28
  48. package/dist-es/commands/GetGroupCertificateConfigurationCommand.js +21 -28
  49. package/dist-es/commands/GetGroupCommand.js +21 -28
  50. package/dist-es/commands/GetGroupVersionCommand.js +21 -28
  51. package/dist-es/commands/GetLoggerDefinitionCommand.js +21 -28
  52. package/dist-es/commands/GetLoggerDefinitionVersionCommand.js +21 -28
  53. package/dist-es/commands/GetResourceDefinitionCommand.js +21 -28
  54. package/dist-es/commands/GetResourceDefinitionVersionCommand.js +21 -28
  55. package/dist-es/commands/GetServiceRoleForAccountCommand.js +21 -28
  56. package/dist-es/commands/GetSubscriptionDefinitionCommand.js +21 -28
  57. package/dist-es/commands/GetSubscriptionDefinitionVersionCommand.js +21 -28
  58. package/dist-es/commands/GetThingRuntimeConfigurationCommand.js +21 -28
  59. package/dist-es/commands/ListBulkDeploymentDetailedReportsCommand.js +21 -28
  60. package/dist-es/commands/ListBulkDeploymentsCommand.js +21 -28
  61. package/dist-es/commands/ListConnectorDefinitionVersionsCommand.js +21 -28
  62. package/dist-es/commands/ListConnectorDefinitionsCommand.js +21 -28
  63. package/dist-es/commands/ListCoreDefinitionVersionsCommand.js +21 -28
  64. package/dist-es/commands/ListCoreDefinitionsCommand.js +21 -28
  65. package/dist-es/commands/ListDeploymentsCommand.js +21 -28
  66. package/dist-es/commands/ListDeviceDefinitionVersionsCommand.js +21 -28
  67. package/dist-es/commands/ListDeviceDefinitionsCommand.js +21 -28
  68. package/dist-es/commands/ListFunctionDefinitionVersionsCommand.js +21 -28
  69. package/dist-es/commands/ListFunctionDefinitionsCommand.js +21 -28
  70. package/dist-es/commands/ListGroupCertificateAuthoritiesCommand.js +21 -28
  71. package/dist-es/commands/ListGroupVersionsCommand.js +21 -28
  72. package/dist-es/commands/ListGroupsCommand.js +21 -28
  73. package/dist-es/commands/ListLoggerDefinitionVersionsCommand.js +21 -28
  74. package/dist-es/commands/ListLoggerDefinitionsCommand.js +21 -28
  75. package/dist-es/commands/ListResourceDefinitionVersionsCommand.js +21 -28
  76. package/dist-es/commands/ListResourceDefinitionsCommand.js +21 -28
  77. package/dist-es/commands/ListSubscriptionDefinitionVersionsCommand.js +21 -28
  78. package/dist-es/commands/ListSubscriptionDefinitionsCommand.js +21 -28
  79. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  80. package/dist-es/commands/ResetDeploymentsCommand.js +21 -28
  81. package/dist-es/commands/StartBulkDeploymentCommand.js +21 -28
  82. package/dist-es/commands/StopBulkDeploymentCommand.js +21 -28
  83. package/dist-es/commands/TagResourceCommand.js +22 -29
  84. package/dist-es/commands/UntagResourceCommand.js +22 -29
  85. package/dist-es/commands/UpdateConnectivityInfoCommand.js +21 -28
  86. package/dist-es/commands/UpdateConnectorDefinitionCommand.js +21 -28
  87. package/dist-es/commands/UpdateCoreDefinitionCommand.js +21 -28
  88. package/dist-es/commands/UpdateDeviceDefinitionCommand.js +21 -28
  89. package/dist-es/commands/UpdateFunctionDefinitionCommand.js +21 -28
  90. package/dist-es/commands/UpdateGroupCertificateConfigurationCommand.js +21 -28
  91. package/dist-es/commands/UpdateGroupCommand.js +21 -28
  92. package/dist-es/commands/UpdateLoggerDefinitionCommand.js +21 -28
  93. package/dist-es/commands/UpdateResourceDefinitionCommand.js +21 -28
  94. package/dist-es/commands/UpdateSubscriptionDefinitionCommand.js +21 -28
  95. package/dist-es/commands/UpdateThingRuntimeConfigurationCommand.js +21 -28
  96. package/dist-es/endpoints.js +8 -8
  97. package/dist-es/models/GreengrassServiceException.js +5 -10
  98. package/dist-es/models/models_0.js +701 -252
  99. package/dist-es/protocols/Aws_restJson1.js +5793 -8198
  100. package/dist-es/runtimeConfig.browser.js +26 -12
  101. package/dist-es/runtimeConfig.js +30 -12
  102. package/dist-es/runtimeConfig.native.js +8 -5
  103. package/dist-es/runtimeConfig.shared.js +8 -11
  104. 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 { CreateSubscriptionDefinitionRequestFilterSensitiveLog, CreateSubscriptionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateSubscriptionDefinitionCommand, serializeAws_restJson1CreateSubscriptionDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var CreateSubscriptionDefinitionCommand = (function (_super) {
7
- __extends(CreateSubscriptionDefinitionCommand, _super);
8
- function CreateSubscriptionDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateSubscriptionDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateSubscriptionDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "CreateSubscriptionDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "CreateSubscriptionDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateSubscriptionDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateSubscriptionDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateSubscriptionDefinitionCommand.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_restJson1CreateSubscriptionDefinitionCommand(input, context);
33
- };
34
- CreateSubscriptionDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateSubscriptionDefinitionCommand(output, context);
36
- };
37
- return CreateSubscriptionDefinitionCommand;
38
- }($Command));
39
- export { CreateSubscriptionDefinitionCommand };
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 { CreateSubscriptionDefinitionVersionRequestFilterSensitiveLog, CreateSubscriptionDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateSubscriptionDefinitionVersionCommand, serializeAws_restJson1CreateSubscriptionDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
6
- var CreateSubscriptionDefinitionVersionCommand = (function (_super) {
7
- __extends(CreateSubscriptionDefinitionVersionCommand, _super);
8
- function CreateSubscriptionDefinitionVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateSubscriptionDefinitionVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateSubscriptionDefinitionVersionCommand.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 = "GreengrassClient";
18
- var commandName = "CreateSubscriptionDefinitionVersionCommand";
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 = "GreengrassClient";
15
+ const commandName = "CreateSubscriptionDefinitionVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateSubscriptionDefinitionVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateSubscriptionDefinitionVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateSubscriptionDefinitionVersionCommand.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_restJson1CreateSubscriptionDefinitionVersionCommand(input, context);
33
- };
34
- CreateSubscriptionDefinitionVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateSubscriptionDefinitionVersionCommand(output, context);
36
- };
37
- return CreateSubscriptionDefinitionVersionCommand;
38
- }($Command));
39
- export { CreateSubscriptionDefinitionVersionCommand };
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 { DeleteConnectorDefinitionRequestFilterSensitiveLog, DeleteConnectorDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteConnectorDefinitionCommand, serializeAws_restJson1DeleteConnectorDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteConnectorDefinitionCommand = (function (_super) {
7
- __extends(DeleteConnectorDefinitionCommand, _super);
8
- function DeleteConnectorDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConnectorDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConnectorDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteConnectorDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteConnectorDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConnectorDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConnectorDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConnectorDefinitionCommand.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_restJson1DeleteConnectorDefinitionCommand(input, context);
33
- };
34
- DeleteConnectorDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteConnectorDefinitionCommand(output, context);
36
- };
37
- return DeleteConnectorDefinitionCommand;
38
- }($Command));
39
- export { DeleteConnectorDefinitionCommand };
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 { DeleteCoreDefinitionRequestFilterSensitiveLog, DeleteCoreDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteCoreDefinitionCommand, serializeAws_restJson1DeleteCoreDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteCoreDefinitionCommand = (function (_super) {
7
- __extends(DeleteCoreDefinitionCommand, _super);
8
- function DeleteCoreDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCoreDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCoreDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteCoreDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteCoreDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCoreDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteCoreDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCoreDefinitionCommand.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_restJson1DeleteCoreDefinitionCommand(input, context);
33
- };
34
- DeleteCoreDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteCoreDefinitionCommand(output, context);
36
- };
37
- return DeleteCoreDefinitionCommand;
38
- }($Command));
39
- export { DeleteCoreDefinitionCommand };
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 { DeleteDeviceDefinitionRequestFilterSensitiveLog, DeleteDeviceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDeviceDefinitionCommand, serializeAws_restJson1DeleteDeviceDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteDeviceDefinitionCommand = (function (_super) {
7
- __extends(DeleteDeviceDefinitionCommand, _super);
8
- function DeleteDeviceDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDeviceDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDeviceDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteDeviceDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteDeviceDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDeviceDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDeviceDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDeviceDefinitionCommand.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_restJson1DeleteDeviceDefinitionCommand(input, context);
33
- };
34
- DeleteDeviceDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDeviceDefinitionCommand(output, context);
36
- };
37
- return DeleteDeviceDefinitionCommand;
38
- }($Command));
39
- export { DeleteDeviceDefinitionCommand };
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 { DeleteFunctionDefinitionRequestFilterSensitiveLog, DeleteFunctionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteFunctionDefinitionCommand, serializeAws_restJson1DeleteFunctionDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteFunctionDefinitionCommand = (function (_super) {
7
- __extends(DeleteFunctionDefinitionCommand, _super);
8
- function DeleteFunctionDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFunctionDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFunctionDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteFunctionDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteFunctionDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFunctionDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFunctionDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFunctionDefinitionCommand.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_restJson1DeleteFunctionDefinitionCommand(input, context);
33
- };
34
- DeleteFunctionDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteFunctionDefinitionCommand(output, context);
36
- };
37
- return DeleteFunctionDefinitionCommand;
38
- }($Command));
39
- export { DeleteFunctionDefinitionCommand };
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 { DeleteGroupRequestFilterSensitiveLog, DeleteGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteGroupCommand, serializeAws_restJson1DeleteGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteGroupCommand = (function (_super) {
7
- __extends(DeleteGroupCommand, _super);
8
- function DeleteGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteGroupCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteGroupCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteGroupCommand.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_restJson1DeleteGroupCommand(input, context);
33
- };
34
- DeleteGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteGroupCommand(output, context);
36
- };
37
- return DeleteGroupCommand;
38
- }($Command));
39
- export { DeleteGroupCommand };
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 { DeleteLoggerDefinitionRequestFilterSensitiveLog, DeleteLoggerDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteLoggerDefinitionCommand, serializeAws_restJson1DeleteLoggerDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteLoggerDefinitionCommand = (function (_super) {
7
- __extends(DeleteLoggerDefinitionCommand, _super);
8
- function DeleteLoggerDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLoggerDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLoggerDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteLoggerDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteLoggerDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLoggerDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLoggerDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLoggerDefinitionCommand.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_restJson1DeleteLoggerDefinitionCommand(input, context);
33
- };
34
- DeleteLoggerDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteLoggerDefinitionCommand(output, context);
36
- };
37
- return DeleteLoggerDefinitionCommand;
38
- }($Command));
39
- export { DeleteLoggerDefinitionCommand };
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 { DeleteResourceDefinitionRequestFilterSensitiveLog, DeleteResourceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteResourceDefinitionCommand, serializeAws_restJson1DeleteResourceDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteResourceDefinitionCommand = (function (_super) {
7
- __extends(DeleteResourceDefinitionCommand, _super);
8
- function DeleteResourceDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteResourceDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResourceDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteResourceDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteResourceDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResourceDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResourceDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteResourceDefinitionCommand.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_restJson1DeleteResourceDefinitionCommand(input, context);
33
- };
34
- DeleteResourceDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteResourceDefinitionCommand(output, context);
36
- };
37
- return DeleteResourceDefinitionCommand;
38
- }($Command));
39
- export { DeleteResourceDefinitionCommand };
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 { DeleteSubscriptionDefinitionRequestFilterSensitiveLog, DeleteSubscriptionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteSubscriptionDefinitionCommand, serializeAws_restJson1DeleteSubscriptionDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteSubscriptionDefinitionCommand = (function (_super) {
7
- __extends(DeleteSubscriptionDefinitionCommand, _super);
8
- function DeleteSubscriptionDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSubscriptionDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSubscriptionDefinitionCommand.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 = "GreengrassClient";
18
- var commandName = "DeleteSubscriptionDefinitionCommand";
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 = "GreengrassClient";
15
+ const commandName = "DeleteSubscriptionDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSubscriptionDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSubscriptionDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSubscriptionDefinitionCommand.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_restJson1DeleteSubscriptionDefinitionCommand(input, context);
33
- };
34
- DeleteSubscriptionDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteSubscriptionDefinitionCommand(output, context);
36
- };
37
- return DeleteSubscriptionDefinitionCommand;
38
- }($Command));
39
- export { DeleteSubscriptionDefinitionCommand };
31
+ }
32
+ }