@aws-sdk/client-greengrassv2 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/GreengrassV2.js +118 -125
  3. package/dist-es/GreengrassV2Client.js +22 -28
  4. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +21 -28
  5. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +21 -28
  6. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +21 -28
  7. package/dist-es/commands/CancelDeploymentCommand.js +21 -28
  8. package/dist-es/commands/CreateComponentVersionCommand.js +21 -28
  9. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  10. package/dist-es/commands/DeleteComponentCommand.js +22 -29
  11. package/dist-es/commands/DeleteCoreDeviceCommand.js +22 -29
  12. package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
  13. package/dist-es/commands/DescribeComponentCommand.js +21 -28
  14. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +21 -28
  15. package/dist-es/commands/GetComponentCommand.js +21 -28
  16. package/dist-es/commands/GetComponentVersionArtifactCommand.js +21 -28
  17. package/dist-es/commands/GetConnectivityInfoCommand.js +21 -28
  18. package/dist-es/commands/GetCoreDeviceCommand.js +21 -28
  19. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  20. package/dist-es/commands/GetServiceRoleForAccountCommand.js +21 -28
  21. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +21 -28
  22. package/dist-es/commands/ListComponentVersionsCommand.js +21 -28
  23. package/dist-es/commands/ListComponentsCommand.js +21 -28
  24. package/dist-es/commands/ListCoreDevicesCommand.js +21 -28
  25. package/dist-es/commands/ListDeploymentsCommand.js +21 -28
  26. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +21 -28
  27. package/dist-es/commands/ListInstalledComponentsCommand.js +21 -28
  28. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  29. package/dist-es/commands/ResolveComponentCandidatesCommand.js +21 -28
  30. package/dist-es/commands/TagResourceCommand.js +21 -28
  31. package/dist-es/commands/UntagResourceCommand.js +21 -28
  32. package/dist-es/commands/UpdateConnectivityInfoCommand.js +21 -28
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/GreengrassV2ServiceException.js +5 -10
  35. package/dist-es/models/models_0.js +387 -198
  36. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +25 -68
  37. package/dist-es/pagination/ListComponentVersionsPaginator.js +25 -68
  38. package/dist-es/pagination/ListComponentsPaginator.js +25 -68
  39. package/dist-es/pagination/ListCoreDevicesPaginator.js +25 -68
  40. package/dist-es/pagination/ListDeploymentsPaginator.js +25 -68
  41. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +25 -68
  42. package/dist-es/pagination/ListInstalledComponentsPaginator.js +25 -68
  43. package/dist-es/protocols/Aws_restJson1.js +2480 -3292
  44. package/dist-es/runtimeConfig.browser.js +26 -12
  45. package/dist-es/runtimeConfig.js +30 -12
  46. package/dist-es/runtimeConfig.native.js +8 -5
  47. package/dist-es/runtimeConfig.shared.js +8 -11
  48. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateServiceRoleToAccountRequestFilterSensitiveLog, AssociateServiceRoleToAccountResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateServiceRoleToAccountCommand, serializeAws_restJson1AssociateServiceRoleToAccountCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateServiceRoleToAccountCommand = (function (_super) {
7
- __extends(AssociateServiceRoleToAccountCommand, _super);
8
- function AssociateServiceRoleToAccountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateServiceRoleToAccountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateServiceRoleToAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "AssociateServiceRoleToAccountCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "AssociateServiceRoleToAccountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateServiceRoleToAccountRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateServiceRoleToAccountResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateServiceRoleToAccountCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1AssociateServiceRoleToAccountCommand(input, context);
33
- };
34
- AssociateServiceRoleToAccountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateServiceRoleToAccountCommand(output, context);
36
- };
37
- return AssociateServiceRoleToAccountCommand;
38
- }($Command));
39
- export { AssociateServiceRoleToAccountCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchAssociateClientDeviceWithCoreDeviceRequestFilterSensitiveLog, BatchAssociateClientDeviceWithCoreDeviceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand, serializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var BatchAssociateClientDeviceWithCoreDeviceCommand = (function (_super) {
7
- __extends(BatchAssociateClientDeviceWithCoreDeviceCommand, _super);
8
- function BatchAssociateClientDeviceWithCoreDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchAssociateClientDeviceWithCoreDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "BatchAssociateClientDeviceWithCoreDeviceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "BatchAssociateClientDeviceWithCoreDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchAssociateClientDeviceWithCoreDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchAssociateClientDeviceWithCoreDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchAssociateClientDeviceWithCoreDeviceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand(input, context);
33
- };
34
- BatchAssociateClientDeviceWithCoreDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand(output, context);
36
- };
37
- return BatchAssociateClientDeviceWithCoreDeviceCommand;
38
- }($Command));
39
- export { BatchAssociateClientDeviceWithCoreDeviceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchDisassociateClientDeviceFromCoreDeviceRequestFilterSensitiveLog, BatchDisassociateClientDeviceFromCoreDeviceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand, serializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var BatchDisassociateClientDeviceFromCoreDeviceCommand = (function (_super) {
7
- __extends(BatchDisassociateClientDeviceFromCoreDeviceCommand, _super);
8
- function BatchDisassociateClientDeviceFromCoreDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchDisassociateClientDeviceFromCoreDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "BatchDisassociateClientDeviceFromCoreDeviceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "BatchDisassociateClientDeviceFromCoreDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchDisassociateClientDeviceFromCoreDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchDisassociateClientDeviceFromCoreDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchDisassociateClientDeviceFromCoreDeviceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand(input, context);
33
- };
34
- BatchDisassociateClientDeviceFromCoreDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand(output, context);
36
- };
37
- return BatchDisassociateClientDeviceFromCoreDeviceCommand;
38
- }($Command));
39
- export { BatchDisassociateClientDeviceFromCoreDeviceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelDeploymentRequestFilterSensitiveLog, CancelDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CancelDeploymentCommand, serializeAws_restJson1CancelDeploymentCommand, } from "../protocols/Aws_restJson1";
6
- var CancelDeploymentCommand = (function (_super) {
7
- __extends(CancelDeploymentCommand, _super);
8
- function CancelDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "CancelDeploymentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "CancelDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelDeploymentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelDeploymentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelDeploymentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CancelDeploymentCommand(input, context);
33
- };
34
- CancelDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelDeploymentCommand(output, context);
36
- };
37
- return CancelDeploymentCommand;
38
- }($Command));
39
- export { CancelDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateComponentVersionRequestFilterSensitiveLog, CreateComponentVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateComponentVersionCommand, serializeAws_restJson1CreateComponentVersionCommand, } from "../protocols/Aws_restJson1";
6
- var CreateComponentVersionCommand = (function (_super) {
7
- __extends(CreateComponentVersionCommand, _super);
8
- function CreateComponentVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateComponentVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateComponentVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "CreateComponentVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "CreateComponentVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateComponentVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateComponentVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateComponentVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateComponentVersionCommand(input, context);
33
- };
34
- CreateComponentVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateComponentVersionCommand(output, context);
36
- };
37
- return CreateComponentVersionCommand;
38
- }($Command));
39
- export { CreateComponentVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateDeploymentRequestFilterSensitiveLog, CreateDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDeploymentCommand = (function (_super) {
7
- __extends(CreateDeploymentCommand, _super);
8
- function CreateDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "CreateDeploymentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "CreateDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDeploymentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDeploymentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDeploymentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateDeploymentCommand(input, context);
33
- };
34
- CreateDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDeploymentCommand(output, context);
36
- };
37
- return CreateDeploymentCommand;
38
- }($Command));
39
- export { CreateDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteComponentRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteComponentCommand, serializeAws_restJson1DeleteComponentCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteComponentCommand = (function (_super) {
7
- __extends(DeleteComponentCommand, _super);
8
- function DeleteComponentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteComponentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "DeleteComponentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "DeleteComponentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteComponentRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteComponentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteComponentCommand(input, context);
33
- };
34
- DeleteComponentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteComponentCommand(output, context);
36
- };
37
- return DeleteComponentCommand;
38
- }($Command));
39
- export { DeleteComponentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteCoreDeviceRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteCoreDeviceCommand, serializeAws_restJson1DeleteCoreDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteCoreDeviceCommand = (function (_super) {
7
- __extends(DeleteCoreDeviceCommand, _super);
8
- function DeleteCoreDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCoreDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCoreDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "DeleteCoreDeviceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "DeleteCoreDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCoreDeviceRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCoreDeviceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteCoreDeviceCommand(input, context);
33
- };
34
- DeleteCoreDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteCoreDeviceCommand(output, context);
36
- };
37
- return DeleteCoreDeviceCommand;
38
- }($Command));
39
- export { DeleteCoreDeviceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteDeploymentRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDeploymentCommand, serializeAws_restJson1DeleteDeploymentCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteDeploymentCommand = (function (_super) {
7
- __extends(DeleteDeploymentCommand, _super);
8
- function DeleteDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "DeleteDeploymentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "DeleteDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDeploymentRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDeploymentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteDeploymentCommand(input, context);
33
- };
34
- DeleteDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDeploymentCommand(output, context);
36
- };
37
- return DeleteDeploymentCommand;
38
- }($Command));
39
- export { DeleteDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeComponentRequestFilterSensitiveLog, DescribeComponentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeComponentCommand, serializeAws_restJson1DescribeComponentCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeComponentCommand = (function (_super) {
7
- __extends(DescribeComponentCommand, _super);
8
- function DescribeComponentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeComponentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GreengrassV2Client";
18
- var commandName = "DescribeComponentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GreengrassV2Client";
15
+ const commandName = "DescribeComponentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeComponentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeComponentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeComponentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeComponentCommand(input, context);
33
- };
34
- DescribeComponentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeComponentCommand(output, context);
36
- };
37
- return DescribeComponentCommand;
38
- }($Command));
39
- export { DescribeComponentCommand };
31
+ }
32
+ }