@aws-sdk/client-neptune 3.476.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-cjs/protocols/Aws_query.js +2408 -2048
- 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-es/protocols/Aws_query.js +2408 -2048
- 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 +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterEndpoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterEndpointsCommand_1 = require("../commands/DescribeDBClusterEndpointsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterEndpointsCommand_1.DescribeDBClusterEndpointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterEndpoints(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBClusterEndpoints = paginateDescribeDBClusterEndpoints;
|
|
7
|
+
exports.paginateDescribeDBClusterEndpoints = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBClusterEndpointsCommand_1.DescribeDBClusterEndpointsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterParameterGroupsCommand_1 = require("../commands/DescribeDBClusterParameterGroupsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterParameterGroupsCommand_1.DescribeDBClusterParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterParameterGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBClusterParameterGroups = paginateDescribeDBClusterParameterGroups;
|
|
7
|
+
exports.paginateDescribeDBClusterParameterGroups = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBClusterParameterGroupsCommand_1.DescribeDBClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterParametersCommand_1 = require("../commands/DescribeDBClusterParametersCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBClusterParameters = paginateDescribeDBClusterParameters;
|
|
7
|
+
exports.paginateDescribeDBClusterParameters = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterSnapshotsCommand_1 = require("../commands/DescribeDBClusterSnapshotsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBClusterSnapshots = paginateDescribeDBClusterSnapshots;
|
|
7
|
+
exports.paginateDescribeDBClusterSnapshots = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClustersCommand_1 = require("../commands/DescribeDBClustersCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClustersCommand_1.DescribeDBClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBClusters = paginateDescribeDBClusters;
|
|
7
|
+
exports.paginateDescribeDBClusters = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBClustersCommand_1.DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBEngineVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBEngineVersionsCommand_1 = require("../commands/DescribeDBEngineVersionsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBEngineVersions = paginateDescribeDBEngineVersions;
|
|
7
|
+
exports.paginateDescribeDBEngineVersions = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBInstances = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBInstancesCommand_1 = require("../commands/DescribeDBInstancesCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBInstancesCommand_1.DescribeDBInstancesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBInstances = paginateDescribeDBInstances;
|
|
7
|
+
exports.paginateDescribeDBInstances = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBInstancesCommand_1.DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBParameterGroupsCommand_1 = require("../commands/DescribeDBParameterGroupsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBParameterGroupsCommand_1.DescribeDBParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBParameterGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBParameterGroups = paginateDescribeDBParameterGroups;
|
|
7
|
+
exports.paginateDescribeDBParameterGroups = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBParameterGroupsCommand_1.DescribeDBParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBParametersCommand_1 = require("../commands/DescribeDBParametersCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBParametersCommand_1.DescribeDBParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBParameters = paginateDescribeDBParameters;
|
|
7
|
+
exports.paginateDescribeDBParameters = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBParametersCommand_1.DescribeDBParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBSubnetGroupsCommand_1 = require("../commands/DescribeDBSubnetGroupsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBSubnetGroups = paginateDescribeDBSubnetGroups;
|
|
7
|
+
exports.paginateDescribeDBSubnetGroups = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineDefaultParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEngineDefaultParametersCommand_1 = require("../commands/DescribeEngineDefaultParametersCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.EngineDefaults.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEngineDefaultParameters = paginateDescribeEngineDefaultParameters;
|
|
7
|
+
exports.paginateDescribeEngineDefaultParameters = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand, "Marker", "EngineDefaults.Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEventSubscriptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventSubscriptionsCommand_1 = require("../commands/DescribeEventSubscriptionsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEventSubscriptions = paginateDescribeEventSubscriptions;
|
|
7
|
+
exports.paginateDescribeEventSubscriptions = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEvents = paginateDescribeEvents;
|
|
7
|
+
exports.paginateDescribeEvents = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeEventsCommand_1.DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeGlobalClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeGlobalClustersCommand_1 = require("../commands/DescribeGlobalClustersCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeGlobalClusters = paginateDescribeGlobalClusters;
|
|
7
|
+
exports.paginateDescribeGlobalClusters = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeOrderableDBInstanceOptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeOrderableDBInstanceOptionsCommand_1 = require("../commands/DescribeOrderableDBInstanceOptionsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeOrderableDBInstanceOptions = paginateDescribeOrderableDBInstanceOptions;
|
|
7
|
+
exports.paginateDescribeOrderableDBInstanceOptions = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribePendingMaintenanceActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribePendingMaintenanceActionsCommand_1 = require("../commands/DescribePendingMaintenanceActionsCommand");
|
|
5
6
|
const NeptuneClient_1 = require("../NeptuneClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof NeptuneClient_1.NeptuneClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Neptune | NeptuneClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribePendingMaintenanceActions = paginateDescribePendingMaintenanceActions;
|
|
7
|
+
exports.paginateDescribePendingMaintenanceActions = (0, core_1.createPaginator)(NeptuneClient_1.NeptuneClient, DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
|