@aws-sdk/client-service-catalog 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/DescribePortfolioSharesPaginator.js +2 -24
- package/dist-cjs/pagination/GetProvisionedProductOutputsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAcceptedPortfolioSharesPaginator.js +2 -24
- package/dist-cjs/pagination/ListBudgetsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListConstraintsForPortfolioPaginator.js +2 -24
- package/dist-cjs/pagination/ListLaunchPathsPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationPortfolioAccessPaginator.js +2 -24
- package/dist-cjs/pagination/ListPortfolioAccessPaginator.js +2 -24
- package/dist-cjs/pagination/ListPortfoliosForProductPaginator.js +2 -24
- package/dist-cjs/pagination/ListPortfoliosPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrincipalsForPortfolioPaginator.js +2 -24
- package/dist-cjs/pagination/ListProvisioningArtifactsForServiceActionPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourcesForTagOptionPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceActionsForProvisioningArtifactPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchProductsAsAdminPaginator.js +2 -24
- package/dist-cjs/pagination/SearchProductsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchProvisionedProductsPaginator.js +2 -24
- package/dist-es/pagination/DescribePortfolioSharesPaginator.js +2 -23
- package/dist-es/pagination/GetProvisionedProductOutputsPaginator.js +2 -23
- package/dist-es/pagination/ListAcceptedPortfolioSharesPaginator.js +2 -23
- package/dist-es/pagination/ListBudgetsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListConstraintsForPortfolioPaginator.js +2 -23
- package/dist-es/pagination/ListLaunchPathsPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationPortfolioAccessPaginator.js +2 -23
- package/dist-es/pagination/ListPortfolioAccessPaginator.js +2 -23
- package/dist-es/pagination/ListPortfoliosForProductPaginator.js +2 -23
- package/dist-es/pagination/ListPortfoliosPaginator.js +2 -23
- package/dist-es/pagination/ListPrincipalsForPortfolioPaginator.js +2 -23
- package/dist-es/pagination/ListProvisioningArtifactsForServiceActionPaginator.js +2 -23
- package/dist-es/pagination/ListResourcesForTagOptionPaginator.js +2 -23
- package/dist-es/pagination/ListServiceActionsForProvisioningArtifactPaginator.js +2 -23
- package/dist-es/pagination/ListServiceActionsPaginator.js +2 -23
- package/dist-es/pagination/ListTagOptionsPaginator.js +2 -23
- package/dist-es/pagination/SearchProductsAsAdminPaginator.js +2 -23
- package/dist-es/pagination/SearchProductsPaginator.js +2 -23
- package/dist-es/pagination/SearchProvisionedProductsPaginator.js +2 -23
- package/dist-types/pagination/DescribePortfolioSharesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetProvisionedProductOutputsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAcceptedPortfolioSharesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBudgetsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListConstraintsForPortfolioPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLaunchPathsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationPortfolioAccessPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPortfolioAccessPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPortfoliosForProductPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPortfoliosPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalsForPortfolioPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisioningArtifactsForServiceActionPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourcesForTagOptionPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceActionsForProvisioningArtifactPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchProductsAsAdminPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchProductsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchProvisionedProductsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribePortfolioSharesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetProvisionedProductOutputsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAcceptedPortfolioSharesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBudgetsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConstraintsForPortfolioPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLaunchPathsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationPortfolioAccessPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPortfolioAccessPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPortfoliosForProductPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPortfoliosPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrincipalsForPortfolioPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProvisioningArtifactsForServiceActionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourcesForTagOptionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceActionsForProvisioningArtifactPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchProductsAsAdminPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchProductsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchProvisionedProductsPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribePortfolioSharesCommand, } from "../commands/DescribePortfolioSharesCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribePortfolioSharesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribePortfolioShares(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribePortfolioShares = createPaginator(ServiceCatalogClient, DescribePortfolioSharesCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetProvisionedProductOutputsCommand, } from "../commands/GetProvisionedProductOutputsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetProvisionedProductOutputsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetProvisionedProductOutputs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetProvisionedProductOutputs = createPaginator(ServiceCatalogClient, GetProvisionedProductOutputsCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAcceptedPortfolioSharesCommand, } from "../commands/ListAcceptedPortfolioSharesCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAcceptedPortfolioSharesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAcceptedPortfolioShares(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAcceptedPortfolioShares = createPaginator(ServiceCatalogClient, ListAcceptedPortfolioSharesCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListBudgetsForResourceCommand, } from "../commands/ListBudgetsForResourceCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListBudgetsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListBudgetsForResource(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListBudgetsForResource = createPaginator(ServiceCatalogClient, ListBudgetsForResourceCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConstraintsForPortfolioCommand, } from "../commands/ListConstraintsForPortfolioCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConstraintsForPortfolioCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConstraintsForPortfolio(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConstraintsForPortfolio = createPaginator(ServiceCatalogClient, ListConstraintsForPortfolioCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLaunchPathsCommand, } from "../commands/ListLaunchPathsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLaunchPathsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLaunchPaths(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLaunchPaths = createPaginator(ServiceCatalogClient, ListLaunchPathsCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOrganizationPortfolioAccessCommand, } from "../commands/ListOrganizationPortfolioAccessCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOrganizationPortfolioAccessCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOrganizationPortfolioAccess(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOrganizationPortfolioAccess = createPaginator(ServiceCatalogClient, ListOrganizationPortfolioAccessCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPortfolioAccessCommand, } from "../commands/ListPortfolioAccessCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPortfolioAccessCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPortfolioAccess(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPortfolioAccess = createPaginator(ServiceCatalogClient, ListPortfolioAccessCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPortfoliosForProductCommand, } from "../commands/ListPortfoliosForProductCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPortfoliosForProductCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPortfoliosForProduct(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPortfoliosForProduct = createPaginator(ServiceCatalogClient, ListPortfoliosForProductCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPortfoliosCommand, } from "../commands/ListPortfoliosCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPortfoliosCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPortfolios(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPortfolios = createPaginator(ServiceCatalogClient, ListPortfoliosCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPrincipalsForPortfolioCommand, } from "../commands/ListPrincipalsForPortfolioCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPrincipalsForPortfolioCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPrincipalsForPortfolio(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPrincipalsForPortfolio = createPaginator(ServiceCatalogClient, ListPrincipalsForPortfolioCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProvisioningArtifactsForServiceActionCommand, } from "../commands/ListProvisioningArtifactsForServiceActionCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProvisioningArtifactsForServiceActionCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProvisioningArtifactsForServiceAction(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProvisioningArtifactsForServiceAction = createPaginator(ServiceCatalogClient, ListProvisioningArtifactsForServiceActionCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourcesForTagOptionCommand, } from "../commands/ListResourcesForTagOptionCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourcesForTagOptionCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResourcesForTagOption(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.PageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResourcesForTagOption = createPaginator(ServiceCatalogClient, ListResourcesForTagOptionCommand, "PageToken", "PageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServiceActionsForProvisioningArtifactCommand, } from "../commands/ListServiceActionsForProvisioningArtifactCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServiceActionsForProvisioningArtifactCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServiceActionsForProvisioningArtifact(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServiceActionsForProvisioningArtifact = createPaginator(ServiceCatalogClient, ListServiceActionsForProvisioningArtifactCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServiceActionsCommand, } from "../commands/ListServiceActionsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServiceActionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServiceActions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServiceActions = createPaginator(ServiceCatalogClient, ListServiceActionsCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTagOptionsCommand, } from "../commands/ListTagOptionsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagOptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagOptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.PageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTagOptions = createPaginator(ServiceCatalogClient, ListTagOptionsCommand, "PageToken", "PageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchProductsAsAdminCommand, } from "../commands/SearchProductsAsAdminCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchProductsAsAdminCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchProductsAsAdmin(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateSearchProductsAsAdmin = createPaginator(ServiceCatalogClient, SearchProductsAsAdminCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchProductsCommand, } from "../commands/SearchProductsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchProductsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchProducts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateSearchProducts = createPaginator(ServiceCatalogClient, SearchProductsCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchProvisionedProductsCommand, } from "../commands/SearchProvisionedProductsCommand";
|
|
2
3
|
import { ServiceCatalogClient } from "../ServiceCatalogClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchProvisionedProductsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchProvisionedProducts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.PageToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ServiceCatalogClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ServiceCatalog | ServiceCatalogClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateSearchProvisionedProducts = createPaginator(ServiceCatalogClient, SearchProvisionedProductsCommand, "PageToken", "NextPageToken", "PageSize");
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribePortfolioShares: (config: ServiceCatalogPaginationConfiguration, input: DescribePortfolioSharesCommandInput, ...rest: any[]) => Paginator<DescribePortfolioSharesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetProvisionedProductOutputs: (config: ServiceCatalogPaginationConfiguration, input: GetProvisionedProductOutputsCommandInput, ...rest: any[]) => Paginator<GetProvisionedProductOutputsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAcceptedPortfolioShares: (config: ServiceCatalogPaginationConfiguration, input: ListAcceptedPortfolioSharesCommandInput, ...rest: any[]) => Paginator<ListAcceptedPortfolioSharesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListBudgetsForResource: (config: ServiceCatalogPaginationConfiguration, input: ListBudgetsForResourceCommandInput, ...rest: any[]) => Paginator<ListBudgetsForResourceCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConstraintsForPortfolio: (config: ServiceCatalogPaginationConfiguration, input: ListConstraintsForPortfolioCommandInput, ...rest: any[]) => Paginator<ListConstraintsForPortfolioCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListLaunchPaths: (config: ServiceCatalogPaginationConfiguration, input: ListLaunchPathsCommandInput, ...rest: any[]) => Paginator<ListLaunchPathsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListOrganizationPortfolioAccess: (config: ServiceCatalogPaginationConfiguration, input: ListOrganizationPortfolioAccessCommandInput, ...rest: any[]) => Paginator<ListOrganizationPortfolioAccessCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPortfolioAccess: (config: ServiceCatalogPaginationConfiguration, input: ListPortfolioAccessCommandInput, ...rest: any[]) => Paginator<ListPortfolioAccessCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPortfoliosForProduct: (config: ServiceCatalogPaginationConfiguration, input: ListPortfoliosForProductCommandInput, ...rest: any[]) => Paginator<ListPortfoliosForProductCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPortfolios: (config: ServiceCatalogPaginationConfiguration, input: ListPortfoliosCommandInput, ...rest: any[]) => Paginator<ListPortfoliosCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ServiceCatalogPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPrincipalsForPortfolio: (config: ServiceCatalogPaginationConfiguration, input: ListPrincipalsForPortfolioCommandInput, ...rest: any[]) => Paginator<ListPrincipalsForPortfolioCommandOutput>;
|