@aws-sdk/client-neptune 3.477.0 → 3.478.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.
- package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -24
- package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -23
- package/dist-types/pagination/DescribeDBClusterEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeDBClusterEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeGlobalClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBClusters = createPaginator(NeptuneClient, DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBEngineVersionsCommand, } from "../commands/DescribeDBEngineVersionsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBEngineVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBEngineVersions = createPaginator(NeptuneClient, DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBInstancesCommand, } from "../commands/DescribeDBInstancesCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBInstancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBInstances = createPaginator(NeptuneClient, DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBParameterGroupsCommand, } from "../commands/DescribeDBParameterGroupsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBParameterGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBParameterGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBParameterGroups = createPaginator(NeptuneClient, DescribeDBParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBParametersCommand, } from "../commands/DescribeDBParametersCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBParametersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBParameters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBParameters = createPaginator(NeptuneClient, DescribeDBParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDBSubnetGroupsCommand, } from "../commands/DescribeDBSubnetGroupsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDBSubnetGroups = createPaginator(NeptuneClient, DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEngineDefaultParametersCommand, } from "../commands/DescribeEngineDefaultParametersCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.EngineDefaults.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEngineDefaultParameters = createPaginator(NeptuneClient, DescribeEngineDefaultParametersCommand, "Marker", "EngineDefaults.Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventSubscriptionsCommand, } from "../commands/DescribeEventSubscriptionsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventSubscriptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEventSubscriptions = createPaginator(NeptuneClient, DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEvents = createPaginator(NeptuneClient, DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeGlobalClustersCommand, } from "../commands/DescribeGlobalClustersCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeGlobalClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeGlobalClusters = createPaginator(NeptuneClient, DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeOrderableDBInstanceOptionsCommand, } from "../commands/DescribeOrderableDBInstanceOptionsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeOrderableDBInstanceOptions = createPaginator(NeptuneClient, DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribePendingMaintenanceActionsCommand, } from "../commands/DescribePendingMaintenanceActionsCommand";
|
|
2
3
|
import { NeptuneClient } from "../NeptuneClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxRecords"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof NeptuneClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribePendingMaintenanceActions = createPaginator(NeptuneClient, DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterEndpoints: (config: NeptunePaginationConfiguration, input: DescribeDBClusterEndpointsCommandInput, ...rest: any[]) => Paginator<DescribeDBClusterEndpointsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterParameterGroups: (config: NeptunePaginationConfiguration, input: DescribeDBClusterParameterGroupsCommandInput, ...rest: any[]) => Paginator<DescribeDBClusterParameterGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterParameters: (config: NeptunePaginationConfiguration, input: DescribeDBClusterParametersCommandInput, ...rest: any[]) => Paginator<DescribeDBClusterParametersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterSnapshots: (config: NeptunePaginationConfiguration, input: DescribeDBClusterSnapshotsCommandInput, ...rest: any[]) => Paginator<DescribeDBClusterSnapshotsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusters: (config: NeptunePaginationConfiguration, input: DescribeDBClustersCommandInput, ...rest: any[]) => Paginator<DescribeDBClustersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBEngineVersions: (config: NeptunePaginationConfiguration, input: DescribeDBEngineVersionsCommandInput, ...rest: any[]) => Paginator<DescribeDBEngineVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBInstances: (config: NeptunePaginationConfiguration, input: DescribeDBInstancesCommandInput, ...rest: any[]) => Paginator<DescribeDBInstancesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBParameterGroups: (config: NeptunePaginationConfiguration, input: DescribeDBParameterGroupsCommandInput, ...rest: any[]) => Paginator<DescribeDBParameterGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBParameters: (config: NeptunePaginationConfiguration, input: DescribeDBParametersCommandInput, ...rest: any[]) => Paginator<DescribeDBParametersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBSubnetGroups: (config: NeptunePaginationConfiguration, input: DescribeDBSubnetGroupsCommandInput, ...rest: any[]) => Paginator<DescribeDBSubnetGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEngineDefaultParameters: (config: NeptunePaginationConfiguration, input: DescribeEngineDefaultParametersCommandInput, ...rest: any[]) => Paginator<DescribeEngineDefaultParametersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEventSubscriptions: (config: NeptunePaginationConfiguration, input: DescribeEventSubscriptionsCommandInput, ...rest: any[]) => Paginator<DescribeEventSubscriptionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEvents: (config: NeptunePaginationConfiguration, input: DescribeEventsCommandInput, ...rest: any[]) => Paginator<DescribeEventsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeGlobalClusters: (config: NeptunePaginationConfiguration, input: DescribeGlobalClustersCommandInput, ...rest: any[]) => Paginator<DescribeGlobalClustersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeOrderableDBInstanceOptions: (config: NeptunePaginationConfiguration, input: DescribeOrderableDBInstanceOptionsCommandInput, ...rest: any[]) => Paginator<DescribeOrderableDBInstanceOptionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribePendingMaintenanceActions: (config: NeptunePaginationConfiguration, input: DescribePendingMaintenanceActionsCommandInput, ...rest: any[]) => Paginator<DescribePendingMaintenanceActionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBClusterEndpointsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBClusterEndpointsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterEndpoints: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBClusterEndpointsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBClusterEndpointsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBClusterParameterGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBClusterParameterGroupsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterParameterGroups: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBClusterParameterGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBClusterParameterGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBClusterParametersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBClusterParametersCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterParameters: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBClusterParametersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBClusterParametersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBClusterSnapshotsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBClusterSnapshotsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusterSnapshots: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBClusterSnapshotsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBClusterSnapshotsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBClustersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBClustersCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBClusters: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBClustersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBClustersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBEngineVersionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBEngineVersionsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBEngineVersions: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBEngineVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBEngineVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBInstancesCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBInstancesCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBInstances: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBInstancesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBInstancesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBParameterGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBParameterGroupsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBParameterGroups: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBParameterGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBParameterGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBParametersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBParametersCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBParameters: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBParametersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBParametersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDBSubnetGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDBSubnetGroupsCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDBSubnetGroups: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeDBSubnetGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDBSubnetGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeEngineDefaultParametersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeEngineDefaultParametersCommand";
|
|
6
6
|
import { NeptunePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEngineDefaultParameters: (
|
|
8
8
|
config: NeptunePaginationConfiguration,
|
|
9
9
|
input: DescribeEngineDefaultParametersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeEngineDefaultParametersCommandOutput>;
|