@aws-sdk/client-docdb 3.181.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 (80) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/DocDB.js +214 -221
  3. package/dist-es/DocDBClient.js +22 -28
  4. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +21 -28
  5. package/dist-es/commands/AddTagsToResourceCommand.js +22 -29
  6. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
  7. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +21 -28
  8. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +21 -28
  9. package/dist-es/commands/CreateDBClusterCommand.js +21 -28
  10. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +21 -28
  11. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +21 -28
  12. package/dist-es/commands/CreateDBInstanceCommand.js +21 -28
  13. package/dist-es/commands/CreateDBSubnetGroupCommand.js +21 -28
  14. package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
  15. package/dist-es/commands/CreateGlobalClusterCommand.js +21 -28
  16. package/dist-es/commands/DeleteDBClusterCommand.js +21 -28
  17. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +22 -29
  18. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +21 -28
  19. package/dist-es/commands/DeleteDBInstanceCommand.js +21 -28
  20. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +22 -29
  21. package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
  22. package/dist-es/commands/DeleteGlobalClusterCommand.js +21 -28
  23. package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
  24. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +21 -28
  25. package/dist-es/commands/DescribeDBClusterParametersCommand.js +21 -28
  26. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +21 -28
  27. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +21 -28
  28. package/dist-es/commands/DescribeDBClustersCommand.js +21 -28
  29. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +21 -28
  30. package/dist-es/commands/DescribeDBInstancesCommand.js +21 -28
  31. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +21 -28
  32. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +21 -28
  33. package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
  34. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
  35. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  36. package/dist-es/commands/DescribeGlobalClustersCommand.js +21 -28
  37. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +21 -28
  38. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
  39. package/dist-es/commands/FailoverDBClusterCommand.js +21 -28
  40. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  41. package/dist-es/commands/ModifyDBClusterCommand.js +21 -28
  42. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +21 -28
  43. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +21 -28
  44. package/dist-es/commands/ModifyDBInstanceCommand.js +21 -28
  45. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +21 -28
  46. package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
  47. package/dist-es/commands/ModifyGlobalClusterCommand.js +21 -28
  48. package/dist-es/commands/RebootDBInstanceCommand.js +21 -28
  49. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +21 -28
  50. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +21 -28
  51. package/dist-es/commands/RemoveTagsFromResourceCommand.js +22 -29
  52. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +21 -28
  53. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +21 -28
  54. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +21 -28
  55. package/dist-es/commands/StartDBClusterCommand.js +21 -28
  56. package/dist-es/commands/StopDBClusterCommand.js +21 -28
  57. package/dist-es/endpoints.js +8 -8
  58. package/dist-es/models/DocDBServiceException.js +5 -10
  59. package/dist-es/models/models_0.js +1083 -818
  60. package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
  61. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +25 -68
  62. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +25 -68
  63. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +25 -68
  64. package/dist-es/pagination/DescribeDBClustersPaginator.js +25 -68
  65. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +25 -68
  66. package/dist-es/pagination/DescribeDBInstancesPaginator.js +25 -68
  67. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +25 -68
  68. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
  69. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  70. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +25 -68
  71. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +25 -68
  72. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
  73. package/dist-es/protocols/Aws_query.js +4058 -5264
  74. package/dist-es/runtimeConfig.browser.js +26 -12
  75. package/dist-es/runtimeConfig.js +30 -12
  76. package/dist-es/runtimeConfig.native.js +8 -5
  77. package/dist-es/runtimeConfig.shared.js +8 -11
  78. package/dist-es/waiters/waitForDBInstanceAvailable.js +106 -187
  79. package/dist-es/waiters/waitForDBInstanceDeleted.js +94 -165
  80. package/package.json +35 -35
@@ -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 { CertificateMessageFilterSensitiveLog, DescribeCertificatesMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeCertificatesCommand, serializeAws_queryDescribeCertificatesCommand, } from "../protocols/Aws_query";
6
- var DescribeCertificatesCommand = (function (_super) {
7
- __extends(DescribeCertificatesCommand, _super);
8
- function DescribeCertificatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCertificatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCertificatesCommand.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 = "DocDBClient";
18
- var commandName = "DescribeCertificatesCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeCertificatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCertificatesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CertificateMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCertificatesCommand.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_queryDescribeCertificatesCommand(input, context);
33
- };
34
- DescribeCertificatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeCertificatesCommand(output, context);
36
- };
37
- return DescribeCertificatesCommand;
38
- }($Command));
39
- export { DescribeCertificatesCommand };
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 { DBClusterParameterGroupsMessageFilterSensitiveLog, DescribeDBClusterParameterGroupsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBClusterParameterGroupsCommand, serializeAws_queryDescribeDBClusterParameterGroupsCommand, } from "../protocols/Aws_query";
6
- var DescribeDBClusterParameterGroupsCommand = (function (_super) {
7
- __extends(DescribeDBClusterParameterGroupsCommand, _super);
8
- function DescribeDBClusterParameterGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBClusterParameterGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBClusterParameterGroupsCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBClusterParameterGroupsCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBClusterParameterGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBClusterParameterGroupsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBClusterParameterGroupsMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBClusterParameterGroupsCommand.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_queryDescribeDBClusterParameterGroupsCommand(input, context);
33
- };
34
- DescribeDBClusterParameterGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBClusterParameterGroupsCommand(output, context);
36
- };
37
- return DescribeDBClusterParameterGroupsCommand;
38
- }($Command));
39
- export { DescribeDBClusterParameterGroupsCommand };
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 { DBClusterParameterGroupDetailsFilterSensitiveLog, DescribeDBClusterParametersMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBClusterParametersCommand, serializeAws_queryDescribeDBClusterParametersCommand, } from "../protocols/Aws_query";
6
- var DescribeDBClusterParametersCommand = (function (_super) {
7
- __extends(DescribeDBClusterParametersCommand, _super);
8
- function DescribeDBClusterParametersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBClusterParametersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBClusterParametersCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBClusterParametersCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBClusterParametersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBClusterParametersMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBClusterParameterGroupDetailsFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBClusterParametersCommand.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_queryDescribeDBClusterParametersCommand(input, context);
33
- };
34
- DescribeDBClusterParametersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBClusterParametersCommand(output, context);
36
- };
37
- return DescribeDBClusterParametersCommand;
38
- }($Command));
39
- export { DescribeDBClusterParametersCommand };
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 { DescribeDBClusterSnapshotAttributesMessageFilterSensitiveLog, DescribeDBClusterSnapshotAttributesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand, serializeAws_queryDescribeDBClusterSnapshotAttributesCommand, } from "../protocols/Aws_query";
6
- var DescribeDBClusterSnapshotAttributesCommand = (function (_super) {
7
- __extends(DescribeDBClusterSnapshotAttributesCommand, _super);
8
- function DescribeDBClusterSnapshotAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBClusterSnapshotAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBClusterSnapshotAttributesCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBClusterSnapshotAttributesCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBClusterSnapshotAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBClusterSnapshotAttributesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDBClusterSnapshotAttributesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBClusterSnapshotAttributesCommand.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_queryDescribeDBClusterSnapshotAttributesCommand(input, context);
33
- };
34
- DescribeDBClusterSnapshotAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand(output, context);
36
- };
37
- return DescribeDBClusterSnapshotAttributesCommand;
38
- }($Command));
39
- export { DescribeDBClusterSnapshotAttributesCommand };
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 { DBClusterSnapshotMessageFilterSensitiveLog, DescribeDBClusterSnapshotsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBClusterSnapshotsCommand, serializeAws_queryDescribeDBClusterSnapshotsCommand, } from "../protocols/Aws_query";
6
- var DescribeDBClusterSnapshotsCommand = (function (_super) {
7
- __extends(DescribeDBClusterSnapshotsCommand, _super);
8
- function DescribeDBClusterSnapshotsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBClusterSnapshotsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBClusterSnapshotsCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBClusterSnapshotsCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBClusterSnapshotsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBClusterSnapshotsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBClusterSnapshotMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBClusterSnapshotsCommand.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_queryDescribeDBClusterSnapshotsCommand(input, context);
33
- };
34
- DescribeDBClusterSnapshotsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBClusterSnapshotsCommand(output, context);
36
- };
37
- return DescribeDBClusterSnapshotsCommand;
38
- }($Command));
39
- export { DescribeDBClusterSnapshotsCommand };
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 { DBClusterMessageFilterSensitiveLog, DescribeDBClustersMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBClustersCommand, serializeAws_queryDescribeDBClustersCommand, } from "../protocols/Aws_query";
6
- var DescribeDBClustersCommand = (function (_super) {
7
- __extends(DescribeDBClustersCommand, _super);
8
- function DescribeDBClustersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBClustersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBClustersCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBClustersCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBClustersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBClustersMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBClusterMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBClustersCommand.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_queryDescribeDBClustersCommand(input, context);
33
- };
34
- DescribeDBClustersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBClustersCommand(output, context);
36
- };
37
- return DescribeDBClustersCommand;
38
- }($Command));
39
- export { DescribeDBClustersCommand };
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 { DBEngineVersionMessageFilterSensitiveLog, DescribeDBEngineVersionsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBEngineVersionsCommand, serializeAws_queryDescribeDBEngineVersionsCommand, } from "../protocols/Aws_query";
6
- var DescribeDBEngineVersionsCommand = (function (_super) {
7
- __extends(DescribeDBEngineVersionsCommand, _super);
8
- function DescribeDBEngineVersionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBEngineVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBEngineVersionsCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBEngineVersionsCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBEngineVersionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBEngineVersionsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBEngineVersionMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBEngineVersionsCommand.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_queryDescribeDBEngineVersionsCommand(input, context);
33
- };
34
- DescribeDBEngineVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBEngineVersionsCommand(output, context);
36
- };
37
- return DescribeDBEngineVersionsCommand;
38
- }($Command));
39
- export { DescribeDBEngineVersionsCommand };
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 { DBInstanceMessageFilterSensitiveLog, DescribeDBInstancesMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBInstancesCommand, serializeAws_queryDescribeDBInstancesCommand, } from "../protocols/Aws_query";
6
- var DescribeDBInstancesCommand = (function (_super) {
7
- __extends(DescribeDBInstancesCommand, _super);
8
- function DescribeDBInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBInstancesCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBInstancesCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBInstancesMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBInstanceMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBInstancesCommand.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_queryDescribeDBInstancesCommand(input, context);
33
- };
34
- DescribeDBInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBInstancesCommand(output, context);
36
- };
37
- return DescribeDBInstancesCommand;
38
- }($Command));
39
- export { DescribeDBInstancesCommand };
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 { DBSubnetGroupMessageFilterSensitiveLog, DescribeDBSubnetGroupsMessageFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDBSubnetGroupsCommand, serializeAws_queryDescribeDBSubnetGroupsCommand, } from "../protocols/Aws_query";
6
- var DescribeDBSubnetGroupsCommand = (function (_super) {
7
- __extends(DescribeDBSubnetGroupsCommand, _super);
8
- function DescribeDBSubnetGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDBSubnetGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDBSubnetGroupsCommand.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 = "DocDBClient";
18
- var commandName = "DescribeDBSubnetGroupsCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeDBSubnetGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDBSubnetGroupsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DBSubnetGroupMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDBSubnetGroupsCommand.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_queryDescribeDBSubnetGroupsCommand(input, context);
33
- };
34
- DescribeDBSubnetGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDBSubnetGroupsCommand(output, context);
36
- };
37
- return DescribeDBSubnetGroupsCommand;
38
- }($Command));
39
- export { DescribeDBSubnetGroupsCommand };
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 { DescribeEngineDefaultClusterParametersMessageFilterSensitiveLog, DescribeEngineDefaultClusterParametersResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeEngineDefaultClusterParametersCommand, serializeAws_queryDescribeEngineDefaultClusterParametersCommand, } from "../protocols/Aws_query";
6
- var DescribeEngineDefaultClusterParametersCommand = (function (_super) {
7
- __extends(DescribeEngineDefaultClusterParametersCommand, _super);
8
- function DescribeEngineDefaultClusterParametersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEngineDefaultClusterParametersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEngineDefaultClusterParametersCommand.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 = "DocDBClient";
18
- var commandName = "DescribeEngineDefaultClusterParametersCommand";
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 = "DocDBClient";
15
+ const commandName = "DescribeEngineDefaultClusterParametersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEngineDefaultClusterParametersMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEngineDefaultClusterParametersResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEngineDefaultClusterParametersCommand.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_queryDescribeEngineDefaultClusterParametersCommand(input, context);
33
- };
34
- DescribeEngineDefaultClusterParametersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeEngineDefaultClusterParametersCommand(output, context);
36
- };
37
- return DescribeEngineDefaultClusterParametersCommand;
38
- }($Command));
39
- export { DescribeEngineDefaultClusterParametersCommand };
31
+ }
32
+ }