@aws-sdk/client-greengrass 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 (104) hide show
  1. package/CHANGELOG.md +8 -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 { GetDeviceDefinitionRequestFilterSensitiveLog, GetDeviceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDeviceDefinitionCommand, serializeAws_restJson1GetDeviceDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var GetDeviceDefinitionCommand = (function (_super) {
7
- __extends(GetDeviceDefinitionCommand, _super);
8
- function GetDeviceDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDeviceDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDeviceDefinitionCommand.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 = "GetDeviceDefinitionCommand";
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 = "GetDeviceDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDeviceDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDeviceDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDeviceDefinitionCommand.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_restJson1GetDeviceDefinitionCommand(input, context);
33
- };
34
- GetDeviceDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDeviceDefinitionCommand(output, context);
36
- };
37
- return GetDeviceDefinitionCommand;
38
- }($Command));
39
- export { GetDeviceDefinitionCommand };
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 { GetDeviceDefinitionVersionRequestFilterSensitiveLog, GetDeviceDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDeviceDefinitionVersionCommand, serializeAws_restJson1GetDeviceDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
6
- var GetDeviceDefinitionVersionCommand = (function (_super) {
7
- __extends(GetDeviceDefinitionVersionCommand, _super);
8
- function GetDeviceDefinitionVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDeviceDefinitionVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDeviceDefinitionVersionCommand.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 = "GetDeviceDefinitionVersionCommand";
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 = "GetDeviceDefinitionVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDeviceDefinitionVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDeviceDefinitionVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDeviceDefinitionVersionCommand.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_restJson1GetDeviceDefinitionVersionCommand(input, context);
33
- };
34
- GetDeviceDefinitionVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDeviceDefinitionVersionCommand(output, context);
36
- };
37
- return GetDeviceDefinitionVersionCommand;
38
- }($Command));
39
- export { GetDeviceDefinitionVersionCommand };
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 { GetFunctionDefinitionRequestFilterSensitiveLog, GetFunctionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetFunctionDefinitionCommand, serializeAws_restJson1GetFunctionDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var GetFunctionDefinitionCommand = (function (_super) {
7
- __extends(GetFunctionDefinitionCommand, _super);
8
- function GetFunctionDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFunctionDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFunctionDefinitionCommand.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 = "GetFunctionDefinitionCommand";
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 = "GetFunctionDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFunctionDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFunctionDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFunctionDefinitionCommand.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_restJson1GetFunctionDefinitionCommand(input, context);
33
- };
34
- GetFunctionDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetFunctionDefinitionCommand(output, context);
36
- };
37
- return GetFunctionDefinitionCommand;
38
- }($Command));
39
- export { GetFunctionDefinitionCommand };
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 { GetFunctionDefinitionVersionRequestFilterSensitiveLog, GetFunctionDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetFunctionDefinitionVersionCommand, serializeAws_restJson1GetFunctionDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
6
- var GetFunctionDefinitionVersionCommand = (function (_super) {
7
- __extends(GetFunctionDefinitionVersionCommand, _super);
8
- function GetFunctionDefinitionVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFunctionDefinitionVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFunctionDefinitionVersionCommand.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 = "GetFunctionDefinitionVersionCommand";
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 = "GetFunctionDefinitionVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFunctionDefinitionVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFunctionDefinitionVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFunctionDefinitionVersionCommand.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_restJson1GetFunctionDefinitionVersionCommand(input, context);
33
- };
34
- GetFunctionDefinitionVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetFunctionDefinitionVersionCommand(output, context);
36
- };
37
- return GetFunctionDefinitionVersionCommand;
38
- }($Command));
39
- export { GetFunctionDefinitionVersionCommand };
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 { GetGroupCertificateAuthorityRequestFilterSensitiveLog, GetGroupCertificateAuthorityResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetGroupCertificateAuthorityCommand, serializeAws_restJson1GetGroupCertificateAuthorityCommand, } from "../protocols/Aws_restJson1";
6
- var GetGroupCertificateAuthorityCommand = (function (_super) {
7
- __extends(GetGroupCertificateAuthorityCommand, _super);
8
- function GetGroupCertificateAuthorityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetGroupCertificateAuthorityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetGroupCertificateAuthorityCommand.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 = "GetGroupCertificateAuthorityCommand";
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 = "GetGroupCertificateAuthorityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetGroupCertificateAuthorityRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetGroupCertificateAuthorityResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetGroupCertificateAuthorityCommand.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_restJson1GetGroupCertificateAuthorityCommand(input, context);
33
- };
34
- GetGroupCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetGroupCertificateAuthorityCommand(output, context);
36
- };
37
- return GetGroupCertificateAuthorityCommand;
38
- }($Command));
39
- export { GetGroupCertificateAuthorityCommand };
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 { GetGroupCertificateConfigurationRequestFilterSensitiveLog, GetGroupCertificateConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetGroupCertificateConfigurationCommand, serializeAws_restJson1GetGroupCertificateConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var GetGroupCertificateConfigurationCommand = (function (_super) {
7
- __extends(GetGroupCertificateConfigurationCommand, _super);
8
- function GetGroupCertificateConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetGroupCertificateConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetGroupCertificateConfigurationCommand.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 = "GetGroupCertificateConfigurationCommand";
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 = "GetGroupCertificateConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetGroupCertificateConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetGroupCertificateConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetGroupCertificateConfigurationCommand.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_restJson1GetGroupCertificateConfigurationCommand(input, context);
33
- };
34
- GetGroupCertificateConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetGroupCertificateConfigurationCommand(output, context);
36
- };
37
- return GetGroupCertificateConfigurationCommand;
38
- }($Command));
39
- export { GetGroupCertificateConfigurationCommand };
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 { GetGroupRequestFilterSensitiveLog, GetGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetGroupCommand, serializeAws_restJson1GetGroupCommand, } from "../protocols/Aws_restJson1";
6
- var GetGroupCommand = (function (_super) {
7
- __extends(GetGroupCommand, _super);
8
- function GetGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetGroupCommand.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 = "GetGroupCommand";
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 = "GetGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetGroupCommand.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_restJson1GetGroupCommand(input, context);
33
- };
34
- GetGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetGroupCommand(output, context);
36
- };
37
- return GetGroupCommand;
38
- }($Command));
39
- export { GetGroupCommand };
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 { GetGroupVersionRequestFilterSensitiveLog, GetGroupVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetGroupVersionCommand, serializeAws_restJson1GetGroupVersionCommand, } from "../protocols/Aws_restJson1";
6
- var GetGroupVersionCommand = (function (_super) {
7
- __extends(GetGroupVersionCommand, _super);
8
- function GetGroupVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetGroupVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetGroupVersionCommand.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 = "GetGroupVersionCommand";
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 = "GetGroupVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetGroupVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetGroupVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetGroupVersionCommand.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_restJson1GetGroupVersionCommand(input, context);
33
- };
34
- GetGroupVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetGroupVersionCommand(output, context);
36
- };
37
- return GetGroupVersionCommand;
38
- }($Command));
39
- export { GetGroupVersionCommand };
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 { GetLoggerDefinitionRequestFilterSensitiveLog, GetLoggerDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLoggerDefinitionCommand, serializeAws_restJson1GetLoggerDefinitionCommand, } from "../protocols/Aws_restJson1";
6
- var GetLoggerDefinitionCommand = (function (_super) {
7
- __extends(GetLoggerDefinitionCommand, _super);
8
- function GetLoggerDefinitionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLoggerDefinitionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLoggerDefinitionCommand.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 = "GetLoggerDefinitionCommand";
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 = "GetLoggerDefinitionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLoggerDefinitionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLoggerDefinitionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLoggerDefinitionCommand.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_restJson1GetLoggerDefinitionCommand(input, context);
33
- };
34
- GetLoggerDefinitionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLoggerDefinitionCommand(output, context);
36
- };
37
- return GetLoggerDefinitionCommand;
38
- }($Command));
39
- export { GetLoggerDefinitionCommand };
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 { GetLoggerDefinitionVersionRequestFilterSensitiveLog, GetLoggerDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLoggerDefinitionVersionCommand, serializeAws_restJson1GetLoggerDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
6
- var GetLoggerDefinitionVersionCommand = (function (_super) {
7
- __extends(GetLoggerDefinitionVersionCommand, _super);
8
- function GetLoggerDefinitionVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLoggerDefinitionVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLoggerDefinitionVersionCommand.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 = "GetLoggerDefinitionVersionCommand";
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 = "GetLoggerDefinitionVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLoggerDefinitionVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLoggerDefinitionVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLoggerDefinitionVersionCommand.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_restJson1GetLoggerDefinitionVersionCommand(input, context);
33
- };
34
- GetLoggerDefinitionVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLoggerDefinitionVersionCommand(output, context);
36
- };
37
- return GetLoggerDefinitionVersionCommand;
38
- }($Command));
39
- export { GetLoggerDefinitionVersionCommand };
31
+ }
32
+ }