@aws-sdk/client-appflow 3.185.0 → 3.188.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 (43) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/models/models_0.js +12 -5
  3. package/dist-cjs/protocols/Aws_restJson1.js +18 -0
  4. package/dist-es/Appflow.js +90 -97
  5. package/dist-es/AppflowClient.js +22 -28
  6. package/dist-es/commands/CreateConnectorProfileCommand.js +21 -28
  7. package/dist-es/commands/CreateFlowCommand.js +21 -28
  8. package/dist-es/commands/DeleteConnectorProfileCommand.js +21 -28
  9. package/dist-es/commands/DeleteFlowCommand.js +21 -28
  10. package/dist-es/commands/DescribeConnectorCommand.js +21 -28
  11. package/dist-es/commands/DescribeConnectorEntityCommand.js +21 -28
  12. package/dist-es/commands/DescribeConnectorProfilesCommand.js +21 -28
  13. package/dist-es/commands/DescribeConnectorsCommand.js +21 -28
  14. package/dist-es/commands/DescribeFlowCommand.js +21 -28
  15. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +21 -28
  16. package/dist-es/commands/ListConnectorEntitiesCommand.js +21 -28
  17. package/dist-es/commands/ListConnectorsCommand.js +21 -28
  18. package/dist-es/commands/ListFlowsCommand.js +21 -28
  19. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  20. package/dist-es/commands/RegisterConnectorCommand.js +21 -28
  21. package/dist-es/commands/StartFlowCommand.js +21 -28
  22. package/dist-es/commands/StopFlowCommand.js +21 -28
  23. package/dist-es/commands/TagResourceCommand.js +21 -28
  24. package/dist-es/commands/UnregisterConnectorCommand.js +21 -28
  25. package/dist-es/commands/UntagResourceCommand.js +21 -28
  26. package/dist-es/commands/UpdateConnectorProfileCommand.js +21 -28
  27. package/dist-es/commands/UpdateFlowCommand.js +21 -28
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/AppflowServiceException.js +5 -10
  30. package/dist-es/models/models_0.js +727 -302
  31. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +25 -68
  32. package/dist-es/pagination/DescribeConnectorsPaginator.js +25 -68
  33. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +25 -68
  34. package/dist-es/pagination/ListConnectorsPaginator.js +25 -68
  35. package/dist-es/pagination/ListFlowsPaginator.js +25 -68
  36. package/dist-es/protocols/Aws_restJson1.js +2731 -2943
  37. package/dist-es/runtimeConfig.browser.js +26 -12
  38. package/dist-es/runtimeConfig.js +30 -12
  39. package/dist-es/runtimeConfig.native.js +8 -5
  40. package/dist-es/runtimeConfig.shared.js +8 -11
  41. package/dist-types/models/models_0.d.ts +98 -5
  42. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  43. 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 { CreateConnectorProfileRequestFilterSensitiveLog, CreateConnectorProfileResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateConnectorProfileCommand, serializeAws_restJson1CreateConnectorProfileCommand, } from "../protocols/Aws_restJson1";
6
- var CreateConnectorProfileCommand = (function (_super) {
7
- __extends(CreateConnectorProfileCommand, _super);
8
- function CreateConnectorProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectorProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectorProfileCommand.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 = "AppflowClient";
18
- var commandName = "CreateConnectorProfileCommand";
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 = "AppflowClient";
15
+ const commandName = "CreateConnectorProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectorProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectorProfileResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectorProfileCommand.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_restJson1CreateConnectorProfileCommand(input, context);
33
- };
34
- CreateConnectorProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateConnectorProfileCommand(output, context);
36
- };
37
- return CreateConnectorProfileCommand;
38
- }($Command));
39
- export { CreateConnectorProfileCommand };
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 { CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateFlowCommand, serializeAws_restJson1CreateFlowCommand, } from "../protocols/Aws_restJson1";
6
- var CreateFlowCommand = (function (_super) {
7
- __extends(CreateFlowCommand, _super);
8
- function CreateFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFlowCommand.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 = "AppflowClient";
18
- var commandName = "CreateFlowCommand";
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 = "AppflowClient";
15
+ const commandName = "CreateFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFlowCommand.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_restJson1CreateFlowCommand(input, context);
33
- };
34
- CreateFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateFlowCommand(output, context);
36
- };
37
- return CreateFlowCommand;
38
- }($Command));
39
- export { CreateFlowCommand };
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 { DeleteConnectorProfileRequestFilterSensitiveLog, DeleteConnectorProfileResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteConnectorProfileCommand, serializeAws_restJson1DeleteConnectorProfileCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteConnectorProfileCommand = (function (_super) {
7
- __extends(DeleteConnectorProfileCommand, _super);
8
- function DeleteConnectorProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteConnectorProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConnectorProfileCommand.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 = "AppflowClient";
18
- var commandName = "DeleteConnectorProfileCommand";
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 = "AppflowClient";
15
+ const commandName = "DeleteConnectorProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteConnectorProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConnectorProfileResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteConnectorProfileCommand.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_restJson1DeleteConnectorProfileCommand(input, context);
33
- };
34
- DeleteConnectorProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteConnectorProfileCommand(output, context);
36
- };
37
- return DeleteConnectorProfileCommand;
38
- }($Command));
39
- export { DeleteConnectorProfileCommand };
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 { DeleteFlowRequestFilterSensitiveLog, DeleteFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteFlowCommand, serializeAws_restJson1DeleteFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteFlowCommand = (function (_super) {
7
- __extends(DeleteFlowCommand, _super);
8
- function DeleteFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFlowCommand.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 = "AppflowClient";
18
- var commandName = "DeleteFlowCommand";
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 = "AppflowClient";
15
+ const commandName = "DeleteFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFlowCommand.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_restJson1DeleteFlowCommand(input, context);
33
- };
34
- DeleteFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteFlowCommand(output, context);
36
- };
37
- return DeleteFlowCommand;
38
- }($Command));
39
- export { DeleteFlowCommand };
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 { DescribeConnectorRequestFilterSensitiveLog, DescribeConnectorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeConnectorCommand, serializeAws_restJson1DescribeConnectorCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeConnectorCommand = (function (_super) {
7
- __extends(DescribeConnectorCommand, _super);
8
- function DescribeConnectorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConnectorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConnectorCommand.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 = "AppflowClient";
18
- var commandName = "DescribeConnectorCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeConnectorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConnectorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConnectorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConnectorCommand.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_restJson1DescribeConnectorCommand(input, context);
33
- };
34
- DescribeConnectorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeConnectorCommand(output, context);
36
- };
37
- return DescribeConnectorCommand;
38
- }($Command));
39
- export { DescribeConnectorCommand };
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 { DescribeConnectorEntityRequestFilterSensitiveLog, DescribeConnectorEntityResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeConnectorEntityCommand, serializeAws_restJson1DescribeConnectorEntityCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeConnectorEntityCommand = (function (_super) {
7
- __extends(DescribeConnectorEntityCommand, _super);
8
- function DescribeConnectorEntityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConnectorEntityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConnectorEntityCommand.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 = "AppflowClient";
18
- var commandName = "DescribeConnectorEntityCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeConnectorEntityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConnectorEntityRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConnectorEntityResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConnectorEntityCommand.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_restJson1DescribeConnectorEntityCommand(input, context);
33
- };
34
- DescribeConnectorEntityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeConnectorEntityCommand(output, context);
36
- };
37
- return DescribeConnectorEntityCommand;
38
- }($Command));
39
- export { DescribeConnectorEntityCommand };
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 { DescribeConnectorProfilesRequestFilterSensitiveLog, DescribeConnectorProfilesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeConnectorProfilesCommand, serializeAws_restJson1DescribeConnectorProfilesCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeConnectorProfilesCommand = (function (_super) {
7
- __extends(DescribeConnectorProfilesCommand, _super);
8
- function DescribeConnectorProfilesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConnectorProfilesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConnectorProfilesCommand.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 = "AppflowClient";
18
- var commandName = "DescribeConnectorProfilesCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeConnectorProfilesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConnectorProfilesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConnectorProfilesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConnectorProfilesCommand.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_restJson1DescribeConnectorProfilesCommand(input, context);
33
- };
34
- DescribeConnectorProfilesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeConnectorProfilesCommand(output, context);
36
- };
37
- return DescribeConnectorProfilesCommand;
38
- }($Command));
39
- export { DescribeConnectorProfilesCommand };
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 { DescribeConnectorsRequestFilterSensitiveLog, DescribeConnectorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeConnectorsCommand, serializeAws_restJson1DescribeConnectorsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeConnectorsCommand = (function (_super) {
7
- __extends(DescribeConnectorsCommand, _super);
8
- function DescribeConnectorsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeConnectorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeConnectorsCommand.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 = "AppflowClient";
18
- var commandName = "DescribeConnectorsCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeConnectorsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeConnectorsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeConnectorsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeConnectorsCommand.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_restJson1DescribeConnectorsCommand(input, context);
33
- };
34
- DescribeConnectorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeConnectorsCommand(output, context);
36
- };
37
- return DescribeConnectorsCommand;
38
- }($Command));
39
- export { DescribeConnectorsCommand };
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 { DescribeFlowRequestFilterSensitiveLog, DescribeFlowResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeFlowCommand, serializeAws_restJson1DescribeFlowCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeFlowCommand = (function (_super) {
7
- __extends(DescribeFlowCommand, _super);
8
- function DescribeFlowCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFlowCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFlowCommand.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 = "AppflowClient";
18
- var commandName = "DescribeFlowCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeFlowCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFlowRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFlowResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFlowCommand.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_restJson1DescribeFlowCommand(input, context);
33
- };
34
- DescribeFlowCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeFlowCommand(output, context);
36
- };
37
- return DescribeFlowCommand;
38
- }($Command));
39
- export { DescribeFlowCommand };
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 { DescribeFlowExecutionRecordsRequestFilterSensitiveLog, DescribeFlowExecutionRecordsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeFlowExecutionRecordsCommand, serializeAws_restJson1DescribeFlowExecutionRecordsCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeFlowExecutionRecordsCommand = (function (_super) {
7
- __extends(DescribeFlowExecutionRecordsCommand, _super);
8
- function DescribeFlowExecutionRecordsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFlowExecutionRecordsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFlowExecutionRecordsCommand.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 = "AppflowClient";
18
- var commandName = "DescribeFlowExecutionRecordsCommand";
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 = "AppflowClient";
15
+ const commandName = "DescribeFlowExecutionRecordsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFlowExecutionRecordsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFlowExecutionRecordsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFlowExecutionRecordsCommand.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_restJson1DescribeFlowExecutionRecordsCommand(input, context);
33
- };
34
- DescribeFlowExecutionRecordsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeFlowExecutionRecordsCommand(output, context);
36
- };
37
- return DescribeFlowExecutionRecordsCommand;
38
- }($Command));
39
- export { DescribeFlowExecutionRecordsCommand };
31
+ }
32
+ }