@aws-sdk/client-quicksight 3.213.0 → 3.215.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/QuickSight.js +45 -0
- package/dist-cjs/commands/DeleteAccountSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/DescribeTemplateAliasCommand.js +3 -3
- package/dist-cjs/commands/DescribeTemplateCommand.js +2 -1
- package/dist-cjs/commands/DescribeTemplatePermissionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeThemeCommand.js +1 -2
- package/dist-cjs/commands/SearchDataSetsCommand.js +46 -0
- package/dist-cjs/commands/SearchDataSourcesCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +69 -45
- package/dist-cjs/models/models_1.js +79 -4
- package/dist-cjs/pagination/SearchDataSetsPaginator.js +36 -0
- package/dist-cjs/pagination/SearchDataSourcesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +352 -5
- package/dist-es/QuickSight.js +45 -0
- package/dist-es/commands/DeleteAccountSubscriptionCommand.js +42 -0
- package/dist-es/commands/DescribeTemplateAliasCommand.js +1 -1
- package/dist-es/commands/DescribeTemplateCommand.js +2 -1
- package/dist-es/commands/DescribeTemplatePermissionsCommand.js +1 -1
- package/dist-es/commands/DescribeThemeCommand.js +1 -2
- package/dist-es/commands/SearchDataSetsCommand.js +42 -0
- package/dist-es/commands/SearchDataSourcesCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +55 -30
- package/dist-es/models/models_1.js +62 -0
- package/dist-es/pagination/SearchDataSetsPaginator.js +32 -0
- package/dist-es/pagination/SearchDataSourcesPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +342 -1
- package/dist-types/QuickSight.d.ts +22 -1
- package/dist-types/QuickSightClient.d.ts +5 -2
- package/dist-types/commands/DeleteAccountSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplateAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThemeCommand.d.ts +1 -2
- package/dist-types/commands/SearchDataSetsCommand.d.ts +37 -0
- package/dist-types/commands/SearchDataSourcesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +349 -227
- package/dist-types/models/models_1.d.ts +373 -5
- package/dist-types/pagination/SearchDataSetsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchDataSourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/QuickSight.d.ts +51 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteAccountSubscriptionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTemplateAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchDataSetsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/SearchDataSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +136 -78
- package/dist-types/ts3.4/models/models_1.d.ts +137 -1
- package/dist-types/ts3.4/pagination/SearchDataSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchDataSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +28 -28
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = void 0;
|
|
3
|
+
exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.serializeAws_restJson1DescribeFolderPermissionsCommand = exports.serializeAws_restJson1DescribeFolderCommand = exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.serializeAws_restJson1DescribeDataSourceCommand = exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = exports.serializeAws_restJson1DescribeDataSetCommand = exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = exports.serializeAws_restJson1DescribeDashboardCommand = exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.serializeAws_restJson1DescribeAnalysisCommand = exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = exports.serializeAws_restJson1DescribeAccountSettingsCommand = exports.serializeAws_restJson1DescribeAccountCustomizationCommand = exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteThemeAliasCommand = exports.serializeAws_restJson1DeleteThemeCommand = exports.serializeAws_restJson1DeleteTemplateAliasCommand = exports.serializeAws_restJson1DeleteTemplateCommand = exports.serializeAws_restJson1DeleteNamespaceCommand = exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DeleteGroupMembershipCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1DeleteFolderMembershipCommand = exports.serializeAws_restJson1DeleteFolderCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteDashboardCommand = exports.serializeAws_restJson1DeleteAnalysisCommand = exports.serializeAws_restJson1DeleteAccountSubscriptionCommand = exports.serializeAws_restJson1DeleteAccountCustomizationCommand = exports.serializeAws_restJson1CreateThemeAliasCommand = exports.serializeAws_restJson1CreateThemeCommand = exports.serializeAws_restJson1CreateTemplateAliasCommand = exports.serializeAws_restJson1CreateTemplateCommand = exports.serializeAws_restJson1CreateNamespaceCommand = exports.serializeAws_restJson1CreateIngestionCommand = exports.serializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1CreateGroupMembershipCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1CreateFolderMembershipCommand = exports.serializeAws_restJson1CreateFolderCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CreateDashboardCommand = exports.serializeAws_restJson1CreateAnalysisCommand = exports.serializeAws_restJson1CreateAccountSubscriptionCommand = exports.serializeAws_restJson1CreateAccountCustomizationCommand = exports.serializeAws_restJson1CancelIngestionCommand = void 0;
|
|
4
|
+
exports.serializeAws_restJson1UpdateAccountCustomizationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchGroupsCommand = exports.serializeAws_restJson1SearchFoldersCommand = exports.serializeAws_restJson1SearchDataSourcesCommand = exports.serializeAws_restJson1SearchDataSetsCommand = exports.serializeAws_restJson1SearchDashboardsCommand = exports.serializeAws_restJson1SearchAnalysesCommand = exports.serializeAws_restJson1RestoreAnalysisCommand = exports.serializeAws_restJson1RegisterUserCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserGroupsCommand = exports.serializeAws_restJson1ListThemeVersionsCommand = exports.serializeAws_restJson1ListThemesCommand = exports.serializeAws_restJson1ListThemeAliasesCommand = exports.serializeAws_restJson1ListTemplateVersionsCommand = exports.serializeAws_restJson1ListTemplatesCommand = exports.serializeAws_restJson1ListTemplateAliasesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNamespacesCommand = exports.serializeAws_restJson1ListIngestionsCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.serializeAws_restJson1ListGroupsCommand = exports.serializeAws_restJson1ListGroupMembershipsCommand = exports.serializeAws_restJson1ListFoldersCommand = exports.serializeAws_restJson1ListFolderMembersCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDashboardVersionsCommand = exports.serializeAws_restJson1ListDashboardsCommand = exports.serializeAws_restJson1ListAnalysesCommand = exports.serializeAws_restJson1GetSessionEmbedUrlCommand = exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeThemePermissionsCommand = exports.serializeAws_restJson1DescribeThemeAliasCommand = exports.serializeAws_restJson1DescribeThemeCommand = exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = exports.serializeAws_restJson1DescribeTemplateAliasCommand = exports.serializeAws_restJson1DescribeTemplateCommand = exports.serializeAws_restJson1DescribeNamespaceCommand = exports.serializeAws_restJson1DescribeIpRestrictionCommand = exports.serializeAws_restJson1DescribeIngestionCommand = exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DescribeGroupMembershipCommand = exports.serializeAws_restJson1DescribeGroupCommand = void 0;
|
|
5
|
+
exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1DeleteFolderMembershipCommand = exports.deserializeAws_restJson1DeleteFolderCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteDashboardCommand = exports.deserializeAws_restJson1DeleteAnalysisCommand = exports.deserializeAws_restJson1DeleteAccountSubscriptionCommand = exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = exports.deserializeAws_restJson1CreateThemeAliasCommand = exports.deserializeAws_restJson1CreateThemeCommand = exports.deserializeAws_restJson1CreateTemplateAliasCommand = exports.deserializeAws_restJson1CreateTemplateCommand = exports.deserializeAws_restJson1CreateNamespaceCommand = exports.deserializeAws_restJson1CreateIngestionCommand = exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1CreateGroupMembershipCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1CreateFolderMembershipCommand = exports.deserializeAws_restJson1CreateFolderCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CreateDashboardCommand = exports.deserializeAws_restJson1CreateAnalysisCommand = exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = exports.deserializeAws_restJson1CreateAccountCustomizationCommand = exports.deserializeAws_restJson1CancelIngestionCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdateThemePermissionsCommand = exports.serializeAws_restJson1UpdateThemeAliasCommand = exports.serializeAws_restJson1UpdateThemeCommand = exports.serializeAws_restJson1UpdateTemplatePermissionsCommand = exports.serializeAws_restJson1UpdateTemplateAliasCommand = exports.serializeAws_restJson1UpdateTemplateCommand = exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.serializeAws_restJson1UpdateIpRestrictionCommand = exports.serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UpdateFolderPermissionsCommand = exports.serializeAws_restJson1UpdateFolderCommand = exports.serializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateDataSetPermissionsCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = exports.serializeAws_restJson1UpdateDashboardCommand = exports.serializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.serializeAws_restJson1UpdateAnalysisCommand = exports.serializeAws_restJson1UpdateAccountSettingsCommand = void 0;
|
|
6
|
+
exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.deserializeAws_restJson1ListGroupsCommand = exports.deserializeAws_restJson1ListGroupMembershipsCommand = exports.deserializeAws_restJson1ListFoldersCommand = exports.deserializeAws_restJson1ListFolderMembersCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDashboardVersionsCommand = exports.deserializeAws_restJson1ListDashboardsCommand = exports.deserializeAws_restJson1ListAnalysesCommand = exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeThemePermissionsCommand = exports.deserializeAws_restJson1DescribeThemeAliasCommand = exports.deserializeAws_restJson1DescribeThemeCommand = exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = exports.deserializeAws_restJson1DescribeTemplateAliasCommand = exports.deserializeAws_restJson1DescribeTemplateCommand = exports.deserializeAws_restJson1DescribeNamespaceCommand = exports.deserializeAws_restJson1DescribeIpRestrictionCommand = exports.deserializeAws_restJson1DescribeIngestionCommand = exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DescribeGroupMembershipCommand = exports.deserializeAws_restJson1DescribeGroupCommand = exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderCommand = exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.deserializeAws_restJson1DescribeDataSourceCommand = exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = exports.deserializeAws_restJson1DescribeDataSetCommand = exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = exports.deserializeAws_restJson1DescribeDashboardCommand = exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.deserializeAws_restJson1DescribeAnalysisCommand = exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = exports.deserializeAws_restJson1DescribeAccountSettingsCommand = exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteThemeAliasCommand = exports.deserializeAws_restJson1DeleteThemeCommand = exports.deserializeAws_restJson1DeleteTemplateAliasCommand = exports.deserializeAws_restJson1DeleteTemplateCommand = exports.deserializeAws_restJson1DeleteNamespaceCommand = exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DeleteGroupMembershipCommand = void 0;
|
|
7
|
+
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDataSourcesCommand = exports.deserializeAws_restJson1SearchDataSetsCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNamespacesCommand = exports.deserializeAws_restJson1ListIngestionsCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = void 0;
|
|
8
8
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
@@ -564,6 +564,23 @@ const serializeAws_restJson1DeleteAccountCustomizationCommand = async (input, co
|
|
|
564
564
|
});
|
|
565
565
|
};
|
|
566
566
|
exports.serializeAws_restJson1DeleteAccountCustomizationCommand = serializeAws_restJson1DeleteAccountCustomizationCommand;
|
|
567
|
+
const serializeAws_restJson1DeleteAccountSubscriptionCommand = async (input, context) => {
|
|
568
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
569
|
+
const headers = {};
|
|
570
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
|
|
571
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
572
|
+
let body;
|
|
573
|
+
return new protocol_http_1.HttpRequest({
|
|
574
|
+
protocol,
|
|
575
|
+
hostname,
|
|
576
|
+
port,
|
|
577
|
+
method: "DELETE",
|
|
578
|
+
headers,
|
|
579
|
+
path: resolvedPath,
|
|
580
|
+
body,
|
|
581
|
+
});
|
|
582
|
+
};
|
|
583
|
+
exports.serializeAws_restJson1DeleteAccountSubscriptionCommand = serializeAws_restJson1DeleteAccountSubscriptionCommand;
|
|
567
584
|
const serializeAws_restJson1DeleteAnalysisCommand = async (input, context) => {
|
|
568
585
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
569
586
|
const headers = {};
|
|
@@ -2181,6 +2198,55 @@ const serializeAws_restJson1SearchDashboardsCommand = async (input, context) =>
|
|
|
2181
2198
|
});
|
|
2182
2199
|
};
|
|
2183
2200
|
exports.serializeAws_restJson1SearchDashboardsCommand = serializeAws_restJson1SearchDashboardsCommand;
|
|
2201
|
+
const serializeAws_restJson1SearchDataSetsCommand = async (input, context) => {
|
|
2202
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2203
|
+
const headers = {
|
|
2204
|
+
"content-type": "application/json",
|
|
2205
|
+
};
|
|
2206
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/search/data-sets";
|
|
2207
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2208
|
+
let body;
|
|
2209
|
+
body = JSON.stringify({
|
|
2210
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1DataSetSearchFilterList(input.Filters, context) }),
|
|
2211
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2212
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2213
|
+
});
|
|
2214
|
+
return new protocol_http_1.HttpRequest({
|
|
2215
|
+
protocol,
|
|
2216
|
+
hostname,
|
|
2217
|
+
port,
|
|
2218
|
+
method: "POST",
|
|
2219
|
+
headers,
|
|
2220
|
+
path: resolvedPath,
|
|
2221
|
+
body,
|
|
2222
|
+
});
|
|
2223
|
+
};
|
|
2224
|
+
exports.serializeAws_restJson1SearchDataSetsCommand = serializeAws_restJson1SearchDataSetsCommand;
|
|
2225
|
+
const serializeAws_restJson1SearchDataSourcesCommand = async (input, context) => {
|
|
2226
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2227
|
+
const headers = {
|
|
2228
|
+
"content-type": "application/json",
|
|
2229
|
+
};
|
|
2230
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2231
|
+
"/accounts/{AwsAccountId}/search/data-sources";
|
|
2232
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2233
|
+
let body;
|
|
2234
|
+
body = JSON.stringify({
|
|
2235
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1DataSourceSearchFilterList(input.Filters, context) }),
|
|
2236
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2237
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2238
|
+
});
|
|
2239
|
+
return new protocol_http_1.HttpRequest({
|
|
2240
|
+
protocol,
|
|
2241
|
+
hostname,
|
|
2242
|
+
port,
|
|
2243
|
+
method: "POST",
|
|
2244
|
+
headers,
|
|
2245
|
+
path: resolvedPath,
|
|
2246
|
+
body,
|
|
2247
|
+
});
|
|
2248
|
+
};
|
|
2249
|
+
exports.serializeAws_restJson1SearchDataSourcesCommand = serializeAws_restJson1SearchDataSourcesCommand;
|
|
2184
2250
|
const serializeAws_restJson1SearchFoldersCommand = async (input, context) => {
|
|
2185
2251
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2186
2252
|
const headers = {
|
|
@@ -2316,6 +2382,9 @@ const serializeAws_restJson1UpdateAccountSettingsCommand = async (input, context
|
|
|
2316
2382
|
body = JSON.stringify({
|
|
2317
2383
|
...(input.DefaultNamespace != null && { DefaultNamespace: input.DefaultNamespace }),
|
|
2318
2384
|
...(input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail }),
|
|
2385
|
+
...(input.TerminationProtectionEnabled != null && {
|
|
2386
|
+
TerminationProtectionEnabled: input.TerminationProtectionEnabled,
|
|
2387
|
+
}),
|
|
2319
2388
|
});
|
|
2320
2389
|
return new protocol_http_1.HttpRequest({
|
|
2321
2390
|
protocol,
|
|
@@ -4212,6 +4281,61 @@ const deserializeAws_restJson1DeleteAccountCustomizationCommandError = async (ou
|
|
|
4212
4281
|
});
|
|
4213
4282
|
}
|
|
4214
4283
|
};
|
|
4284
|
+
const deserializeAws_restJson1DeleteAccountSubscriptionCommand = async (output, context) => {
|
|
4285
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4286
|
+
return deserializeAws_restJson1DeleteAccountSubscriptionCommandError(output, context);
|
|
4287
|
+
}
|
|
4288
|
+
const contents = map({
|
|
4289
|
+
$metadata: deserializeMetadata(output),
|
|
4290
|
+
});
|
|
4291
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4292
|
+
if (data.RequestId != null) {
|
|
4293
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
4294
|
+
}
|
|
4295
|
+
map(contents, {
|
|
4296
|
+
Status: [, output.statusCode],
|
|
4297
|
+
});
|
|
4298
|
+
return contents;
|
|
4299
|
+
};
|
|
4300
|
+
exports.deserializeAws_restJson1DeleteAccountSubscriptionCommand = deserializeAws_restJson1DeleteAccountSubscriptionCommand;
|
|
4301
|
+
const deserializeAws_restJson1DeleteAccountSubscriptionCommandError = async (output, context) => {
|
|
4302
|
+
const parsedOutput = {
|
|
4303
|
+
...output,
|
|
4304
|
+
body: await parseErrorBody(output.body, context),
|
|
4305
|
+
};
|
|
4306
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4307
|
+
switch (errorCode) {
|
|
4308
|
+
case "AccessDeniedException":
|
|
4309
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4310
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
4311
|
+
case "InternalFailureException":
|
|
4312
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
4313
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
4314
|
+
case "InvalidParameterValueException":
|
|
4315
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4316
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
4317
|
+
case "PreconditionNotMetException":
|
|
4318
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
4319
|
+
throw await deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context);
|
|
4320
|
+
case "ResourceNotFoundException":
|
|
4321
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4322
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4323
|
+
case "ResourceUnavailableException":
|
|
4324
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
4325
|
+
throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
|
|
4326
|
+
case "ThrottlingException":
|
|
4327
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4328
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
4329
|
+
default:
|
|
4330
|
+
const parsedBody = parsedOutput.body;
|
|
4331
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4332
|
+
output,
|
|
4333
|
+
parsedBody,
|
|
4334
|
+
exceptionCtor: QuickSightServiceException_1.QuickSightServiceException,
|
|
4335
|
+
errorCode,
|
|
4336
|
+
});
|
|
4337
|
+
}
|
|
4338
|
+
};
|
|
4215
4339
|
const deserializeAws_restJson1DeleteAnalysisCommand = async (output, context) => {
|
|
4216
4340
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4217
4341
|
return deserializeAws_restJson1DeleteAnalysisCommandError(output, context);
|
|
@@ -6681,6 +6805,9 @@ const deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = async (o
|
|
|
6681
6805
|
$metadata: deserializeMetadata(output),
|
|
6682
6806
|
});
|
|
6683
6807
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6808
|
+
if (data.AnonymousUserArn != null) {
|
|
6809
|
+
contents.AnonymousUserArn = (0, smithy_client_1.expectString)(data.AnonymousUserArn);
|
|
6810
|
+
}
|
|
6684
6811
|
if (data.EmbedUrl != null) {
|
|
6685
6812
|
contents.EmbedUrl = (0, smithy_client_1.expectString)(data.EmbedUrl);
|
|
6686
6813
|
}
|
|
@@ -8473,6 +8600,122 @@ const deserializeAws_restJson1SearchDashboardsCommandError = async (output, cont
|
|
|
8473
8600
|
});
|
|
8474
8601
|
}
|
|
8475
8602
|
};
|
|
8603
|
+
const deserializeAws_restJson1SearchDataSetsCommand = async (output, context) => {
|
|
8604
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8605
|
+
return deserializeAws_restJson1SearchDataSetsCommandError(output, context);
|
|
8606
|
+
}
|
|
8607
|
+
const contents = map({
|
|
8608
|
+
$metadata: deserializeMetadata(output),
|
|
8609
|
+
});
|
|
8610
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
8611
|
+
if (data.DataSetSummaries != null) {
|
|
8612
|
+
contents.DataSetSummaries = deserializeAws_restJson1DataSetSummaryList(data.DataSetSummaries, context);
|
|
8613
|
+
}
|
|
8614
|
+
if (data.NextToken != null) {
|
|
8615
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
8616
|
+
}
|
|
8617
|
+
if (data.RequestId != null) {
|
|
8618
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
8619
|
+
}
|
|
8620
|
+
map(contents, {
|
|
8621
|
+
Status: [, output.statusCode],
|
|
8622
|
+
});
|
|
8623
|
+
return contents;
|
|
8624
|
+
};
|
|
8625
|
+
exports.deserializeAws_restJson1SearchDataSetsCommand = deserializeAws_restJson1SearchDataSetsCommand;
|
|
8626
|
+
const deserializeAws_restJson1SearchDataSetsCommandError = async (output, context) => {
|
|
8627
|
+
const parsedOutput = {
|
|
8628
|
+
...output,
|
|
8629
|
+
body: await parseErrorBody(output.body, context),
|
|
8630
|
+
};
|
|
8631
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8632
|
+
switch (errorCode) {
|
|
8633
|
+
case "AccessDeniedException":
|
|
8634
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
8635
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
8636
|
+
case "InternalFailureException":
|
|
8637
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
8638
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
8639
|
+
case "InvalidNextTokenException":
|
|
8640
|
+
case "com.amazonaws.quicksight#InvalidNextTokenException":
|
|
8641
|
+
throw await deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
8642
|
+
case "InvalidParameterValueException":
|
|
8643
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
8644
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
8645
|
+
case "ResourceNotFoundException":
|
|
8646
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
8647
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
8648
|
+
case "ThrottlingException":
|
|
8649
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
8650
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
8651
|
+
default:
|
|
8652
|
+
const parsedBody = parsedOutput.body;
|
|
8653
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8654
|
+
output,
|
|
8655
|
+
parsedBody,
|
|
8656
|
+
exceptionCtor: QuickSightServiceException_1.QuickSightServiceException,
|
|
8657
|
+
errorCode,
|
|
8658
|
+
});
|
|
8659
|
+
}
|
|
8660
|
+
};
|
|
8661
|
+
const deserializeAws_restJson1SearchDataSourcesCommand = async (output, context) => {
|
|
8662
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8663
|
+
return deserializeAws_restJson1SearchDataSourcesCommandError(output, context);
|
|
8664
|
+
}
|
|
8665
|
+
const contents = map({
|
|
8666
|
+
$metadata: deserializeMetadata(output),
|
|
8667
|
+
});
|
|
8668
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
8669
|
+
if (data.DataSourceSummaries != null) {
|
|
8670
|
+
contents.DataSourceSummaries = deserializeAws_restJson1DataSourceSummaryList(data.DataSourceSummaries, context);
|
|
8671
|
+
}
|
|
8672
|
+
if (data.NextToken != null) {
|
|
8673
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
8674
|
+
}
|
|
8675
|
+
if (data.RequestId != null) {
|
|
8676
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
8677
|
+
}
|
|
8678
|
+
map(contents, {
|
|
8679
|
+
Status: [, output.statusCode],
|
|
8680
|
+
});
|
|
8681
|
+
return contents;
|
|
8682
|
+
};
|
|
8683
|
+
exports.deserializeAws_restJson1SearchDataSourcesCommand = deserializeAws_restJson1SearchDataSourcesCommand;
|
|
8684
|
+
const deserializeAws_restJson1SearchDataSourcesCommandError = async (output, context) => {
|
|
8685
|
+
const parsedOutput = {
|
|
8686
|
+
...output,
|
|
8687
|
+
body: await parseErrorBody(output.body, context),
|
|
8688
|
+
};
|
|
8689
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8690
|
+
switch (errorCode) {
|
|
8691
|
+
case "AccessDeniedException":
|
|
8692
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
8693
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
8694
|
+
case "InternalFailureException":
|
|
8695
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
8696
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
8697
|
+
case "InvalidNextTokenException":
|
|
8698
|
+
case "com.amazonaws.quicksight#InvalidNextTokenException":
|
|
8699
|
+
throw await deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
8700
|
+
case "InvalidParameterValueException":
|
|
8701
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
8702
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
8703
|
+
case "ResourceNotFoundException":
|
|
8704
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
8705
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
8706
|
+
case "ThrottlingException":
|
|
8707
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
8708
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
8709
|
+
default:
|
|
8710
|
+
const parsedBody = parsedOutput.body;
|
|
8711
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8712
|
+
output,
|
|
8713
|
+
parsedBody,
|
|
8714
|
+
exceptionCtor: QuickSightServiceException_1.QuickSightServiceException,
|
|
8715
|
+
errorCode,
|
|
8716
|
+
});
|
|
8717
|
+
}
|
|
8718
|
+
};
|
|
8476
8719
|
const deserializeAws_restJson1SearchFoldersCommand = async (output, context) => {
|
|
8477
8720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8478
8721
|
return deserializeAws_restJson1SearchFoldersCommandError(output, context);
|
|
@@ -8515,6 +8758,9 @@ const deserializeAws_restJson1SearchFoldersCommandError = async (output, context
|
|
|
8515
8758
|
case "InvalidParameterValueException":
|
|
8516
8759
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
8517
8760
|
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
8761
|
+
case "InvalidRequestException":
|
|
8762
|
+
case "com.amazonaws.quicksight#InvalidRequestException":
|
|
8763
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
8518
8764
|
case "ResourceNotFoundException":
|
|
8519
8765
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
8520
8766
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -10293,6 +10539,21 @@ const deserializeAws_restJson1InvalidParameterValueExceptionResponse = async (pa
|
|
|
10293
10539
|
});
|
|
10294
10540
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
10295
10541
|
};
|
|
10542
|
+
const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
10543
|
+
const contents = map({});
|
|
10544
|
+
const data = parsedOutput.body;
|
|
10545
|
+
if (data.Message != null) {
|
|
10546
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
10547
|
+
}
|
|
10548
|
+
if (data.RequestId != null) {
|
|
10549
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
10550
|
+
}
|
|
10551
|
+
const exception = new models_1_1.InvalidRequestException({
|
|
10552
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
10553
|
+
...contents,
|
|
10554
|
+
});
|
|
10555
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
10556
|
+
};
|
|
10296
10557
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
10297
10558
|
const contents = map({});
|
|
10298
10559
|
const data = parsedOutput.body;
|
|
@@ -10534,6 +10795,14 @@ const serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration = (inp
|
|
|
10534
10795
|
...(input.DashboardVisual != null && {
|
|
10535
10796
|
DashboardVisual: serializeAws_restJson1AnonymousUserDashboardVisualEmbeddingConfiguration(input.DashboardVisual, context),
|
|
10536
10797
|
}),
|
|
10798
|
+
...(input.QSearchBar != null && {
|
|
10799
|
+
QSearchBar: serializeAws_restJson1AnonymousUserQSearchBarEmbeddingConfiguration(input.QSearchBar, context),
|
|
10800
|
+
}),
|
|
10801
|
+
};
|
|
10802
|
+
};
|
|
10803
|
+
const serializeAws_restJson1AnonymousUserQSearchBarEmbeddingConfiguration = (input, context) => {
|
|
10804
|
+
return {
|
|
10805
|
+
...(input.InitialTopicId != null && { InitialTopicId: input.InitialTopicId }),
|
|
10537
10806
|
};
|
|
10538
10807
|
};
|
|
10539
10808
|
const serializeAws_restJson1ArnList = (input, context) => {
|
|
@@ -10545,6 +10814,7 @@ const serializeAws_restJson1ArnList = (input, context) => {
|
|
|
10545
10814
|
};
|
|
10546
10815
|
const serializeAws_restJson1AthenaParameters = (input, context) => {
|
|
10547
10816
|
return {
|
|
10817
|
+
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
10548
10818
|
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
10549
10819
|
};
|
|
10550
10820
|
};
|
|
@@ -10739,6 +11009,13 @@ const serializeAws_restJson1DashboardVisualId = (input, context) => {
|
|
|
10739
11009
|
...(input.VisualId != null && { VisualId: input.VisualId }),
|
|
10740
11010
|
};
|
|
10741
11011
|
};
|
|
11012
|
+
const serializeAws_restJson1DatabricksParameters = (input, context) => {
|
|
11013
|
+
return {
|
|
11014
|
+
...(input.Host != null && { Host: input.Host }),
|
|
11015
|
+
...(input.Port != null && { Port: input.Port }),
|
|
11016
|
+
...(input.SqlEndpointPath != null && { SqlEndpointPath: input.SqlEndpointPath }),
|
|
11017
|
+
};
|
|
11018
|
+
};
|
|
10742
11019
|
const serializeAws_restJson1DataColorPalette = (input, context) => {
|
|
10743
11020
|
return {
|
|
10744
11021
|
...(input.Colors != null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) }),
|
|
@@ -10761,6 +11038,20 @@ const serializeAws_restJson1DataSetReferenceList = (input, context) => {
|
|
|
10761
11038
|
return serializeAws_restJson1DataSetReference(entry, context);
|
|
10762
11039
|
});
|
|
10763
11040
|
};
|
|
11041
|
+
const serializeAws_restJson1DataSetSearchFilter = (input, context) => {
|
|
11042
|
+
return {
|
|
11043
|
+
...(input.Name != null && { Name: input.Name }),
|
|
11044
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
11045
|
+
...(input.Value != null && { Value: input.Value }),
|
|
11046
|
+
};
|
|
11047
|
+
};
|
|
11048
|
+
const serializeAws_restJson1DataSetSearchFilterList = (input, context) => {
|
|
11049
|
+
return input
|
|
11050
|
+
.filter((e) => e != null)
|
|
11051
|
+
.map((entry) => {
|
|
11052
|
+
return serializeAws_restJson1DataSetSearchFilter(entry, context);
|
|
11053
|
+
});
|
|
11054
|
+
};
|
|
10764
11055
|
const serializeAws_restJson1DataSetUsageConfiguration = (input, context) => {
|
|
10765
11056
|
return {
|
|
10766
11057
|
...(input.DisableUseAsDirectQuerySource != null && {
|
|
@@ -10794,6 +11085,9 @@ const serializeAws_restJson1DataSourceParameters = (input, context) => {
|
|
|
10794
11085
|
AwsIotAnalyticsParameters: (value) => ({
|
|
10795
11086
|
AwsIotAnalyticsParameters: serializeAws_restJson1AwsIotAnalyticsParameters(value, context),
|
|
10796
11087
|
}),
|
|
11088
|
+
DatabricksParameters: (value) => ({
|
|
11089
|
+
DatabricksParameters: serializeAws_restJson1DatabricksParameters(value, context),
|
|
11090
|
+
}),
|
|
10797
11091
|
ExasolParameters: (value) => ({ ExasolParameters: serializeAws_restJson1ExasolParameters(value, context) }),
|
|
10798
11092
|
JiraParameters: (value) => ({ JiraParameters: serializeAws_restJson1JiraParameters(value, context) }),
|
|
10799
11093
|
MariaDbParameters: (value) => ({ MariaDbParameters: serializeAws_restJson1MariaDbParameters(value, context) }),
|
|
@@ -10828,6 +11122,20 @@ const serializeAws_restJson1DataSourceParametersList = (input, context) => {
|
|
|
10828
11122
|
return serializeAws_restJson1DataSourceParameters(entry, context);
|
|
10829
11123
|
});
|
|
10830
11124
|
};
|
|
11125
|
+
const serializeAws_restJson1DataSourceSearchFilter = (input, context) => {
|
|
11126
|
+
return {
|
|
11127
|
+
...(input.Name != null && { Name: input.Name }),
|
|
11128
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
11129
|
+
...(input.Value != null && { Value: input.Value }),
|
|
11130
|
+
};
|
|
11131
|
+
};
|
|
11132
|
+
const serializeAws_restJson1DataSourceSearchFilterList = (input, context) => {
|
|
11133
|
+
return input
|
|
11134
|
+
.filter((e) => e != null)
|
|
11135
|
+
.map((entry) => {
|
|
11136
|
+
return serializeAws_restJson1DataSourceSearchFilter(entry, context);
|
|
11137
|
+
});
|
|
11138
|
+
};
|
|
10831
11139
|
const serializeAws_restJson1DateTimeParameter = (input, context) => {
|
|
10832
11140
|
return {
|
|
10833
11141
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -11548,6 +11856,7 @@ const deserializeAws_restJson1AccountSettings = (output, context) => {
|
|
|
11548
11856
|
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
11549
11857
|
NotificationEmail: (0, smithy_client_1.expectString)(output.NotificationEmail),
|
|
11550
11858
|
PublicSharingEnabled: (0, smithy_client_1.expectBoolean)(output.PublicSharingEnabled),
|
|
11859
|
+
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
11551
11860
|
};
|
|
11552
11861
|
};
|
|
11553
11862
|
const deserializeAws_restJson1ActionList = (output, context) => {
|
|
@@ -11650,6 +11959,7 @@ const deserializeAws_restJson1AnalysisSummaryList = (output, context) => {
|
|
|
11650
11959
|
};
|
|
11651
11960
|
const deserializeAws_restJson1AthenaParameters = (output, context) => {
|
|
11652
11961
|
return {
|
|
11962
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
11653
11963
|
WorkGroup: (0, smithy_client_1.expectString)(output.WorkGroup),
|
|
11654
11964
|
};
|
|
11655
11965
|
};
|
|
@@ -11972,6 +12282,13 @@ const deserializeAws_restJson1DashboardVersionSummaryList = (output, context) =>
|
|
|
11972
12282
|
});
|
|
11973
12283
|
return retVal;
|
|
11974
12284
|
};
|
|
12285
|
+
const deserializeAws_restJson1DatabricksParameters = (output, context) => {
|
|
12286
|
+
return {
|
|
12287
|
+
Host: (0, smithy_client_1.expectString)(output.Host),
|
|
12288
|
+
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
12289
|
+
SqlEndpointPath: (0, smithy_client_1.expectString)(output.SqlEndpointPath),
|
|
12290
|
+
};
|
|
12291
|
+
};
|
|
11975
12292
|
const deserializeAws_restJson1DataColorPalette = (output, context) => {
|
|
11976
12293
|
return {
|
|
11977
12294
|
Colors: output.Colors != null ? deserializeAws_restJson1ColorList(output.Colors, context) : undefined,
|
|
@@ -12166,6 +12483,11 @@ const deserializeAws_restJson1DataSourceParameters = (output, context) => {
|
|
|
12166
12483
|
AwsIotAnalyticsParameters: deserializeAws_restJson1AwsIotAnalyticsParameters(output.AwsIotAnalyticsParameters, context),
|
|
12167
12484
|
};
|
|
12168
12485
|
}
|
|
12486
|
+
if (output.DatabricksParameters != null) {
|
|
12487
|
+
return {
|
|
12488
|
+
DatabricksParameters: deserializeAws_restJson1DatabricksParameters(output.DatabricksParameters, context),
|
|
12489
|
+
};
|
|
12490
|
+
}
|
|
12169
12491
|
if (output.ExasolParameters != null) {
|
|
12170
12492
|
return {
|
|
12171
12493
|
ExasolParameters: deserializeAws_restJson1ExasolParameters(output.ExasolParameters, context),
|
|
@@ -12259,6 +12581,31 @@ const deserializeAws_restJson1DataSourceParametersList = (output, context) => {
|
|
|
12259
12581
|
});
|
|
12260
12582
|
return retVal;
|
|
12261
12583
|
};
|
|
12584
|
+
const deserializeAws_restJson1DataSourceSummary = (output, context) => {
|
|
12585
|
+
return {
|
|
12586
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
12587
|
+
CreatedTime: output.CreatedTime != null
|
|
12588
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
12589
|
+
: undefined,
|
|
12590
|
+
DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
|
|
12591
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
12592
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
12593
|
+
: undefined,
|
|
12594
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
12595
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
12596
|
+
};
|
|
12597
|
+
};
|
|
12598
|
+
const deserializeAws_restJson1DataSourceSummaryList = (output, context) => {
|
|
12599
|
+
const retVal = (output || [])
|
|
12600
|
+
.filter((e) => e != null)
|
|
12601
|
+
.map((entry) => {
|
|
12602
|
+
if (entry === null) {
|
|
12603
|
+
return null;
|
|
12604
|
+
}
|
|
12605
|
+
return deserializeAws_restJson1DataSourceSummary(entry, context);
|
|
12606
|
+
});
|
|
12607
|
+
return retVal;
|
|
12608
|
+
};
|
|
12262
12609
|
const deserializeAws_restJson1ErrorInfo = (output, context) => {
|
|
12263
12610
|
return {
|
|
12264
12611
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
package/dist-es/QuickSight.js
CHANGED
|
@@ -17,6 +17,7 @@ import { CreateTemplateCommand, } from "./commands/CreateTemplateCommand";
|
|
|
17
17
|
import { CreateThemeAliasCommand, } from "./commands/CreateThemeAliasCommand";
|
|
18
18
|
import { CreateThemeCommand } from "./commands/CreateThemeCommand";
|
|
19
19
|
import { DeleteAccountCustomizationCommand, } from "./commands/DeleteAccountCustomizationCommand";
|
|
20
|
+
import { DeleteAccountSubscriptionCommand, } from "./commands/DeleteAccountSubscriptionCommand";
|
|
20
21
|
import { DeleteAnalysisCommand, } from "./commands/DeleteAnalysisCommand";
|
|
21
22
|
import { DeleteDashboardCommand, } from "./commands/DeleteDashboardCommand";
|
|
22
23
|
import { DeleteDataSetCommand, } from "./commands/DeleteDataSetCommand";
|
|
@@ -90,6 +91,8 @@ import { RegisterUserCommand, } from "./commands/RegisterUserCommand";
|
|
|
90
91
|
import { RestoreAnalysisCommand, } from "./commands/RestoreAnalysisCommand";
|
|
91
92
|
import { SearchAnalysesCommand, } from "./commands/SearchAnalysesCommand";
|
|
92
93
|
import { SearchDashboardsCommand, } from "./commands/SearchDashboardsCommand";
|
|
94
|
+
import { SearchDataSetsCommand, } from "./commands/SearchDataSetsCommand";
|
|
95
|
+
import { SearchDataSourcesCommand, } from "./commands/SearchDataSourcesCommand";
|
|
93
96
|
import { SearchFoldersCommand, } from "./commands/SearchFoldersCommand";
|
|
94
97
|
import { SearchGroupsCommand, } from "./commands/SearchGroupsCommand";
|
|
95
98
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -386,6 +389,20 @@ export class QuickSight extends QuickSightClient {
|
|
|
386
389
|
return this.send(command, optionsOrCb);
|
|
387
390
|
}
|
|
388
391
|
}
|
|
392
|
+
deleteAccountSubscription(args, optionsOrCb, cb) {
|
|
393
|
+
const command = new DeleteAccountSubscriptionCommand(args);
|
|
394
|
+
if (typeof optionsOrCb === "function") {
|
|
395
|
+
this.send(command, optionsOrCb);
|
|
396
|
+
}
|
|
397
|
+
else if (typeof cb === "function") {
|
|
398
|
+
if (typeof optionsOrCb !== "object")
|
|
399
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
return this.send(command, optionsOrCb);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
389
406
|
deleteAnalysis(args, optionsOrCb, cb) {
|
|
390
407
|
const command = new DeleteAnalysisCommand(args);
|
|
391
408
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1408,6 +1425,34 @@ export class QuickSight extends QuickSightClient {
|
|
|
1408
1425
|
return this.send(command, optionsOrCb);
|
|
1409
1426
|
}
|
|
1410
1427
|
}
|
|
1428
|
+
searchDataSets(args, optionsOrCb, cb) {
|
|
1429
|
+
const command = new SearchDataSetsCommand(args);
|
|
1430
|
+
if (typeof optionsOrCb === "function") {
|
|
1431
|
+
this.send(command, optionsOrCb);
|
|
1432
|
+
}
|
|
1433
|
+
else if (typeof cb === "function") {
|
|
1434
|
+
if (typeof optionsOrCb !== "object")
|
|
1435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1436
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1437
|
+
}
|
|
1438
|
+
else {
|
|
1439
|
+
return this.send(command, optionsOrCb);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
searchDataSources(args, optionsOrCb, cb) {
|
|
1443
|
+
const command = new SearchDataSourcesCommand(args);
|
|
1444
|
+
if (typeof optionsOrCb === "function") {
|
|
1445
|
+
this.send(command, optionsOrCb);
|
|
1446
|
+
}
|
|
1447
|
+
else if (typeof cb === "function") {
|
|
1448
|
+
if (typeof optionsOrCb !== "object")
|
|
1449
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1450
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1451
|
+
}
|
|
1452
|
+
else {
|
|
1453
|
+
return this.send(command, optionsOrCb);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1411
1456
|
searchFolders(args, optionsOrCb, cb) {
|
|
1412
1457
|
const command = new SearchFoldersCommand(args);
|
|
1413
1458
|
if (typeof optionsOrCb === "function") {
|