@aws-sdk/client-greengrassv2 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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/GreengrassV2.js +125 -118
  4. package/dist-es/GreengrassV2Client.js +28 -22
  5. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +28 -21
  6. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +28 -21
  7. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +28 -21
  8. package/dist-es/commands/CancelDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateComponentVersionCommand.js +28 -21
  10. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  11. package/dist-es/commands/DeleteComponentCommand.js +29 -22
  12. package/dist-es/commands/DeleteCoreDeviceCommand.js +29 -22
  13. package/dist-es/commands/DeleteDeploymentCommand.js +29 -22
  14. package/dist-es/commands/DescribeComponentCommand.js +28 -21
  15. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +28 -21
  16. package/dist-es/commands/GetComponentCommand.js +28 -21
  17. package/dist-es/commands/GetComponentVersionArtifactCommand.js +28 -21
  18. package/dist-es/commands/GetConnectivityInfoCommand.js +28 -21
  19. package/dist-es/commands/GetCoreDeviceCommand.js +28 -21
  20. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  21. package/dist-es/commands/GetServiceRoleForAccountCommand.js +28 -21
  22. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +28 -21
  23. package/dist-es/commands/ListComponentVersionsCommand.js +28 -21
  24. package/dist-es/commands/ListComponentsCommand.js +28 -21
  25. package/dist-es/commands/ListCoreDevicesCommand.js +28 -21
  26. package/dist-es/commands/ListDeploymentsCommand.js +28 -21
  27. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +28 -21
  28. package/dist-es/commands/ListInstalledComponentsCommand.js +28 -21
  29. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  30. package/dist-es/commands/ResolveComponentCandidatesCommand.js +28 -21
  31. package/dist-es/commands/TagResourceCommand.js +28 -21
  32. package/dist-es/commands/UntagResourceCommand.js +28 -21
  33. package/dist-es/commands/UpdateConnectivityInfoCommand.js +28 -21
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/GreengrassV2ServiceException.js +10 -5
  36. package/dist-es/models/models_0.js +198 -387
  37. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +68 -25
  38. package/dist-es/pagination/ListComponentVersionsPaginator.js +68 -25
  39. package/dist-es/pagination/ListComponentsPaginator.js +68 -25
  40. package/dist-es/pagination/ListCoreDevicesPaginator.js +68 -25
  41. package/dist-es/pagination/ListDeploymentsPaginator.js +68 -25
  42. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +68 -25
  43. package/dist-es/pagination/ListInstalledComponentsPaginator.js +68 -25
  44. package/dist-es/protocols/Aws_restJson1.js +3292 -2480
  45. package/dist-es/runtimeConfig.browser.js +12 -26
  46. package/dist-es/runtimeConfig.js +12 -30
  47. package/dist-es/runtimeConfig.native.js +5 -8
  48. package/dist-es/runtimeConfig.shared.js +11 -8
  49. 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 { 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 = "GreengrassV2Client";
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 = "GreengrassV2Client";
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 { GetComponentRequestFilterSensitiveLog, GetComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetComponentCommand, serializeAws_restJson1GetComponentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetComponentCommand = (function (_super) {
7
+ __extends(GetComponentCommand, _super);
8
+ function GetComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetComponentCommand.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 = "GreengrassV2Client";
15
- const commandName = "GetComponentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "GetComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetComponentResponseFilterSensitiveLog,
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
+ GetComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetComponentCommand;
38
+ }($Command));
39
+ export { GetComponentCommand };
@@ -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 { GetComponentVersionArtifactRequestFilterSensitiveLog, GetComponentVersionArtifactResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetComponentVersionArtifactCommand, serializeAws_restJson1GetComponentVersionArtifactCommand, } from "../protocols/Aws_restJson1";
5
- export class GetComponentVersionArtifactCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetComponentVersionArtifactCommand = (function (_super) {
7
+ __extends(GetComponentVersionArtifactCommand, _super);
8
+ function GetComponentVersionArtifactCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetComponentVersionArtifactCommand.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 = "GreengrassV2Client";
15
- const commandName = "GetComponentVersionArtifactCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "GetComponentVersionArtifactCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetComponentVersionArtifactRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetComponentVersionArtifactResponseFilterSensitiveLog,
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
+ GetComponentVersionArtifactCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetComponentVersionArtifactCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetComponentVersionArtifactCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetComponentVersionArtifactCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetComponentVersionArtifactCommand;
38
+ }($Command));
39
+ export { GetComponentVersionArtifactCommand };
@@ -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 = "GreengrassV2Client";
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 = "GreengrassV2Client";
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 { GetCoreDeviceRequestFilterSensitiveLog, GetCoreDeviceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetCoreDeviceCommand, serializeAws_restJson1GetCoreDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class GetCoreDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCoreDeviceCommand = (function (_super) {
7
+ __extends(GetCoreDeviceCommand, _super);
8
+ function GetCoreDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCoreDeviceCommand.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 = "GreengrassV2Client";
15
- const commandName = "GetCoreDeviceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "GetCoreDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCoreDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCoreDeviceResponseFilterSensitiveLog,
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
+ GetCoreDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetCoreDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCoreDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetCoreDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCoreDeviceCommand;
38
+ }($Command));
39
+ export { GetCoreDeviceCommand };
@@ -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 { GetDeploymentRequestFilterSensitiveLog, GetDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeploymentCommand, serializeAws_restJson1GetDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentCommand = (function (_super) {
7
+ __extends(GetDeploymentCommand, _super);
8
+ function GetDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentCommand.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 = "GreengrassV2Client";
15
- const commandName = "GetDeploymentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "GetDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentResponseFilterSensitiveLog,
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
+ GetDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentCommand;
38
+ }($Command));
39
+ export { GetDeploymentCommand };
@@ -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 { GetServiceRoleForAccountRequestFilterSensitiveLog, GetServiceRoleForAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetServiceRoleForAccountCommand, serializeAws_restJson1GetServiceRoleForAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class GetServiceRoleForAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetServiceRoleForAccountCommand = (function (_super) {
7
+ __extends(GetServiceRoleForAccountCommand, _super);
8
+ function GetServiceRoleForAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetServiceRoleForAccountCommand.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 = "GreengrassV2Client";
15
- const commandName = "GetServiceRoleForAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "GetServiceRoleForAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetServiceRoleForAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetServiceRoleForAccountResponseFilterSensitiveLog,
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
+ GetServiceRoleForAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetServiceRoleForAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetServiceRoleForAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetServiceRoleForAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetServiceRoleForAccountCommand;
38
+ }($Command));
39
+ export { GetServiceRoleForAccountCommand };
@@ -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 { ListClientDevicesAssociatedWithCoreDeviceRequestFilterSensitiveLog, ListClientDevicesAssociatedWithCoreDeviceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand, serializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListClientDevicesAssociatedWithCoreDeviceCommand = (function (_super) {
7
+ __extends(ListClientDevicesAssociatedWithCoreDeviceCommand, _super);
8
+ function ListClientDevicesAssociatedWithCoreDeviceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListClientDevicesAssociatedWithCoreDeviceCommand.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 = "GreengrassV2Client";
15
- const commandName = "ListClientDevicesAssociatedWithCoreDeviceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "ListClientDevicesAssociatedWithCoreDeviceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListClientDevicesAssociatedWithCoreDeviceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListClientDevicesAssociatedWithCoreDeviceResponseFilterSensitiveLog,
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
+ ListClientDevicesAssociatedWithCoreDeviceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListClientDevicesAssociatedWithCoreDeviceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListClientDevicesAssociatedWithCoreDeviceCommand;
38
+ }($Command));
39
+ export { ListClientDevicesAssociatedWithCoreDeviceCommand };
@@ -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 { ListComponentVersionsRequestFilterSensitiveLog, ListComponentVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListComponentVersionsCommand, serializeAws_restJson1ListComponentVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListComponentVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListComponentVersionsCommand = (function (_super) {
7
+ __extends(ListComponentVersionsCommand, _super);
8
+ function ListComponentVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListComponentVersionsCommand.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 = "GreengrassV2Client";
15
- const commandName = "ListComponentVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "ListComponentVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListComponentVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListComponentVersionsResponseFilterSensitiveLog,
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
+ ListComponentVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListComponentVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListComponentVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListComponentVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListComponentVersionsCommand;
38
+ }($Command));
39
+ export { ListComponentVersionsCommand };
@@ -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 { ListComponentsRequestFilterSensitiveLog, ListComponentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListComponentsCommand, serializeAws_restJson1ListComponentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListComponentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListComponentsCommand = (function (_super) {
7
+ __extends(ListComponentsCommand, _super);
8
+ function ListComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListComponentsCommand.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 = "GreengrassV2Client";
15
- const commandName = "ListComponentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GreengrassV2Client";
18
+ var commandName = "ListComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListComponentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListComponentsResponseFilterSensitiveLog,
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
+ ListComponentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListComponentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListComponentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListComponentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListComponentsCommand;
38
+ }($Command));
39
+ export { ListComponentsCommand };