@aws-sdk/client-greengrass 3.183.0 → 3.185.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 +11 -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 +5 -5
@@ -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 { DisassociateRoleFromGroupRequestFilterSensitiveLog, DisassociateRoleFromGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateRoleFromGroupCommand, serializeAws_restJson1DisassociateRoleFromGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateRoleFromGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateRoleFromGroupCommand = (function (_super) {
7
+ __extends(DisassociateRoleFromGroupCommand, _super);
8
+ function DisassociateRoleFromGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateRoleFromGroupCommand.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 = "DisassociateRoleFromGroupCommand";
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 = "DisassociateRoleFromGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateRoleFromGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateRoleFromGroupResponseFilterSensitiveLog,
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
+ DisassociateRoleFromGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateRoleFromGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateRoleFromGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateRoleFromGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateRoleFromGroupCommand;
38
+ }($Command));
39
+ export { DisassociateRoleFromGroupCommand };
@@ -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 { DisassociateServiceRoleFromAccountRequestFilterSensitiveLog, DisassociateServiceRoleFromAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateServiceRoleFromAccountCommand, serializeAws_restJson1DisassociateServiceRoleFromAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateServiceRoleFromAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateServiceRoleFromAccountCommand = (function (_super) {
7
+ __extends(DisassociateServiceRoleFromAccountCommand, _super);
8
+ function DisassociateServiceRoleFromAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateServiceRoleFromAccountCommand.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 = "DisassociateServiceRoleFromAccountCommand";
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 = "DisassociateServiceRoleFromAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateServiceRoleFromAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateServiceRoleFromAccountResponseFilterSensitiveLog,
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
+ DisassociateServiceRoleFromAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateServiceRoleFromAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateServiceRoleFromAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateServiceRoleFromAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateServiceRoleFromAccountCommand;
38
+ }($Command));
39
+ export { DisassociateServiceRoleFromAccountCommand };
@@ -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 { GetAssociatedRoleRequestFilterSensitiveLog, GetAssociatedRoleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAssociatedRoleCommand, serializeAws_restJson1GetAssociatedRoleCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAssociatedRoleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAssociatedRoleCommand = (function (_super) {
7
+ __extends(GetAssociatedRoleCommand, _super);
8
+ function GetAssociatedRoleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAssociatedRoleCommand.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 = "GetAssociatedRoleCommand";
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 = "GetAssociatedRoleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAssociatedRoleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAssociatedRoleResponseFilterSensitiveLog,
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
+ GetAssociatedRoleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAssociatedRoleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAssociatedRoleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAssociatedRoleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAssociatedRoleCommand;
38
+ }($Command));
39
+ export { GetAssociatedRoleCommand };
@@ -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 { GetBulkDeploymentStatusRequestFilterSensitiveLog, GetBulkDeploymentStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBulkDeploymentStatusCommand, serializeAws_restJson1GetBulkDeploymentStatusCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBulkDeploymentStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBulkDeploymentStatusCommand = (function (_super) {
7
+ __extends(GetBulkDeploymentStatusCommand, _super);
8
+ function GetBulkDeploymentStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBulkDeploymentStatusCommand.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 = "GetBulkDeploymentStatusCommand";
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 = "GetBulkDeploymentStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBulkDeploymentStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBulkDeploymentStatusResponseFilterSensitiveLog,
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
+ GetBulkDeploymentStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBulkDeploymentStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBulkDeploymentStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBulkDeploymentStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBulkDeploymentStatusCommand;
38
+ }($Command));
39
+ export { GetBulkDeploymentStatusCommand };
@@ -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 { GetConnectivityInfoRequestFilterSensitiveLog, GetConnectivityInfoResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetConnectivityInfoCommand, serializeAws_restJson1GetConnectivityInfoCommand, } from "../protocols/Aws_restJson1";
5
- export class GetConnectivityInfoCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetConnectivityInfoCommand = (function (_super) {
7
+ __extends(GetConnectivityInfoCommand, _super);
8
+ function GetConnectivityInfoCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetConnectivityInfoCommand.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 = "GetConnectivityInfoCommand";
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 = "GetConnectivityInfoCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetConnectivityInfoRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetConnectivityInfoResponseFilterSensitiveLog,
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
+ GetConnectivityInfoCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetConnectivityInfoCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetConnectivityInfoCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetConnectivityInfoCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetConnectivityInfoCommand;
38
+ }($Command));
39
+ export { GetConnectivityInfoCommand };
@@ -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 { GetConnectorDefinitionRequestFilterSensitiveLog, GetConnectorDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetConnectorDefinitionCommand, serializeAws_restJson1GetConnectorDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetConnectorDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetConnectorDefinitionCommand = (function (_super) {
7
+ __extends(GetConnectorDefinitionCommand, _super);
8
+ function GetConnectorDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetConnectorDefinitionCommand.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 = "GetConnectorDefinitionCommand";
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 = "GetConnectorDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetConnectorDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetConnectorDefinitionResponseFilterSensitiveLog,
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
+ GetConnectorDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetConnectorDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetConnectorDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetConnectorDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetConnectorDefinitionCommand;
38
+ }($Command));
39
+ export { GetConnectorDefinitionCommand };
@@ -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 { GetConnectorDefinitionVersionRequestFilterSensitiveLog, GetConnectorDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetConnectorDefinitionVersionCommand, serializeAws_restJson1GetConnectorDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetConnectorDefinitionVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetConnectorDefinitionVersionCommand = (function (_super) {
7
+ __extends(GetConnectorDefinitionVersionCommand, _super);
8
+ function GetConnectorDefinitionVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetConnectorDefinitionVersionCommand.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 = "GetConnectorDefinitionVersionCommand";
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 = "GetConnectorDefinitionVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetConnectorDefinitionVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetConnectorDefinitionVersionResponseFilterSensitiveLog,
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
+ GetConnectorDefinitionVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetConnectorDefinitionVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetConnectorDefinitionVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetConnectorDefinitionVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetConnectorDefinitionVersionCommand;
38
+ }($Command));
39
+ export { GetConnectorDefinitionVersionCommand };
@@ -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 { GetCoreDefinitionRequestFilterSensitiveLog, GetCoreDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetCoreDefinitionCommand, serializeAws_restJson1GetCoreDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetCoreDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCoreDefinitionCommand = (function (_super) {
7
+ __extends(GetCoreDefinitionCommand, _super);
8
+ function GetCoreDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCoreDefinitionCommand.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 = "GetCoreDefinitionCommand";
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 = "GetCoreDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCoreDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCoreDefinitionResponseFilterSensitiveLog,
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
+ GetCoreDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetCoreDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCoreDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetCoreDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCoreDefinitionCommand;
38
+ }($Command));
39
+ export { GetCoreDefinitionCommand };
@@ -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 { GetCoreDefinitionVersionRequestFilterSensitiveLog, GetCoreDefinitionVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetCoreDefinitionVersionCommand, serializeAws_restJson1GetCoreDefinitionVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetCoreDefinitionVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCoreDefinitionVersionCommand = (function (_super) {
7
+ __extends(GetCoreDefinitionVersionCommand, _super);
8
+ function GetCoreDefinitionVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCoreDefinitionVersionCommand.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 = "GetCoreDefinitionVersionCommand";
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 = "GetCoreDefinitionVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCoreDefinitionVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCoreDefinitionVersionResponseFilterSensitiveLog,
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
+ GetCoreDefinitionVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetCoreDefinitionVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCoreDefinitionVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetCoreDefinitionVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCoreDefinitionVersionCommand;
38
+ }($Command));
39
+ export { GetCoreDefinitionVersionCommand };
@@ -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 { GetDeploymentStatusRequestFilterSensitiveLog, GetDeploymentStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeploymentStatusCommand, serializeAws_restJson1GetDeploymentStatusCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeploymentStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentStatusCommand = (function (_super) {
7
+ __extends(GetDeploymentStatusCommand, _super);
8
+ function GetDeploymentStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentStatusCommand.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 = "GetDeploymentStatusCommand";
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 = "GetDeploymentStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentStatusResponseFilterSensitiveLog,
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
+ GetDeploymentStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeploymentStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeploymentStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentStatusCommand;
38
+ }($Command));
39
+ export { GetDeploymentStatusCommand };