@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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var ServiceCatalogAppRegistryClient = (function (_super) {
13
- __extends(ServiceCatalogAppRegistryClient, _super);
14
- function ServiceCatalogAppRegistryClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class ServiceCatalogAppRegistryClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- ServiceCatalogAppRegistryClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return ServiceCatalogAppRegistryClient;
38
- }(__Client));
39
- export { ServiceCatalogAppRegistryClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AssociateAttributeGroupRequestFilterSensitiveLog, AssociateAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateAttributeGroupCommand, serializeAws_restJson1AssociateAttributeGroupCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateAttributeGroupCommand = (function (_super) {
7
- __extends(AssociateAttributeGroupCommand, _super);
8
- function AssociateAttributeGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateAttributeGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateAttributeGroupCommand.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 = "AssociateAttributeGroupCommand";
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 = "AssociateAttributeGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateAttributeGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateAttributeGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateAttributeGroupCommand.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_restJson1AssociateAttributeGroupCommand(input, context);
33
- };
34
- AssociateAttributeGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateAttributeGroupCommand(output, context);
36
- };
37
- return AssociateAttributeGroupCommand;
38
- }($Command));
39
- export { AssociateAttributeGroupCommand };
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 { AssociateResourceRequestFilterSensitiveLog, AssociateResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateResourceCommand, serializeAws_restJson1AssociateResourceCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateResourceCommand = (function (_super) {
7
- __extends(AssociateResourceCommand, _super);
8
- function AssociateResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateResourceCommand.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 = "AssociateResourceCommand";
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 = "AssociateResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateResourceCommand.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_restJson1AssociateResourceCommand(input, context);
33
- };
34
- AssociateResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateResourceCommand(output, context);
36
- };
37
- return AssociateResourceCommand;
38
- }($Command));
39
- export { AssociateResourceCommand };
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 { CreateApplicationRequestFilterSensitiveLog, CreateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateApplicationCommand, serializeAws_restJson1CreateApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var CreateApplicationCommand = (function (_super) {
7
- __extends(CreateApplicationCommand, _super);
8
- function CreateApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateApplicationCommand.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 = "CreateApplicationCommand";
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 = "CreateApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateApplicationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateApplicationCommand.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_restJson1CreateApplicationCommand(input, context);
33
- };
34
- CreateApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateApplicationCommand(output, context);
36
- };
37
- return CreateApplicationCommand;
38
- }($Command));
39
- export { CreateApplicationCommand };
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 { CreateAttributeGroupRequestFilterSensitiveLog, CreateAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateAttributeGroupCommand, serializeAws_restJson1CreateAttributeGroupCommand, } from "../protocols/Aws_restJson1";
6
- var CreateAttributeGroupCommand = (function (_super) {
7
- __extends(CreateAttributeGroupCommand, _super);
8
- function CreateAttributeGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAttributeGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAttributeGroupCommand.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 = "CreateAttributeGroupCommand";
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 = "CreateAttributeGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAttributeGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateAttributeGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAttributeGroupCommand.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_restJson1CreateAttributeGroupCommand(input, context);
33
- };
34
- CreateAttributeGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateAttributeGroupCommand(output, context);
36
- };
37
- return CreateAttributeGroupCommand;
38
- }($Command));
39
- export { CreateAttributeGroupCommand };
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 { DeleteApplicationRequestFilterSensitiveLog, DeleteApplicationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteApplicationCommand = (function (_super) {
7
- __extends(DeleteApplicationCommand, _super);
8
- function DeleteApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteApplicationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteApplicationCommand.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_restJson1DeleteApplicationCommand(input, context);
33
- };
34
- DeleteApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteApplicationCommand(output, context);
36
- };
37
- return DeleteApplicationCommand;
38
- }($Command));
39
- export { DeleteApplicationCommand };
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 { DeleteAttributeGroupRequestFilterSensitiveLog, DeleteAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteAttributeGroupCommand, serializeAws_restJson1DeleteAttributeGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteAttributeGroupCommand = (function (_super) {
7
- __extends(DeleteAttributeGroupCommand, _super);
8
- function DeleteAttributeGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteAttributeGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAttributeGroupCommand.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 = "DeleteAttributeGroupCommand";
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 = "DeleteAttributeGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteAttributeGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteAttributeGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteAttributeGroupCommand.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_restJson1DeleteAttributeGroupCommand(input, context);
33
- };
34
- DeleteAttributeGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteAttributeGroupCommand(output, context);
36
- };
37
- return DeleteAttributeGroupCommand;
38
- }($Command));
39
- export { DeleteAttributeGroupCommand };
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 { DisassociateAttributeGroupRequestFilterSensitiveLog, DisassociateAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateAttributeGroupCommand, serializeAws_restJson1DisassociateAttributeGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DisassociateAttributeGroupCommand = (function (_super) {
7
- __extends(DisassociateAttributeGroupCommand, _super);
8
- function DisassociateAttributeGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateAttributeGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateAttributeGroupCommand.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 = "DisassociateAttributeGroupCommand";
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 = "DisassociateAttributeGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateAttributeGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateAttributeGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateAttributeGroupCommand.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_restJson1DisassociateAttributeGroupCommand(input, context);
33
- };
34
- DisassociateAttributeGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateAttributeGroupCommand(output, context);
36
- };
37
- return DisassociateAttributeGroupCommand;
38
- }($Command));
39
- export { DisassociateAttributeGroupCommand };
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 { DisassociateResourceRequestFilterSensitiveLog, DisassociateResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateResourceCommand, serializeAws_restJson1DisassociateResourceCommand, } from "../protocols/Aws_restJson1";
6
- var DisassociateResourceCommand = (function (_super) {
7
- __extends(DisassociateResourceCommand, _super);
8
- function DisassociateResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateResourceCommand.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 = "DisassociateResourceCommand";
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 = "DisassociateResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateResourceCommand.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_restJson1DisassociateResourceCommand(input, context);
33
- };
34
- DisassociateResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateResourceCommand(output, context);
36
- };
37
- return DisassociateResourceCommand;
38
- }($Command));
39
- export { DisassociateResourceCommand };
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 { GetApplicationRequestFilterSensitiveLog, GetApplicationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var GetApplicationCommand = (function (_super) {
7
- __extends(GetApplicationCommand, _super);
8
- function GetApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetApplicationCommand.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 = "GetApplicationCommand";
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 = "GetApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetApplicationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetApplicationCommand.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_restJson1GetApplicationCommand(input, context);
33
- };
34
- GetApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetApplicationCommand(output, context);
36
- };
37
- return GetApplicationCommand;
38
- }($Command));
39
- export { GetApplicationCommand };
31
+ }
32
+ }