@aws-sdk/client-service-catalog-appregistry 3.180.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 (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +28 -22
  3. package/dist-es/ServiceCatalogAppRegistry.js +90 -97
  4. package/dist-es/ServiceCatalogAppRegistryClient.js +22 -28
  5. package/dist-es/commands/AssociateAttributeGroupCommand.js +21 -28
  6. package/dist-es/commands/AssociateResourceCommand.js +21 -28
  7. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  8. package/dist-es/commands/CreateAttributeGroupCommand.js +21 -28
  9. package/dist-es/commands/DeleteApplicationCommand.js +21 -28
  10. package/dist-es/commands/DeleteAttributeGroupCommand.js +21 -28
  11. package/dist-es/commands/DisassociateAttributeGroupCommand.js +21 -28
  12. package/dist-es/commands/DisassociateResourceCommand.js +21 -28
  13. package/dist-es/commands/GetApplicationCommand.js +21 -28
  14. package/dist-es/commands/GetAssociatedResourceCommand.js +21 -28
  15. package/dist-es/commands/GetAttributeGroupCommand.js +21 -28
  16. package/dist-es/commands/ListApplicationsCommand.js +21 -28
  17. package/dist-es/commands/ListAssociatedAttributeGroupsCommand.js +21 -28
  18. package/dist-es/commands/ListAssociatedResourcesCommand.js +21 -28
  19. package/dist-es/commands/ListAttributeGroupsCommand.js +21 -28
  20. package/dist-es/commands/ListAttributeGroupsForApplicationCommand.js +21 -28
  21. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  22. package/dist-es/commands/SyncResourceCommand.js +21 -28
  23. package/dist-es/commands/TagResourceCommand.js +21 -28
  24. package/dist-es/commands/UntagResourceCommand.js +21 -28
  25. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  26. package/dist-es/commands/UpdateAttributeGroupCommand.js +21 -28
  27. package/dist-es/endpoints.js +8 -8
  28. package/dist-es/models/ServiceCatalogAppRegistryServiceException.js +5 -10
  29. package/dist-es/models/models_0.js +217 -110
  30. package/dist-es/pagination/ListApplicationsPaginator.js +25 -68
  31. package/dist-es/pagination/ListAssociatedAttributeGroupsPaginator.js +25 -68
  32. package/dist-es/pagination/ListAssociatedResourcesPaginator.js +25 -68
  33. package/dist-es/pagination/ListAttributeGroupsForApplicationPaginator.js +25 -68
  34. package/dist-es/pagination/ListAttributeGroupsPaginator.js +25 -68
  35. package/dist-es/protocols/Aws_restJson1.js +1464 -2136
  36. package/dist-es/runtimeConfig.browser.js +26 -12
  37. package/dist-es/runtimeConfig.js +30 -12
  38. package/dist-es/runtimeConfig.native.js +8 -5
  39. package/dist-es/runtimeConfig.shared.js +8 -11
  40. 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 { GetAssociatedResourceRequestFilterSensitiveLog, GetAssociatedResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetAssociatedResourceCommand, serializeAws_restJson1GetAssociatedResourceCommand, } from "../protocols/Aws_restJson1";
6
- var GetAssociatedResourceCommand = (function (_super) {
7
- __extends(GetAssociatedResourceCommand, _super);
8
- function GetAssociatedResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAssociatedResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAssociatedResourceCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "GetAssociatedResourceCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "GetAssociatedResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAssociatedResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAssociatedResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAssociatedResourceCommand.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_restJson1GetAssociatedResourceCommand(input, context);
33
- };
34
- GetAssociatedResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetAssociatedResourceCommand(output, context);
36
- };
37
- return GetAssociatedResourceCommand;
38
- }($Command));
39
- export { GetAssociatedResourceCommand };
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 { GetAttributeGroupRequestFilterSensitiveLog, GetAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetAttributeGroupCommand, serializeAws_restJson1GetAttributeGroupCommand, } from "../protocols/Aws_restJson1";
6
- var GetAttributeGroupCommand = (function (_super) {
7
- __extends(GetAttributeGroupCommand, _super);
8
- function GetAttributeGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAttributeGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAttributeGroupCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "GetAttributeGroupCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "GetAttributeGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAttributeGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAttributeGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAttributeGroupCommand.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_restJson1GetAttributeGroupCommand(input, context);
33
- };
34
- GetAttributeGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetAttributeGroupCommand(output, context);
36
- };
37
- return GetAttributeGroupCommand;
38
- }($Command));
39
- export { GetAttributeGroupCommand };
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 { ListApplicationsRequestFilterSensitiveLog, ListApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListApplicationsCommand = (function (_super) {
7
- __extends(ListApplicationsCommand, _super);
8
- function ListApplicationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListApplicationsCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListApplicationsCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListApplicationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListApplicationsCommand.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_restJson1ListApplicationsCommand(input, context);
33
- };
34
- ListApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
36
- };
37
- return ListApplicationsCommand;
38
- }($Command));
39
- export { ListApplicationsCommand };
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 { ListAssociatedAttributeGroupsRequestFilterSensitiveLog, ListAssociatedAttributeGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAssociatedAttributeGroupsCommand, serializeAws_restJson1ListAssociatedAttributeGroupsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAssociatedAttributeGroupsCommand = (function (_super) {
7
- __extends(ListAssociatedAttributeGroupsCommand, _super);
8
- function ListAssociatedAttributeGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAssociatedAttributeGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAssociatedAttributeGroupsCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListAssociatedAttributeGroupsCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListAssociatedAttributeGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAssociatedAttributeGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAssociatedAttributeGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAssociatedAttributeGroupsCommand.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_restJson1ListAssociatedAttributeGroupsCommand(input, context);
33
- };
34
- ListAssociatedAttributeGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAssociatedAttributeGroupsCommand(output, context);
36
- };
37
- return ListAssociatedAttributeGroupsCommand;
38
- }($Command));
39
- export { ListAssociatedAttributeGroupsCommand };
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 { ListAssociatedResourcesRequestFilterSensitiveLog, ListAssociatedResourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAssociatedResourcesCommand, serializeAws_restJson1ListAssociatedResourcesCommand, } from "../protocols/Aws_restJson1";
6
- var ListAssociatedResourcesCommand = (function (_super) {
7
- __extends(ListAssociatedResourcesCommand, _super);
8
- function ListAssociatedResourcesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAssociatedResourcesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAssociatedResourcesCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListAssociatedResourcesCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListAssociatedResourcesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAssociatedResourcesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAssociatedResourcesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAssociatedResourcesCommand.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_restJson1ListAssociatedResourcesCommand(input, context);
33
- };
34
- ListAssociatedResourcesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAssociatedResourcesCommand(output, context);
36
- };
37
- return ListAssociatedResourcesCommand;
38
- }($Command));
39
- export { ListAssociatedResourcesCommand };
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 { ListAttributeGroupsRequestFilterSensitiveLog, ListAttributeGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAttributeGroupsCommand, serializeAws_restJson1ListAttributeGroupsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAttributeGroupsCommand = (function (_super) {
7
- __extends(ListAttributeGroupsCommand, _super);
8
- function ListAttributeGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAttributeGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAttributeGroupsCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListAttributeGroupsCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListAttributeGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAttributeGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAttributeGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAttributeGroupsCommand.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_restJson1ListAttributeGroupsCommand(input, context);
33
- };
34
- ListAttributeGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAttributeGroupsCommand(output, context);
36
- };
37
- return ListAttributeGroupsCommand;
38
- }($Command));
39
- export { ListAttributeGroupsCommand };
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 { ListAttributeGroupsForApplicationRequestFilterSensitiveLog, ListAttributeGroupsForApplicationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAttributeGroupsForApplicationCommand, serializeAws_restJson1ListAttributeGroupsForApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var ListAttributeGroupsForApplicationCommand = (function (_super) {
7
- __extends(ListAttributeGroupsForApplicationCommand, _super);
8
- function ListAttributeGroupsForApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAttributeGroupsForApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAttributeGroupsForApplicationCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListAttributeGroupsForApplicationCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListAttributeGroupsForApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAttributeGroupsForApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAttributeGroupsForApplicationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAttributeGroupsForApplicationCommand.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_restJson1ListAttributeGroupsForApplicationCommand(input, context);
33
- };
34
- ListAttributeGroupsForApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAttributeGroupsForApplicationCommand(output, context);
36
- };
37
- return ListAttributeGroupsForApplicationCommand;
38
- }($Command));
39
- export { ListAttributeGroupsForApplicationCommand };
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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "ListTagsForResourceCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
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 { SyncResourceRequestFilterSensitiveLog, SyncResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1SyncResourceCommand, serializeAws_restJson1SyncResourceCommand, } from "../protocols/Aws_restJson1";
6
- var SyncResourceCommand = (function (_super) {
7
- __extends(SyncResourceCommand, _super);
8
- function SyncResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SyncResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SyncResourceCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "SyncResourceCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "SyncResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SyncResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SyncResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SyncResourceCommand.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_restJson1SyncResourceCommand(input, context);
33
- };
34
- SyncResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1SyncResourceCommand(output, context);
36
- };
37
- return SyncResourceCommand;
38
- }($Command));
39
- export { SyncResourceCommand };
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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "ServiceCatalogAppRegistryClient";
18
- var commandName = "TagResourceCommand";
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 = "ServiceCatalogAppRegistryClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }