@aws-sdk/client-quicksight 3.282.0 → 3.288.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/commands/GetDashboardEmbedUrlCommand.js +2 -1
- package/dist-cjs/commands/GetSessionEmbedUrlCommand.js +1 -2
- package/dist-cjs/models/models_2.js +19 -31
- package/dist-cjs/models/models_3.js +27 -3
- package/dist-cjs/pagination/ListAnalysesPaginator.js +1 -8
- package/dist-cjs/pagination/ListDashboardVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDashboardsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDataSetsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +1 -8
- package/dist-cjs/pagination/ListIngestionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListNamespacesPaginator.js +1 -8
- package/dist-cjs/pagination/ListTemplateAliasesPaginator.js +1 -8
- package/dist-cjs/pagination/ListTemplateVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTemplatesPaginator.js +1 -8
- package/dist-cjs/pagination/ListThemeVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListThemesPaginator.js +1 -8
- package/dist-cjs/pagination/SearchAnalysesPaginator.js +1 -8
- package/dist-cjs/pagination/SearchDashboardsPaginator.js +1 -8
- package/dist-cjs/pagination/SearchDataSetsPaginator.js +1 -8
- package/dist-cjs/pagination/SearchDataSourcesPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +30 -1
- package/dist-es/commands/GetDashboardEmbedUrlCommand.js +2 -1
- package/dist-es/commands/GetSessionEmbedUrlCommand.js +1 -2
- package/dist-es/models/models_2.js +9 -21
- package/dist-es/models/models_3.js +21 -0
- package/dist-es/pagination/ListAnalysesPaginator.js +1 -8
- package/dist-es/pagination/ListDashboardVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListDashboardsPaginator.js +1 -8
- package/dist-es/pagination/ListDataSetsPaginator.js +1 -8
- package/dist-es/pagination/ListDataSourcesPaginator.js +1 -8
- package/dist-es/pagination/ListIngestionsPaginator.js +1 -8
- package/dist-es/pagination/ListNamespacesPaginator.js +1 -8
- package/dist-es/pagination/ListTemplateAliasesPaginator.js +1 -8
- package/dist-es/pagination/ListTemplateVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListTemplatesPaginator.js +1 -8
- package/dist-es/pagination/ListThemeVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListThemesPaginator.js +1 -8
- package/dist-es/pagination/SearchAnalysesPaginator.js +1 -8
- package/dist-es/pagination/SearchDashboardsPaginator.js +1 -8
- package/dist-es/pagination/SearchDataSetsPaginator.js +1 -8
- package/dist-es/pagination/SearchDataSourcesPaginator.js +1 -8
- package/dist-es/protocols/Aws_restJson1.js +31 -2
- package/dist-types/QuickSight.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/GetDashboardEmbedUrlCommand.d.ts +2 -1
- package/dist-types/commands/GetSessionEmbedUrlCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +4 -0
- package/dist-types/models/models_2.d.ts +48 -115
- package/dist-types/models/models_3.d.ts +114 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetDashboardEmbedUrlCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetSessionEmbedUrlCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/models/models_2.d.ts +20 -29
- package/dist-types/ts3.4/models/models_3.d.ts +29 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchDashboards = void 0;
|
|
4
4
|
const SearchDashboardsCommand_1 = require("../commands/SearchDashboardsCommand");
|
|
5
|
-
const QuickSight_1 = require("../QuickSight");
|
|
6
5
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SearchDashboardsCommand_1.SearchDashboardsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.searchDashboards(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSearchDashboards(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSearchDashboards(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
16
|
+
if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchDataSets = void 0;
|
|
4
4
|
const SearchDataSetsCommand_1 = require("../commands/SearchDataSetsCommand");
|
|
5
|
-
const QuickSight_1 = require("../QuickSight");
|
|
6
5
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SearchDataSetsCommand_1.SearchDataSetsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.searchDataSets(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSearchDataSets(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSearchDataSets(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
16
|
+
if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchDataSources = void 0;
|
|
4
4
|
const SearchDataSourcesCommand_1 = require("../commands/SearchDataSourcesCommand");
|
|
5
|
-
const QuickSight_1 = require("../QuickSight");
|
|
6
5
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SearchDataSourcesCommand_1.SearchDataSourcesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.searchDataSources(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSearchDataSources(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSearchDataSources(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
16
|
+
if (config.client instanceof QuickSightClient_1.QuickSightClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -10828,7 +10828,7 @@ const deserializeAws_restJson1IdentityTypeNotSupportedExceptionResponse = async
|
|
|
10828
10828
|
if (data.RequestId != null) {
|
|
10829
10829
|
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
10830
10830
|
}
|
|
10831
|
-
const exception = new
|
|
10831
|
+
const exception = new models_3_1.IdentityTypeNotSupportedException({
|
|
10832
10832
|
$metadata: deserializeMetadata(parsedOutput),
|
|
10833
10833
|
...contents,
|
|
10834
10834
|
});
|
|
@@ -15329,6 +15329,9 @@ const serializeAws_restJson1PivotTableFieldWells = (input, context) => {
|
|
|
15329
15329
|
const serializeAws_restJson1PivotTableOptions = (input, context) => {
|
|
15330
15330
|
return {
|
|
15331
15331
|
...(input.CellStyle != null && { CellStyle: serializeAws_restJson1TableCellStyle(input.CellStyle, context) }),
|
|
15332
|
+
...(input.CollapsedRowDimensionsVisibility != null && {
|
|
15333
|
+
CollapsedRowDimensionsVisibility: input.CollapsedRowDimensionsVisibility,
|
|
15334
|
+
}),
|
|
15332
15335
|
...(input.ColumnHeaderStyle != null && {
|
|
15333
15336
|
ColumnHeaderStyle: serializeAws_restJson1TableCellStyle(input.ColumnHeaderStyle, context),
|
|
15334
15337
|
}),
|
|
@@ -15691,11 +15694,28 @@ const serializeAws_restJson1ReferenceLineValueLabelConfiguration = (input, conte
|
|
|
15691
15694
|
...(input.RelativePosition != null && { RelativePosition: input.RelativePosition }),
|
|
15692
15695
|
};
|
|
15693
15696
|
};
|
|
15697
|
+
const serializeAws_restJson1RegisteredUserConsoleFeatureConfigurations = (input, context) => {
|
|
15698
|
+
return {
|
|
15699
|
+
...(input.StatePersistence != null && {
|
|
15700
|
+
StatePersistence: serializeAws_restJson1StatePersistenceConfigurations(input.StatePersistence, context),
|
|
15701
|
+
}),
|
|
15702
|
+
};
|
|
15703
|
+
};
|
|
15694
15704
|
const serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration = (input, context) => {
|
|
15695
15705
|
return {
|
|
15706
|
+
...(input.FeatureConfigurations != null && {
|
|
15707
|
+
FeatureConfigurations: serializeAws_restJson1RegisteredUserDashboardFeatureConfigurations(input.FeatureConfigurations, context),
|
|
15708
|
+
}),
|
|
15696
15709
|
...(input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }),
|
|
15697
15710
|
};
|
|
15698
15711
|
};
|
|
15712
|
+
const serializeAws_restJson1RegisteredUserDashboardFeatureConfigurations = (input, context) => {
|
|
15713
|
+
return {
|
|
15714
|
+
...(input.StatePersistence != null && {
|
|
15715
|
+
StatePersistence: serializeAws_restJson1StatePersistenceConfigurations(input.StatePersistence, context),
|
|
15716
|
+
}),
|
|
15717
|
+
};
|
|
15718
|
+
};
|
|
15699
15719
|
const serializeAws_restJson1RegisteredUserDashboardVisualEmbeddingConfiguration = (input, context) => {
|
|
15700
15720
|
return {
|
|
15701
15721
|
...(input.InitialDashboardVisualId != null && {
|
|
@@ -15726,6 +15746,9 @@ const serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration = (in
|
|
|
15726
15746
|
};
|
|
15727
15747
|
const serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration = (input, context) => {
|
|
15728
15748
|
return {
|
|
15749
|
+
...(input.FeatureConfigurations != null && {
|
|
15750
|
+
FeatureConfigurations: serializeAws_restJson1RegisteredUserConsoleFeatureConfigurations(input.FeatureConfigurations, context),
|
|
15751
|
+
}),
|
|
15729
15752
|
...(input.InitialPath != null && { InitialPath: input.InitialPath }),
|
|
15730
15753
|
};
|
|
15731
15754
|
};
|
|
@@ -16335,6 +16358,11 @@ const serializeAws_restJson1SslProperties = (input, context) => {
|
|
|
16335
16358
|
...(input.DisableSsl != null && { DisableSsl: input.DisableSsl }),
|
|
16336
16359
|
};
|
|
16337
16360
|
};
|
|
16361
|
+
const serializeAws_restJson1StatePersistenceConfigurations = (input, context) => {
|
|
16362
|
+
return {
|
|
16363
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
16364
|
+
};
|
|
16365
|
+
};
|
|
16338
16366
|
const serializeAws_restJson1StringDefaultValueList = (input, context) => {
|
|
16339
16367
|
return input
|
|
16340
16368
|
.filter((e) => e != null)
|
|
@@ -22362,6 +22390,7 @@ const deserializeAws_restJson1PivotTableFieldWells = (output, context) => {
|
|
|
22362
22390
|
const deserializeAws_restJson1PivotTableOptions = (output, context) => {
|
|
22363
22391
|
return {
|
|
22364
22392
|
CellStyle: output.CellStyle != null ? deserializeAws_restJson1TableCellStyle(output.CellStyle, context) : undefined,
|
|
22393
|
+
CollapsedRowDimensionsVisibility: (0, smithy_client_1.expectString)(output.CollapsedRowDimensionsVisibility),
|
|
22365
22394
|
ColumnHeaderStyle: output.ColumnHeaderStyle != null
|
|
22366
22395
|
? deserializeAws_restJson1TableCellStyle(output.ColumnHeaderStyle, context)
|
|
22367
22396
|
: undefined,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDashboardEmbedUrlRequestFilterSensitiveLog
|
|
4
|
+
import { GetDashboardEmbedUrlRequestFilterSensitiveLog } from "../models/models_2";
|
|
5
|
+
import { GetDashboardEmbedUrlResponseFilterSensitiveLog } from "../models/models_3";
|
|
5
6
|
import { deserializeAws_restJson1GetDashboardEmbedUrlCommand, serializeAws_restJson1GetDashboardEmbedUrlCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
export class GetDashboardEmbedUrlCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetSessionEmbedUrlRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { GetSessionEmbedUrlResponseFilterSensitiveLog } from "../models/models_3";
|
|
4
|
+
import { GetSessionEmbedUrlRequestFilterSensitiveLog, GetSessionEmbedUrlResponseFilterSensitiveLog, } from "../models/models_3";
|
|
6
5
|
import { deserializeAws_restJson1GetSessionEmbedUrlCommand, serializeAws_restJson1GetSessionEmbedUrlCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
export class GetSessionEmbedUrlCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -480,20 +480,6 @@ export class QuickSightUserNotFoundException extends __BaseException {
|
|
|
480
480
|
this.RequestId = opts.RequestId;
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
export class IdentityTypeNotSupportedException extends __BaseException {
|
|
484
|
-
constructor(opts) {
|
|
485
|
-
super({
|
|
486
|
-
name: "IdentityTypeNotSupportedException",
|
|
487
|
-
$fault: "client",
|
|
488
|
-
...opts,
|
|
489
|
-
});
|
|
490
|
-
this.name = "IdentityTypeNotSupportedException";
|
|
491
|
-
this.$fault = "client";
|
|
492
|
-
Object.setPrototypeOf(this, IdentityTypeNotSupportedException.prototype);
|
|
493
|
-
this.Message = opts.Message;
|
|
494
|
-
this.RequestId = opts.RequestId;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
483
|
export const DateTimeParameterFilterSensitiveLog = (obj) => ({
|
|
498
484
|
...obj,
|
|
499
485
|
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
@@ -1392,6 +1378,12 @@ export const GenerateEmbedUrlForAnonymousUserResponseFilterSensitiveLog = (obj)
|
|
|
1392
1378
|
...obj,
|
|
1393
1379
|
...(obj.EmbedUrl && { EmbedUrl: SENSITIVE_STRING }),
|
|
1394
1380
|
});
|
|
1381
|
+
export const StatePersistenceConfigurationsFilterSensitiveLog = (obj) => ({
|
|
1382
|
+
...obj,
|
|
1383
|
+
});
|
|
1384
|
+
export const RegisteredUserDashboardFeatureConfigurationsFilterSensitiveLog = (obj) => ({
|
|
1385
|
+
...obj,
|
|
1386
|
+
});
|
|
1395
1387
|
export const RegisteredUserDashboardEmbeddingConfigurationFilterSensitiveLog = (obj) => ({
|
|
1396
1388
|
...obj,
|
|
1397
1389
|
});
|
|
@@ -1401,6 +1393,9 @@ export const RegisteredUserDashboardVisualEmbeddingConfigurationFilterSensitiveL
|
|
|
1401
1393
|
export const RegisteredUserQSearchBarEmbeddingConfigurationFilterSensitiveLog = (obj) => ({
|
|
1402
1394
|
...obj,
|
|
1403
1395
|
});
|
|
1396
|
+
export const RegisteredUserConsoleFeatureConfigurationsFilterSensitiveLog = (obj) => ({
|
|
1397
|
+
...obj,
|
|
1398
|
+
});
|
|
1404
1399
|
export const RegisteredUserQuickSightConsoleEmbeddingConfigurationFilterSensitiveLog = (obj) => ({
|
|
1405
1400
|
...obj,
|
|
1406
1401
|
});
|
|
@@ -1417,10 +1412,3 @@ export const GenerateEmbedUrlForRegisteredUserResponseFilterSensitiveLog = (obj)
|
|
|
1417
1412
|
export const GetDashboardEmbedUrlRequestFilterSensitiveLog = (obj) => ({
|
|
1418
1413
|
...obj,
|
|
1419
1414
|
});
|
|
1420
|
-
export const GetDashboardEmbedUrlResponseFilterSensitiveLog = (obj) => ({
|
|
1421
|
-
...obj,
|
|
1422
|
-
...(obj.EmbedUrl && { EmbedUrl: SENSITIVE_STRING }),
|
|
1423
|
-
});
|
|
1424
|
-
export const GetSessionEmbedUrlRequestFilterSensitiveLog = (obj) => ({
|
|
1425
|
-
...obj,
|
|
1426
|
-
});
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { _ParametersFilterSensitiveLog, DataSourceFilterSensitiveLog, DataSourceParametersFilterSensitiveLog, LogicalTableFilterSensitiveLog, PhysicalTableFilterSensitiveLog, RowLevelPermissionTagConfigurationFilterSensitiveLog, } from "./models_2";
|
|
3
3
|
import { QuickSightServiceException as __BaseException } from "./QuickSightServiceException";
|
|
4
|
+
export class IdentityTypeNotSupportedException extends __BaseException {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "IdentityTypeNotSupportedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
this.name = "IdentityTypeNotSupportedException";
|
|
12
|
+
this.$fault = "client";
|
|
13
|
+
Object.setPrototypeOf(this, IdentityTypeNotSupportedException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.RequestId = opts.RequestId;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
4
18
|
export var GroupFilterAttribute;
|
|
5
19
|
(function (GroupFilterAttribute) {
|
|
6
20
|
GroupFilterAttribute["GROUP_NAME"] = "GROUP_NAME";
|
|
@@ -23,6 +37,13 @@ export class InvalidRequestException extends __BaseException {
|
|
|
23
37
|
this.RequestId = opts.RequestId;
|
|
24
38
|
}
|
|
25
39
|
}
|
|
40
|
+
export const GetDashboardEmbedUrlResponseFilterSensitiveLog = (obj) => ({
|
|
41
|
+
...obj,
|
|
42
|
+
...(obj.EmbedUrl && { EmbedUrl: SENSITIVE_STRING }),
|
|
43
|
+
});
|
|
44
|
+
export const GetSessionEmbedUrlRequestFilterSensitiveLog = (obj) => ({
|
|
45
|
+
...obj,
|
|
46
|
+
});
|
|
26
47
|
export const GetSessionEmbedUrlResponseFilterSensitiveLog = (obj) => ({
|
|
27
48
|
...obj,
|
|
28
49
|
...(obj.EmbedUrl && { EmbedUrl: SENSITIVE_STRING }),
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAnalysesCommand, } from "../commands/ListAnalysesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAnalysesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAnalyses(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAnalyses(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAnalyses(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDashboardVersionsCommand, } from "../commands/ListDashboardVersionsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDashboardVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDashboardVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDashboardVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDashboardVersions(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDashboardsCommand, } from "../commands/ListDashboardsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDashboardsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDashboards(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDashboards(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDashboards(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDataSetsCommand, } from "../commands/ListDataSetsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDataSetsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDataSets(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDataSets(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDataSets(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListDataSourcesCommand, } from "../commands/ListDataSourcesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDataSourcesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDataSources(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDataSources(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDataSources(config, input, ...additionalArgum
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListIngestionsCommand, } from "../commands/ListIngestionsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListIngestionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listIngestions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListIngestions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListIngestions(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListNamespacesCommand, } from "../commands/ListNamespacesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListNamespacesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listNamespaces(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListNamespaces(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListNamespaces(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTemplateAliasesCommand, } from "../commands/ListTemplateAliasesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTemplateAliasesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTemplateAliases(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTemplateAliases(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTemplateAliases(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTemplateVersionsCommand, } from "../commands/ListTemplateVersionsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTemplateVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTemplateVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTemplateVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTemplateVersions(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTemplatesCommand, } from "../commands/ListTemplatesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTemplatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTemplates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTemplates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTemplates(config, input, ...additionalArgumen
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListThemeVersionsCommand, } from "../commands/ListThemeVersionsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListThemeVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listThemeVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListThemeVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListThemeVersions(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListThemesCommand } from "../commands/ListThemesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListThemesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listThemes(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListThemes(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListThemes(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { SearchAnalysesCommand, } from "../commands/SearchAnalysesCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new SearchAnalysesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.searchAnalyses(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateSearchAnalyses(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateSearchAnalyses(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { SearchDashboardsCommand, } from "../commands/SearchDashboardsCommand";
|
|
2
|
-
import { QuickSight } from "../QuickSight";
|
|
3
2
|
import { QuickSightClient } from "../QuickSightClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new SearchDashboardsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.searchDashboards(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateSearchDashboards(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateSearchDashboards(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof QuickSightClient) {
|
|
13
|
+
if (config.client instanceof QuickSightClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|