@aws-sdk/client-appintegrations 3.183.0 → 3.185.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 (28) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/AppIntegrations.js +69 -62
  4. package/dist-es/AppIntegrationsClient.js +28 -22
  5. package/dist-es/commands/CreateDataIntegrationCommand.js +28 -21
  6. package/dist-es/commands/CreateEventIntegrationCommand.js +28 -21
  7. package/dist-es/commands/DeleteDataIntegrationCommand.js +28 -21
  8. package/dist-es/commands/DeleteEventIntegrationCommand.js +28 -21
  9. package/dist-es/commands/GetDataIntegrationCommand.js +28 -21
  10. package/dist-es/commands/GetEventIntegrationCommand.js +28 -21
  11. package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +28 -21
  12. package/dist-es/commands/ListDataIntegrationsCommand.js +28 -21
  13. package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +28 -21
  14. package/dist-es/commands/ListEventIntegrationsCommand.js +28 -21
  15. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  16. package/dist-es/commands/TagResourceCommand.js +28 -21
  17. package/dist-es/commands/UntagResourceCommand.js +28 -21
  18. package/dist-es/commands/UpdateDataIntegrationCommand.js +28 -21
  19. package/dist-es/commands/UpdateEventIntegrationCommand.js +28 -21
  20. package/dist-es/endpoints.js +8 -8
  21. package/dist-es/models/AppIntegrationsServiceException.js +10 -5
  22. package/dist-es/models/models_0.js +121 -192
  23. package/dist-es/protocols/Aws_restJson1.js +1608 -1138
  24. package/dist-es/runtimeConfig.browser.js +12 -26
  25. package/dist-es/runtimeConfig.js +12 -30
  26. package/dist-es/runtimeConfig.native.js +5 -8
  27. package/dist-es/runtimeConfig.shared.js +11 -8
  28. package/package.json +5 -5
@@ -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 { GetDataIntegrationRequestFilterSensitiveLog, GetDataIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataIntegrationCommand, serializeAws_restJson1GetDataIntegrationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataIntegrationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataIntegrationCommand = (function (_super) {
7
+ __extends(GetDataIntegrationCommand, _super);
8
+ function GetDataIntegrationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataIntegrationCommand.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 = "AppIntegrationsClient";
15
- const commandName = "GetDataIntegrationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "GetDataIntegrationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataIntegrationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataIntegrationResponseFilterSensitiveLog,
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
+ GetDataIntegrationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataIntegrationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataIntegrationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataIntegrationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataIntegrationCommand;
38
+ }($Command));
39
+ export { GetDataIntegrationCommand };
@@ -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 { GetEventIntegrationRequestFilterSensitiveLog, GetEventIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEventIntegrationCommand, serializeAws_restJson1GetEventIntegrationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEventIntegrationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEventIntegrationCommand = (function (_super) {
7
+ __extends(GetEventIntegrationCommand, _super);
8
+ function GetEventIntegrationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEventIntegrationCommand.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 = "AppIntegrationsClient";
15
- const commandName = "GetEventIntegrationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "GetEventIntegrationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEventIntegrationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEventIntegrationResponseFilterSensitiveLog,
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
+ GetEventIntegrationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEventIntegrationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEventIntegrationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEventIntegrationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEventIntegrationCommand;
38
+ }($Command));
39
+ export { GetEventIntegrationCommand };
@@ -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 { ListDataIntegrationAssociationsRequestFilterSensitiveLog, ListDataIntegrationAssociationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDataIntegrationAssociationsCommand, serializeAws_restJson1ListDataIntegrationAssociationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDataIntegrationAssociationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataIntegrationAssociationsCommand = (function (_super) {
7
+ __extends(ListDataIntegrationAssociationsCommand, _super);
8
+ function ListDataIntegrationAssociationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataIntegrationAssociationsCommand.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 = "AppIntegrationsClient";
15
- const commandName = "ListDataIntegrationAssociationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "ListDataIntegrationAssociationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataIntegrationAssociationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataIntegrationAssociationsResponseFilterSensitiveLog,
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
+ ListDataIntegrationAssociationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDataIntegrationAssociationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataIntegrationAssociationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDataIntegrationAssociationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataIntegrationAssociationsCommand;
38
+ }($Command));
39
+ export { ListDataIntegrationAssociationsCommand };
@@ -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 { ListDataIntegrationsRequestFilterSensitiveLog, ListDataIntegrationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDataIntegrationsCommand, serializeAws_restJson1ListDataIntegrationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDataIntegrationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataIntegrationsCommand = (function (_super) {
7
+ __extends(ListDataIntegrationsCommand, _super);
8
+ function ListDataIntegrationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataIntegrationsCommand.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 = "AppIntegrationsClient";
15
- const commandName = "ListDataIntegrationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "ListDataIntegrationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataIntegrationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataIntegrationsResponseFilterSensitiveLog,
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
+ ListDataIntegrationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDataIntegrationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataIntegrationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDataIntegrationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataIntegrationsCommand;
38
+ }($Command));
39
+ export { ListDataIntegrationsCommand };
@@ -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 { ListEventIntegrationAssociationsRequestFilterSensitiveLog, ListEventIntegrationAssociationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEventIntegrationAssociationsCommand, serializeAws_restJson1ListEventIntegrationAssociationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEventIntegrationAssociationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEventIntegrationAssociationsCommand = (function (_super) {
7
+ __extends(ListEventIntegrationAssociationsCommand, _super);
8
+ function ListEventIntegrationAssociationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEventIntegrationAssociationsCommand.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 = "AppIntegrationsClient";
15
- const commandName = "ListEventIntegrationAssociationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "ListEventIntegrationAssociationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEventIntegrationAssociationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEventIntegrationAssociationsResponseFilterSensitiveLog,
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
+ ListEventIntegrationAssociationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEventIntegrationAssociationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEventIntegrationAssociationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEventIntegrationAssociationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEventIntegrationAssociationsCommand;
38
+ }($Command));
39
+ export { ListEventIntegrationAssociationsCommand };
@@ -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 { ListEventIntegrationsRequestFilterSensitiveLog, ListEventIntegrationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEventIntegrationsCommand, serializeAws_restJson1ListEventIntegrationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEventIntegrationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEventIntegrationsCommand = (function (_super) {
7
+ __extends(ListEventIntegrationsCommand, _super);
8
+ function ListEventIntegrationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEventIntegrationsCommand.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 = "AppIntegrationsClient";
15
- const commandName = "ListEventIntegrationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "ListEventIntegrationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEventIntegrationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEventIntegrationsResponseFilterSensitiveLog,
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
+ ListEventIntegrationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEventIntegrationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEventIntegrationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEventIntegrationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEventIntegrationsCommand;
38
+ }($Command));
39
+ export { ListEventIntegrationsCommand };
@@ -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 = "AppIntegrationsClient";
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 = "AppIntegrationsClient";
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 { 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 = "AppIntegrationsClient";
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 = "AppIntegrationsClient";
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 = "AppIntegrationsClient";
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 = "AppIntegrationsClient";
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 { UpdateDataIntegrationRequestFilterSensitiveLog, UpdateDataIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateDataIntegrationCommand, serializeAws_restJson1UpdateDataIntegrationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateDataIntegrationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateDataIntegrationCommand = (function (_super) {
7
+ __extends(UpdateDataIntegrationCommand, _super);
8
+ function UpdateDataIntegrationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateDataIntegrationCommand.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 = "AppIntegrationsClient";
15
- const commandName = "UpdateDataIntegrationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppIntegrationsClient";
18
+ var commandName = "UpdateDataIntegrationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateDataIntegrationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateDataIntegrationResponseFilterSensitiveLog,
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
+ UpdateDataIntegrationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateDataIntegrationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateDataIntegrationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateDataIntegrationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateDataIntegrationCommand;
38
+ }($Command));
39
+ export { UpdateDataIntegrationCommand };