@aws-sdk/client-greengrass 3.183.0 → 3.186.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 (105) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Greengrass.js +377 -370
  4. package/dist-es/GreengrassClient.js +28 -22
  5. package/dist-es/commands/AssociateRoleToGroupCommand.js +28 -21
  6. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +28 -21
  7. package/dist-es/commands/CreateConnectorDefinitionCommand.js +28 -21
  8. package/dist-es/commands/CreateConnectorDefinitionVersionCommand.js +28 -21
  9. package/dist-es/commands/CreateCoreDefinitionCommand.js +28 -21
  10. package/dist-es/commands/CreateCoreDefinitionVersionCommand.js +28 -21
  11. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  12. package/dist-es/commands/CreateDeviceDefinitionCommand.js +28 -21
  13. package/dist-es/commands/CreateDeviceDefinitionVersionCommand.js +28 -21
  14. package/dist-es/commands/CreateFunctionDefinitionCommand.js +28 -21
  15. package/dist-es/commands/CreateFunctionDefinitionVersionCommand.js +28 -21
  16. package/dist-es/commands/CreateGroupCertificateAuthorityCommand.js +28 -21
  17. package/dist-es/commands/CreateGroupCommand.js +28 -21
  18. package/dist-es/commands/CreateGroupVersionCommand.js +28 -21
  19. package/dist-es/commands/CreateLoggerDefinitionCommand.js +28 -21
  20. package/dist-es/commands/CreateLoggerDefinitionVersionCommand.js +28 -21
  21. package/dist-es/commands/CreateResourceDefinitionCommand.js +28 -21
  22. package/dist-es/commands/CreateResourceDefinitionVersionCommand.js +28 -21
  23. package/dist-es/commands/CreateSoftwareUpdateJobCommand.js +28 -21
  24. package/dist-es/commands/CreateSubscriptionDefinitionCommand.js +28 -21
  25. package/dist-es/commands/CreateSubscriptionDefinitionVersionCommand.js +28 -21
  26. package/dist-es/commands/DeleteConnectorDefinitionCommand.js +28 -21
  27. package/dist-es/commands/DeleteCoreDefinitionCommand.js +28 -21
  28. package/dist-es/commands/DeleteDeviceDefinitionCommand.js +28 -21
  29. package/dist-es/commands/DeleteFunctionDefinitionCommand.js +28 -21
  30. package/dist-es/commands/DeleteGroupCommand.js +28 -21
  31. package/dist-es/commands/DeleteLoggerDefinitionCommand.js +28 -21
  32. package/dist-es/commands/DeleteResourceDefinitionCommand.js +28 -21
  33. package/dist-es/commands/DeleteSubscriptionDefinitionCommand.js +28 -21
  34. package/dist-es/commands/DisassociateRoleFromGroupCommand.js +28 -21
  35. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +28 -21
  36. package/dist-es/commands/GetAssociatedRoleCommand.js +28 -21
  37. package/dist-es/commands/GetBulkDeploymentStatusCommand.js +28 -21
  38. package/dist-es/commands/GetConnectivityInfoCommand.js +28 -21
  39. package/dist-es/commands/GetConnectorDefinitionCommand.js +28 -21
  40. package/dist-es/commands/GetConnectorDefinitionVersionCommand.js +28 -21
  41. package/dist-es/commands/GetCoreDefinitionCommand.js +28 -21
  42. package/dist-es/commands/GetCoreDefinitionVersionCommand.js +28 -21
  43. package/dist-es/commands/GetDeploymentStatusCommand.js +28 -21
  44. package/dist-es/commands/GetDeviceDefinitionCommand.js +28 -21
  45. package/dist-es/commands/GetDeviceDefinitionVersionCommand.js +28 -21
  46. package/dist-es/commands/GetFunctionDefinitionCommand.js +28 -21
  47. package/dist-es/commands/GetFunctionDefinitionVersionCommand.js +28 -21
  48. package/dist-es/commands/GetGroupCertificateAuthorityCommand.js +28 -21
  49. package/dist-es/commands/GetGroupCertificateConfigurationCommand.js +28 -21
  50. package/dist-es/commands/GetGroupCommand.js +28 -21
  51. package/dist-es/commands/GetGroupVersionCommand.js +28 -21
  52. package/dist-es/commands/GetLoggerDefinitionCommand.js +28 -21
  53. package/dist-es/commands/GetLoggerDefinitionVersionCommand.js +28 -21
  54. package/dist-es/commands/GetResourceDefinitionCommand.js +28 -21
  55. package/dist-es/commands/GetResourceDefinitionVersionCommand.js +28 -21
  56. package/dist-es/commands/GetServiceRoleForAccountCommand.js +28 -21
  57. package/dist-es/commands/GetSubscriptionDefinitionCommand.js +28 -21
  58. package/dist-es/commands/GetSubscriptionDefinitionVersionCommand.js +28 -21
  59. package/dist-es/commands/GetThingRuntimeConfigurationCommand.js +28 -21
  60. package/dist-es/commands/ListBulkDeploymentDetailedReportsCommand.js +28 -21
  61. package/dist-es/commands/ListBulkDeploymentsCommand.js +28 -21
  62. package/dist-es/commands/ListConnectorDefinitionVersionsCommand.js +28 -21
  63. package/dist-es/commands/ListConnectorDefinitionsCommand.js +28 -21
  64. package/dist-es/commands/ListCoreDefinitionVersionsCommand.js +28 -21
  65. package/dist-es/commands/ListCoreDefinitionsCommand.js +28 -21
  66. package/dist-es/commands/ListDeploymentsCommand.js +28 -21
  67. package/dist-es/commands/ListDeviceDefinitionVersionsCommand.js +28 -21
  68. package/dist-es/commands/ListDeviceDefinitionsCommand.js +28 -21
  69. package/dist-es/commands/ListFunctionDefinitionVersionsCommand.js +28 -21
  70. package/dist-es/commands/ListFunctionDefinitionsCommand.js +28 -21
  71. package/dist-es/commands/ListGroupCertificateAuthoritiesCommand.js +28 -21
  72. package/dist-es/commands/ListGroupVersionsCommand.js +28 -21
  73. package/dist-es/commands/ListGroupsCommand.js +28 -21
  74. package/dist-es/commands/ListLoggerDefinitionVersionsCommand.js +28 -21
  75. package/dist-es/commands/ListLoggerDefinitionsCommand.js +28 -21
  76. package/dist-es/commands/ListResourceDefinitionVersionsCommand.js +28 -21
  77. package/dist-es/commands/ListResourceDefinitionsCommand.js +28 -21
  78. package/dist-es/commands/ListSubscriptionDefinitionVersionsCommand.js +28 -21
  79. package/dist-es/commands/ListSubscriptionDefinitionsCommand.js +28 -21
  80. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  81. package/dist-es/commands/ResetDeploymentsCommand.js +28 -21
  82. package/dist-es/commands/StartBulkDeploymentCommand.js +28 -21
  83. package/dist-es/commands/StopBulkDeploymentCommand.js +28 -21
  84. package/dist-es/commands/TagResourceCommand.js +29 -22
  85. package/dist-es/commands/UntagResourceCommand.js +29 -22
  86. package/dist-es/commands/UpdateConnectivityInfoCommand.js +28 -21
  87. package/dist-es/commands/UpdateConnectorDefinitionCommand.js +28 -21
  88. package/dist-es/commands/UpdateCoreDefinitionCommand.js +28 -21
  89. package/dist-es/commands/UpdateDeviceDefinitionCommand.js +28 -21
  90. package/dist-es/commands/UpdateFunctionDefinitionCommand.js +28 -21
  91. package/dist-es/commands/UpdateGroupCertificateConfigurationCommand.js +28 -21
  92. package/dist-es/commands/UpdateGroupCommand.js +28 -21
  93. package/dist-es/commands/UpdateLoggerDefinitionCommand.js +28 -21
  94. package/dist-es/commands/UpdateResourceDefinitionCommand.js +28 -21
  95. package/dist-es/commands/UpdateSubscriptionDefinitionCommand.js +28 -21
  96. package/dist-es/commands/UpdateThingRuntimeConfigurationCommand.js +28 -21
  97. package/dist-es/endpoints.js +8 -8
  98. package/dist-es/models/GreengrassServiceException.js +10 -5
  99. package/dist-es/models/models_0.js +252 -701
  100. package/dist-es/protocols/Aws_restJson1.js +8198 -5793
  101. package/dist-es/runtimeConfig.browser.js +12 -26
  102. package/dist-es/runtimeConfig.js +12 -30
  103. package/dist-es/runtimeConfig.native.js +5 -8
  104. package/dist-es/runtimeConfig.shared.js +11 -8
  105. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDeviceDefinitionRequestFilterSensitiveLog, GetDeviceDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeviceDefinitionCommand, serializeAws_restJson1GetDeviceDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeviceDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeviceDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetDeviceDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetDeviceDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeviceDefinitionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDeviceDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeviceDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeviceDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeviceDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeviceDefinitionCommand;
38
+ }($Command));
39
+ export { GetDeviceDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDeviceDefinitionVersionRequestFilterSensitiveLog, GetDeviceDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeviceDefinitionVersionCommand, serializeAws_restJson1GetDeviceDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeviceDefinitionVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeviceDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetDeviceDefinitionVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetDeviceDefinitionVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeviceDefinitionVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDeviceDefinitionVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeviceDefinitionVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeviceDefinitionVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeviceDefinitionVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeviceDefinitionVersionCommand;
38
+ }($Command));
39
+ export { GetDeviceDefinitionVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetFunctionDefinitionRequestFilterSensitiveLog, GetFunctionDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFunctionDefinitionCommand, serializeAws_restJson1GetFunctionDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFunctionDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFunctionDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetFunctionDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetFunctionDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFunctionDefinitionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetFunctionDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFunctionDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFunctionDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFunctionDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFunctionDefinitionCommand;
38
+ }($Command));
39
+ export { GetFunctionDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetFunctionDefinitionVersionRequestFilterSensitiveLog, GetFunctionDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFunctionDefinitionVersionCommand, serializeAws_restJson1GetFunctionDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFunctionDefinitionVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFunctionDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetFunctionDefinitionVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetFunctionDefinitionVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFunctionDefinitionVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetFunctionDefinitionVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFunctionDefinitionVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFunctionDefinitionVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFunctionDefinitionVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFunctionDefinitionVersionCommand;
38
+ }($Command));
39
+ export { GetFunctionDefinitionVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGroupCertificateAuthorityRequestFilterSensitiveLog, GetGroupCertificateAuthorityResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGroupCertificateAuthorityCommand, serializeAws_restJson1GetGroupCertificateAuthorityCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGroupCertificateAuthorityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGroupCertificateAuthorityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetGroupCertificateAuthorityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetGroupCertificateAuthorityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGroupCertificateAuthorityResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGroupCertificateAuthorityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGroupCertificateAuthorityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGroupCertificateAuthorityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGroupCertificateAuthorityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGroupCertificateAuthorityCommand;
38
+ }($Command));
39
+ export { GetGroupCertificateAuthorityCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGroupCertificateConfigurationRequestFilterSensitiveLog, GetGroupCertificateConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGroupCertificateConfigurationCommand, serializeAws_restJson1GetGroupCertificateConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGroupCertificateConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGroupCertificateConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetGroupCertificateConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetGroupCertificateConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGroupCertificateConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGroupCertificateConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGroupCertificateConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGroupCertificateConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGroupCertificateConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGroupCertificateConfigurationCommand;
38
+ }($Command));
39
+ export { GetGroupCertificateConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGroupRequestFilterSensitiveLog, GetGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGroupCommand, serializeAws_restJson1GetGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGroupCommand;
38
+ }($Command));
39
+ export { GetGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGroupVersionRequestFilterSensitiveLog, GetGroupVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGroupVersionCommand, serializeAws_restJson1GetGroupVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGroupVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGroupVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetGroupVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetGroupVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGroupVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGroupVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGroupVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGroupVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGroupVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGroupVersionCommand;
38
+ }($Command));
39
+ export { GetGroupVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoggerDefinitionRequestFilterSensitiveLog, GetLoggerDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetLoggerDefinitionCommand, serializeAws_restJson1GetLoggerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetLoggerDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoggerDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetLoggerDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetLoggerDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoggerDefinitionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoggerDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetLoggerDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoggerDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetLoggerDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoggerDefinitionCommand;
38
+ }($Command));
39
+ export { GetLoggerDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoggerDefinitionVersionRequestFilterSensitiveLog, GetLoggerDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetLoggerDefinitionVersionCommand, serializeAws_restJson1GetLoggerDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetLoggerDefinitionVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoggerDefinitionVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "GreengrassClient";
15
- const commandName = "GetLoggerDefinitionVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetLoggerDefinitionVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoggerDefinitionVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoggerDefinitionVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetLoggerDefinitionVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoggerDefinitionVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetLoggerDefinitionVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoggerDefinitionVersionCommand;
38
+ }($Command));
39
+ export { GetLoggerDefinitionVersionCommand };