@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 { ListCoreDevicesRequestFilterSensitiveLog, ListCoreDevicesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCoreDevicesCommand, serializeAws_restJson1ListCoreDevicesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCoreDevicesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCoreDevicesCommand = (function (_super) {
7
+ __extends(ListCoreDevicesCommand, _super);
8
+ function ListCoreDevicesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCoreDevicesCommand.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 = "ListCoreDevicesCommand";
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 = "ListCoreDevicesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCoreDevicesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCoreDevicesResponseFilterSensitiveLog,
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
+ ListCoreDevicesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListCoreDevicesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCoreDevicesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCoreDevicesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCoreDevicesCommand;
38
+ }($Command));
39
+ export { ListCoreDevicesCommand };
@@ -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 { ListDeploymentsRequestFilterSensitiveLog, ListDeploymentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDeploymentsCommand, serializeAws_restJson1ListDeploymentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDeploymentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentsCommand = (function (_super) {
7
+ __extends(ListDeploymentsCommand, _super);
8
+ function ListDeploymentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentsCommand.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 = "ListDeploymentsCommand";
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 = "ListDeploymentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentsResponseFilterSensitiveLog,
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
+ ListDeploymentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDeploymentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDeploymentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentsCommand;
38
+ }($Command));
39
+ export { ListDeploymentsCommand };
@@ -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 { ListEffectiveDeploymentsRequestFilterSensitiveLog, ListEffectiveDeploymentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEffectiveDeploymentsCommand, serializeAws_restJson1ListEffectiveDeploymentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEffectiveDeploymentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEffectiveDeploymentsCommand = (function (_super) {
7
+ __extends(ListEffectiveDeploymentsCommand, _super);
8
+ function ListEffectiveDeploymentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEffectiveDeploymentsCommand.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 = "ListEffectiveDeploymentsCommand";
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 = "ListEffectiveDeploymentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEffectiveDeploymentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEffectiveDeploymentsResponseFilterSensitiveLog,
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
+ ListEffectiveDeploymentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEffectiveDeploymentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEffectiveDeploymentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEffectiveDeploymentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEffectiveDeploymentsCommand;
38
+ }($Command));
39
+ export { ListEffectiveDeploymentsCommand };
@@ -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 { ListInstalledComponentsRequestFilterSensitiveLog, ListInstalledComponentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInstalledComponentsCommand, serializeAws_restJson1ListInstalledComponentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInstalledComponentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInstalledComponentsCommand = (function (_super) {
7
+ __extends(ListInstalledComponentsCommand, _super);
8
+ function ListInstalledComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInstalledComponentsCommand.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 = "ListInstalledComponentsCommand";
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 = "ListInstalledComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInstalledComponentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInstalledComponentsResponseFilterSensitiveLog,
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
+ ListInstalledComponentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInstalledComponentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInstalledComponentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInstalledComponentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInstalledComponentsCommand;
38
+ }($Command));
39
+ export { ListInstalledComponentsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ResolveComponentCandidatesRequestFilterSensitiveLog, ResolveComponentCandidatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ResolveComponentCandidatesCommand, serializeAws_restJson1ResolveComponentCandidatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ResolveComponentCandidatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ResolveComponentCandidatesCommand = (function (_super) {
7
+ __extends(ResolveComponentCandidatesCommand, _super);
8
+ function ResolveComponentCandidatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ResolveComponentCandidatesCommand.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 = "ResolveComponentCandidatesCommand";
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 = "ResolveComponentCandidatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ResolveComponentCandidatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ResolveComponentCandidatesResponseFilterSensitiveLog,
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
+ ResolveComponentCandidatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ResolveComponentCandidatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ResolveComponentCandidatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ResolveComponentCandidatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ResolveComponentCandidatesCommand;
38
+ }($Command));
39
+ export { ResolveComponentCandidatesCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateConnectivityInfoRequestFilterSensitiveLog, UpdateConnectivityInfoResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateConnectivityInfoCommand, serializeAws_restJson1UpdateConnectivityInfoCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateConnectivityInfoCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateConnectivityInfoCommand = (function (_super) {
7
+ __extends(UpdateConnectivityInfoCommand, _super);
8
+ function UpdateConnectivityInfoCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateConnectivityInfoCommand.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 = "UpdateConnectivityInfoCommand";
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 = "UpdateConnectivityInfoCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateConnectivityInfoRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateConnectivityInfoResponseFilterSensitiveLog,
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
+ UpdateConnectivityInfoCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateConnectivityInfoCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateConnectivityInfoCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateConnectivityInfoCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateConnectivityInfoCommand;
38
+ }($Command));
39
+ export { UpdateConnectivityInfoCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "dataplane-us-gov-east-1": {
4
5
  variants: [
5
6
  {
@@ -41,7 +42,7 @@ const regionHash = {
41
42
  signingRegion: "us-gov-west-1",
42
43
  },
43
44
  };
44
- const partitionHash = {
45
+ var partitionHash = {
45
46
  aws: {
46
47
  regions: [
47
48
  "af-south-1",
@@ -167,9 +168,8 @@ const partitionHash = {
167
168
  ],
168
169
  },
169
170
  };
170
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
171
- ...options,
172
- signingService: "greengrass",
173
- regionHash,
174
- partitionHash,
175
- });
171
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
172
+ return __generator(this, function (_a) {
173
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "greengrass", regionHash: regionHash, partitionHash: partitionHash }))];
174
+ });
175
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class GreengrassV2ServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
3
+ var GreengrassV2ServiceException = (function (_super) {
4
+ __extends(GreengrassV2ServiceException, _super);
5
+ function GreengrassV2ServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, GreengrassV2ServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return GreengrassV2ServiceException;
11
+ }(__ServiceException));
12
+ export { GreengrassV2ServiceException };