@aws-sdk/client-redshift 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/DescribeClusterDbRevisionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterSecurityGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterTracksPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClusterVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCustomDomainAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDataSharesForConsumerPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDataSharesForProducerPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDataSharesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDefaultClusterParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEndpointAccessPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEndpointAuthorizationPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeHsmClientCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeHsmConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeInboundIntegrationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeNodeConfigurationOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOrderableClusterOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRedshiftIdcApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodeExchangeStatusPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodeOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSnapshotCopyGrantsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSnapshotSchedulesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTableRestoreStatusPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTagsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUsageLimitsPaginator.js +2 -24
- package/dist-cjs/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetReservedNodeExchangeOfferingsPaginator.js +2 -24
- package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterTracksPaginator.js +2 -23
- package/dist-es/pagination/DescribeClusterVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeCustomDomainAssociationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +2 -23
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +2 -23
- package/dist-es/pagination/DescribeDataSharesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEndpointAccessPaginator.js +2 -23
- package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeInboundIntegrationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeRedshiftIdcApplicationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +2 -23
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +2 -23
- package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +2 -23
- package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +2 -23
- package/dist-es/pagination/DescribeTagsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUsageLimitsPaginator.js +2 -23
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +2 -23
- package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +2 -23
- package/dist-types/pagination/DescribeClusterDbRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterSecurityGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterTracksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClusterVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDataSharesForConsumerPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDataSharesForProducerPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDataSharesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDefaultClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEndpointAccessPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEndpointAuthorizationPaginator.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/DescribeHsmClientCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeHsmConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInboundIntegrationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeNodeConfigurationOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrderableClusterOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodeOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSnapshotCopyGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSnapshotSchedulesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTableRestoreStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUsageLimitsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetReservedNodeExchangeOfferingsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeClusterDbRevisionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterSecurityGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterTracksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClusterVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDataSharesForConsumerPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDataSharesForProducerPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDataSharesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDefaultClusterParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEndpointAccessPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEndpointAuthorizationPaginator.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/DescribeHsmClientCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeHsmConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeInboundIntegrationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeNodeConfigurationOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOrderableClusterOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodeOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeScheduledActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSnapshotCopyGrantsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSnapshotSchedulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTableRestoreStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUsageLimitsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetReservedNodeExchangeOfferingsPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterDbRevisions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterDbRevisionsCommand_1 = require("../commands/DescribeClusterDbRevisionsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterDbRevisionsCommand_1.DescribeClusterDbRevisionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterDbRevisions(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterDbRevisions = paginateDescribeClusterDbRevisions;
|
|
7
|
+
exports.paginateDescribeClusterDbRevisions = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterDbRevisionsCommand_1.DescribeClusterDbRevisionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterParameterGroupsCommand_1 = require("../commands/DescribeClusterParameterGroupsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterParameterGroupsCommand_1.DescribeClusterParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterParameterGroups(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterParameterGroups = paginateDescribeClusterParameterGroups;
|
|
7
|
+
exports.paginateDescribeClusterParameterGroups = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterParameterGroupsCommand_1.DescribeClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterParametersCommand_1 = require("../commands/DescribeClusterParametersCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterParametersCommand_1.DescribeClusterParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterParameters(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterParameters = paginateDescribeClusterParameters;
|
|
7
|
+
exports.paginateDescribeClusterParameters = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterParametersCommand_1.DescribeClusterParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterSecurityGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterSecurityGroupsCommand_1 = require("../commands/DescribeClusterSecurityGroupsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterSecurityGroupsCommand_1.DescribeClusterSecurityGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterSecurityGroups(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterSecurityGroups = paginateDescribeClusterSecurityGroups;
|
|
7
|
+
exports.paginateDescribeClusterSecurityGroups = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterSecurityGroupsCommand_1.DescribeClusterSecurityGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterSnapshotsCommand_1 = require("../commands/DescribeClusterSnapshotsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterSnapshotsCommand_1.DescribeClusterSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterSnapshots(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterSnapshots = paginateDescribeClusterSnapshots;
|
|
7
|
+
exports.paginateDescribeClusterSnapshots = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterSnapshotsCommand_1.DescribeClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterSubnetGroupsCommand_1 = require("../commands/DescribeClusterSubnetGroupsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterSubnetGroupsCommand_1.DescribeClusterSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterSubnetGroups(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterSubnetGroups = paginateDescribeClusterSubnetGroups;
|
|
7
|
+
exports.paginateDescribeClusterSubnetGroups = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterSubnetGroupsCommand_1.DescribeClusterSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterTracks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterTracksCommand_1 = require("../commands/DescribeClusterTracksCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterTracksCommand_1.DescribeClusterTracksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterTracks(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterTracks = paginateDescribeClusterTracks;
|
|
7
|
+
exports.paginateDescribeClusterTracks = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterTracksCommand_1.DescribeClusterTracksCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusterVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClusterVersionsCommand_1 = require("../commands/DescribeClusterVersionsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClusterVersionsCommand_1.DescribeClusterVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusterVersions(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusterVersions = paginateDescribeClusterVersions;
|
|
7
|
+
exports.paginateDescribeClusterVersions = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClusterVersionsCommand_1.DescribeClusterVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClustersCommand_1 = require("../commands/DescribeClustersCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClustersCommand_1.DescribeClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusters(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeClusters = paginateDescribeClusters;
|
|
7
|
+
exports.paginateDescribeClusters = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeClustersCommand_1.DescribeClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCustomDomainAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCustomDomainAssociationsCommand_1 = require("../commands/DescribeCustomDomainAssociationsCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCustomDomainAssociationsCommand_1.DescribeCustomDomainAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCustomDomainAssociations(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeCustomDomainAssociations = paginateDescribeCustomDomainAssociations;
|
|
7
|
+
exports.paginateDescribeCustomDomainAssociations = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeCustomDomainAssociationsCommand_1.DescribeCustomDomainAssociationsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDataSharesForConsumer = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDataSharesForConsumerCommand_1 = require("../commands/DescribeDataSharesForConsumerCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDataSharesForConsumerCommand_1.DescribeDataSharesForConsumerCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDataSharesForConsumer(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeDataSharesForConsumer = paginateDescribeDataSharesForConsumer;
|
|
7
|
+
exports.paginateDescribeDataSharesForConsumer = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeDataSharesForConsumerCommand_1.DescribeDataSharesForConsumerCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDataSharesForProducer = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDataSharesForProducerCommand_1 = require("../commands/DescribeDataSharesForProducerCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDataSharesForProducerCommand_1.DescribeDataSharesForProducerCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDataSharesForProducer(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeDataSharesForProducer = paginateDescribeDataSharesForProducer;
|
|
7
|
+
exports.paginateDescribeDataSharesForProducer = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeDataSharesForProducerCommand_1.DescribeDataSharesForProducerCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDataShares = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDataSharesCommand_1 = require("../commands/DescribeDataSharesCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDataSharesCommand_1.DescribeDataSharesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDataShares(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeDataShares = paginateDescribeDataShares;
|
|
7
|
+
exports.paginateDescribeDataShares = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeDataSharesCommand_1.DescribeDataSharesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDefaultClusterParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDefaultClusterParametersCommand_1 = require("../commands/DescribeDefaultClusterParametersCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDefaultClusterParametersCommand_1.DescribeDefaultClusterParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDefaultClusterParameters(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.DefaultClusterParameters.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDefaultClusterParameters = paginateDescribeDefaultClusterParameters;
|
|
7
|
+
exports.paginateDescribeDefaultClusterParameters = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeDefaultClusterParametersCommand_1.DescribeDefaultClusterParametersCommand, "Marker", "DefaultClusterParameters.Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEndpointAccess = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEndpointAccessCommand_1 = require("../commands/DescribeEndpointAccessCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEndpointAccessCommand_1.DescribeEndpointAccessCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEndpointAccess(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeEndpointAccess = paginateDescribeEndpointAccess;
|
|
7
|
+
exports.paginateDescribeEndpointAccess = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeEndpointAccessCommand_1.DescribeEndpointAccessCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEndpointAuthorization = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEndpointAuthorizationCommand_1 = require("../commands/DescribeEndpointAuthorizationCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEndpointAuthorizationCommand_1.DescribeEndpointAuthorizationCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEndpointAuthorization(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeEndpointAuthorization = paginateDescribeEndpointAuthorization;
|
|
7
|
+
exports.paginateDescribeEndpointAuthorization = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeEndpointAuthorizationCommand_1.DescribeEndpointAuthorizationCommand, "Marker", "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 RedshiftClient_1 = require("../RedshiftClient");
|
|
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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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)(RedshiftClient_1.RedshiftClient, 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 RedshiftClient_1 = require("../RedshiftClient");
|
|
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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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)(RedshiftClient_1.RedshiftClient, 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.paginateDescribeHsmClientCertificates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeHsmClientCertificatesCommand_1 = require("../commands/DescribeHsmClientCertificatesCommand");
|
|
5
6
|
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeHsmClientCertificatesCommand_1.DescribeHsmClientCertificatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeHsmClientCertificates(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 RedshiftClient_1.RedshiftClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
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.paginateDescribeHsmClientCertificates = paginateDescribeHsmClientCertificates;
|
|
7
|
+
exports.paginateDescribeHsmClientCertificates = (0, core_1.createPaginator)(RedshiftClient_1.RedshiftClient, DescribeHsmClientCertificatesCommand_1.DescribeHsmClientCertificatesCommand, "Marker", "Marker", "MaxRecords");
|