@aws-sdk/client-docdb 3.281.0 → 3.287.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 (29) hide show
  1. package/dist-cjs/pagination/DescribeCertificatesPaginator.js +1 -8
  2. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +1 -8
  3. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +1 -8
  4. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +1 -8
  5. package/dist-cjs/pagination/DescribeDBClustersPaginator.js +1 -8
  6. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +1 -8
  7. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +1 -8
  8. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +1 -8
  9. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +1 -8
  10. package/dist-cjs/pagination/DescribeEventsPaginator.js +1 -8
  11. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +1 -8
  12. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +1 -8
  13. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +1 -8
  14. package/dist-es/pagination/DescribeCertificatesPaginator.js +1 -8
  15. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +1 -8
  16. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +1 -8
  17. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +1 -8
  18. package/dist-es/pagination/DescribeDBClustersPaginator.js +1 -8
  19. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +1 -8
  20. package/dist-es/pagination/DescribeDBInstancesPaginator.js +1 -8
  21. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +1 -8
  22. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +1 -8
  23. package/dist-es/pagination/DescribeEventsPaginator.js +1 -8
  24. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +1 -8
  25. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +1 -8
  26. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +1 -8
  27. package/dist-types/pagination/Interfaces.d.ts +1 -2
  28. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  29. package/package.json +20 -20
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeCertificates = void 0;
4
4
  const DescribeCertificatesCommand_1 = require("../commands/DescribeCertificatesCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeCertificatesCommand_1.DescribeCertificatesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeCertificates(input, ...args);
12
- };
13
9
  async function* paginateDescribeCertificates(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeCertificates(config, input, ...additionalArgumen
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusterParameterGroups = void 0;
4
4
  const DescribeDBClusterParameterGroupsCommand_1 = require("../commands/DescribeDBClusterParameterGroupsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBClusterParameterGroupsCommand_1.DescribeDBClusterParameterGroupsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBClusterParameterGroups(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBClusterParameterGroups(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBClusterParameterGroups(config, input, ...addit
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusterParameters = void 0;
4
4
  const DescribeDBClusterParametersCommand_1 = require("../commands/DescribeDBClusterParametersCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBClusterParameters(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBClusterParameters(config, input, ...additional
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusterSnapshots = void 0;
4
4
  const DescribeDBClusterSnapshotsCommand_1 = require("../commands/DescribeDBClusterSnapshotsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBClusterSnapshots(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalA
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusters = void 0;
4
4
  const DescribeDBClustersCommand_1 = require("../commands/DescribeDBClustersCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBClustersCommand_1.DescribeDBClustersCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBClusters(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBClusters(config, input, ...additionalArguments
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBEngineVersions = void 0;
4
4
  const DescribeDBEngineVersionsCommand_1 = require("../commands/DescribeDBEngineVersionsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBEngineVersions(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBEngineVersions(config, input, ...additionalArg
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBInstances = void 0;
4
4
  const DescribeDBInstancesCommand_1 = require("../commands/DescribeDBInstancesCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBInstancesCommand_1.DescribeDBInstancesCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBInstances(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBInstances(config, input, ...additionalArgument
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBSubnetGroups = void 0;
4
4
  const DescribeDBSubnetGroupsCommand_1 = require("../commands/DescribeDBSubnetGroupsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeDBSubnetGroups(input, ...args);
12
- };
13
9
  async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArgum
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeEventSubscriptions = void 0;
4
4
  const DescribeEventSubscriptionsCommand_1 = require("../commands/DescribeEventSubscriptionsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeEventSubscriptions(input, ...args);
12
- };
13
9
  async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeEventSubscriptions(config, input, ...additionalA
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeEvents = void 0;
4
4
  const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeEvents(input, ...args);
12
- };
13
9
  async function* paginateDescribeEvents(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeEvents(config, input, ...additionalArguments) {
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeGlobalClusters = void 0;
4
4
  const DescribeGlobalClustersCommand_1 = require("../commands/DescribeGlobalClustersCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeGlobalClusters(input, ...args);
12
- };
13
9
  async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeGlobalClusters(config, input, ...additionalArgum
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeOrderableDBInstanceOptions = void 0;
4
4
  const DescribeOrderableDBInstanceOptionsCommand_1 = require("../commands/DescribeOrderableDBInstanceOptionsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describeOrderableDBInstanceOptions(input, ...args);
12
- };
13
9
  async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...add
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -2,14 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribePendingMaintenanceActions = void 0;
4
4
  const DescribePendingMaintenanceActionsCommand_1 = require("../commands/DescribePendingMaintenanceActionsCommand");
5
- const DocDB_1 = require("../DocDB");
6
5
  const DocDBClient_1 = require("../DocDBClient");
7
6
  const makePagedClientRequest = async (client, input, ...args) => {
8
7
  return await client.send(new DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand(input), ...args);
9
8
  };
10
- const makePagedRequest = async (client, input, ...args) => {
11
- return await client.describePendingMaintenanceActions(input, ...args);
12
- };
13
9
  async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
14
10
  let token = config.startingToken || undefined;
15
11
  let hasNext = true;
@@ -17,10 +13,7 @@ async function* paginateDescribePendingMaintenanceActions(config, input, ...addi
17
13
  while (hasNext) {
18
14
  input.Marker = token;
19
15
  input["MaxRecords"] = config.pageSize;
20
- if (config.client instanceof DocDB_1.DocDB) {
21
- page = await makePagedRequest(config.client, input, ...additionalArguments);
22
- }
23
- else if (config.client instanceof DocDBClient_1.DocDBClient) {
16
+ if (config.client instanceof DocDBClient_1.DocDBClient) {
24
17
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
18
  }
26
19
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeCertificatesCommand, } from "../commands/DescribeCertificatesCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeCertificatesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeCertificates(input, ...args);
9
- };
10
6
  export async function* paginateDescribeCertificates(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeCertificates(config, input, ...additional
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBClusterParameterGroupsCommand, } from "../commands/DescribeDBClusterParameterGroupsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBClusterParameterGroups(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBClusterParameterGroups(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBClusterParameterGroups(config, input, .
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBClusterParametersCommand, } from "../commands/DescribeDBClusterParametersCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBClusterParametersCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBClusterParameters(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBClusterParameters(config, input, ...add
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBClusterSnapshotsCommand, } from "../commands/DescribeDBClusterSnapshotsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBClusterSnapshots(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBClusterSnapshots(config, input, ...addi
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBClustersCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBClusters(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBClusters(config, input, ...additionalAr
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBEngineVersionsCommand, } from "../commands/DescribeDBEngineVersionsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBEngineVersionsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBEngineVersions(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBEngineVersions(config, input, ...additi
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBInstancesCommand, } from "../commands/DescribeDBInstancesCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBInstancesCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBInstances(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBInstances(config, input, ...additionalA
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeDBSubnetGroupsCommand, } from "../commands/DescribeDBSubnetGroupsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeDBSubnetGroups(input, ...args);
9
- };
10
6
  export async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeDBSubnetGroups(config, input, ...addition
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeEventSubscriptionsCommand, } from "../commands/DescribeEventSubscriptionsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeEventSubscriptionsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeEventSubscriptions(input, ...args);
9
- };
10
6
  export async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeEventSubscriptions(config, input, ...addi
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeEventsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeEvents(input, ...args);
9
- };
10
6
  export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeEvents(config, input, ...additionalArgume
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeGlobalClustersCommand, } from "../commands/DescribeGlobalClustersCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeGlobalClustersCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeGlobalClusters(input, ...args);
9
- };
10
6
  export async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeGlobalClusters(config, input, ...addition
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribeOrderableDBInstanceOptionsCommand, } from "../commands/DescribeOrderableDBInstanceOptionsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describeOrderableDBInstanceOptions(input, ...args);
9
- };
10
6
  export async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribeOrderableDBInstanceOptions(config, input,
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,12 +1,8 @@
1
1
  import { DescribePendingMaintenanceActionsCommand, } from "../commands/DescribePendingMaintenanceActionsCommand";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  const makePagedClientRequest = async (client, input, ...args) => {
5
4
  return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args);
6
5
  };
7
- const makePagedRequest = async (client, input, ...args) => {
8
- return await client.describePendingMaintenanceActions(input, ...args);
9
- };
10
6
  export async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
11
7
  let token = config.startingToken || undefined;
12
8
  let hasNext = true;
@@ -14,10 +10,7 @@ export async function* paginateDescribePendingMaintenanceActions(config, input,
14
10
  while (hasNext) {
15
11
  input.Marker = token;
16
12
  input["MaxRecords"] = config.pageSize;
17
- if (config.client instanceof DocDB) {
18
- page = await makePagedRequest(config.client, input, ...additionalArguments);
19
- }
20
- else if (config.client instanceof DocDBClient) {
13
+ if (config.client instanceof DocDBClient) {
21
14
  page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
15
  }
23
16
  else {
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  export interface DocDBPaginationConfiguration extends PaginationConfiguration {
5
- client: DocDB | DocDBClient;
4
+ client: DocDBClient;
6
5
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { DocDB } from "../DocDB";
3
2
  import { DocDBClient } from "../DocDBClient";
4
3
  export interface DocDBPaginationConfiguration extends PaginationConfiguration {
5
- client: DocDB | DocDBClient;
4
+ client: DocDBClient;
6
5
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-docdb",
3
3
  "description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
4
- "version": "3.281.0",
4
+ "version": "3.287.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,26 +20,26 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.281.0",
24
- "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.281.0",
26
- "@aws-sdk/fetch-http-handler": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.287.0",
24
+ "@aws-sdk/config-resolver": "3.287.0",
25
+ "@aws-sdk/credential-provider-node": "3.287.0",
26
+ "@aws-sdk/fetch-http-handler": "3.282.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.272.0",
30
- "@aws-sdk/middleware-endpoint": "3.272.0",
31
- "@aws-sdk/middleware-host-header": "3.278.0",
32
- "@aws-sdk/middleware-logger": "3.272.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
- "@aws-sdk/middleware-retry": "3.272.0",
35
- "@aws-sdk/middleware-sdk-rds": "3.272.0",
29
+ "@aws-sdk/middleware-content-length": "3.282.0",
30
+ "@aws-sdk/middleware-endpoint": "3.282.0",
31
+ "@aws-sdk/middleware-host-header": "3.282.0",
32
+ "@aws-sdk/middleware-logger": "3.287.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
+ "@aws-sdk/middleware-retry": "3.287.0",
35
+ "@aws-sdk/middleware-sdk-rds": "3.282.0",
36
36
  "@aws-sdk/middleware-serde": "3.272.0",
37
- "@aws-sdk/middleware-signing": "3.272.0",
37
+ "@aws-sdk/middleware-signing": "3.282.0",
38
38
  "@aws-sdk/middleware-stack": "3.272.0",
39
- "@aws-sdk/middleware-user-agent": "3.272.0",
40
- "@aws-sdk/node-config-provider": "3.272.0",
41
- "@aws-sdk/node-http-handler": "3.272.0",
42
- "@aws-sdk/protocol-http": "3.272.0",
39
+ "@aws-sdk/middleware-user-agent": "3.282.0",
40
+ "@aws-sdk/node-config-provider": "3.287.0",
41
+ "@aws-sdk/node-http-handler": "3.282.0",
42
+ "@aws-sdk/protocol-http": "3.282.0",
43
43
  "@aws-sdk/smithy-client": "3.279.0",
44
44
  "@aws-sdk/types": "3.272.0",
45
45
  "@aws-sdk/url-parser": "3.272.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.279.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.287.0",
51
51
  "@aws-sdk/util-endpoints": "3.272.0",
52
52
  "@aws-sdk/util-retry": "3.272.0",
53
- "@aws-sdk/util-user-agent-browser": "3.272.0",
54
- "@aws-sdk/util-user-agent-node": "3.272.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.282.0",
54
+ "@aws-sdk/util-user-agent-node": "3.287.0",
55
55
  "@aws-sdk/util-utf8": "3.254.0",
56
56
  "@aws-sdk/util-waiter": "3.272.0",
57
57
  "fast-xml-parser": "4.1.2",