@aws-sdk/client-quicksight 3.325.0 → 3.327.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/README.md +144 -0
- package/dist-cjs/QuickSight.js +36 -0
- package/dist-cjs/commands/CreateTopicCommand.js +46 -0
- package/dist-cjs/commands/CreateTopicRefreshScheduleCommand.js +45 -0
- package/dist-cjs/commands/CreateVPCConnectionCommand.js +45 -0
- package/dist-cjs/commands/DeleteTopicCommand.js +45 -0
- package/dist-cjs/commands/DeleteTopicRefreshScheduleCommand.js +45 -0
- package/dist-cjs/commands/DeleteVPCConnectionCommand.js +45 -0
- package/dist-cjs/commands/DescribeDataSetCommand.js +2 -2
- package/dist-cjs/commands/DescribeTemplateDefinitionCommand.js +2 -2
- package/dist-cjs/commands/DescribeTopicCommand.js +46 -0
- package/dist-cjs/commands/DescribeTopicPermissionsCommand.js +45 -0
- package/dist-cjs/commands/DescribeTopicRefreshCommand.js +45 -0
- package/dist-cjs/commands/DescribeTopicRefreshScheduleCommand.js +45 -0
- package/dist-cjs/commands/DescribeVPCConnectionCommand.js +45 -0
- package/dist-cjs/commands/ListTopicRefreshSchedulesCommand.js +45 -0
- package/dist-cjs/commands/ListTopicsCommand.js +45 -0
- package/dist-cjs/commands/ListVPCConnectionsCommand.js +45 -0
- package/dist-cjs/commands/UpdateTopicCommand.js +46 -0
- package/dist-cjs/commands/UpdateTopicPermissionsCommand.js +45 -0
- package/dist-cjs/commands/UpdateTopicRefreshScheduleCommand.js +45 -0
- package/dist-cjs/commands/UpdateVPCConnectionCommand.js +45 -0
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/models/models_0.js +1 -11
- package/dist-cjs/models/models_1.js +46 -50
- package/dist-cjs/models/models_2.js +262 -141
- package/dist-cjs/models/models_3.js +167 -1
- package/dist-cjs/pagination/ListTopicsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVPCConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2076 -307
- package/dist-es/QuickSight.js +36 -0
- package/dist-es/commands/CreateTopicCommand.js +42 -0
- package/dist-es/commands/CreateTopicRefreshScheduleCommand.js +41 -0
- package/dist-es/commands/CreateVPCConnectionCommand.js +41 -0
- package/dist-es/commands/DeleteTopicCommand.js +41 -0
- package/dist-es/commands/DeleteTopicRefreshScheduleCommand.js +41 -0
- package/dist-es/commands/DeleteVPCConnectionCommand.js +41 -0
- package/dist-es/commands/DescribeDataSetCommand.js +1 -1
- package/dist-es/commands/DescribeTemplateDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeTopicCommand.js +42 -0
- package/dist-es/commands/DescribeTopicPermissionsCommand.js +41 -0
- package/dist-es/commands/DescribeTopicRefreshCommand.js +41 -0
- package/dist-es/commands/DescribeTopicRefreshScheduleCommand.js +41 -0
- package/dist-es/commands/DescribeVPCConnectionCommand.js +41 -0
- package/dist-es/commands/ListTopicRefreshSchedulesCommand.js +41 -0
- package/dist-es/commands/ListTopicsCommand.js +41 -0
- package/dist-es/commands/ListVPCConnectionsCommand.js +41 -0
- package/dist-es/commands/UpdateTopicCommand.js +42 -0
- package/dist-es/commands/UpdateTopicPermissionsCommand.js +41 -0
- package/dist-es/commands/UpdateTopicRefreshScheduleCommand.js +41 -0
- package/dist-es/commands/UpdateVPCConnectionCommand.js +41 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/models/models_0.js +0 -9
- package/dist-es/models/models_1.js +41 -43
- package/dist-es/models/models_2.js +242 -135
- package/dist-es/models/models_3.js +161 -1
- package/dist-es/pagination/ListTopicsPaginator.js +25 -0
- package/dist-es/pagination/ListVPCConnectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2030 -298
- package/dist-types/QuickSight.d.ts +126 -0
- package/dist-types/QuickSightClient.d.ts +20 -2
- package/dist-types/commands/CancelIngestionCommand.d.ts +9 -0
- package/dist-types/commands/CreateAccountCustomizationCommand.d.ts +15 -1
- package/dist-types/commands/CreateAccountSubscriptionCommand.d.ts +14 -1
- package/dist-types/commands/CreateAnalysisCommand.d.ts +66 -4
- package/dist-types/commands/CreateDashboardCommand.d.ts +67 -4
- package/dist-types/commands/CreateDataSetCommand.d.ts +74 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +10 -0
- package/dist-types/commands/CreateFolderCommand.d.ts +9 -0
- package/dist-types/commands/CreateFolderMembershipCommand.d.ts +11 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +13 -0
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +11 -0
- package/dist-types/commands/CreateIAMPolicyAssignmentCommand.d.ts +21 -4
- package/dist-types/commands/CreateIngestionCommand.d.ts +10 -0
- package/dist-types/commands/CreateNamespaceCommand.d.ts +12 -0
- package/dist-types/commands/CreateRefreshScheduleCommand.d.ts +9 -0
- package/dist-types/commands/CreateTemplateAliasCommand.d.ts +12 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +67 -4
- package/dist-types/commands/CreateThemeAliasCommand.d.ts +12 -0
- package/dist-types/commands/CreateThemeCommand.d.ts +11 -0
- package/dist-types/commands/CreateTopicCommand.d.ts +352 -0
- package/dist-types/commands/CreateTopicRefreshScheduleCommand.d.ts +111 -0
- package/dist-types/commands/CreateVPCConnectionCommand.d.ts +122 -0
- package/dist-types/commands/DeleteAccountCustomizationCommand.d.ts +7 -0
- package/dist-types/commands/DeleteAccountSubscriptionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteAnalysisCommand.d.ts +10 -0
- package/dist-types/commands/DeleteDashboardCommand.d.ts +9 -0
- package/dist-types/commands/DeleteDataSetCommand.d.ts +9 -0
- package/dist-types/commands/DeleteDataSetRefreshPropertiesCommand.d.ts +7 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +9 -0
- package/dist-types/commands/DeleteFolderCommand.d.ts +9 -0
- package/dist-types/commands/DeleteFolderMembershipCommand.d.ts +7 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +7 -0
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +7 -0
- package/dist-types/commands/DeleteIAMPolicyAssignmentCommand.d.ts +8 -0
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +7 -0
- package/dist-types/commands/DeleteRefreshScheduleCommand.d.ts +9 -0
- package/dist-types/commands/DeleteTemplateAliasCommand.d.ts +10 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteThemeAliasCommand.d.ts +10 -0
- package/dist-types/commands/DeleteThemeCommand.d.ts +9 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTopicRefreshScheduleCommand.d.ts +102 -0
- package/dist-types/commands/DeleteUserByPrincipalIdCommand.d.ts +7 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +7 -0
- package/dist-types/commands/DeleteVPCConnectionCommand.d.ts +102 -0
- package/dist-types/commands/DescribeAccountCustomizationCommand.d.ts +14 -0
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +14 -0
- package/dist-types/commands/DescribeAnalysisCommand.d.ts +36 -0
- package/dist-types/commands/DescribeAnalysisDefinitionCommand.d.ts +4291 -0
- package/dist-types/commands/DescribeAnalysisPermissionsCommand.d.ts +17 -0
- package/dist-types/commands/DescribeDashboardCommand.d.ts +44 -0
- package/dist-types/commands/DescribeDashboardDefinitionCommand.d.ts +4328 -0
- package/dist-types/commands/DescribeDashboardPermissionsCommand.d.ts +27 -0
- package/dist-types/commands/DescribeDataSetCommand.d.ts +254 -1
- package/dist-types/commands/DescribeDataSetPermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeDataSetRefreshPropertiesCommand.d.ts +19 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +240 -1
- package/dist-types/commands/DescribeDataSourcePermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeFolderCommand.d.ts +19 -1
- package/dist-types/commands/DescribeFolderPermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeFolderResolvedPermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeGroupCommand.d.ts +14 -1
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +12 -1
- package/dist-types/commands/DescribeIAMPolicyAssignmentCommand.d.ts +22 -2
- package/dist-types/commands/DescribeIngestionCommand.d.ts +31 -1
- package/dist-types/commands/DescribeIpRestrictionCommand.d.ts +13 -1
- package/dist-types/commands/DescribeNamespaceCommand.d.ts +19 -1
- package/dist-types/commands/DescribeRefreshScheduleCommand.d.ts +24 -1
- package/dist-types/commands/DescribeTemplateAliasCommand.d.ts +13 -1
- package/dist-types/commands/DescribeTemplateCommand.d.ts +64 -1
- package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +4310 -1
- package/dist-types/commands/DescribeTemplatePermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeThemeAliasCommand.d.ts +13 -1
- package/dist-types/commands/DescribeThemeCommand.d.ts +81 -1
- package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +18 -1
- package/dist-types/commands/DescribeTopicCommand.d.ts +336 -0
- package/dist-types/commands/DescribeTopicPermissionsCommand.d.ts +99 -0
- package/dist-types/commands/DescribeTopicRefreshCommand.d.ts +95 -0
- package/dist-types/commands/DescribeTopicRefreshScheduleCommand.d.ts +110 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +21 -1
- package/dist-types/commands/DescribeVPCConnectionCommand.d.ts +121 -0
- package/dist-types/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +9 -0
- package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +11 -0
- package/dist-types/commands/GetDashboardEmbedUrlCommand.d.ts +8 -0
- package/dist-types/commands/GetSessionEmbedUrlCommand.d.ts +8 -0
- package/dist-types/commands/ListAnalysesCommand.d.ts +18 -0
- package/dist-types/commands/ListDashboardVersionsCommand.d.ts +18 -0
- package/dist-types/commands/ListDashboardsCommand.d.ts +19 -0
- package/dist-types/commands/ListDataSetsCommand.d.ts +27 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +242 -0
- package/dist-types/commands/ListFolderMembersCommand.d.ts +14 -0
- package/dist-types/commands/ListFoldersCommand.d.ts +18 -0
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +14 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListIAMPolicyAssignmentsCommand.d.ts +17 -1
- package/dist-types/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +21 -3
- package/dist-types/commands/ListIngestionsCommand.d.ts +33 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +21 -0
- package/dist-types/commands/ListRefreshSchedulesCommand.d.ts +24 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
- package/dist-types/commands/ListTemplateAliasesCommand.d.ts +15 -0
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +17 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +18 -0
- package/dist-types/commands/ListThemeAliasesCommand.d.ts +15 -0
- package/dist-types/commands/ListThemeVersionsCommand.d.ts +17 -0
- package/dist-types/commands/ListThemesCommand.d.ts +18 -0
- package/dist-types/commands/ListTopicRefreshSchedulesCommand.d.ts +115 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +98 -0
- package/dist-types/commands/ListUserGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListUsersCommand.d.ts +23 -0
- package/dist-types/commands/ListVPCConnectionsCommand.d.ts +126 -0
- package/dist-types/commands/PutDataSetRefreshPropertiesCommand.d.ts +7 -0
- package/dist-types/commands/RegisterUserCommand.d.ts +21 -0
- package/dist-types/commands/RestoreAnalysisCommand.d.ts +9 -0
- package/dist-types/commands/SearchAnalysesCommand.d.ts +18 -0
- package/dist-types/commands/SearchDashboardsCommand.d.ts +19 -0
- package/dist-types/commands/SearchDataSetsCommand.d.ts +27 -0
- package/dist-types/commands/SearchDataSourcesCommand.d.ts +18 -0
- package/dist-types/commands/SearchFoldersCommand.d.ts +18 -0
- package/dist-types/commands/SearchGroupsCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +8 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -0
- package/dist-types/commands/UpdateAccountCustomizationCommand.d.ts +14 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateAnalysisCommand.d.ts +66 -4
- package/dist-types/commands/UpdateAnalysisPermissionsCommand.d.ts +17 -0
- package/dist-types/commands/UpdateDashboardCommand.d.ts +67 -4
- package/dist-types/commands/UpdateDashboardPermissionsCommand.d.ts +27 -0
- package/dist-types/commands/UpdateDashboardPublishedVersionCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDataSetCommand.d.ts +74 -0
- package/dist-types/commands/UpdateDataSetPermissionsCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +10 -0
- package/dist-types/commands/UpdateDataSourcePermissionsCommand.d.ts +9 -0
- package/dist-types/commands/UpdateFolderCommand.d.ts +9 -0
- package/dist-types/commands/UpdateFolderPermissionsCommand.d.ts +17 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +13 -0
- package/dist-types/commands/UpdateIAMPolicyAssignmentCommand.d.ts +19 -4
- package/dist-types/commands/UpdateIpRestrictionCommand.d.ts +12 -1
- package/dist-types/commands/UpdatePublicSharingSettingsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateRefreshScheduleCommand.d.ts +9 -0
- package/dist-types/commands/UpdateTemplateAliasCommand.d.ts +12 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +67 -4
- package/dist-types/commands/UpdateTemplatePermissionsCommand.d.ts +17 -0
- package/dist-types/commands/UpdateThemeAliasCommand.d.ts +12 -0
- package/dist-types/commands/UpdateThemeCommand.d.ts +11 -0
- package/dist-types/commands/UpdateThemePermissionsCommand.d.ts +17 -0
- package/dist-types/commands/UpdateTopicCommand.d.ts +346 -0
- package/dist-types/commands/UpdateTopicPermissionsCommand.d.ts +127 -0
- package/dist-types/commands/UpdateTopicRefreshScheduleCommand.d.ts +110 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +20 -0
- package/dist-types/commands/UpdateVPCConnectionCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +43 -91
- package/dist-types/models/models_1.d.ts +210 -281
- package/dist-types/models/models_2.d.ts +2375 -2163
- package/dist-types/models/models_3.d.ts +2468 -54
- package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVPCConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +162 -0
- package/dist-types/ts3.4/QuickSight.d.ts +306 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +110 -2
- package/dist-types/ts3.4/commands/CreateAccountCustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAccountSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateTopicRefreshScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVPCConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteTopicRefreshScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVPCConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeDataSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSetPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSetRefreshPropertiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSourcePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFolderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFolderPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFolderResolvedPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIngestionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpRestrictionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRefreshScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeTopicPermissionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTopicRefreshCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTopicRefreshScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVPCConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTopicRefreshSchedulesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListVPCConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateTopicPermissionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateTopicRefreshScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVPCConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -22
- package/dist-types/ts3.4/models/models_1.d.ts +79 -75
- package/dist-types/ts3.4/models/models_2.d.ts +605 -500
- package/dist-types/ts3.4/models/models_3.d.ts +737 -9
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVPCConnectionsPaginator.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 +216 -0
- package/package.json +7 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessDeniedException, } from "../models/models_0";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { IdentityTypeNotSupportedException, InvalidRequestException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, UnsupportedPricingPlanException, } from "../models/models_3";
|
|
4
|
+
import { InternalFailureException, InvalidParameterValueException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, } from "../models/models_1";
|
|
5
|
+
import { ConcurrentUpdatingException, ConflictException, LimitExceededException, PreconditionNotMetException, ResourceUnavailableException, TransformOperation, UnsupportedUserEditionException, } from "../models/models_2";
|
|
6
|
+
import { DomainNotWhitelistedException, IdentityTypeNotSupportedException, InvalidNextTokenException, InvalidRequestException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, UnsupportedPricingPlanException, } from "../models/models_3";
|
|
7
7
|
import { QuickSightServiceException as __BaseException } from "../models/QuickSightServiceException";
|
|
8
8
|
export const se_CancelIngestionCommand = async (input, context) => {
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -157,9 +157,10 @@ export const se_CreateDataSetCommand = async (input, context) => {
|
|
|
157
157
|
ColumnLevelPermissionRules: (_) => _json(_),
|
|
158
158
|
DataSetId: [],
|
|
159
159
|
DataSetUsageConfiguration: (_) => _json(_),
|
|
160
|
+
DatasetParameters: (_) => se_DatasetParameterList(_, context),
|
|
160
161
|
FieldFolders: (_) => _json(_),
|
|
161
162
|
ImportMode: [],
|
|
162
|
-
LogicalTableMap: (_) =>
|
|
163
|
+
LogicalTableMap: (_) => se_LogicalTableMap(_, context),
|
|
163
164
|
Name: [],
|
|
164
165
|
Permissions: (_) => _json(_),
|
|
165
166
|
PhysicalTableMap: (_) => _json(_),
|
|
@@ -496,6 +497,81 @@ export const se_CreateThemeAliasCommand = async (input, context) => {
|
|
|
496
497
|
body,
|
|
497
498
|
});
|
|
498
499
|
};
|
|
500
|
+
export const se_CreateTopicCommand = async (input, context) => {
|
|
501
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
502
|
+
const headers = {
|
|
503
|
+
"content-type": "application/json",
|
|
504
|
+
};
|
|
505
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics";
|
|
506
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify(take(input, {
|
|
509
|
+
Tags: (_) => _json(_),
|
|
510
|
+
Topic: (_) => _json(_),
|
|
511
|
+
TopicId: [],
|
|
512
|
+
}));
|
|
513
|
+
return new __HttpRequest({
|
|
514
|
+
protocol,
|
|
515
|
+
hostname,
|
|
516
|
+
port,
|
|
517
|
+
method: "POST",
|
|
518
|
+
headers,
|
|
519
|
+
path: resolvedPath,
|
|
520
|
+
body,
|
|
521
|
+
});
|
|
522
|
+
};
|
|
523
|
+
export const se_CreateTopicRefreshScheduleCommand = async (input, context) => {
|
|
524
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
525
|
+
const headers = {
|
|
526
|
+
"content-type": "application/json",
|
|
527
|
+
};
|
|
528
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
529
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/schedules";
|
|
530
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
531
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
532
|
+
let body;
|
|
533
|
+
body = JSON.stringify(take(input, {
|
|
534
|
+
DatasetArn: [],
|
|
535
|
+
DatasetName: [],
|
|
536
|
+
RefreshSchedule: (_) => se_TopicRefreshSchedule(_, context),
|
|
537
|
+
}));
|
|
538
|
+
return new __HttpRequest({
|
|
539
|
+
protocol,
|
|
540
|
+
hostname,
|
|
541
|
+
port,
|
|
542
|
+
method: "POST",
|
|
543
|
+
headers,
|
|
544
|
+
path: resolvedPath,
|
|
545
|
+
body,
|
|
546
|
+
});
|
|
547
|
+
};
|
|
548
|
+
export const se_CreateVPCConnectionCommand = async (input, context) => {
|
|
549
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
550
|
+
const headers = {
|
|
551
|
+
"content-type": "application/json",
|
|
552
|
+
};
|
|
553
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/vpc-connections";
|
|
554
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(take(input, {
|
|
557
|
+
DnsResolvers: (_) => _json(_),
|
|
558
|
+
Name: [],
|
|
559
|
+
RoleArn: [],
|
|
560
|
+
SecurityGroupIds: (_) => _json(_),
|
|
561
|
+
SubnetIds: (_) => _json(_),
|
|
562
|
+
Tags: (_) => _json(_),
|
|
563
|
+
VPCConnectionId: [],
|
|
564
|
+
}));
|
|
565
|
+
return new __HttpRequest({
|
|
566
|
+
protocol,
|
|
567
|
+
hostname,
|
|
568
|
+
port,
|
|
569
|
+
method: "POST",
|
|
570
|
+
headers,
|
|
571
|
+
path: resolvedPath,
|
|
572
|
+
body,
|
|
573
|
+
});
|
|
574
|
+
};
|
|
499
575
|
export const se_DeleteAccountCustomizationCommand = async (input, context) => {
|
|
500
576
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
501
577
|
const headers = {};
|
|
@@ -851,6 +927,42 @@ export const se_DeleteThemeAliasCommand = async (input, context) => {
|
|
|
851
927
|
body,
|
|
852
928
|
});
|
|
853
929
|
};
|
|
930
|
+
export const se_DeleteTopicCommand = async (input, context) => {
|
|
931
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
932
|
+
const headers = {};
|
|
933
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
|
|
934
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
935
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
936
|
+
let body;
|
|
937
|
+
return new __HttpRequest({
|
|
938
|
+
protocol,
|
|
939
|
+
hostname,
|
|
940
|
+
port,
|
|
941
|
+
method: "DELETE",
|
|
942
|
+
headers,
|
|
943
|
+
path: resolvedPath,
|
|
944
|
+
body,
|
|
945
|
+
});
|
|
946
|
+
};
|
|
947
|
+
export const se_DeleteTopicRefreshScheduleCommand = async (input, context) => {
|
|
948
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
949
|
+
const headers = {};
|
|
950
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
951
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
|
|
952
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
953
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
954
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
|
|
955
|
+
let body;
|
|
956
|
+
return new __HttpRequest({
|
|
957
|
+
protocol,
|
|
958
|
+
hostname,
|
|
959
|
+
port,
|
|
960
|
+
method: "DELETE",
|
|
961
|
+
headers,
|
|
962
|
+
path: resolvedPath,
|
|
963
|
+
body,
|
|
964
|
+
});
|
|
965
|
+
};
|
|
854
966
|
export const se_DeleteUserCommand = async (input, context) => {
|
|
855
967
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
856
968
|
const headers = {};
|
|
@@ -889,6 +1001,24 @@ export const se_DeleteUserByPrincipalIdCommand = async (input, context) => {
|
|
|
889
1001
|
body,
|
|
890
1002
|
});
|
|
891
1003
|
};
|
|
1004
|
+
export const se_DeleteVPCConnectionCommand = async (input, context) => {
|
|
1005
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1006
|
+
const headers = {};
|
|
1007
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1008
|
+
"/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
|
|
1009
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1010
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
|
|
1011
|
+
let body;
|
|
1012
|
+
return new __HttpRequest({
|
|
1013
|
+
protocol,
|
|
1014
|
+
hostname,
|
|
1015
|
+
port,
|
|
1016
|
+
method: "DELETE",
|
|
1017
|
+
headers,
|
|
1018
|
+
path: resolvedPath,
|
|
1019
|
+
body,
|
|
1020
|
+
});
|
|
1021
|
+
};
|
|
892
1022
|
export const se_DescribeAccountCustomizationCommand = async (input, context) => {
|
|
893
1023
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
894
1024
|
const headers = {};
|
|
@@ -1476,6 +1606,79 @@ export const se_DescribeThemePermissionsCommand = async (input, context) => {
|
|
|
1476
1606
|
body,
|
|
1477
1607
|
});
|
|
1478
1608
|
};
|
|
1609
|
+
export const se_DescribeTopicCommand = async (input, context) => {
|
|
1610
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1611
|
+
const headers = {};
|
|
1612
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
|
|
1613
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1614
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
1615
|
+
let body;
|
|
1616
|
+
return new __HttpRequest({
|
|
1617
|
+
protocol,
|
|
1618
|
+
hostname,
|
|
1619
|
+
port,
|
|
1620
|
+
method: "GET",
|
|
1621
|
+
headers,
|
|
1622
|
+
path: resolvedPath,
|
|
1623
|
+
body,
|
|
1624
|
+
});
|
|
1625
|
+
};
|
|
1626
|
+
export const se_DescribeTopicPermissionsCommand = async (input, context) => {
|
|
1627
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1628
|
+
const headers = {};
|
|
1629
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1630
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/permissions";
|
|
1631
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1632
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
1633
|
+
let body;
|
|
1634
|
+
return new __HttpRequest({
|
|
1635
|
+
protocol,
|
|
1636
|
+
hostname,
|
|
1637
|
+
port,
|
|
1638
|
+
method: "GET",
|
|
1639
|
+
headers,
|
|
1640
|
+
path: resolvedPath,
|
|
1641
|
+
body,
|
|
1642
|
+
});
|
|
1643
|
+
};
|
|
1644
|
+
export const se_DescribeTopicRefreshCommand = async (input, context) => {
|
|
1645
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1646
|
+
const headers = {};
|
|
1647
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1648
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/refresh/{RefreshId}";
|
|
1649
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1650
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
1651
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "RefreshId", () => input.RefreshId, "{RefreshId}", false);
|
|
1652
|
+
let body;
|
|
1653
|
+
return new __HttpRequest({
|
|
1654
|
+
protocol,
|
|
1655
|
+
hostname,
|
|
1656
|
+
port,
|
|
1657
|
+
method: "GET",
|
|
1658
|
+
headers,
|
|
1659
|
+
path: resolvedPath,
|
|
1660
|
+
body,
|
|
1661
|
+
});
|
|
1662
|
+
};
|
|
1663
|
+
export const se_DescribeTopicRefreshScheduleCommand = async (input, context) => {
|
|
1664
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1665
|
+
const headers = {};
|
|
1666
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1667
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
|
|
1668
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1669
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
1670
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
|
|
1671
|
+
let body;
|
|
1672
|
+
return new __HttpRequest({
|
|
1673
|
+
protocol,
|
|
1674
|
+
hostname,
|
|
1675
|
+
port,
|
|
1676
|
+
method: "GET",
|
|
1677
|
+
headers,
|
|
1678
|
+
path: resolvedPath,
|
|
1679
|
+
body,
|
|
1680
|
+
});
|
|
1681
|
+
};
|
|
1479
1682
|
export const se_DescribeUserCommand = async (input, context) => {
|
|
1480
1683
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1481
1684
|
const headers = {};
|
|
@@ -1495,6 +1698,24 @@ export const se_DescribeUserCommand = async (input, context) => {
|
|
|
1495
1698
|
body,
|
|
1496
1699
|
});
|
|
1497
1700
|
};
|
|
1701
|
+
export const se_DescribeVPCConnectionCommand = async (input, context) => {
|
|
1702
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1703
|
+
const headers = {};
|
|
1704
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1705
|
+
"/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
|
|
1706
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1707
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
|
|
1708
|
+
let body;
|
|
1709
|
+
return new __HttpRequest({
|
|
1710
|
+
protocol,
|
|
1711
|
+
hostname,
|
|
1712
|
+
port,
|
|
1713
|
+
method: "GET",
|
|
1714
|
+
headers,
|
|
1715
|
+
path: resolvedPath,
|
|
1716
|
+
body,
|
|
1717
|
+
});
|
|
1718
|
+
};
|
|
1498
1719
|
export const se_GenerateEmbedUrlForAnonymousUserCommand = async (input, context) => {
|
|
1499
1720
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1500
1721
|
const headers = {
|
|
@@ -1811,21 +2032,17 @@ export const se_ListGroupsCommand = async (input, context) => {
|
|
|
1811
2032
|
};
|
|
1812
2033
|
export const se_ListIAMPolicyAssignmentsCommand = async (input, context) => {
|
|
1813
2034
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1814
|
-
const headers = {
|
|
1815
|
-
"content-type": "application/json",
|
|
1816
|
-
};
|
|
2035
|
+
const headers = {};
|
|
1817
2036
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1818
|
-
"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
|
|
2037
|
+
"/accounts/{AwsAccountId}/namespaces/{Namespace}/v2/iam-policy-assignments";
|
|
1819
2038
|
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1820
2039
|
resolvedPath = __resolvedPath(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
1821
2040
|
const query = map({
|
|
2041
|
+
"assignment-status": [, input.AssignmentStatus],
|
|
1822
2042
|
"next-token": [, input.NextToken],
|
|
1823
2043
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
1824
2044
|
});
|
|
1825
2045
|
let body;
|
|
1826
|
-
body = JSON.stringify(take(input, {
|
|
1827
|
-
AssignmentStatus: [],
|
|
1828
|
-
}));
|
|
1829
2046
|
return new __HttpRequest({
|
|
1830
2047
|
protocol,
|
|
1831
2048
|
hostname,
|
|
@@ -2074,6 +2291,45 @@ export const se_ListThemeVersionsCommand = async (input, context) => {
|
|
|
2074
2291
|
body,
|
|
2075
2292
|
});
|
|
2076
2293
|
};
|
|
2294
|
+
export const se_ListTopicRefreshSchedulesCommand = async (input, context) => {
|
|
2295
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2296
|
+
const headers = {};
|
|
2297
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2298
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/schedules";
|
|
2299
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2300
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
2301
|
+
let body;
|
|
2302
|
+
return new __HttpRequest({
|
|
2303
|
+
protocol,
|
|
2304
|
+
hostname,
|
|
2305
|
+
port,
|
|
2306
|
+
method: "GET",
|
|
2307
|
+
headers,
|
|
2308
|
+
path: resolvedPath,
|
|
2309
|
+
body,
|
|
2310
|
+
});
|
|
2311
|
+
};
|
|
2312
|
+
export const se_ListTopicsCommand = async (input, context) => {
|
|
2313
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2314
|
+
const headers = {};
|
|
2315
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics";
|
|
2316
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2317
|
+
const query = map({
|
|
2318
|
+
"next-token": [, input.NextToken],
|
|
2319
|
+
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2320
|
+
});
|
|
2321
|
+
let body;
|
|
2322
|
+
return new __HttpRequest({
|
|
2323
|
+
protocol,
|
|
2324
|
+
hostname,
|
|
2325
|
+
port,
|
|
2326
|
+
method: "GET",
|
|
2327
|
+
headers,
|
|
2328
|
+
path: resolvedPath,
|
|
2329
|
+
query,
|
|
2330
|
+
body,
|
|
2331
|
+
});
|
|
2332
|
+
};
|
|
2077
2333
|
export const se_ListUserGroupsCommand = async (input, context) => {
|
|
2078
2334
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2079
2335
|
const headers = {};
|
|
@@ -2121,6 +2377,27 @@ export const se_ListUsersCommand = async (input, context) => {
|
|
|
2121
2377
|
body,
|
|
2122
2378
|
});
|
|
2123
2379
|
};
|
|
2380
|
+
export const se_ListVPCConnectionsCommand = async (input, context) => {
|
|
2381
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2382
|
+
const headers = {};
|
|
2383
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/vpc-connections";
|
|
2384
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2385
|
+
const query = map({
|
|
2386
|
+
"next-token": [, input.NextToken],
|
|
2387
|
+
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2388
|
+
});
|
|
2389
|
+
let body;
|
|
2390
|
+
return new __HttpRequest({
|
|
2391
|
+
protocol,
|
|
2392
|
+
hostname,
|
|
2393
|
+
port,
|
|
2394
|
+
method: "GET",
|
|
2395
|
+
headers,
|
|
2396
|
+
path: resolvedPath,
|
|
2397
|
+
query,
|
|
2398
|
+
body,
|
|
2399
|
+
});
|
|
2400
|
+
};
|
|
2124
2401
|
export const se_PutDataSetRefreshPropertiesCommand = async (input, context) => {
|
|
2125
2402
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2126
2403
|
const headers = {
|
|
@@ -2570,9 +2847,10 @@ export const se_UpdateDataSetCommand = async (input, context) => {
|
|
|
2570
2847
|
ColumnGroups: (_) => _json(_),
|
|
2571
2848
|
ColumnLevelPermissionRules: (_) => _json(_),
|
|
2572
2849
|
DataSetUsageConfiguration: (_) => _json(_),
|
|
2850
|
+
DatasetParameters: (_) => se_DatasetParameterList(_, context),
|
|
2573
2851
|
FieldFolders: (_) => _json(_),
|
|
2574
2852
|
ImportMode: [],
|
|
2575
|
-
LogicalTableMap: (_) =>
|
|
2853
|
+
LogicalTableMap: (_) => se_LogicalTableMap(_, context),
|
|
2576
2854
|
Name: [],
|
|
2577
2855
|
PhysicalTableMap: (_) => _json(_),
|
|
2578
2856
|
RowLevelPermissionDataSet: (_) => _json(_),
|
|
@@ -2974,25 +3252,17 @@ export const se_UpdateThemePermissionsCommand = async (input, context) => {
|
|
|
2974
3252
|
body,
|
|
2975
3253
|
});
|
|
2976
3254
|
};
|
|
2977
|
-
export const
|
|
3255
|
+
export const se_UpdateTopicCommand = async (input, context) => {
|
|
2978
3256
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2979
3257
|
const headers = {
|
|
2980
3258
|
"content-type": "application/json",
|
|
2981
3259
|
};
|
|
2982
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2983
|
-
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
|
|
2984
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
3260
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
|
|
2985
3261
|
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2986
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "
|
|
3262
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
2987
3263
|
let body;
|
|
2988
3264
|
body = JSON.stringify(take(input, {
|
|
2989
|
-
|
|
2990
|
-
CustomPermissionsName: [],
|
|
2991
|
-
Email: [],
|
|
2992
|
-
ExternalLoginFederationProviderType: [],
|
|
2993
|
-
ExternalLoginId: [],
|
|
2994
|
-
Role: [],
|
|
2995
|
-
UnapplyCustomPermissions: [],
|
|
3265
|
+
Topic: (_) => _json(_),
|
|
2996
3266
|
}));
|
|
2997
3267
|
return new __HttpRequest({
|
|
2998
3268
|
protocol,
|
|
@@ -3004,13 +3274,118 @@ export const se_UpdateUserCommand = async (input, context) => {
|
|
|
3004
3274
|
body,
|
|
3005
3275
|
});
|
|
3006
3276
|
};
|
|
3007
|
-
export const
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3277
|
+
export const se_UpdateTopicPermissionsCommand = async (input, context) => {
|
|
3278
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3279
|
+
const headers = {
|
|
3280
|
+
"content-type": "application/json",
|
|
3281
|
+
};
|
|
3282
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
3283
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/permissions";
|
|
3284
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
3285
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
3286
|
+
let body;
|
|
3287
|
+
body = JSON.stringify(take(input, {
|
|
3288
|
+
GrantPermissions: (_) => _json(_),
|
|
3289
|
+
RevokePermissions: (_) => _json(_),
|
|
3290
|
+
}));
|
|
3291
|
+
return new __HttpRequest({
|
|
3292
|
+
protocol,
|
|
3293
|
+
hostname,
|
|
3294
|
+
port,
|
|
3295
|
+
method: "PUT",
|
|
3296
|
+
headers,
|
|
3297
|
+
path: resolvedPath,
|
|
3298
|
+
body,
|
|
3299
|
+
});
|
|
3300
|
+
};
|
|
3301
|
+
export const se_UpdateTopicRefreshScheduleCommand = async (input, context) => {
|
|
3302
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3303
|
+
const headers = {
|
|
3304
|
+
"content-type": "application/json",
|
|
3305
|
+
};
|
|
3306
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
3307
|
+
"/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
|
|
3308
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
3309
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
|
|
3310
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
|
|
3311
|
+
let body;
|
|
3312
|
+
body = JSON.stringify(take(input, {
|
|
3313
|
+
RefreshSchedule: (_) => se_TopicRefreshSchedule(_, context),
|
|
3314
|
+
}));
|
|
3315
|
+
return new __HttpRequest({
|
|
3316
|
+
protocol,
|
|
3317
|
+
hostname,
|
|
3318
|
+
port,
|
|
3319
|
+
method: "PUT",
|
|
3320
|
+
headers,
|
|
3321
|
+
path: resolvedPath,
|
|
3322
|
+
body,
|
|
3323
|
+
});
|
|
3324
|
+
};
|
|
3325
|
+
export const se_UpdateUserCommand = async (input, context) => {
|
|
3326
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3327
|
+
const headers = {
|
|
3328
|
+
"content-type": "application/json",
|
|
3329
|
+
};
|
|
3330
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
3331
|
+
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
|
|
3332
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
3333
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
3334
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
3335
|
+
let body;
|
|
3336
|
+
body = JSON.stringify(take(input, {
|
|
3337
|
+
CustomFederationProviderUrl: [],
|
|
3338
|
+
CustomPermissionsName: [],
|
|
3339
|
+
Email: [],
|
|
3340
|
+
ExternalLoginFederationProviderType: [],
|
|
3341
|
+
ExternalLoginId: [],
|
|
3342
|
+
Role: [],
|
|
3343
|
+
UnapplyCustomPermissions: [],
|
|
3344
|
+
}));
|
|
3345
|
+
return new __HttpRequest({
|
|
3346
|
+
protocol,
|
|
3347
|
+
hostname,
|
|
3348
|
+
port,
|
|
3349
|
+
method: "PUT",
|
|
3350
|
+
headers,
|
|
3351
|
+
path: resolvedPath,
|
|
3352
|
+
body,
|
|
3353
|
+
});
|
|
3354
|
+
};
|
|
3355
|
+
export const se_UpdateVPCConnectionCommand = async (input, context) => {
|
|
3356
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3357
|
+
const headers = {
|
|
3358
|
+
"content-type": "application/json",
|
|
3359
|
+
};
|
|
3360
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
3361
|
+
"/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
|
|
3362
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
3363
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
|
|
3364
|
+
let body;
|
|
3365
|
+
body = JSON.stringify(take(input, {
|
|
3366
|
+
DnsResolvers: (_) => _json(_),
|
|
3367
|
+
Name: [],
|
|
3368
|
+
RoleArn: [],
|
|
3369
|
+
SecurityGroupIds: (_) => _json(_),
|
|
3370
|
+
SubnetIds: (_) => _json(_),
|
|
3371
|
+
}));
|
|
3372
|
+
return new __HttpRequest({
|
|
3373
|
+
protocol,
|
|
3374
|
+
hostname,
|
|
3375
|
+
port,
|
|
3376
|
+
method: "PUT",
|
|
3377
|
+
headers,
|
|
3378
|
+
path: resolvedPath,
|
|
3379
|
+
body,
|
|
3380
|
+
});
|
|
3381
|
+
};
|
|
3382
|
+
export const de_CancelIngestionCommand = async (output, context) => {
|
|
3383
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3384
|
+
return de_CancelIngestionCommandError(output, context);
|
|
3385
|
+
}
|
|
3386
|
+
const contents = map({
|
|
3387
|
+
$metadata: deserializeMetadata(output),
|
|
3388
|
+
});
|
|
3014
3389
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3015
3390
|
const doc = take(data, {
|
|
3016
3391
|
Arn: __expectString,
|
|
@@ -4139,16 +4514,19 @@ const de_CreateThemeAliasCommandError = async (output, context) => {
|
|
|
4139
4514
|
});
|
|
4140
4515
|
}
|
|
4141
4516
|
};
|
|
4142
|
-
export const
|
|
4517
|
+
export const de_CreateTopicCommand = async (output, context) => {
|
|
4143
4518
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4144
|
-
return
|
|
4519
|
+
return de_CreateTopicCommandError(output, context);
|
|
4145
4520
|
}
|
|
4146
4521
|
const contents = map({
|
|
4147
4522
|
$metadata: deserializeMetadata(output),
|
|
4148
4523
|
});
|
|
4149
4524
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4150
4525
|
const doc = take(data, {
|
|
4526
|
+
Arn: __expectString,
|
|
4527
|
+
RefreshArn: __expectString,
|
|
4151
4528
|
RequestId: __expectString,
|
|
4529
|
+
TopicId: __expectString,
|
|
4152
4530
|
});
|
|
4153
4531
|
Object.assign(contents, doc);
|
|
4154
4532
|
map(contents, {
|
|
@@ -4156,7 +4534,7 @@ export const de_DeleteAccountCustomizationCommand = async (output, context) => {
|
|
|
4156
4534
|
});
|
|
4157
4535
|
return contents;
|
|
4158
4536
|
};
|
|
4159
|
-
const
|
|
4537
|
+
const de_CreateTopicCommandError = async (output, context) => {
|
|
4160
4538
|
const parsedOutput = {
|
|
4161
4539
|
...output,
|
|
4162
4540
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4175,12 +4553,15 @@ const de_DeleteAccountCustomizationCommandError = async (output, context) => {
|
|
|
4175
4553
|
case "InvalidParameterValueException":
|
|
4176
4554
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4177
4555
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4556
|
+
case "LimitExceededException":
|
|
4557
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
4558
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4559
|
+
case "ResourceExistsException":
|
|
4560
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
4561
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
4178
4562
|
case "ResourceNotFoundException":
|
|
4179
4563
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4180
4564
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4181
|
-
case "ResourceUnavailableException":
|
|
4182
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
4183
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4184
4565
|
case "ThrottlingException":
|
|
4185
4566
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4186
4567
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4193,16 +4574,19 @@ const de_DeleteAccountCustomizationCommandError = async (output, context) => {
|
|
|
4193
4574
|
});
|
|
4194
4575
|
}
|
|
4195
4576
|
};
|
|
4196
|
-
export const
|
|
4577
|
+
export const de_CreateTopicRefreshScheduleCommand = async (output, context) => {
|
|
4197
4578
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4198
|
-
return
|
|
4579
|
+
return de_CreateTopicRefreshScheduleCommandError(output, context);
|
|
4199
4580
|
}
|
|
4200
4581
|
const contents = map({
|
|
4201
4582
|
$metadata: deserializeMetadata(output),
|
|
4202
4583
|
});
|
|
4203
4584
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4204
4585
|
const doc = take(data, {
|
|
4586
|
+
DatasetArn: __expectString,
|
|
4205
4587
|
RequestId: __expectString,
|
|
4588
|
+
TopicArn: __expectString,
|
|
4589
|
+
TopicId: __expectString,
|
|
4206
4590
|
});
|
|
4207
4591
|
Object.assign(contents, doc);
|
|
4208
4592
|
map(contents, {
|
|
@@ -4210,7 +4594,7 @@ export const de_DeleteAccountSubscriptionCommand = async (output, context) => {
|
|
|
4210
4594
|
});
|
|
4211
4595
|
return contents;
|
|
4212
4596
|
};
|
|
4213
|
-
const
|
|
4597
|
+
const de_CreateTopicRefreshScheduleCommandError = async (output, context) => {
|
|
4214
4598
|
const parsedOutput = {
|
|
4215
4599
|
...output,
|
|
4216
4600
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4220,21 +4604,24 @@ const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
|
|
|
4220
4604
|
case "AccessDeniedException":
|
|
4221
4605
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4222
4606
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4607
|
+
case "ConflictException":
|
|
4608
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
4609
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4223
4610
|
case "InternalFailureException":
|
|
4224
4611
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
4225
4612
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
4226
4613
|
case "InvalidParameterValueException":
|
|
4227
4614
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4228
4615
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4229
|
-
case "
|
|
4230
|
-
case "com.amazonaws.quicksight#
|
|
4231
|
-
throw await
|
|
4616
|
+
case "LimitExceededException":
|
|
4617
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
4618
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4619
|
+
case "ResourceExistsException":
|
|
4620
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
4621
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
4232
4622
|
case "ResourceNotFoundException":
|
|
4233
4623
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4234
4624
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4235
|
-
case "ResourceUnavailableException":
|
|
4236
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
4237
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4238
4625
|
case "ThrottlingException":
|
|
4239
4626
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4240
4627
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4247,19 +4634,20 @@ const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
|
|
|
4247
4634
|
});
|
|
4248
4635
|
}
|
|
4249
4636
|
};
|
|
4250
|
-
export const
|
|
4637
|
+
export const de_CreateVPCConnectionCommand = async (output, context) => {
|
|
4251
4638
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4252
|
-
return
|
|
4639
|
+
return de_CreateVPCConnectionCommandError(output, context);
|
|
4253
4640
|
}
|
|
4254
4641
|
const contents = map({
|
|
4255
4642
|
$metadata: deserializeMetadata(output),
|
|
4256
4643
|
});
|
|
4257
4644
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4258
4645
|
const doc = take(data, {
|
|
4259
|
-
AnalysisId: __expectString,
|
|
4260
4646
|
Arn: __expectString,
|
|
4261
|
-
|
|
4647
|
+
AvailabilityStatus: __expectString,
|
|
4648
|
+
CreationStatus: __expectString,
|
|
4262
4649
|
RequestId: __expectString,
|
|
4650
|
+
VPCConnectionId: __expectString,
|
|
4263
4651
|
});
|
|
4264
4652
|
Object.assign(contents, doc);
|
|
4265
4653
|
map(contents, {
|
|
@@ -4267,13 +4655,16 @@ export const de_DeleteAnalysisCommand = async (output, context) => {
|
|
|
4267
4655
|
});
|
|
4268
4656
|
return contents;
|
|
4269
4657
|
};
|
|
4270
|
-
const
|
|
4658
|
+
const de_CreateVPCConnectionCommandError = async (output, context) => {
|
|
4271
4659
|
const parsedOutput = {
|
|
4272
4660
|
...output,
|
|
4273
4661
|
body: await parseErrorBody(output.body, context),
|
|
4274
4662
|
};
|
|
4275
4663
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4276
4664
|
switch (errorCode) {
|
|
4665
|
+
case "AccessDeniedException":
|
|
4666
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4667
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4277
4668
|
case "ConflictException":
|
|
4278
4669
|
case "com.amazonaws.quicksight#ConflictException":
|
|
4279
4670
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -4283,9 +4674,12 @@ const de_DeleteAnalysisCommandError = async (output, context) => {
|
|
|
4283
4674
|
case "InvalidParameterValueException":
|
|
4284
4675
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4285
4676
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4286
|
-
case "
|
|
4287
|
-
case "com.amazonaws.quicksight#
|
|
4288
|
-
throw await
|
|
4677
|
+
case "LimitExceededException":
|
|
4678
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
4679
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4680
|
+
case "ResourceExistsException":
|
|
4681
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
4682
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
4289
4683
|
case "ThrottlingException":
|
|
4290
4684
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4291
4685
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4301,17 +4695,15 @@ const de_DeleteAnalysisCommandError = async (output, context) => {
|
|
|
4301
4695
|
});
|
|
4302
4696
|
}
|
|
4303
4697
|
};
|
|
4304
|
-
export const
|
|
4698
|
+
export const de_DeleteAccountCustomizationCommand = async (output, context) => {
|
|
4305
4699
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4306
|
-
return
|
|
4700
|
+
return de_DeleteAccountCustomizationCommandError(output, context);
|
|
4307
4701
|
}
|
|
4308
4702
|
const contents = map({
|
|
4309
4703
|
$metadata: deserializeMetadata(output),
|
|
4310
4704
|
});
|
|
4311
4705
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4312
4706
|
const doc = take(data, {
|
|
4313
|
-
Arn: __expectString,
|
|
4314
|
-
DashboardId: __expectString,
|
|
4315
4707
|
RequestId: __expectString,
|
|
4316
4708
|
});
|
|
4317
4709
|
Object.assign(contents, doc);
|
|
@@ -4320,13 +4712,16 @@ export const de_DeleteDashboardCommand = async (output, context) => {
|
|
|
4320
4712
|
});
|
|
4321
4713
|
return contents;
|
|
4322
4714
|
};
|
|
4323
|
-
const
|
|
4715
|
+
const de_DeleteAccountCustomizationCommandError = async (output, context) => {
|
|
4324
4716
|
const parsedOutput = {
|
|
4325
4717
|
...output,
|
|
4326
4718
|
body: await parseErrorBody(output.body, context),
|
|
4327
4719
|
};
|
|
4328
4720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4329
4721
|
switch (errorCode) {
|
|
4722
|
+
case "AccessDeniedException":
|
|
4723
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4724
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4330
4725
|
case "ConflictException":
|
|
4331
4726
|
case "com.amazonaws.quicksight#ConflictException":
|
|
4332
4727
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -4339,12 +4734,12 @@ const de_DeleteDashboardCommandError = async (output, context) => {
|
|
|
4339
4734
|
case "ResourceNotFoundException":
|
|
4340
4735
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4341
4736
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4737
|
+
case "ResourceUnavailableException":
|
|
4738
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
4739
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4342
4740
|
case "ThrottlingException":
|
|
4343
4741
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4344
4742
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4345
|
-
case "UnsupportedUserEditionException":
|
|
4346
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
4347
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
4348
4743
|
default:
|
|
4349
4744
|
const parsedBody = parsedOutput.body;
|
|
4350
4745
|
return throwDefaultError({
|
|
@@ -4354,17 +4749,15 @@ const de_DeleteDashboardCommandError = async (output, context) => {
|
|
|
4354
4749
|
});
|
|
4355
4750
|
}
|
|
4356
4751
|
};
|
|
4357
|
-
export const
|
|
4752
|
+
export const de_DeleteAccountSubscriptionCommand = async (output, context) => {
|
|
4358
4753
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4359
|
-
return
|
|
4754
|
+
return de_DeleteAccountSubscriptionCommandError(output, context);
|
|
4360
4755
|
}
|
|
4361
4756
|
const contents = map({
|
|
4362
4757
|
$metadata: deserializeMetadata(output),
|
|
4363
4758
|
});
|
|
4364
4759
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4365
4760
|
const doc = take(data, {
|
|
4366
|
-
Arn: __expectString,
|
|
4367
|
-
DataSetId: __expectString,
|
|
4368
4761
|
RequestId: __expectString,
|
|
4369
4762
|
});
|
|
4370
4763
|
Object.assign(contents, doc);
|
|
@@ -4373,7 +4766,7 @@ export const de_DeleteDataSetCommand = async (output, context) => {
|
|
|
4373
4766
|
});
|
|
4374
4767
|
return contents;
|
|
4375
4768
|
};
|
|
4376
|
-
const
|
|
4769
|
+
const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
|
|
4377
4770
|
const parsedOutput = {
|
|
4378
4771
|
...output,
|
|
4379
4772
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4389,9 +4782,15 @@ const de_DeleteDataSetCommandError = async (output, context) => {
|
|
|
4389
4782
|
case "InvalidParameterValueException":
|
|
4390
4783
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4391
4784
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4785
|
+
case "PreconditionNotMetException":
|
|
4786
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
4787
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
4392
4788
|
case "ResourceNotFoundException":
|
|
4393
4789
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4394
4790
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4791
|
+
case "ResourceUnavailableException":
|
|
4792
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
4793
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4395
4794
|
case "ThrottlingException":
|
|
4396
4795
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4397
4796
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4404,15 +4803,18 @@ const de_DeleteDataSetCommandError = async (output, context) => {
|
|
|
4404
4803
|
});
|
|
4405
4804
|
}
|
|
4406
4805
|
};
|
|
4407
|
-
export const
|
|
4806
|
+
export const de_DeleteAnalysisCommand = async (output, context) => {
|
|
4408
4807
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4409
|
-
return
|
|
4808
|
+
return de_DeleteAnalysisCommandError(output, context);
|
|
4410
4809
|
}
|
|
4411
4810
|
const contents = map({
|
|
4412
4811
|
$metadata: deserializeMetadata(output),
|
|
4413
4812
|
});
|
|
4414
4813
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4415
4814
|
const doc = take(data, {
|
|
4815
|
+
AnalysisId: __expectString,
|
|
4816
|
+
Arn: __expectString,
|
|
4817
|
+
DeletionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4416
4818
|
RequestId: __expectString,
|
|
4417
4819
|
});
|
|
4418
4820
|
Object.assign(contents, doc);
|
|
@@ -4421,16 +4823,13 @@ export const de_DeleteDataSetRefreshPropertiesCommand = async (output, context)
|
|
|
4421
4823
|
});
|
|
4422
4824
|
return contents;
|
|
4423
4825
|
};
|
|
4424
|
-
const
|
|
4826
|
+
const de_DeleteAnalysisCommandError = async (output, context) => {
|
|
4425
4827
|
const parsedOutput = {
|
|
4426
4828
|
...output,
|
|
4427
4829
|
body: await parseErrorBody(output.body, context),
|
|
4428
4830
|
};
|
|
4429
4831
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4430
4832
|
switch (errorCode) {
|
|
4431
|
-
case "AccessDeniedException":
|
|
4432
|
-
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4433
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4434
4833
|
case "ConflictException":
|
|
4435
4834
|
case "com.amazonaws.quicksight#ConflictException":
|
|
4436
4835
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -4440,15 +4839,15 @@ const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) =>
|
|
|
4440
4839
|
case "InvalidParameterValueException":
|
|
4441
4840
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4442
4841
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4443
|
-
case "LimitExceededException":
|
|
4444
|
-
case "com.amazonaws.quicksight#LimitExceededException":
|
|
4445
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4446
4842
|
case "ResourceNotFoundException":
|
|
4447
4843
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4448
4844
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4449
4845
|
case "ThrottlingException":
|
|
4450
4846
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4451
4847
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4848
|
+
case "UnsupportedUserEditionException":
|
|
4849
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
4850
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
4452
4851
|
default:
|
|
4453
4852
|
const parsedBody = parsedOutput.body;
|
|
4454
4853
|
return throwDefaultError({
|
|
@@ -4458,9 +4857,9 @@ const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) =>
|
|
|
4458
4857
|
});
|
|
4459
4858
|
}
|
|
4460
4859
|
};
|
|
4461
|
-
export const
|
|
4860
|
+
export const de_DeleteDashboardCommand = async (output, context) => {
|
|
4462
4861
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4463
|
-
return
|
|
4862
|
+
return de_DeleteDashboardCommandError(output, context);
|
|
4464
4863
|
}
|
|
4465
4864
|
const contents = map({
|
|
4466
4865
|
$metadata: deserializeMetadata(output),
|
|
@@ -4468,7 +4867,7 @@ export const de_DeleteDataSourceCommand = async (output, context) => {
|
|
|
4468
4867
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4469
4868
|
const doc = take(data, {
|
|
4470
4869
|
Arn: __expectString,
|
|
4471
|
-
|
|
4870
|
+
DashboardId: __expectString,
|
|
4472
4871
|
RequestId: __expectString,
|
|
4473
4872
|
});
|
|
4474
4873
|
Object.assign(contents, doc);
|
|
@@ -4477,16 +4876,16 @@ export const de_DeleteDataSourceCommand = async (output, context) => {
|
|
|
4477
4876
|
});
|
|
4478
4877
|
return contents;
|
|
4479
4878
|
};
|
|
4480
|
-
const
|
|
4879
|
+
const de_DeleteDashboardCommandError = async (output, context) => {
|
|
4481
4880
|
const parsedOutput = {
|
|
4482
4881
|
...output,
|
|
4483
4882
|
body: await parseErrorBody(output.body, context),
|
|
4484
4883
|
};
|
|
4485
4884
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4486
4885
|
switch (errorCode) {
|
|
4487
|
-
case "
|
|
4488
|
-
case "com.amazonaws.quicksight#
|
|
4489
|
-
throw await
|
|
4886
|
+
case "ConflictException":
|
|
4887
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
4888
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4490
4889
|
case "InternalFailureException":
|
|
4491
4890
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
4492
4891
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
@@ -4499,6 +4898,9 @@ const de_DeleteDataSourceCommandError = async (output, context) => {
|
|
|
4499
4898
|
case "ThrottlingException":
|
|
4500
4899
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4501
4900
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4901
|
+
case "UnsupportedUserEditionException":
|
|
4902
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
4903
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
4502
4904
|
default:
|
|
4503
4905
|
const parsedBody = parsedOutput.body;
|
|
4504
4906
|
return throwDefaultError({
|
|
@@ -4508,9 +4910,9 @@ const de_DeleteDataSourceCommandError = async (output, context) => {
|
|
|
4508
4910
|
});
|
|
4509
4911
|
}
|
|
4510
4912
|
};
|
|
4511
|
-
export const
|
|
4913
|
+
export const de_DeleteDataSetCommand = async (output, context) => {
|
|
4512
4914
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4513
|
-
return
|
|
4915
|
+
return de_DeleteDataSetCommandError(output, context);
|
|
4514
4916
|
}
|
|
4515
4917
|
const contents = map({
|
|
4516
4918
|
$metadata: deserializeMetadata(output),
|
|
@@ -4518,7 +4920,7 @@ export const de_DeleteFolderCommand = async (output, context) => {
|
|
|
4518
4920
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4519
4921
|
const doc = take(data, {
|
|
4520
4922
|
Arn: __expectString,
|
|
4521
|
-
|
|
4923
|
+
DataSetId: __expectString,
|
|
4522
4924
|
RequestId: __expectString,
|
|
4523
4925
|
});
|
|
4524
4926
|
Object.assign(contents, doc);
|
|
@@ -4527,7 +4929,7 @@ export const de_DeleteFolderCommand = async (output, context) => {
|
|
|
4527
4929
|
});
|
|
4528
4930
|
return contents;
|
|
4529
4931
|
};
|
|
4530
|
-
const
|
|
4932
|
+
const de_DeleteDataSetCommandError = async (output, context) => {
|
|
4531
4933
|
const parsedOutput = {
|
|
4532
4934
|
...output,
|
|
4533
4935
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4537,27 +4939,18 @@ const de_DeleteFolderCommandError = async (output, context) => {
|
|
|
4537
4939
|
case "AccessDeniedException":
|
|
4538
4940
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4539
4941
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4540
|
-
case "ConflictException":
|
|
4541
|
-
case "com.amazonaws.quicksight#ConflictException":
|
|
4542
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4543
4942
|
case "InternalFailureException":
|
|
4544
4943
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
4545
4944
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
4546
4945
|
case "InvalidParameterValueException":
|
|
4547
4946
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4548
4947
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4549
|
-
case "PreconditionNotMetException":
|
|
4550
|
-
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
4551
|
-
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
4552
4948
|
case "ResourceNotFoundException":
|
|
4553
4949
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4554
4950
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4555
4951
|
case "ThrottlingException":
|
|
4556
4952
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4557
4953
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4558
|
-
case "UnsupportedUserEditionException":
|
|
4559
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
4560
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
4561
4954
|
default:
|
|
4562
4955
|
const parsedBody = parsedOutput.body;
|
|
4563
4956
|
return throwDefaultError({
|
|
@@ -4567,9 +4960,9 @@ const de_DeleteFolderCommandError = async (output, context) => {
|
|
|
4567
4960
|
});
|
|
4568
4961
|
}
|
|
4569
4962
|
};
|
|
4570
|
-
export const
|
|
4963
|
+
export const de_DeleteDataSetRefreshPropertiesCommand = async (output, context) => {
|
|
4571
4964
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4572
|
-
return
|
|
4965
|
+
return de_DeleteDataSetRefreshPropertiesCommandError(output, context);
|
|
4573
4966
|
}
|
|
4574
4967
|
const contents = map({
|
|
4575
4968
|
$metadata: deserializeMetadata(output),
|
|
@@ -4577,12 +4970,14 @@ export const de_DeleteFolderMembershipCommand = async (output, context) => {
|
|
|
4577
4970
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4578
4971
|
const doc = take(data, {
|
|
4579
4972
|
RequestId: __expectString,
|
|
4580
|
-
Status: __expectInt32,
|
|
4581
4973
|
});
|
|
4582
4974
|
Object.assign(contents, doc);
|
|
4975
|
+
map(contents, {
|
|
4976
|
+
Status: [, output.statusCode],
|
|
4977
|
+
});
|
|
4583
4978
|
return contents;
|
|
4584
4979
|
};
|
|
4585
|
-
const
|
|
4980
|
+
const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) => {
|
|
4586
4981
|
const parsedOutput = {
|
|
4587
4982
|
...output,
|
|
4588
4983
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4592,21 +4987,24 @@ const de_DeleteFolderMembershipCommandError = async (output, context) => {
|
|
|
4592
4987
|
case "AccessDeniedException":
|
|
4593
4988
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
4594
4989
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4990
|
+
case "ConflictException":
|
|
4991
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
4992
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4595
4993
|
case "InternalFailureException":
|
|
4596
4994
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
4597
4995
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
4598
4996
|
case "InvalidParameterValueException":
|
|
4599
4997
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
4600
4998
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
4999
|
+
case "LimitExceededException":
|
|
5000
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
5001
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4601
5002
|
case "ResourceNotFoundException":
|
|
4602
5003
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
4603
5004
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4604
5005
|
case "ThrottlingException":
|
|
4605
5006
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
4606
5007
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4607
|
-
case "UnsupportedUserEditionException":
|
|
4608
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
4609
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
4610
5008
|
default:
|
|
4611
5009
|
const parsedBody = parsedOutput.body;
|
|
4612
5010
|
return throwDefaultError({
|
|
@@ -4616,15 +5014,17 @@ const de_DeleteFolderMembershipCommandError = async (output, context) => {
|
|
|
4616
5014
|
});
|
|
4617
5015
|
}
|
|
4618
5016
|
};
|
|
4619
|
-
export const
|
|
5017
|
+
export const de_DeleteDataSourceCommand = async (output, context) => {
|
|
4620
5018
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4621
|
-
return
|
|
5019
|
+
return de_DeleteDataSourceCommandError(output, context);
|
|
4622
5020
|
}
|
|
4623
5021
|
const contents = map({
|
|
4624
5022
|
$metadata: deserializeMetadata(output),
|
|
4625
5023
|
});
|
|
4626
5024
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4627
5025
|
const doc = take(data, {
|
|
5026
|
+
Arn: __expectString,
|
|
5027
|
+
DataSourceId: __expectString,
|
|
4628
5028
|
RequestId: __expectString,
|
|
4629
5029
|
});
|
|
4630
5030
|
Object.assign(contents, doc);
|
|
@@ -4633,7 +5033,163 @@ export const de_DeleteGroupCommand = async (output, context) => {
|
|
|
4633
5033
|
});
|
|
4634
5034
|
return contents;
|
|
4635
5035
|
};
|
|
4636
|
-
const
|
|
5036
|
+
const de_DeleteDataSourceCommandError = async (output, context) => {
|
|
5037
|
+
const parsedOutput = {
|
|
5038
|
+
...output,
|
|
5039
|
+
body: await parseErrorBody(output.body, context),
|
|
5040
|
+
};
|
|
5041
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5042
|
+
switch (errorCode) {
|
|
5043
|
+
case "AccessDeniedException":
|
|
5044
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5045
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5046
|
+
case "InternalFailureException":
|
|
5047
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5048
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
5049
|
+
case "InvalidParameterValueException":
|
|
5050
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5051
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5052
|
+
case "ResourceNotFoundException":
|
|
5053
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5054
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5055
|
+
case "ThrottlingException":
|
|
5056
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5057
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5058
|
+
default:
|
|
5059
|
+
const parsedBody = parsedOutput.body;
|
|
5060
|
+
return throwDefaultError({
|
|
5061
|
+
output,
|
|
5062
|
+
parsedBody,
|
|
5063
|
+
errorCode,
|
|
5064
|
+
});
|
|
5065
|
+
}
|
|
5066
|
+
};
|
|
5067
|
+
export const de_DeleteFolderCommand = async (output, context) => {
|
|
5068
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5069
|
+
return de_DeleteFolderCommandError(output, context);
|
|
5070
|
+
}
|
|
5071
|
+
const contents = map({
|
|
5072
|
+
$metadata: deserializeMetadata(output),
|
|
5073
|
+
});
|
|
5074
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5075
|
+
const doc = take(data, {
|
|
5076
|
+
Arn: __expectString,
|
|
5077
|
+
FolderId: __expectString,
|
|
5078
|
+
RequestId: __expectString,
|
|
5079
|
+
});
|
|
5080
|
+
Object.assign(contents, doc);
|
|
5081
|
+
map(contents, {
|
|
5082
|
+
Status: [, output.statusCode],
|
|
5083
|
+
});
|
|
5084
|
+
return contents;
|
|
5085
|
+
};
|
|
5086
|
+
const de_DeleteFolderCommandError = async (output, context) => {
|
|
5087
|
+
const parsedOutput = {
|
|
5088
|
+
...output,
|
|
5089
|
+
body: await parseErrorBody(output.body, context),
|
|
5090
|
+
};
|
|
5091
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5092
|
+
switch (errorCode) {
|
|
5093
|
+
case "AccessDeniedException":
|
|
5094
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5095
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5096
|
+
case "ConflictException":
|
|
5097
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5098
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5099
|
+
case "InternalFailureException":
|
|
5100
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5101
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
5102
|
+
case "InvalidParameterValueException":
|
|
5103
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5104
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5105
|
+
case "PreconditionNotMetException":
|
|
5106
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
5107
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
5108
|
+
case "ResourceNotFoundException":
|
|
5109
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5111
|
+
case "ThrottlingException":
|
|
5112
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5113
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5114
|
+
case "UnsupportedUserEditionException":
|
|
5115
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
5116
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
5117
|
+
default:
|
|
5118
|
+
const parsedBody = parsedOutput.body;
|
|
5119
|
+
return throwDefaultError({
|
|
5120
|
+
output,
|
|
5121
|
+
parsedBody,
|
|
5122
|
+
errorCode,
|
|
5123
|
+
});
|
|
5124
|
+
}
|
|
5125
|
+
};
|
|
5126
|
+
export const de_DeleteFolderMembershipCommand = async (output, context) => {
|
|
5127
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5128
|
+
return de_DeleteFolderMembershipCommandError(output, context);
|
|
5129
|
+
}
|
|
5130
|
+
const contents = map({
|
|
5131
|
+
$metadata: deserializeMetadata(output),
|
|
5132
|
+
});
|
|
5133
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5134
|
+
const doc = take(data, {
|
|
5135
|
+
RequestId: __expectString,
|
|
5136
|
+
Status: __expectInt32,
|
|
5137
|
+
});
|
|
5138
|
+
Object.assign(contents, doc);
|
|
5139
|
+
return contents;
|
|
5140
|
+
};
|
|
5141
|
+
const de_DeleteFolderMembershipCommandError = async (output, context) => {
|
|
5142
|
+
const parsedOutput = {
|
|
5143
|
+
...output,
|
|
5144
|
+
body: await parseErrorBody(output.body, context),
|
|
5145
|
+
};
|
|
5146
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5147
|
+
switch (errorCode) {
|
|
5148
|
+
case "AccessDeniedException":
|
|
5149
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5150
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5151
|
+
case "InternalFailureException":
|
|
5152
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5153
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
5154
|
+
case "InvalidParameterValueException":
|
|
5155
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5156
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5157
|
+
case "ResourceNotFoundException":
|
|
5158
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5159
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5160
|
+
case "ThrottlingException":
|
|
5161
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5162
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5163
|
+
case "UnsupportedUserEditionException":
|
|
5164
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
5165
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
5166
|
+
default:
|
|
5167
|
+
const parsedBody = parsedOutput.body;
|
|
5168
|
+
return throwDefaultError({
|
|
5169
|
+
output,
|
|
5170
|
+
parsedBody,
|
|
5171
|
+
errorCode,
|
|
5172
|
+
});
|
|
5173
|
+
}
|
|
5174
|
+
};
|
|
5175
|
+
export const de_DeleteGroupCommand = async (output, context) => {
|
|
5176
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5177
|
+
return de_DeleteGroupCommandError(output, context);
|
|
5178
|
+
}
|
|
5179
|
+
const contents = map({
|
|
5180
|
+
$metadata: deserializeMetadata(output),
|
|
5181
|
+
});
|
|
5182
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5183
|
+
const doc = take(data, {
|
|
5184
|
+
RequestId: __expectString,
|
|
5185
|
+
});
|
|
5186
|
+
Object.assign(contents, doc);
|
|
5187
|
+
map(contents, {
|
|
5188
|
+
Status: [, output.statusCode],
|
|
5189
|
+
});
|
|
5190
|
+
return contents;
|
|
5191
|
+
};
|
|
5192
|
+
const de_DeleteGroupCommandError = async (output, context) => {
|
|
4637
5193
|
const parsedOutput = {
|
|
4638
5194
|
...output,
|
|
4639
5195
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5103,16 +5659,18 @@ const de_DeleteThemeAliasCommandError = async (output, context) => {
|
|
|
5103
5659
|
});
|
|
5104
5660
|
}
|
|
5105
5661
|
};
|
|
5106
|
-
export const
|
|
5662
|
+
export const de_DeleteTopicCommand = async (output, context) => {
|
|
5107
5663
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5108
|
-
return
|
|
5664
|
+
return de_DeleteTopicCommandError(output, context);
|
|
5109
5665
|
}
|
|
5110
5666
|
const contents = map({
|
|
5111
5667
|
$metadata: deserializeMetadata(output),
|
|
5112
5668
|
});
|
|
5113
5669
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5114
5670
|
const doc = take(data, {
|
|
5671
|
+
Arn: __expectString,
|
|
5115
5672
|
RequestId: __expectString,
|
|
5673
|
+
TopicId: __expectString,
|
|
5116
5674
|
});
|
|
5117
5675
|
Object.assign(contents, doc);
|
|
5118
5676
|
map(contents, {
|
|
@@ -5120,7 +5678,7 @@ export const de_DeleteUserCommand = async (output, context) => {
|
|
|
5120
5678
|
});
|
|
5121
5679
|
return contents;
|
|
5122
5680
|
};
|
|
5123
|
-
const
|
|
5681
|
+
const de_DeleteTopicCommandError = async (output, context) => {
|
|
5124
5682
|
const parsedOutput = {
|
|
5125
5683
|
...output,
|
|
5126
5684
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5130,21 +5688,18 @@ const de_DeleteUserCommandError = async (output, context) => {
|
|
|
5130
5688
|
case "AccessDeniedException":
|
|
5131
5689
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5132
5690
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5691
|
+
case "ConflictException":
|
|
5692
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5693
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5133
5694
|
case "InternalFailureException":
|
|
5134
5695
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5135
5696
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
5136
5697
|
case "InvalidParameterValueException":
|
|
5137
5698
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5138
5699
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5139
|
-
case "PreconditionNotMetException":
|
|
5140
|
-
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
5141
|
-
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
5142
5700
|
case "ResourceNotFoundException":
|
|
5143
5701
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5144
5702
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5145
|
-
case "ResourceUnavailableException":
|
|
5146
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
5147
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
5148
5703
|
case "ThrottlingException":
|
|
5149
5704
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5150
5705
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -5157,16 +5712,19 @@ const de_DeleteUserCommandError = async (output, context) => {
|
|
|
5157
5712
|
});
|
|
5158
5713
|
}
|
|
5159
5714
|
};
|
|
5160
|
-
export const
|
|
5715
|
+
export const de_DeleteTopicRefreshScheduleCommand = async (output, context) => {
|
|
5161
5716
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5162
|
-
return
|
|
5717
|
+
return de_DeleteTopicRefreshScheduleCommandError(output, context);
|
|
5163
5718
|
}
|
|
5164
5719
|
const contents = map({
|
|
5165
5720
|
$metadata: deserializeMetadata(output),
|
|
5166
5721
|
});
|
|
5167
5722
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5168
5723
|
const doc = take(data, {
|
|
5724
|
+
DatasetArn: __expectString,
|
|
5169
5725
|
RequestId: __expectString,
|
|
5726
|
+
TopicArn: __expectString,
|
|
5727
|
+
TopicId: __expectString,
|
|
5170
5728
|
});
|
|
5171
5729
|
Object.assign(contents, doc);
|
|
5172
5730
|
map(contents, {
|
|
@@ -5174,7 +5732,7 @@ export const de_DeleteUserByPrincipalIdCommand = async (output, context) => {
|
|
|
5174
5732
|
});
|
|
5175
5733
|
return contents;
|
|
5176
5734
|
};
|
|
5177
|
-
const
|
|
5735
|
+
const de_DeleteTopicRefreshScheduleCommandError = async (output, context) => {
|
|
5178
5736
|
const parsedOutput = {
|
|
5179
5737
|
...output,
|
|
5180
5738
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5184,21 +5742,24 @@ const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
|
|
|
5184
5742
|
case "AccessDeniedException":
|
|
5185
5743
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5186
5744
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5745
|
+
case "ConflictException":
|
|
5746
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5747
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5187
5748
|
case "InternalFailureException":
|
|
5188
5749
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5189
5750
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
5190
5751
|
case "InvalidParameterValueException":
|
|
5191
5752
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5192
5753
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5193
|
-
case "
|
|
5194
|
-
case "com.amazonaws.quicksight#
|
|
5195
|
-
throw await
|
|
5754
|
+
case "LimitExceededException":
|
|
5755
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
5756
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
5757
|
+
case "ResourceExistsException":
|
|
5758
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
5759
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
5196
5760
|
case "ResourceNotFoundException":
|
|
5197
5761
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5198
5762
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5199
|
-
case "ResourceUnavailableException":
|
|
5200
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
5201
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
5202
5763
|
case "ThrottlingException":
|
|
5203
5764
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5204
5765
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -5211,19 +5772,15 @@ const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
|
|
|
5211
5772
|
});
|
|
5212
5773
|
}
|
|
5213
5774
|
};
|
|
5214
|
-
export const
|
|
5775
|
+
export const de_DeleteUserCommand = async (output, context) => {
|
|
5215
5776
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5216
|
-
return
|
|
5777
|
+
return de_DeleteUserCommandError(output, context);
|
|
5217
5778
|
}
|
|
5218
5779
|
const contents = map({
|
|
5219
5780
|
$metadata: deserializeMetadata(output),
|
|
5220
5781
|
});
|
|
5221
5782
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5222
5783
|
const doc = take(data, {
|
|
5223
|
-
AccountCustomization: _json,
|
|
5224
|
-
Arn: __expectString,
|
|
5225
|
-
AwsAccountId: __expectString,
|
|
5226
|
-
Namespace: __expectString,
|
|
5227
5784
|
RequestId: __expectString,
|
|
5228
5785
|
});
|
|
5229
5786
|
Object.assign(contents, doc);
|
|
@@ -5232,7 +5789,7 @@ export const de_DescribeAccountCustomizationCommand = async (output, context) =>
|
|
|
5232
5789
|
});
|
|
5233
5790
|
return contents;
|
|
5234
5791
|
};
|
|
5235
|
-
const
|
|
5792
|
+
const de_DeleteUserCommandError = async (output, context) => {
|
|
5236
5793
|
const parsedOutput = {
|
|
5237
5794
|
...output,
|
|
5238
5795
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5248,6 +5805,9 @@ const de_DescribeAccountCustomizationCommandError = async (output, context) => {
|
|
|
5248
5805
|
case "InvalidParameterValueException":
|
|
5249
5806
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5250
5807
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5808
|
+
case "PreconditionNotMetException":
|
|
5809
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
5810
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
5251
5811
|
case "ResourceNotFoundException":
|
|
5252
5812
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5253
5813
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5266,16 +5826,15 @@ const de_DescribeAccountCustomizationCommandError = async (output, context) => {
|
|
|
5266
5826
|
});
|
|
5267
5827
|
}
|
|
5268
5828
|
};
|
|
5269
|
-
export const
|
|
5829
|
+
export const de_DeleteUserByPrincipalIdCommand = async (output, context) => {
|
|
5270
5830
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5271
|
-
return
|
|
5831
|
+
return de_DeleteUserByPrincipalIdCommandError(output, context);
|
|
5272
5832
|
}
|
|
5273
5833
|
const contents = map({
|
|
5274
5834
|
$metadata: deserializeMetadata(output),
|
|
5275
5835
|
});
|
|
5276
5836
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5277
5837
|
const doc = take(data, {
|
|
5278
|
-
AccountSettings: _json,
|
|
5279
5838
|
RequestId: __expectString,
|
|
5280
5839
|
});
|
|
5281
5840
|
Object.assign(contents, doc);
|
|
@@ -5284,7 +5843,7 @@ export const de_DescribeAccountSettingsCommand = async (output, context) => {
|
|
|
5284
5843
|
});
|
|
5285
5844
|
return contents;
|
|
5286
5845
|
};
|
|
5287
|
-
const
|
|
5846
|
+
const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
|
|
5288
5847
|
const parsedOutput = {
|
|
5289
5848
|
...output,
|
|
5290
5849
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5300,6 +5859,9 @@ const de_DescribeAccountSettingsCommandError = async (output, context) => {
|
|
|
5300
5859
|
case "InvalidParameterValueException":
|
|
5301
5860
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5302
5861
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
5862
|
+
case "PreconditionNotMetException":
|
|
5863
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
5864
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
5303
5865
|
case "ResourceNotFoundException":
|
|
5304
5866
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5305
5867
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5318,17 +5880,20 @@ const de_DescribeAccountSettingsCommandError = async (output, context) => {
|
|
|
5318
5880
|
});
|
|
5319
5881
|
}
|
|
5320
5882
|
};
|
|
5321
|
-
export const
|
|
5883
|
+
export const de_DeleteVPCConnectionCommand = async (output, context) => {
|
|
5322
5884
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5323
|
-
return
|
|
5885
|
+
return de_DeleteVPCConnectionCommandError(output, context);
|
|
5324
5886
|
}
|
|
5325
5887
|
const contents = map({
|
|
5326
5888
|
$metadata: deserializeMetadata(output),
|
|
5327
5889
|
});
|
|
5328
5890
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5329
5891
|
const doc = take(data, {
|
|
5330
|
-
|
|
5892
|
+
Arn: __expectString,
|
|
5893
|
+
AvailabilityStatus: __expectString,
|
|
5894
|
+
DeletionStatus: __expectString,
|
|
5331
5895
|
RequestId: __expectString,
|
|
5896
|
+
VPCConnectionId: __expectString,
|
|
5332
5897
|
});
|
|
5333
5898
|
Object.assign(contents, doc);
|
|
5334
5899
|
map(contents, {
|
|
@@ -5336,7 +5901,7 @@ export const de_DescribeAccountSubscriptionCommand = async (output, context) =>
|
|
|
5336
5901
|
});
|
|
5337
5902
|
return contents;
|
|
5338
5903
|
};
|
|
5339
|
-
const
|
|
5904
|
+
const de_DeleteVPCConnectionCommandError = async (output, context) => {
|
|
5340
5905
|
const parsedOutput = {
|
|
5341
5906
|
...output,
|
|
5342
5907
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5346,6 +5911,9 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
|
5346
5911
|
case "AccessDeniedException":
|
|
5347
5912
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5348
5913
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5914
|
+
case "ConflictException":
|
|
5915
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5916
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5349
5917
|
case "InternalFailureException":
|
|
5350
5918
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5351
5919
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
@@ -5355,12 +5923,12 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
|
5355
5923
|
case "ResourceNotFoundException":
|
|
5356
5924
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5357
5925
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5358
|
-
case "ResourceUnavailableException":
|
|
5359
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
5360
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
5361
5926
|
case "ThrottlingException":
|
|
5362
5927
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5363
5928
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5929
|
+
case "UnsupportedUserEditionException":
|
|
5930
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
5931
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
5364
5932
|
default:
|
|
5365
5933
|
const parsedBody = parsedOutput.body;
|
|
5366
5934
|
return throwDefaultError({
|
|
@@ -5370,16 +5938,19 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
|
5370
5938
|
});
|
|
5371
5939
|
}
|
|
5372
5940
|
};
|
|
5373
|
-
export const
|
|
5941
|
+
export const de_DescribeAccountCustomizationCommand = async (output, context) => {
|
|
5374
5942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5375
|
-
return
|
|
5943
|
+
return de_DescribeAccountCustomizationCommandError(output, context);
|
|
5376
5944
|
}
|
|
5377
5945
|
const contents = map({
|
|
5378
5946
|
$metadata: deserializeMetadata(output),
|
|
5379
5947
|
});
|
|
5380
5948
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5381
5949
|
const doc = take(data, {
|
|
5382
|
-
|
|
5950
|
+
AccountCustomization: _json,
|
|
5951
|
+
Arn: __expectString,
|
|
5952
|
+
AwsAccountId: __expectString,
|
|
5953
|
+
Namespace: __expectString,
|
|
5383
5954
|
RequestId: __expectString,
|
|
5384
5955
|
});
|
|
5385
5956
|
Object.assign(contents, doc);
|
|
@@ -5388,7 +5959,7 @@ export const de_DescribeAnalysisCommand = async (output, context) => {
|
|
|
5388
5959
|
});
|
|
5389
5960
|
return contents;
|
|
5390
5961
|
};
|
|
5391
|
-
const
|
|
5962
|
+
const de_DescribeAccountCustomizationCommandError = async (output, context) => {
|
|
5392
5963
|
const parsedOutput = {
|
|
5393
5964
|
...output,
|
|
5394
5965
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5407,12 +5978,12 @@ const de_DescribeAnalysisCommandError = async (output, context) => {
|
|
|
5407
5978
|
case "ResourceNotFoundException":
|
|
5408
5979
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5409
5980
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5981
|
+
case "ResourceUnavailableException":
|
|
5982
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
5983
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
5410
5984
|
case "ThrottlingException":
|
|
5411
5985
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5412
5986
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5413
|
-
case "UnsupportedUserEditionException":
|
|
5414
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
5415
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
5416
5987
|
default:
|
|
5417
5988
|
const parsedBody = parsedOutput.body;
|
|
5418
5989
|
return throwDefaultError({
|
|
@@ -5422,22 +5993,17 @@ const de_DescribeAnalysisCommandError = async (output, context) => {
|
|
|
5422
5993
|
});
|
|
5423
5994
|
}
|
|
5424
5995
|
};
|
|
5425
|
-
export const
|
|
5996
|
+
export const de_DescribeAccountSettingsCommand = async (output, context) => {
|
|
5426
5997
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5427
|
-
return
|
|
5998
|
+
return de_DescribeAccountSettingsCommandError(output, context);
|
|
5428
5999
|
}
|
|
5429
6000
|
const contents = map({
|
|
5430
6001
|
$metadata: deserializeMetadata(output),
|
|
5431
6002
|
});
|
|
5432
6003
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5433
6004
|
const doc = take(data, {
|
|
5434
|
-
|
|
5435
|
-
Definition: (_) => de_AnalysisDefinition(_, context),
|
|
5436
|
-
Errors: _json,
|
|
5437
|
-
Name: __expectString,
|
|
6005
|
+
AccountSettings: _json,
|
|
5438
6006
|
RequestId: __expectString,
|
|
5439
|
-
ResourceStatus: __expectString,
|
|
5440
|
-
ThemeArn: __expectString,
|
|
5441
6007
|
});
|
|
5442
6008
|
Object.assign(contents, doc);
|
|
5443
6009
|
map(contents, {
|
|
@@ -5445,7 +6011,7 @@ export const de_DescribeAnalysisDefinitionCommand = async (output, context) => {
|
|
|
5445
6011
|
});
|
|
5446
6012
|
return contents;
|
|
5447
6013
|
};
|
|
5448
|
-
const
|
|
6014
|
+
const de_DescribeAccountSettingsCommandError = async (output, context) => {
|
|
5449
6015
|
const parsedOutput = {
|
|
5450
6016
|
...output,
|
|
5451
6017
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5455,8 +6021,169 @@ const de_DescribeAnalysisDefinitionCommandError = async (output, context) => {
|
|
|
5455
6021
|
case "AccessDeniedException":
|
|
5456
6022
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5457
6023
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5458
|
-
case "
|
|
5459
|
-
case "com.amazonaws.quicksight#
|
|
6024
|
+
case "InternalFailureException":
|
|
6025
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6026
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
6027
|
+
case "InvalidParameterValueException":
|
|
6028
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6029
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6030
|
+
case "ResourceNotFoundException":
|
|
6031
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6032
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6033
|
+
case "ResourceUnavailableException":
|
|
6034
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
6035
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
6036
|
+
case "ThrottlingException":
|
|
6037
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6038
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6039
|
+
default:
|
|
6040
|
+
const parsedBody = parsedOutput.body;
|
|
6041
|
+
return throwDefaultError({
|
|
6042
|
+
output,
|
|
6043
|
+
parsedBody,
|
|
6044
|
+
errorCode,
|
|
6045
|
+
});
|
|
6046
|
+
}
|
|
6047
|
+
};
|
|
6048
|
+
export const de_DescribeAccountSubscriptionCommand = async (output, context) => {
|
|
6049
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6050
|
+
return de_DescribeAccountSubscriptionCommandError(output, context);
|
|
6051
|
+
}
|
|
6052
|
+
const contents = map({
|
|
6053
|
+
$metadata: deserializeMetadata(output),
|
|
6054
|
+
});
|
|
6055
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6056
|
+
const doc = take(data, {
|
|
6057
|
+
AccountInfo: _json,
|
|
6058
|
+
RequestId: __expectString,
|
|
6059
|
+
});
|
|
6060
|
+
Object.assign(contents, doc);
|
|
6061
|
+
map(contents, {
|
|
6062
|
+
Status: [, output.statusCode],
|
|
6063
|
+
});
|
|
6064
|
+
return contents;
|
|
6065
|
+
};
|
|
6066
|
+
const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
6067
|
+
const parsedOutput = {
|
|
6068
|
+
...output,
|
|
6069
|
+
body: await parseErrorBody(output.body, context),
|
|
6070
|
+
};
|
|
6071
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6072
|
+
switch (errorCode) {
|
|
6073
|
+
case "AccessDeniedException":
|
|
6074
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
6075
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6076
|
+
case "InternalFailureException":
|
|
6077
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6078
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
6079
|
+
case "InvalidParameterValueException":
|
|
6080
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6081
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6082
|
+
case "ResourceNotFoundException":
|
|
6083
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6084
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6085
|
+
case "ResourceUnavailableException":
|
|
6086
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
6087
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
6088
|
+
case "ThrottlingException":
|
|
6089
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6090
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6091
|
+
default:
|
|
6092
|
+
const parsedBody = parsedOutput.body;
|
|
6093
|
+
return throwDefaultError({
|
|
6094
|
+
output,
|
|
6095
|
+
parsedBody,
|
|
6096
|
+
errorCode,
|
|
6097
|
+
});
|
|
6098
|
+
}
|
|
6099
|
+
};
|
|
6100
|
+
export const de_DescribeAnalysisCommand = async (output, context) => {
|
|
6101
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6102
|
+
return de_DescribeAnalysisCommandError(output, context);
|
|
6103
|
+
}
|
|
6104
|
+
const contents = map({
|
|
6105
|
+
$metadata: deserializeMetadata(output),
|
|
6106
|
+
});
|
|
6107
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6108
|
+
const doc = take(data, {
|
|
6109
|
+
Analysis: (_) => de_Analysis(_, context),
|
|
6110
|
+
RequestId: __expectString,
|
|
6111
|
+
});
|
|
6112
|
+
Object.assign(contents, doc);
|
|
6113
|
+
map(contents, {
|
|
6114
|
+
Status: [, output.statusCode],
|
|
6115
|
+
});
|
|
6116
|
+
return contents;
|
|
6117
|
+
};
|
|
6118
|
+
const de_DescribeAnalysisCommandError = async (output, context) => {
|
|
6119
|
+
const parsedOutput = {
|
|
6120
|
+
...output,
|
|
6121
|
+
body: await parseErrorBody(output.body, context),
|
|
6122
|
+
};
|
|
6123
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6124
|
+
switch (errorCode) {
|
|
6125
|
+
case "AccessDeniedException":
|
|
6126
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
6127
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6128
|
+
case "InternalFailureException":
|
|
6129
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6130
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
6131
|
+
case "InvalidParameterValueException":
|
|
6132
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6133
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6134
|
+
case "ResourceNotFoundException":
|
|
6135
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6136
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6137
|
+
case "ThrottlingException":
|
|
6138
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6139
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6140
|
+
case "UnsupportedUserEditionException":
|
|
6141
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6142
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6143
|
+
default:
|
|
6144
|
+
const parsedBody = parsedOutput.body;
|
|
6145
|
+
return throwDefaultError({
|
|
6146
|
+
output,
|
|
6147
|
+
parsedBody,
|
|
6148
|
+
errorCode,
|
|
6149
|
+
});
|
|
6150
|
+
}
|
|
6151
|
+
};
|
|
6152
|
+
export const de_DescribeAnalysisDefinitionCommand = async (output, context) => {
|
|
6153
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6154
|
+
return de_DescribeAnalysisDefinitionCommandError(output, context);
|
|
6155
|
+
}
|
|
6156
|
+
const contents = map({
|
|
6157
|
+
$metadata: deserializeMetadata(output),
|
|
6158
|
+
});
|
|
6159
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6160
|
+
const doc = take(data, {
|
|
6161
|
+
AnalysisId: __expectString,
|
|
6162
|
+
Definition: (_) => de_AnalysisDefinition(_, context),
|
|
6163
|
+
Errors: _json,
|
|
6164
|
+
Name: __expectString,
|
|
6165
|
+
RequestId: __expectString,
|
|
6166
|
+
ResourceStatus: __expectString,
|
|
6167
|
+
ThemeArn: __expectString,
|
|
6168
|
+
});
|
|
6169
|
+
Object.assign(contents, doc);
|
|
6170
|
+
map(contents, {
|
|
6171
|
+
Status: [, output.statusCode],
|
|
6172
|
+
});
|
|
6173
|
+
return contents;
|
|
6174
|
+
};
|
|
6175
|
+
const de_DescribeAnalysisDefinitionCommandError = async (output, context) => {
|
|
6176
|
+
const parsedOutput = {
|
|
6177
|
+
...output,
|
|
6178
|
+
body: await parseErrorBody(output.body, context),
|
|
6179
|
+
};
|
|
6180
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6181
|
+
switch (errorCode) {
|
|
6182
|
+
case "AccessDeniedException":
|
|
6183
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
6184
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6185
|
+
case "ConflictException":
|
|
6186
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5460
6187
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5461
6188
|
case "InternalFailureException":
|
|
5462
6189
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
@@ -6565,16 +7292,294 @@ export const de_DescribeTemplateAliasCommand = async (output, context) => {
|
|
|
6565
7292
|
});
|
|
6566
7293
|
return contents;
|
|
6567
7294
|
};
|
|
6568
|
-
const de_DescribeTemplateAliasCommandError = async (output, context) => {
|
|
7295
|
+
const de_DescribeTemplateAliasCommandError = async (output, context) => {
|
|
7296
|
+
const parsedOutput = {
|
|
7297
|
+
...output,
|
|
7298
|
+
body: await parseErrorBody(output.body, context),
|
|
7299
|
+
};
|
|
7300
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7301
|
+
switch (errorCode) {
|
|
7302
|
+
case "InternalFailureException":
|
|
7303
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7304
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7305
|
+
case "ResourceNotFoundException":
|
|
7306
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7307
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7308
|
+
case "ThrottlingException":
|
|
7309
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7310
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7311
|
+
case "UnsupportedUserEditionException":
|
|
7312
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7313
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
7314
|
+
default:
|
|
7315
|
+
const parsedBody = parsedOutput.body;
|
|
7316
|
+
return throwDefaultError({
|
|
7317
|
+
output,
|
|
7318
|
+
parsedBody,
|
|
7319
|
+
errorCode,
|
|
7320
|
+
});
|
|
7321
|
+
}
|
|
7322
|
+
};
|
|
7323
|
+
export const de_DescribeTemplateDefinitionCommand = async (output, context) => {
|
|
7324
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7325
|
+
return de_DescribeTemplateDefinitionCommandError(output, context);
|
|
7326
|
+
}
|
|
7327
|
+
const contents = map({
|
|
7328
|
+
$metadata: deserializeMetadata(output),
|
|
7329
|
+
});
|
|
7330
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7331
|
+
const doc = take(data, {
|
|
7332
|
+
Definition: (_) => de_TemplateVersionDefinition(_, context),
|
|
7333
|
+
Errors: _json,
|
|
7334
|
+
Name: __expectString,
|
|
7335
|
+
RequestId: __expectString,
|
|
7336
|
+
ResourceStatus: __expectString,
|
|
7337
|
+
TemplateId: __expectString,
|
|
7338
|
+
ThemeArn: __expectString,
|
|
7339
|
+
});
|
|
7340
|
+
Object.assign(contents, doc);
|
|
7341
|
+
map(contents, {
|
|
7342
|
+
Status: [, output.statusCode],
|
|
7343
|
+
});
|
|
7344
|
+
return contents;
|
|
7345
|
+
};
|
|
7346
|
+
const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
|
|
7347
|
+
const parsedOutput = {
|
|
7348
|
+
...output,
|
|
7349
|
+
body: await parseErrorBody(output.body, context),
|
|
7350
|
+
};
|
|
7351
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7352
|
+
switch (errorCode) {
|
|
7353
|
+
case "AccessDeniedException":
|
|
7354
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7355
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
7356
|
+
case "ConflictException":
|
|
7357
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
7358
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7359
|
+
case "InternalFailureException":
|
|
7360
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7361
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7362
|
+
case "InvalidParameterValueException":
|
|
7363
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7364
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7365
|
+
case "ResourceExistsException":
|
|
7366
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
7367
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
7368
|
+
case "ResourceNotFoundException":
|
|
7369
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7370
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7371
|
+
case "ThrottlingException":
|
|
7372
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7373
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7374
|
+
case "UnsupportedUserEditionException":
|
|
7375
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7376
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
7377
|
+
default:
|
|
7378
|
+
const parsedBody = parsedOutput.body;
|
|
7379
|
+
return throwDefaultError({
|
|
7380
|
+
output,
|
|
7381
|
+
parsedBody,
|
|
7382
|
+
errorCode,
|
|
7383
|
+
});
|
|
7384
|
+
}
|
|
7385
|
+
};
|
|
7386
|
+
export const de_DescribeTemplatePermissionsCommand = async (output, context) => {
|
|
7387
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7388
|
+
return de_DescribeTemplatePermissionsCommandError(output, context);
|
|
7389
|
+
}
|
|
7390
|
+
const contents = map({
|
|
7391
|
+
$metadata: deserializeMetadata(output),
|
|
7392
|
+
});
|
|
7393
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7394
|
+
const doc = take(data, {
|
|
7395
|
+
Permissions: _json,
|
|
7396
|
+
RequestId: __expectString,
|
|
7397
|
+
TemplateArn: __expectString,
|
|
7398
|
+
TemplateId: __expectString,
|
|
7399
|
+
});
|
|
7400
|
+
Object.assign(contents, doc);
|
|
7401
|
+
map(contents, {
|
|
7402
|
+
Status: [, output.statusCode],
|
|
7403
|
+
});
|
|
7404
|
+
return contents;
|
|
7405
|
+
};
|
|
7406
|
+
const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
|
|
7407
|
+
const parsedOutput = {
|
|
7408
|
+
...output,
|
|
7409
|
+
body: await parseErrorBody(output.body, context),
|
|
7410
|
+
};
|
|
7411
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7412
|
+
switch (errorCode) {
|
|
7413
|
+
case "ConflictException":
|
|
7414
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
7415
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7416
|
+
case "InternalFailureException":
|
|
7417
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7418
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7419
|
+
case "InvalidParameterValueException":
|
|
7420
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7421
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7422
|
+
case "ResourceNotFoundException":
|
|
7423
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7424
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7425
|
+
case "ThrottlingException":
|
|
7426
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7427
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7428
|
+
case "UnsupportedUserEditionException":
|
|
7429
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7430
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
7431
|
+
default:
|
|
7432
|
+
const parsedBody = parsedOutput.body;
|
|
7433
|
+
return throwDefaultError({
|
|
7434
|
+
output,
|
|
7435
|
+
parsedBody,
|
|
7436
|
+
errorCode,
|
|
7437
|
+
});
|
|
7438
|
+
}
|
|
7439
|
+
};
|
|
7440
|
+
export const de_DescribeThemeCommand = async (output, context) => {
|
|
7441
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7442
|
+
return de_DescribeThemeCommandError(output, context);
|
|
7443
|
+
}
|
|
7444
|
+
const contents = map({
|
|
7445
|
+
$metadata: deserializeMetadata(output),
|
|
7446
|
+
});
|
|
7447
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7448
|
+
const doc = take(data, {
|
|
7449
|
+
RequestId: __expectString,
|
|
7450
|
+
Theme: (_) => de_Theme(_, context),
|
|
7451
|
+
});
|
|
7452
|
+
Object.assign(contents, doc);
|
|
7453
|
+
map(contents, {
|
|
7454
|
+
Status: [, output.statusCode],
|
|
7455
|
+
});
|
|
7456
|
+
return contents;
|
|
7457
|
+
};
|
|
7458
|
+
const de_DescribeThemeCommandError = async (output, context) => {
|
|
7459
|
+
const parsedOutput = {
|
|
7460
|
+
...output,
|
|
7461
|
+
body: await parseErrorBody(output.body, context),
|
|
7462
|
+
};
|
|
7463
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7464
|
+
switch (errorCode) {
|
|
7465
|
+
case "AccessDeniedException":
|
|
7466
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7467
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
7468
|
+
case "InternalFailureException":
|
|
7469
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7470
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7471
|
+
case "InvalidParameterValueException":
|
|
7472
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7473
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7474
|
+
case "ResourceExistsException":
|
|
7475
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
7476
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
7477
|
+
case "ResourceNotFoundException":
|
|
7478
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7479
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7480
|
+
case "ThrottlingException":
|
|
7481
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7482
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7483
|
+
case "UnsupportedUserEditionException":
|
|
7484
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7485
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
7486
|
+
default:
|
|
7487
|
+
const parsedBody = parsedOutput.body;
|
|
7488
|
+
return throwDefaultError({
|
|
7489
|
+
output,
|
|
7490
|
+
parsedBody,
|
|
7491
|
+
errorCode,
|
|
7492
|
+
});
|
|
7493
|
+
}
|
|
7494
|
+
};
|
|
7495
|
+
export const de_DescribeThemeAliasCommand = async (output, context) => {
|
|
7496
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7497
|
+
return de_DescribeThemeAliasCommandError(output, context);
|
|
7498
|
+
}
|
|
7499
|
+
const contents = map({
|
|
7500
|
+
$metadata: deserializeMetadata(output),
|
|
7501
|
+
});
|
|
7502
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7503
|
+
const doc = take(data, {
|
|
7504
|
+
RequestId: __expectString,
|
|
7505
|
+
ThemeAlias: _json,
|
|
7506
|
+
});
|
|
7507
|
+
Object.assign(contents, doc);
|
|
7508
|
+
map(contents, {
|
|
7509
|
+
Status: [, output.statusCode],
|
|
7510
|
+
});
|
|
7511
|
+
return contents;
|
|
7512
|
+
};
|
|
7513
|
+
const de_DescribeThemeAliasCommandError = async (output, context) => {
|
|
7514
|
+
const parsedOutput = {
|
|
7515
|
+
...output,
|
|
7516
|
+
body: await parseErrorBody(output.body, context),
|
|
7517
|
+
};
|
|
7518
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7519
|
+
switch (errorCode) {
|
|
7520
|
+
case "ConflictException":
|
|
7521
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
7522
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7523
|
+
case "InternalFailureException":
|
|
7524
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7525
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7526
|
+
case "InvalidParameterValueException":
|
|
7527
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7528
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7529
|
+
case "ResourceNotFoundException":
|
|
7530
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7531
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7532
|
+
case "ThrottlingException":
|
|
7533
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7534
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7535
|
+
case "UnsupportedUserEditionException":
|
|
7536
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7537
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
7538
|
+
default:
|
|
7539
|
+
const parsedBody = parsedOutput.body;
|
|
7540
|
+
return throwDefaultError({
|
|
7541
|
+
output,
|
|
7542
|
+
parsedBody,
|
|
7543
|
+
errorCode,
|
|
7544
|
+
});
|
|
7545
|
+
}
|
|
7546
|
+
};
|
|
7547
|
+
export const de_DescribeThemePermissionsCommand = async (output, context) => {
|
|
7548
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7549
|
+
return de_DescribeThemePermissionsCommandError(output, context);
|
|
7550
|
+
}
|
|
7551
|
+
const contents = map({
|
|
7552
|
+
$metadata: deserializeMetadata(output),
|
|
7553
|
+
});
|
|
7554
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7555
|
+
const doc = take(data, {
|
|
7556
|
+
Permissions: _json,
|
|
7557
|
+
RequestId: __expectString,
|
|
7558
|
+
ThemeArn: __expectString,
|
|
7559
|
+
ThemeId: __expectString,
|
|
7560
|
+
});
|
|
7561
|
+
Object.assign(contents, doc);
|
|
7562
|
+
map(contents, {
|
|
7563
|
+
Status: [, output.statusCode],
|
|
7564
|
+
});
|
|
7565
|
+
return contents;
|
|
7566
|
+
};
|
|
7567
|
+
const de_DescribeThemePermissionsCommandError = async (output, context) => {
|
|
6569
7568
|
const parsedOutput = {
|
|
6570
7569
|
...output,
|
|
6571
7570
|
body: await parseErrorBody(output.body, context),
|
|
6572
7571
|
};
|
|
6573
7572
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6574
7573
|
switch (errorCode) {
|
|
7574
|
+
case "AccessDeniedException":
|
|
7575
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7576
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6575
7577
|
case "InternalFailureException":
|
|
6576
7578
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6577
7579
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
7580
|
+
case "InvalidParameterValueException":
|
|
7581
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7582
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6578
7583
|
case "ResourceNotFoundException":
|
|
6579
7584
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6580
7585
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -6593,22 +7598,19 @@ const de_DescribeTemplateAliasCommandError = async (output, context) => {
|
|
|
6593
7598
|
});
|
|
6594
7599
|
}
|
|
6595
7600
|
};
|
|
6596
|
-
export const
|
|
7601
|
+
export const de_DescribeTopicCommand = async (output, context) => {
|
|
6597
7602
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6598
|
-
return
|
|
7603
|
+
return de_DescribeTopicCommandError(output, context);
|
|
6599
7604
|
}
|
|
6600
7605
|
const contents = map({
|
|
6601
7606
|
$metadata: deserializeMetadata(output),
|
|
6602
7607
|
});
|
|
6603
7608
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6604
7609
|
const doc = take(data, {
|
|
6605
|
-
|
|
6606
|
-
Errors: _json,
|
|
6607
|
-
Name: __expectString,
|
|
7610
|
+
Arn: __expectString,
|
|
6608
7611
|
RequestId: __expectString,
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
ThemeArn: __expectString,
|
|
7612
|
+
Topic: _json,
|
|
7613
|
+
TopicId: __expectString,
|
|
6612
7614
|
});
|
|
6613
7615
|
Object.assign(contents, doc);
|
|
6614
7616
|
map(contents, {
|
|
@@ -6616,7 +7618,7 @@ export const de_DescribeTemplateDefinitionCommand = async (output, context) => {
|
|
|
6616
7618
|
});
|
|
6617
7619
|
return contents;
|
|
6618
7620
|
};
|
|
6619
|
-
const
|
|
7621
|
+
const de_DescribeTopicCommandError = async (output, context) => {
|
|
6620
7622
|
const parsedOutput = {
|
|
6621
7623
|
...output,
|
|
6622
7624
|
body: await parseErrorBody(output.body, context),
|
|
@@ -6626,27 +7628,18 @@ const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
|
|
|
6626
7628
|
case "AccessDeniedException":
|
|
6627
7629
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
6628
7630
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6629
|
-
case "ConflictException":
|
|
6630
|
-
case "com.amazonaws.quicksight#ConflictException":
|
|
6631
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6632
7631
|
case "InternalFailureException":
|
|
6633
7632
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6634
7633
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
6635
7634
|
case "InvalidParameterValueException":
|
|
6636
7635
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6637
7636
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6638
|
-
case "ResourceExistsException":
|
|
6639
|
-
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
6640
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
6641
7637
|
case "ResourceNotFoundException":
|
|
6642
7638
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6643
7639
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6644
7640
|
case "ThrottlingException":
|
|
6645
7641
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6646
7642
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6647
|
-
case "UnsupportedUserEditionException":
|
|
6648
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6649
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6650
7643
|
default:
|
|
6651
7644
|
const parsedBody = parsedOutput.body;
|
|
6652
7645
|
return throwDefaultError({
|
|
@@ -6656,9 +7649,9 @@ const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
|
|
|
6656
7649
|
});
|
|
6657
7650
|
}
|
|
6658
7651
|
};
|
|
6659
|
-
export const
|
|
7652
|
+
export const de_DescribeTopicPermissionsCommand = async (output, context) => {
|
|
6660
7653
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6661
|
-
return
|
|
7654
|
+
return de_DescribeTopicPermissionsCommandError(output, context);
|
|
6662
7655
|
}
|
|
6663
7656
|
const contents = map({
|
|
6664
7657
|
$metadata: deserializeMetadata(output),
|
|
@@ -6667,8 +7660,8 @@ export const de_DescribeTemplatePermissionsCommand = async (output, context) =>
|
|
|
6667
7660
|
const doc = take(data, {
|
|
6668
7661
|
Permissions: _json,
|
|
6669
7662
|
RequestId: __expectString,
|
|
6670
|
-
|
|
6671
|
-
|
|
7663
|
+
TopicArn: __expectString,
|
|
7664
|
+
TopicId: __expectString,
|
|
6672
7665
|
});
|
|
6673
7666
|
Object.assign(contents, doc);
|
|
6674
7667
|
map(contents, {
|
|
@@ -6676,16 +7669,16 @@ export const de_DescribeTemplatePermissionsCommand = async (output, context) =>
|
|
|
6676
7669
|
});
|
|
6677
7670
|
return contents;
|
|
6678
7671
|
};
|
|
6679
|
-
const
|
|
7672
|
+
const de_DescribeTopicPermissionsCommandError = async (output, context) => {
|
|
6680
7673
|
const parsedOutput = {
|
|
6681
7674
|
...output,
|
|
6682
7675
|
body: await parseErrorBody(output.body, context),
|
|
6683
7676
|
};
|
|
6684
7677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6685
7678
|
switch (errorCode) {
|
|
6686
|
-
case "
|
|
6687
|
-
case "com.amazonaws.quicksight#
|
|
6688
|
-
throw await
|
|
7679
|
+
case "AccessDeniedException":
|
|
7680
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7681
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6689
7682
|
case "InternalFailureException":
|
|
6690
7683
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
6691
7684
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
@@ -6698,9 +7691,6 @@ const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
|
|
|
6698
7691
|
case "ThrottlingException":
|
|
6699
7692
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6700
7693
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6701
|
-
case "UnsupportedUserEditionException":
|
|
6702
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6703
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6704
7694
|
default:
|
|
6705
7695
|
const parsedBody = parsedOutput.body;
|
|
6706
7696
|
return throwDefaultError({
|
|
@@ -6710,17 +7700,17 @@ const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
|
|
|
6710
7700
|
});
|
|
6711
7701
|
}
|
|
6712
7702
|
};
|
|
6713
|
-
export const
|
|
7703
|
+
export const de_DescribeTopicRefreshCommand = async (output, context) => {
|
|
6714
7704
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6715
|
-
return
|
|
7705
|
+
return de_DescribeTopicRefreshCommandError(output, context);
|
|
6716
7706
|
}
|
|
6717
7707
|
const contents = map({
|
|
6718
7708
|
$metadata: deserializeMetadata(output),
|
|
6719
7709
|
});
|
|
6720
7710
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6721
7711
|
const doc = take(data, {
|
|
7712
|
+
RefreshDetails: _json,
|
|
6722
7713
|
RequestId: __expectString,
|
|
6723
|
-
Theme: (_) => de_Theme(_, context),
|
|
6724
7714
|
});
|
|
6725
7715
|
Object.assign(contents, doc);
|
|
6726
7716
|
map(contents, {
|
|
@@ -6728,7 +7718,7 @@ export const de_DescribeThemeCommand = async (output, context) => {
|
|
|
6728
7718
|
});
|
|
6729
7719
|
return contents;
|
|
6730
7720
|
};
|
|
6731
|
-
const
|
|
7721
|
+
const de_DescribeTopicRefreshCommandError = async (output, context) => {
|
|
6732
7722
|
const parsedOutput = {
|
|
6733
7723
|
...output,
|
|
6734
7724
|
body: await parseErrorBody(output.body, context),
|
|
@@ -6744,18 +7734,12 @@ const de_DescribeThemeCommandError = async (output, context) => {
|
|
|
6744
7734
|
case "InvalidParameterValueException":
|
|
6745
7735
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6746
7736
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6747
|
-
case "ResourceExistsException":
|
|
6748
|
-
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
6749
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
6750
7737
|
case "ResourceNotFoundException":
|
|
6751
7738
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6752
7739
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6753
7740
|
case "ThrottlingException":
|
|
6754
7741
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6755
7742
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6756
|
-
case "UnsupportedUserEditionException":
|
|
6757
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6758
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6759
7743
|
default:
|
|
6760
7744
|
const parsedBody = parsedOutput.body;
|
|
6761
7745
|
return throwDefaultError({
|
|
@@ -6765,17 +7749,20 @@ const de_DescribeThemeCommandError = async (output, context) => {
|
|
|
6765
7749
|
});
|
|
6766
7750
|
}
|
|
6767
7751
|
};
|
|
6768
|
-
export const
|
|
7752
|
+
export const de_DescribeTopicRefreshScheduleCommand = async (output, context) => {
|
|
6769
7753
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6770
|
-
return
|
|
7754
|
+
return de_DescribeTopicRefreshScheduleCommandError(output, context);
|
|
6771
7755
|
}
|
|
6772
7756
|
const contents = map({
|
|
6773
7757
|
$metadata: deserializeMetadata(output),
|
|
6774
7758
|
});
|
|
6775
7759
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6776
7760
|
const doc = take(data, {
|
|
7761
|
+
DatasetArn: __expectString,
|
|
7762
|
+
RefreshSchedule: (_) => de_TopicRefreshSchedule(_, context),
|
|
6777
7763
|
RequestId: __expectString,
|
|
6778
|
-
|
|
7764
|
+
TopicArn: __expectString,
|
|
7765
|
+
TopicId: __expectString,
|
|
6779
7766
|
});
|
|
6780
7767
|
Object.assign(contents, doc);
|
|
6781
7768
|
map(contents, {
|
|
@@ -6783,13 +7770,16 @@ export const de_DescribeThemeAliasCommand = async (output, context) => {
|
|
|
6783
7770
|
});
|
|
6784
7771
|
return contents;
|
|
6785
7772
|
};
|
|
6786
|
-
const
|
|
7773
|
+
const de_DescribeTopicRefreshScheduleCommandError = async (output, context) => {
|
|
6787
7774
|
const parsedOutput = {
|
|
6788
7775
|
...output,
|
|
6789
7776
|
body: await parseErrorBody(output.body, context),
|
|
6790
7777
|
};
|
|
6791
7778
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6792
7779
|
switch (errorCode) {
|
|
7780
|
+
case "AccessDeniedException":
|
|
7781
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7782
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6793
7783
|
case "ConflictException":
|
|
6794
7784
|
case "com.amazonaws.quicksight#ConflictException":
|
|
6795
7785
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -6799,15 +7789,18 @@ const de_DescribeThemeAliasCommandError = async (output, context) => {
|
|
|
6799
7789
|
case "InvalidParameterValueException":
|
|
6800
7790
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6801
7791
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7792
|
+
case "LimitExceededException":
|
|
7793
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
7794
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
7795
|
+
case "ResourceExistsException":
|
|
7796
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
7797
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
6802
7798
|
case "ResourceNotFoundException":
|
|
6803
7799
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6804
7800
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6805
7801
|
case "ThrottlingException":
|
|
6806
7802
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6807
7803
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6808
|
-
case "UnsupportedUserEditionException":
|
|
6809
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6810
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6811
7804
|
default:
|
|
6812
7805
|
const parsedBody = parsedOutput.body;
|
|
6813
7806
|
return throwDefaultError({
|
|
@@ -6817,19 +7810,17 @@ const de_DescribeThemeAliasCommandError = async (output, context) => {
|
|
|
6817
7810
|
});
|
|
6818
7811
|
}
|
|
6819
7812
|
};
|
|
6820
|
-
export const
|
|
7813
|
+
export const de_DescribeUserCommand = async (output, context) => {
|
|
6821
7814
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6822
|
-
return
|
|
7815
|
+
return de_DescribeUserCommandError(output, context);
|
|
6823
7816
|
}
|
|
6824
7817
|
const contents = map({
|
|
6825
7818
|
$metadata: deserializeMetadata(output),
|
|
6826
7819
|
});
|
|
6827
7820
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6828
7821
|
const doc = take(data, {
|
|
6829
|
-
Permissions: _json,
|
|
6830
7822
|
RequestId: __expectString,
|
|
6831
|
-
|
|
6832
|
-
ThemeId: __expectString,
|
|
7823
|
+
User: _json,
|
|
6833
7824
|
});
|
|
6834
7825
|
Object.assign(contents, doc);
|
|
6835
7826
|
map(contents, {
|
|
@@ -6837,7 +7828,7 @@ export const de_DescribeThemePermissionsCommand = async (output, context) => {
|
|
|
6837
7828
|
});
|
|
6838
7829
|
return contents;
|
|
6839
7830
|
};
|
|
6840
|
-
const
|
|
7831
|
+
const de_DescribeUserCommandError = async (output, context) => {
|
|
6841
7832
|
const parsedOutput = {
|
|
6842
7833
|
...output,
|
|
6843
7834
|
body: await parseErrorBody(output.body, context),
|
|
@@ -6853,15 +7844,18 @@ const de_DescribeThemePermissionsCommandError = async (output, context) => {
|
|
|
6853
7844
|
case "InvalidParameterValueException":
|
|
6854
7845
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6855
7846
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
7847
|
+
case "PreconditionNotMetException":
|
|
7848
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
7849
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
6856
7850
|
case "ResourceNotFoundException":
|
|
6857
7851
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6858
7852
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7853
|
+
case "ResourceUnavailableException":
|
|
7854
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
7855
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
6859
7856
|
case "ThrottlingException":
|
|
6860
7857
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6861
7858
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6862
|
-
case "UnsupportedUserEditionException":
|
|
6863
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
6864
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6865
7859
|
default:
|
|
6866
7860
|
const parsedBody = parsedOutput.body;
|
|
6867
7861
|
return throwDefaultError({
|
|
@@ -6871,9 +7865,9 @@ const de_DescribeThemePermissionsCommandError = async (output, context) => {
|
|
|
6871
7865
|
});
|
|
6872
7866
|
}
|
|
6873
7867
|
};
|
|
6874
|
-
export const
|
|
7868
|
+
export const de_DescribeVPCConnectionCommand = async (output, context) => {
|
|
6875
7869
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6876
|
-
return
|
|
7870
|
+
return de_DescribeVPCConnectionCommandError(output, context);
|
|
6877
7871
|
}
|
|
6878
7872
|
const contents = map({
|
|
6879
7873
|
$metadata: deserializeMetadata(output),
|
|
@@ -6881,15 +7875,13 @@ export const de_DescribeUserCommand = async (output, context) => {
|
|
|
6881
7875
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6882
7876
|
const doc = take(data, {
|
|
6883
7877
|
RequestId: __expectString,
|
|
6884
|
-
|
|
7878
|
+
Status: __expectInt32,
|
|
7879
|
+
VPCConnection: (_) => de_VPCConnection(_, context),
|
|
6885
7880
|
});
|
|
6886
7881
|
Object.assign(contents, doc);
|
|
6887
|
-
map(contents, {
|
|
6888
|
-
Status: [, output.statusCode],
|
|
6889
|
-
});
|
|
6890
7882
|
return contents;
|
|
6891
7883
|
};
|
|
6892
|
-
const
|
|
7884
|
+
const de_DescribeVPCConnectionCommandError = async (output, context) => {
|
|
6893
7885
|
const parsedOutput = {
|
|
6894
7886
|
...output,
|
|
6895
7887
|
body: await parseErrorBody(output.body, context),
|
|
@@ -6905,18 +7897,15 @@ const de_DescribeUserCommandError = async (output, context) => {
|
|
|
6905
7897
|
case "InvalidParameterValueException":
|
|
6906
7898
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
6907
7899
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
6908
|
-
case "PreconditionNotMetException":
|
|
6909
|
-
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
6910
|
-
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
6911
7900
|
case "ResourceNotFoundException":
|
|
6912
7901
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
6913
7902
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6914
|
-
case "ResourceUnavailableException":
|
|
6915
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
6916
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
6917
7903
|
case "ThrottlingException":
|
|
6918
7904
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
6919
7905
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7906
|
+
case "UnsupportedUserEditionException":
|
|
7907
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
7908
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
6920
7909
|
default:
|
|
6921
7910
|
const parsedBody = parsedOutput.body;
|
|
6922
7911
|
return throwDefaultError({
|
|
@@ -8291,9 +9280,175 @@ const de_ListThemeVersionsCommandError = async (output, context) => {
|
|
|
8291
9280
|
case "ThrottlingException":
|
|
8292
9281
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
8293
9282
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
8294
|
-
case "UnsupportedUserEditionException":
|
|
8295
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
8296
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
9283
|
+
case "UnsupportedUserEditionException":
|
|
9284
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
9285
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
9286
|
+
default:
|
|
9287
|
+
const parsedBody = parsedOutput.body;
|
|
9288
|
+
return throwDefaultError({
|
|
9289
|
+
output,
|
|
9290
|
+
parsedBody,
|
|
9291
|
+
errorCode,
|
|
9292
|
+
});
|
|
9293
|
+
}
|
|
9294
|
+
};
|
|
9295
|
+
export const de_ListTopicRefreshSchedulesCommand = async (output, context) => {
|
|
9296
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9297
|
+
return de_ListTopicRefreshSchedulesCommandError(output, context);
|
|
9298
|
+
}
|
|
9299
|
+
const contents = map({
|
|
9300
|
+
$metadata: deserializeMetadata(output),
|
|
9301
|
+
});
|
|
9302
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9303
|
+
const doc = take(data, {
|
|
9304
|
+
RefreshSchedules: (_) => de_TopicRefreshScheduleSummaries(_, context),
|
|
9305
|
+
RequestId: __expectString,
|
|
9306
|
+
TopicArn: __expectString,
|
|
9307
|
+
TopicId: __expectString,
|
|
9308
|
+
});
|
|
9309
|
+
Object.assign(contents, doc);
|
|
9310
|
+
map(contents, {
|
|
9311
|
+
Status: [, output.statusCode],
|
|
9312
|
+
});
|
|
9313
|
+
return contents;
|
|
9314
|
+
};
|
|
9315
|
+
const de_ListTopicRefreshSchedulesCommandError = async (output, context) => {
|
|
9316
|
+
const parsedOutput = {
|
|
9317
|
+
...output,
|
|
9318
|
+
body: await parseErrorBody(output.body, context),
|
|
9319
|
+
};
|
|
9320
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9321
|
+
switch (errorCode) {
|
|
9322
|
+
case "AccessDeniedException":
|
|
9323
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
9324
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
9325
|
+
case "ConflictException":
|
|
9326
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
9327
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
9328
|
+
case "InternalFailureException":
|
|
9329
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
9330
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
9331
|
+
case "InvalidParameterValueException":
|
|
9332
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
9333
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
9334
|
+
case "LimitExceededException":
|
|
9335
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
9336
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
9337
|
+
case "ResourceExistsException":
|
|
9338
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
9339
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
9340
|
+
case "ResourceNotFoundException":
|
|
9341
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
9342
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
9343
|
+
case "ThrottlingException":
|
|
9344
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
9345
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
9346
|
+
default:
|
|
9347
|
+
const parsedBody = parsedOutput.body;
|
|
9348
|
+
return throwDefaultError({
|
|
9349
|
+
output,
|
|
9350
|
+
parsedBody,
|
|
9351
|
+
errorCode,
|
|
9352
|
+
});
|
|
9353
|
+
}
|
|
9354
|
+
};
|
|
9355
|
+
export const de_ListTopicsCommand = async (output, context) => {
|
|
9356
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9357
|
+
return de_ListTopicsCommandError(output, context);
|
|
9358
|
+
}
|
|
9359
|
+
const contents = map({
|
|
9360
|
+
$metadata: deserializeMetadata(output),
|
|
9361
|
+
});
|
|
9362
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9363
|
+
const doc = take(data, {
|
|
9364
|
+
NextToken: __expectString,
|
|
9365
|
+
RequestId: __expectString,
|
|
9366
|
+
TopicsSummaries: _json,
|
|
9367
|
+
});
|
|
9368
|
+
Object.assign(contents, doc);
|
|
9369
|
+
map(contents, {
|
|
9370
|
+
Status: [, output.statusCode],
|
|
9371
|
+
});
|
|
9372
|
+
return contents;
|
|
9373
|
+
};
|
|
9374
|
+
const de_ListTopicsCommandError = async (output, context) => {
|
|
9375
|
+
const parsedOutput = {
|
|
9376
|
+
...output,
|
|
9377
|
+
body: await parseErrorBody(output.body, context),
|
|
9378
|
+
};
|
|
9379
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9380
|
+
switch (errorCode) {
|
|
9381
|
+
case "AccessDeniedException":
|
|
9382
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
9383
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
9384
|
+
case "InternalFailureException":
|
|
9385
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
9386
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
9387
|
+
case "InvalidNextTokenException":
|
|
9388
|
+
case "com.amazonaws.quicksight#InvalidNextTokenException":
|
|
9389
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
9390
|
+
case "InvalidParameterValueException":
|
|
9391
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
9392
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
9393
|
+
case "ThrottlingException":
|
|
9394
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
9395
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
9396
|
+
default:
|
|
9397
|
+
const parsedBody = parsedOutput.body;
|
|
9398
|
+
return throwDefaultError({
|
|
9399
|
+
output,
|
|
9400
|
+
parsedBody,
|
|
9401
|
+
errorCode,
|
|
9402
|
+
});
|
|
9403
|
+
}
|
|
9404
|
+
};
|
|
9405
|
+
export const de_ListUserGroupsCommand = async (output, context) => {
|
|
9406
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9407
|
+
return de_ListUserGroupsCommandError(output, context);
|
|
9408
|
+
}
|
|
9409
|
+
const contents = map({
|
|
9410
|
+
$metadata: deserializeMetadata(output),
|
|
9411
|
+
});
|
|
9412
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9413
|
+
const doc = take(data, {
|
|
9414
|
+
GroupList: _json,
|
|
9415
|
+
NextToken: __expectString,
|
|
9416
|
+
RequestId: __expectString,
|
|
9417
|
+
});
|
|
9418
|
+
Object.assign(contents, doc);
|
|
9419
|
+
map(contents, {
|
|
9420
|
+
Status: [, output.statusCode],
|
|
9421
|
+
});
|
|
9422
|
+
return contents;
|
|
9423
|
+
};
|
|
9424
|
+
const de_ListUserGroupsCommandError = async (output, context) => {
|
|
9425
|
+
const parsedOutput = {
|
|
9426
|
+
...output,
|
|
9427
|
+
body: await parseErrorBody(output.body, context),
|
|
9428
|
+
};
|
|
9429
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9430
|
+
switch (errorCode) {
|
|
9431
|
+
case "AccessDeniedException":
|
|
9432
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
9433
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
9434
|
+
case "InternalFailureException":
|
|
9435
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
9436
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
9437
|
+
case "InvalidParameterValueException":
|
|
9438
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
9439
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
9440
|
+
case "PreconditionNotMetException":
|
|
9441
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
9442
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
9443
|
+
case "ResourceNotFoundException":
|
|
9444
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
9445
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
9446
|
+
case "ResourceUnavailableException":
|
|
9447
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
9448
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
9449
|
+
case "ThrottlingException":
|
|
9450
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
9451
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
8297
9452
|
default:
|
|
8298
9453
|
const parsedBody = parsedOutput.body;
|
|
8299
9454
|
return throwDefaultError({
|
|
@@ -8303,18 +9458,18 @@ const de_ListThemeVersionsCommandError = async (output, context) => {
|
|
|
8303
9458
|
});
|
|
8304
9459
|
}
|
|
8305
9460
|
};
|
|
8306
|
-
export const
|
|
9461
|
+
export const de_ListUsersCommand = async (output, context) => {
|
|
8307
9462
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8308
|
-
return
|
|
9463
|
+
return de_ListUsersCommandError(output, context);
|
|
8309
9464
|
}
|
|
8310
9465
|
const contents = map({
|
|
8311
9466
|
$metadata: deserializeMetadata(output),
|
|
8312
9467
|
});
|
|
8313
9468
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8314
9469
|
const doc = take(data, {
|
|
8315
|
-
GroupList: _json,
|
|
8316
9470
|
NextToken: __expectString,
|
|
8317
9471
|
RequestId: __expectString,
|
|
9472
|
+
UserList: _json,
|
|
8318
9473
|
});
|
|
8319
9474
|
Object.assign(contents, doc);
|
|
8320
9475
|
map(contents, {
|
|
@@ -8322,7 +9477,7 @@ export const de_ListUserGroupsCommand = async (output, context) => {
|
|
|
8322
9477
|
});
|
|
8323
9478
|
return contents;
|
|
8324
9479
|
};
|
|
8325
|
-
const
|
|
9480
|
+
const de_ListUsersCommandError = async (output, context) => {
|
|
8326
9481
|
const parsedOutput = {
|
|
8327
9482
|
...output,
|
|
8328
9483
|
body: await parseErrorBody(output.body, context),
|
|
@@ -8335,6 +9490,9 @@ const de_ListUserGroupsCommandError = async (output, context) => {
|
|
|
8335
9490
|
case "InternalFailureException":
|
|
8336
9491
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
8337
9492
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
9493
|
+
case "InvalidNextTokenException":
|
|
9494
|
+
case "com.amazonaws.quicksight#InvalidNextTokenException":
|
|
9495
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
8338
9496
|
case "InvalidParameterValueException":
|
|
8339
9497
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
8340
9498
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
@@ -8359,9 +9517,9 @@ const de_ListUserGroupsCommandError = async (output, context) => {
|
|
|
8359
9517
|
});
|
|
8360
9518
|
}
|
|
8361
9519
|
};
|
|
8362
|
-
export const
|
|
9520
|
+
export const de_ListVPCConnectionsCommand = async (output, context) => {
|
|
8363
9521
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8364
|
-
return
|
|
9522
|
+
return de_ListVPCConnectionsCommandError(output, context);
|
|
8365
9523
|
}
|
|
8366
9524
|
const contents = map({
|
|
8367
9525
|
$metadata: deserializeMetadata(output),
|
|
@@ -8370,7 +9528,7 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
8370
9528
|
const doc = take(data, {
|
|
8371
9529
|
NextToken: __expectString,
|
|
8372
9530
|
RequestId: __expectString,
|
|
8373
|
-
|
|
9531
|
+
VPCConnectionSummaries: (_) => de_VPCConnectionSummaryList(_, context),
|
|
8374
9532
|
});
|
|
8375
9533
|
Object.assign(contents, doc);
|
|
8376
9534
|
map(contents, {
|
|
@@ -8378,7 +9536,7 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
8378
9536
|
});
|
|
8379
9537
|
return contents;
|
|
8380
9538
|
};
|
|
8381
|
-
const
|
|
9539
|
+
const de_ListVPCConnectionsCommandError = async (output, context) => {
|
|
8382
9540
|
const parsedOutput = {
|
|
8383
9541
|
...output,
|
|
8384
9542
|
body: await parseErrorBody(output.body, context),
|
|
@@ -8397,18 +9555,12 @@ const de_ListUsersCommandError = async (output, context) => {
|
|
|
8397
9555
|
case "InvalidParameterValueException":
|
|
8398
9556
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
8399
9557
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
8400
|
-
case "PreconditionNotMetException":
|
|
8401
|
-
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
8402
|
-
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
8403
|
-
case "ResourceNotFoundException":
|
|
8404
|
-
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
8405
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
8406
|
-
case "ResourceUnavailableException":
|
|
8407
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
8408
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
8409
9558
|
case "ThrottlingException":
|
|
8410
9559
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
8411
9560
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
9561
|
+
case "UnsupportedUserEditionException":
|
|
9562
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
9563
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
8412
9564
|
default:
|
|
8413
9565
|
const parsedBody = parsedOutput.body;
|
|
8414
9566
|
return throwDefaultError({
|
|
@@ -10127,19 +11279,249 @@ const de_UpdateTemplateAliasCommandError = async (output, context) => {
|
|
|
10127
11279
|
});
|
|
10128
11280
|
}
|
|
10129
11281
|
};
|
|
10130
|
-
export const de_UpdateTemplatePermissionsCommand = async (output, context) => {
|
|
11282
|
+
export const de_UpdateTemplatePermissionsCommand = async (output, context) => {
|
|
11283
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11284
|
+
return de_UpdateTemplatePermissionsCommandError(output, context);
|
|
11285
|
+
}
|
|
11286
|
+
const contents = map({
|
|
11287
|
+
$metadata: deserializeMetadata(output),
|
|
11288
|
+
});
|
|
11289
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11290
|
+
const doc = take(data, {
|
|
11291
|
+
Permissions: _json,
|
|
11292
|
+
RequestId: __expectString,
|
|
11293
|
+
TemplateArn: __expectString,
|
|
11294
|
+
TemplateId: __expectString,
|
|
11295
|
+
});
|
|
11296
|
+
Object.assign(contents, doc);
|
|
11297
|
+
map(contents, {
|
|
11298
|
+
Status: [, output.statusCode],
|
|
11299
|
+
});
|
|
11300
|
+
return contents;
|
|
11301
|
+
};
|
|
11302
|
+
const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
|
|
11303
|
+
const parsedOutput = {
|
|
11304
|
+
...output,
|
|
11305
|
+
body: await parseErrorBody(output.body, context),
|
|
11306
|
+
};
|
|
11307
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11308
|
+
switch (errorCode) {
|
|
11309
|
+
case "ConflictException":
|
|
11310
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
11311
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
11312
|
+
case "InternalFailureException":
|
|
11313
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
11314
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
11315
|
+
case "InvalidParameterValueException":
|
|
11316
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
11317
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
11318
|
+
case "LimitExceededException":
|
|
11319
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
11320
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
11321
|
+
case "ResourceNotFoundException":
|
|
11322
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
11323
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11324
|
+
case "ThrottlingException":
|
|
11325
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
11326
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11327
|
+
case "UnsupportedUserEditionException":
|
|
11328
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
11329
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
11330
|
+
default:
|
|
11331
|
+
const parsedBody = parsedOutput.body;
|
|
11332
|
+
return throwDefaultError({
|
|
11333
|
+
output,
|
|
11334
|
+
parsedBody,
|
|
11335
|
+
errorCode,
|
|
11336
|
+
});
|
|
11337
|
+
}
|
|
11338
|
+
};
|
|
11339
|
+
export const de_UpdateThemeCommand = async (output, context) => {
|
|
11340
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11341
|
+
return de_UpdateThemeCommandError(output, context);
|
|
11342
|
+
}
|
|
11343
|
+
const contents = map({
|
|
11344
|
+
$metadata: deserializeMetadata(output),
|
|
11345
|
+
});
|
|
11346
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11347
|
+
const doc = take(data, {
|
|
11348
|
+
Arn: __expectString,
|
|
11349
|
+
CreationStatus: __expectString,
|
|
11350
|
+
RequestId: __expectString,
|
|
11351
|
+
ThemeId: __expectString,
|
|
11352
|
+
VersionArn: __expectString,
|
|
11353
|
+
});
|
|
11354
|
+
Object.assign(contents, doc);
|
|
11355
|
+
map(contents, {
|
|
11356
|
+
Status: [, output.statusCode],
|
|
11357
|
+
});
|
|
11358
|
+
return contents;
|
|
11359
|
+
};
|
|
11360
|
+
const de_UpdateThemeCommandError = async (output, context) => {
|
|
11361
|
+
const parsedOutput = {
|
|
11362
|
+
...output,
|
|
11363
|
+
body: await parseErrorBody(output.body, context),
|
|
11364
|
+
};
|
|
11365
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11366
|
+
switch (errorCode) {
|
|
11367
|
+
case "AccessDeniedException":
|
|
11368
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
11369
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
11370
|
+
case "InternalFailureException":
|
|
11371
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
11372
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
11373
|
+
case "InvalidParameterValueException":
|
|
11374
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
11375
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
11376
|
+
case "LimitExceededException":
|
|
11377
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
11378
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
11379
|
+
case "ResourceExistsException":
|
|
11380
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
11381
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
11382
|
+
case "ResourceNotFoundException":
|
|
11383
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
11384
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11385
|
+
case "ThrottlingException":
|
|
11386
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
11387
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11388
|
+
case "UnsupportedUserEditionException":
|
|
11389
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
11390
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
11391
|
+
default:
|
|
11392
|
+
const parsedBody = parsedOutput.body;
|
|
11393
|
+
return throwDefaultError({
|
|
11394
|
+
output,
|
|
11395
|
+
parsedBody,
|
|
11396
|
+
errorCode,
|
|
11397
|
+
});
|
|
11398
|
+
}
|
|
11399
|
+
};
|
|
11400
|
+
export const de_UpdateThemeAliasCommand = async (output, context) => {
|
|
11401
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11402
|
+
return de_UpdateThemeAliasCommandError(output, context);
|
|
11403
|
+
}
|
|
11404
|
+
const contents = map({
|
|
11405
|
+
$metadata: deserializeMetadata(output),
|
|
11406
|
+
});
|
|
11407
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11408
|
+
const doc = take(data, {
|
|
11409
|
+
RequestId: __expectString,
|
|
11410
|
+
ThemeAlias: _json,
|
|
11411
|
+
});
|
|
11412
|
+
Object.assign(contents, doc);
|
|
11413
|
+
map(contents, {
|
|
11414
|
+
Status: [, output.statusCode],
|
|
11415
|
+
});
|
|
11416
|
+
return contents;
|
|
11417
|
+
};
|
|
11418
|
+
const de_UpdateThemeAliasCommandError = async (output, context) => {
|
|
11419
|
+
const parsedOutput = {
|
|
11420
|
+
...output,
|
|
11421
|
+
body: await parseErrorBody(output.body, context),
|
|
11422
|
+
};
|
|
11423
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11424
|
+
switch (errorCode) {
|
|
11425
|
+
case "ConflictException":
|
|
11426
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
11427
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
11428
|
+
case "InternalFailureException":
|
|
11429
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
11430
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
11431
|
+
case "InvalidParameterValueException":
|
|
11432
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
11433
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
11434
|
+
case "ResourceExistsException":
|
|
11435
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
11436
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
11437
|
+
case "ResourceNotFoundException":
|
|
11438
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
11439
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11440
|
+
case "ThrottlingException":
|
|
11441
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
11442
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11443
|
+
case "UnsupportedUserEditionException":
|
|
11444
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
11445
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
11446
|
+
default:
|
|
11447
|
+
const parsedBody = parsedOutput.body;
|
|
11448
|
+
return throwDefaultError({
|
|
11449
|
+
output,
|
|
11450
|
+
parsedBody,
|
|
11451
|
+
errorCode,
|
|
11452
|
+
});
|
|
11453
|
+
}
|
|
11454
|
+
};
|
|
11455
|
+
export const de_UpdateThemePermissionsCommand = async (output, context) => {
|
|
11456
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11457
|
+
return de_UpdateThemePermissionsCommandError(output, context);
|
|
11458
|
+
}
|
|
11459
|
+
const contents = map({
|
|
11460
|
+
$metadata: deserializeMetadata(output),
|
|
11461
|
+
});
|
|
11462
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11463
|
+
const doc = take(data, {
|
|
11464
|
+
Permissions: _json,
|
|
11465
|
+
RequestId: __expectString,
|
|
11466
|
+
ThemeArn: __expectString,
|
|
11467
|
+
ThemeId: __expectString,
|
|
11468
|
+
});
|
|
11469
|
+
Object.assign(contents, doc);
|
|
11470
|
+
map(contents, {
|
|
11471
|
+
Status: [, output.statusCode],
|
|
11472
|
+
});
|
|
11473
|
+
return contents;
|
|
11474
|
+
};
|
|
11475
|
+
const de_UpdateThemePermissionsCommandError = async (output, context) => {
|
|
11476
|
+
const parsedOutput = {
|
|
11477
|
+
...output,
|
|
11478
|
+
body: await parseErrorBody(output.body, context),
|
|
11479
|
+
};
|
|
11480
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11481
|
+
switch (errorCode) {
|
|
11482
|
+
case "AccessDeniedException":
|
|
11483
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
11484
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
11485
|
+
case "InternalFailureException":
|
|
11486
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
11487
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
11488
|
+
case "InvalidParameterValueException":
|
|
11489
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
11490
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
11491
|
+
case "LimitExceededException":
|
|
11492
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
11493
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
11494
|
+
case "ResourceNotFoundException":
|
|
11495
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
11496
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11497
|
+
case "ThrottlingException":
|
|
11498
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
11499
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11500
|
+
case "UnsupportedUserEditionException":
|
|
11501
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
11502
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
11503
|
+
default:
|
|
11504
|
+
const parsedBody = parsedOutput.body;
|
|
11505
|
+
return throwDefaultError({
|
|
11506
|
+
output,
|
|
11507
|
+
parsedBody,
|
|
11508
|
+
errorCode,
|
|
11509
|
+
});
|
|
11510
|
+
}
|
|
11511
|
+
};
|
|
11512
|
+
export const de_UpdateTopicCommand = async (output, context) => {
|
|
10131
11513
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10132
|
-
return
|
|
11514
|
+
return de_UpdateTopicCommandError(output, context);
|
|
10133
11515
|
}
|
|
10134
11516
|
const contents = map({
|
|
10135
11517
|
$metadata: deserializeMetadata(output),
|
|
10136
11518
|
});
|
|
10137
11519
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10138
11520
|
const doc = take(data, {
|
|
10139
|
-
|
|
11521
|
+
Arn: __expectString,
|
|
11522
|
+
RefreshArn: __expectString,
|
|
10140
11523
|
RequestId: __expectString,
|
|
10141
|
-
|
|
10142
|
-
TemplateId: __expectString,
|
|
11524
|
+
TopicId: __expectString,
|
|
10143
11525
|
});
|
|
10144
11526
|
Object.assign(contents, doc);
|
|
10145
11527
|
map(contents, {
|
|
@@ -10147,13 +11529,16 @@ export const de_UpdateTemplatePermissionsCommand = async (output, context) => {
|
|
|
10147
11529
|
});
|
|
10148
11530
|
return contents;
|
|
10149
11531
|
};
|
|
10150
|
-
const
|
|
11532
|
+
const de_UpdateTopicCommandError = async (output, context) => {
|
|
10151
11533
|
const parsedOutput = {
|
|
10152
11534
|
...output,
|
|
10153
11535
|
body: await parseErrorBody(output.body, context),
|
|
10154
11536
|
};
|
|
10155
11537
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10156
11538
|
switch (errorCode) {
|
|
11539
|
+
case "AccessDeniedException":
|
|
11540
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
11541
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
10157
11542
|
case "ConflictException":
|
|
10158
11543
|
case "com.amazonaws.quicksight#ConflictException":
|
|
10159
11544
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -10166,15 +11551,15 @@ const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
|
|
|
10166
11551
|
case "LimitExceededException":
|
|
10167
11552
|
case "com.amazonaws.quicksight#LimitExceededException":
|
|
10168
11553
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
11554
|
+
case "ResourceExistsException":
|
|
11555
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
11556
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
10169
11557
|
case "ResourceNotFoundException":
|
|
10170
11558
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
10171
11559
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10172
11560
|
case "ThrottlingException":
|
|
10173
11561
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
10174
11562
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10175
|
-
case "UnsupportedUserEditionException":
|
|
10176
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
10177
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
10178
11563
|
default:
|
|
10179
11564
|
const parsedBody = parsedOutput.body;
|
|
10180
11565
|
return throwDefaultError({
|
|
@@ -10184,20 +11569,19 @@ const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
|
|
|
10184
11569
|
});
|
|
10185
11570
|
}
|
|
10186
11571
|
};
|
|
10187
|
-
export const
|
|
11572
|
+
export const de_UpdateTopicPermissionsCommand = async (output, context) => {
|
|
10188
11573
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10189
|
-
return
|
|
11574
|
+
return de_UpdateTopicPermissionsCommandError(output, context);
|
|
10190
11575
|
}
|
|
10191
11576
|
const contents = map({
|
|
10192
11577
|
$metadata: deserializeMetadata(output),
|
|
10193
11578
|
});
|
|
10194
11579
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10195
11580
|
const doc = take(data, {
|
|
10196
|
-
|
|
10197
|
-
CreationStatus: __expectString,
|
|
11581
|
+
Permissions: _json,
|
|
10198
11582
|
RequestId: __expectString,
|
|
10199
|
-
|
|
10200
|
-
|
|
11583
|
+
TopicArn: __expectString,
|
|
11584
|
+
TopicId: __expectString,
|
|
10201
11585
|
});
|
|
10202
11586
|
Object.assign(contents, doc);
|
|
10203
11587
|
map(contents, {
|
|
@@ -10205,7 +11589,7 @@ export const de_UpdateThemeCommand = async (output, context) => {
|
|
|
10205
11589
|
});
|
|
10206
11590
|
return contents;
|
|
10207
11591
|
};
|
|
10208
|
-
const
|
|
11592
|
+
const de_UpdateTopicPermissionsCommandError = async (output, context) => {
|
|
10209
11593
|
const parsedOutput = {
|
|
10210
11594
|
...output,
|
|
10211
11595
|
body: await parseErrorBody(output.body, context),
|
|
@@ -10215,6 +11599,9 @@ const de_UpdateThemeCommandError = async (output, context) => {
|
|
|
10215
11599
|
case "AccessDeniedException":
|
|
10216
11600
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
10217
11601
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
11602
|
+
case "ConflictException":
|
|
11603
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
11604
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
10218
11605
|
case "InternalFailureException":
|
|
10219
11606
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
10220
11607
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
@@ -10224,9 +11611,6 @@ const de_UpdateThemeCommandError = async (output, context) => {
|
|
|
10224
11611
|
case "LimitExceededException":
|
|
10225
11612
|
case "com.amazonaws.quicksight#LimitExceededException":
|
|
10226
11613
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
10227
|
-
case "ResourceExistsException":
|
|
10228
|
-
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
10229
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
10230
11614
|
case "ResourceNotFoundException":
|
|
10231
11615
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
10232
11616
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -10245,17 +11629,19 @@ const de_UpdateThemeCommandError = async (output, context) => {
|
|
|
10245
11629
|
});
|
|
10246
11630
|
}
|
|
10247
11631
|
};
|
|
10248
|
-
export const
|
|
11632
|
+
export const de_UpdateTopicRefreshScheduleCommand = async (output, context) => {
|
|
10249
11633
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10250
|
-
return
|
|
11634
|
+
return de_UpdateTopicRefreshScheduleCommandError(output, context);
|
|
10251
11635
|
}
|
|
10252
11636
|
const contents = map({
|
|
10253
11637
|
$metadata: deserializeMetadata(output),
|
|
10254
11638
|
});
|
|
10255
11639
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10256
11640
|
const doc = take(data, {
|
|
11641
|
+
DatasetArn: __expectString,
|
|
10257
11642
|
RequestId: __expectString,
|
|
10258
|
-
|
|
11643
|
+
TopicArn: __expectString,
|
|
11644
|
+
TopicId: __expectString,
|
|
10259
11645
|
});
|
|
10260
11646
|
Object.assign(contents, doc);
|
|
10261
11647
|
map(contents, {
|
|
@@ -10263,13 +11649,16 @@ export const de_UpdateThemeAliasCommand = async (output, context) => {
|
|
|
10263
11649
|
});
|
|
10264
11650
|
return contents;
|
|
10265
11651
|
};
|
|
10266
|
-
const
|
|
11652
|
+
const de_UpdateTopicRefreshScheduleCommandError = async (output, context) => {
|
|
10267
11653
|
const parsedOutput = {
|
|
10268
11654
|
...output,
|
|
10269
11655
|
body: await parseErrorBody(output.body, context),
|
|
10270
11656
|
};
|
|
10271
11657
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10272
11658
|
switch (errorCode) {
|
|
11659
|
+
case "AccessDeniedException":
|
|
11660
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
11661
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
10273
11662
|
case "ConflictException":
|
|
10274
11663
|
case "com.amazonaws.quicksight#ConflictException":
|
|
10275
11664
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -10279,6 +11668,9 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
|
|
|
10279
11668
|
case "InvalidParameterValueException":
|
|
10280
11669
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
10281
11670
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
11671
|
+
case "LimitExceededException":
|
|
11672
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
11673
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
10282
11674
|
case "ResourceExistsException":
|
|
10283
11675
|
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
10284
11676
|
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
@@ -10288,9 +11680,6 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
|
|
|
10288
11680
|
case "ThrottlingException":
|
|
10289
11681
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
10290
11682
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10291
|
-
case "UnsupportedUserEditionException":
|
|
10292
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
10293
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
10294
11683
|
default:
|
|
10295
11684
|
const parsedBody = parsedOutput.body;
|
|
10296
11685
|
return throwDefaultError({
|
|
@@ -10300,19 +11689,17 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
|
|
|
10300
11689
|
});
|
|
10301
11690
|
}
|
|
10302
11691
|
};
|
|
10303
|
-
export const
|
|
11692
|
+
export const de_UpdateUserCommand = async (output, context) => {
|
|
10304
11693
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10305
|
-
return
|
|
11694
|
+
return de_UpdateUserCommandError(output, context);
|
|
10306
11695
|
}
|
|
10307
11696
|
const contents = map({
|
|
10308
11697
|
$metadata: deserializeMetadata(output),
|
|
10309
11698
|
});
|
|
10310
11699
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10311
11700
|
const doc = take(data, {
|
|
10312
|
-
Permissions: _json,
|
|
10313
11701
|
RequestId: __expectString,
|
|
10314
|
-
|
|
10315
|
-
ThemeId: __expectString,
|
|
11702
|
+
User: _json,
|
|
10316
11703
|
});
|
|
10317
11704
|
Object.assign(contents, doc);
|
|
10318
11705
|
map(contents, {
|
|
@@ -10320,7 +11707,7 @@ export const de_UpdateThemePermissionsCommand = async (output, context) => {
|
|
|
10320
11707
|
});
|
|
10321
11708
|
return contents;
|
|
10322
11709
|
};
|
|
10323
|
-
const
|
|
11710
|
+
const de_UpdateUserCommandError = async (output, context) => {
|
|
10324
11711
|
const parsedOutput = {
|
|
10325
11712
|
...output,
|
|
10326
11713
|
body: await parseErrorBody(output.body, context),
|
|
@@ -10336,18 +11723,18 @@ const de_UpdateThemePermissionsCommandError = async (output, context) => {
|
|
|
10336
11723
|
case "InvalidParameterValueException":
|
|
10337
11724
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
10338
11725
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
10339
|
-
case "
|
|
10340
|
-
case "com.amazonaws.quicksight#
|
|
10341
|
-
throw await
|
|
11726
|
+
case "PreconditionNotMetException":
|
|
11727
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
11728
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
10342
11729
|
case "ResourceNotFoundException":
|
|
10343
11730
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
10344
11731
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
11732
|
+
case "ResourceUnavailableException":
|
|
11733
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
11734
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
10345
11735
|
case "ThrottlingException":
|
|
10346
11736
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
10347
11737
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10348
|
-
case "UnsupportedUserEditionException":
|
|
10349
|
-
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
10350
|
-
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
10351
11738
|
default:
|
|
10352
11739
|
const parsedBody = parsedOutput.body;
|
|
10353
11740
|
return throwDefaultError({
|
|
@@ -10357,17 +11744,20 @@ const de_UpdateThemePermissionsCommandError = async (output, context) => {
|
|
|
10357
11744
|
});
|
|
10358
11745
|
}
|
|
10359
11746
|
};
|
|
10360
|
-
export const
|
|
11747
|
+
export const de_UpdateVPCConnectionCommand = async (output, context) => {
|
|
10361
11748
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10362
|
-
return
|
|
11749
|
+
return de_UpdateVPCConnectionCommandError(output, context);
|
|
10363
11750
|
}
|
|
10364
11751
|
const contents = map({
|
|
10365
11752
|
$metadata: deserializeMetadata(output),
|
|
10366
11753
|
});
|
|
10367
11754
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10368
11755
|
const doc = take(data, {
|
|
11756
|
+
Arn: __expectString,
|
|
11757
|
+
AvailabilityStatus: __expectString,
|
|
10369
11758
|
RequestId: __expectString,
|
|
10370
|
-
|
|
11759
|
+
UpdateStatus: __expectString,
|
|
11760
|
+
VPCConnectionId: __expectString,
|
|
10371
11761
|
});
|
|
10372
11762
|
Object.assign(contents, doc);
|
|
10373
11763
|
map(contents, {
|
|
@@ -10375,7 +11765,7 @@ export const de_UpdateUserCommand = async (output, context) => {
|
|
|
10375
11765
|
});
|
|
10376
11766
|
return contents;
|
|
10377
11767
|
};
|
|
10378
|
-
const
|
|
11768
|
+
const de_UpdateVPCConnectionCommandError = async (output, context) => {
|
|
10379
11769
|
const parsedOutput = {
|
|
10380
11770
|
...output,
|
|
10381
11771
|
body: await parseErrorBody(output.body, context),
|
|
@@ -10385,24 +11775,27 @@ const de_UpdateUserCommandError = async (output, context) => {
|
|
|
10385
11775
|
case "AccessDeniedException":
|
|
10386
11776
|
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
10387
11777
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
11778
|
+
case "ConflictException":
|
|
11779
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
11780
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
10388
11781
|
case "InternalFailureException":
|
|
10389
11782
|
case "com.amazonaws.quicksight#InternalFailureException":
|
|
10390
11783
|
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
10391
11784
|
case "InvalidParameterValueException":
|
|
10392
11785
|
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
10393
11786
|
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
10394
|
-
case "
|
|
10395
|
-
case "com.amazonaws.quicksight#
|
|
10396
|
-
throw await
|
|
11787
|
+
case "LimitExceededException":
|
|
11788
|
+
case "com.amazonaws.quicksight#LimitExceededException":
|
|
11789
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
10397
11790
|
case "ResourceNotFoundException":
|
|
10398
11791
|
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
10399
11792
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10400
|
-
case "ResourceUnavailableException":
|
|
10401
|
-
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
10402
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
10403
11793
|
case "ThrottlingException":
|
|
10404
11794
|
case "com.amazonaws.quicksight#ThrottlingException":
|
|
10405
11795
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
11796
|
+
case "UnsupportedUserEditionException":
|
|
11797
|
+
case "com.amazonaws.quicksight#UnsupportedUserEditionException":
|
|
11798
|
+
throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
|
|
10406
11799
|
default:
|
|
10407
11800
|
const parsedBody = parsedOutput.body;
|
|
10408
11801
|
return throwDefaultError({
|
|
@@ -11065,6 +12458,42 @@ const se_DataColor = (input, context) => {
|
|
|
11065
12458
|
DataValue: __serializeFloat,
|
|
11066
12459
|
});
|
|
11067
12460
|
};
|
|
12461
|
+
const se_DatasetParameter = (input, context) => {
|
|
12462
|
+
return take(input, {
|
|
12463
|
+
DateTimeDatasetParameter: (_) => se_DateTimeDatasetParameter(_, context),
|
|
12464
|
+
DecimalDatasetParameter: (_) => se_DecimalDatasetParameter(_, context),
|
|
12465
|
+
IntegerDatasetParameter: _json,
|
|
12466
|
+
StringDatasetParameter: _json,
|
|
12467
|
+
});
|
|
12468
|
+
};
|
|
12469
|
+
const se_DatasetParameterList = (input, context) => {
|
|
12470
|
+
return input
|
|
12471
|
+
.filter((e) => e != null)
|
|
12472
|
+
.map((entry) => {
|
|
12473
|
+
return se_DatasetParameter(entry, context);
|
|
12474
|
+
});
|
|
12475
|
+
};
|
|
12476
|
+
const se_DateTimeDatasetParameter = (input, context) => {
|
|
12477
|
+
return take(input, {
|
|
12478
|
+
DefaultValues: (_) => se_DateTimeDatasetParameterDefaultValues(_, context),
|
|
12479
|
+
Id: [],
|
|
12480
|
+
Name: [],
|
|
12481
|
+
TimeGranularity: [],
|
|
12482
|
+
ValueType: [],
|
|
12483
|
+
});
|
|
12484
|
+
};
|
|
12485
|
+
const se_DateTimeDatasetParameterDefaultValues = (input, context) => {
|
|
12486
|
+
return take(input, {
|
|
12487
|
+
StaticValues: (_) => se_DateTimeDatasetParameterValueList(_, context),
|
|
12488
|
+
});
|
|
12489
|
+
};
|
|
12490
|
+
const se_DateTimeDatasetParameterValueList = (input, context) => {
|
|
12491
|
+
return input
|
|
12492
|
+
.filter((e) => e != null)
|
|
12493
|
+
.map((entry) => {
|
|
12494
|
+
return Math.round(entry.getTime() / 1000);
|
|
12495
|
+
});
|
|
12496
|
+
};
|
|
11068
12497
|
const se_DateTimeDefaultValueList = (input, context) => {
|
|
11069
12498
|
return input
|
|
11070
12499
|
.filter((e) => e != null)
|
|
@@ -11094,6 +12523,7 @@ const se_DateTimeParameter = (input, context) => {
|
|
|
11094
12523
|
const se_DateTimeParameterDeclaration = (input, context) => {
|
|
11095
12524
|
return take(input, {
|
|
11096
12525
|
DefaultValues: (_) => se_DateTimeDefaultValues(_, context),
|
|
12526
|
+
MappedDataSetParameters: _json,
|
|
11097
12527
|
Name: [],
|
|
11098
12528
|
TimeGranularity: [],
|
|
11099
12529
|
ValueWhenUnset: (_) => se_DateTimeValueWhenUnsetConfiguration(_, context),
|
|
@@ -11112,6 +12542,26 @@ const se_DateTimeValueWhenUnsetConfiguration = (input, context) => {
|
|
|
11112
12542
|
ValueWhenUnsetOption: [],
|
|
11113
12543
|
});
|
|
11114
12544
|
};
|
|
12545
|
+
const se_DecimalDatasetParameter = (input, context) => {
|
|
12546
|
+
return take(input, {
|
|
12547
|
+
DefaultValues: (_) => se_DecimalDatasetParameterDefaultValues(_, context),
|
|
12548
|
+
Id: [],
|
|
12549
|
+
Name: [],
|
|
12550
|
+
ValueType: [],
|
|
12551
|
+
});
|
|
12552
|
+
};
|
|
12553
|
+
const se_DecimalDatasetParameterDefaultValues = (input, context) => {
|
|
12554
|
+
return take(input, {
|
|
12555
|
+
StaticValues: (_) => se_DecimalDatasetParameterValueList(_, context),
|
|
12556
|
+
});
|
|
12557
|
+
};
|
|
12558
|
+
const se_DecimalDatasetParameterValueList = (input, context) => {
|
|
12559
|
+
return input
|
|
12560
|
+
.filter((e) => e != null)
|
|
12561
|
+
.map((entry) => {
|
|
12562
|
+
return __serializeFloat(entry);
|
|
12563
|
+
});
|
|
12564
|
+
};
|
|
11115
12565
|
const se_DecimalDefaultValueList = (input, context) => {
|
|
11116
12566
|
return input
|
|
11117
12567
|
.filter((e) => e != null)
|
|
@@ -11134,6 +12584,7 @@ const se_DecimalParameter = (input, context) => {
|
|
|
11134
12584
|
const se_DecimalParameterDeclaration = (input, context) => {
|
|
11135
12585
|
return take(input, {
|
|
11136
12586
|
DefaultValues: (_) => se_DecimalDefaultValues(_, context),
|
|
12587
|
+
MappedDataSetParameters: _json,
|
|
11137
12588
|
Name: [],
|
|
11138
12589
|
ParameterValueType: [],
|
|
11139
12590
|
ValueWhenUnset: (_) => se_DecimalValueWhenUnsetConfiguration(_, context),
|
|
@@ -11156,6 +12607,7 @@ const se_DestinationParameterValueConfiguration = (input, context) => {
|
|
|
11156
12607
|
return take(input, {
|
|
11157
12608
|
CustomValuesConfiguration: (_) => se_CustomValuesConfiguration(_, context),
|
|
11158
12609
|
SelectAllValueOptions: [],
|
|
12610
|
+
SourceColumn: _json,
|
|
11159
12611
|
SourceField: [],
|
|
11160
12612
|
SourceParameterName: [],
|
|
11161
12613
|
});
|
|
@@ -11806,6 +13258,22 @@ const se_LineSeriesAxisDisplayOptions = (input, context) => {
|
|
|
11806
13258
|
MissingDataConfigurations: _json,
|
|
11807
13259
|
});
|
|
11808
13260
|
};
|
|
13261
|
+
const se_LogicalTable = (input, context) => {
|
|
13262
|
+
return take(input, {
|
|
13263
|
+
Alias: [],
|
|
13264
|
+
DataTransforms: (_) => se_TransformOperationList(_, context),
|
|
13265
|
+
Source: _json,
|
|
13266
|
+
});
|
|
13267
|
+
};
|
|
13268
|
+
const se_LogicalTableMap = (input, context) => {
|
|
13269
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
13270
|
+
if (value === null) {
|
|
13271
|
+
return acc;
|
|
13272
|
+
}
|
|
13273
|
+
acc[key] = se_LogicalTable(value, context);
|
|
13274
|
+
return acc;
|
|
13275
|
+
}, {});
|
|
13276
|
+
};
|
|
11809
13277
|
const se_MaximumMinimumComputation = (input, context) => {
|
|
11810
13278
|
return take(input, {
|
|
11811
13279
|
ComputationId: [],
|
|
@@ -11839,6 +13307,14 @@ const se_MetricComparisonComputation = (input, context) => {
|
|
|
11839
13307
|
Time: _json,
|
|
11840
13308
|
});
|
|
11841
13309
|
};
|
|
13310
|
+
const se_NewDefaultValues = (input, context) => {
|
|
13311
|
+
return take(input, {
|
|
13312
|
+
DateTimeStaticValues: (_) => se_DateTimeDatasetParameterValueList(_, context),
|
|
13313
|
+
DecimalStaticValues: (_) => se_DecimalDatasetParameterValueList(_, context),
|
|
13314
|
+
IntegerStaticValues: _json,
|
|
13315
|
+
StringStaticValues: _json,
|
|
13316
|
+
});
|
|
13317
|
+
};
|
|
11842
13318
|
const se_NumericalAggregationFunction = (input, context) => {
|
|
11843
13319
|
return take(input, {
|
|
11844
13320
|
PercentileAggregation: (_) => se_PercentileAggregation(_, context),
|
|
@@ -11896,6 +13372,13 @@ const se_NumericRangeFilterValue = (input, context) => {
|
|
|
11896
13372
|
StaticValue: __serializeFloat,
|
|
11897
13373
|
});
|
|
11898
13374
|
};
|
|
13375
|
+
const se_OverrideDatasetParameterOperation = (input, context) => {
|
|
13376
|
+
return take(input, {
|
|
13377
|
+
NewDefaultValues: (_) => se_NewDefaultValues(_, context),
|
|
13378
|
+
NewParameterName: [],
|
|
13379
|
+
ParameterName: [],
|
|
13380
|
+
});
|
|
13381
|
+
};
|
|
11899
13382
|
const se_ParameterControl = (input, context) => {
|
|
11900
13383
|
return take(input, {
|
|
11901
13384
|
DateTimePicker: _json,
|
|
@@ -12258,6 +13741,7 @@ const se_SankeyDiagramVisual = (input, context) => {
|
|
|
12258
13741
|
const se_ScatterPlotCategoricallyAggregatedFieldWells = (input, context) => {
|
|
12259
13742
|
return take(input, {
|
|
12260
13743
|
Category: _json,
|
|
13744
|
+
Label: _json,
|
|
12261
13745
|
Size: (_) => se_MeasureFieldList(_, context),
|
|
12262
13746
|
XAxis: (_) => se_MeasureFieldList(_, context),
|
|
12263
13747
|
YAxis: (_) => se_MeasureFieldList(_, context),
|
|
@@ -12284,6 +13768,8 @@ const se_ScatterPlotFieldWells = (input, context) => {
|
|
|
12284
13768
|
};
|
|
12285
13769
|
const se_ScatterPlotUnaggregatedFieldWells = (input, context) => {
|
|
12286
13770
|
return take(input, {
|
|
13771
|
+
Category: _json,
|
|
13772
|
+
Label: _json,
|
|
12287
13773
|
Size: (_) => se_MeasureFieldList(_, context),
|
|
12288
13774
|
XAxis: _json,
|
|
12289
13775
|
YAxis: _json,
|
|
@@ -12553,6 +14039,16 @@ const se_TopBottomRankedComputation = (input, context) => {
|
|
|
12553
14039
|
Value: (_) => se_MeasureField(_, context),
|
|
12554
14040
|
});
|
|
12555
14041
|
};
|
|
14042
|
+
const se_TopicRefreshSchedule = (input, context) => {
|
|
14043
|
+
return take(input, {
|
|
14044
|
+
BasedOnSpiceSchedule: [],
|
|
14045
|
+
IsEnabled: [],
|
|
14046
|
+
RepeatAt: [],
|
|
14047
|
+
StartingAt: (_) => Math.round(_.getTime() / 1000),
|
|
14048
|
+
Timezone: [],
|
|
14049
|
+
TopicScheduleType: [],
|
|
14050
|
+
});
|
|
14051
|
+
};
|
|
12556
14052
|
const se_TotalAggregationComputation = (input, context) => {
|
|
12557
14053
|
return take(input, {
|
|
12558
14054
|
ComputationId: [],
|
|
@@ -12560,6 +14056,28 @@ const se_TotalAggregationComputation = (input, context) => {
|
|
|
12560
14056
|
Value: (_) => se_MeasureField(_, context),
|
|
12561
14057
|
});
|
|
12562
14058
|
};
|
|
14059
|
+
const se_TransformOperation = (input, context) => {
|
|
14060
|
+
return TransformOperation.visit(input, {
|
|
14061
|
+
CastColumnTypeOperation: (value) => ({ CastColumnTypeOperation: _json(value) }),
|
|
14062
|
+
CreateColumnsOperation: (value) => ({ CreateColumnsOperation: _json(value) }),
|
|
14063
|
+
FilterOperation: (value) => ({ FilterOperation: _json(value) }),
|
|
14064
|
+
OverrideDatasetParameterOperation: (value) => ({
|
|
14065
|
+
OverrideDatasetParameterOperation: se_OverrideDatasetParameterOperation(value, context),
|
|
14066
|
+
}),
|
|
14067
|
+
ProjectOperation: (value) => ({ ProjectOperation: _json(value) }),
|
|
14068
|
+
RenameColumnOperation: (value) => ({ RenameColumnOperation: _json(value) }),
|
|
14069
|
+
TagColumnOperation: (value) => ({ TagColumnOperation: _json(value) }),
|
|
14070
|
+
UntagColumnOperation: (value) => ({ UntagColumnOperation: _json(value) }),
|
|
14071
|
+
_: (name, value) => ({ name: value }),
|
|
14072
|
+
});
|
|
14073
|
+
};
|
|
14074
|
+
const se_TransformOperationList = (input, context) => {
|
|
14075
|
+
return input
|
|
14076
|
+
.filter((e) => e != null)
|
|
14077
|
+
.map((entry) => {
|
|
14078
|
+
return se_TransformOperation(entry, context);
|
|
14079
|
+
});
|
|
14080
|
+
};
|
|
12563
14081
|
const se_TreeMapAggregatedFieldWells = (input, context) => {
|
|
12564
14082
|
return take(input, {
|
|
12565
14083
|
Colors: (_) => se_TreeMapMeasureFieldList(_, context),
|
|
@@ -13265,10 +14783,11 @@ const de_DataSet = (output, context) => {
|
|
|
13265
14783
|
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13266
14784
|
DataSetId: __expectString,
|
|
13267
14785
|
DataSetUsageConfiguration: _json,
|
|
14786
|
+
DatasetParameters: (_) => de_DatasetParameterList(_, context),
|
|
13268
14787
|
FieldFolders: _json,
|
|
13269
14788
|
ImportMode: __expectString,
|
|
13270
14789
|
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13271
|
-
LogicalTableMap:
|
|
14790
|
+
LogicalTableMap: (_) => de_LogicalTableMap(_, context),
|
|
13272
14791
|
Name: __expectString,
|
|
13273
14792
|
OutputColumns: _json,
|
|
13274
14793
|
PhysicalTableMap: _json,
|
|
@@ -13276,6 +14795,22 @@ const de_DataSet = (output, context) => {
|
|
|
13276
14795
|
RowLevelPermissionTagConfiguration: _json,
|
|
13277
14796
|
});
|
|
13278
14797
|
};
|
|
14798
|
+
const de_DatasetParameter = (output, context) => {
|
|
14799
|
+
return take(output, {
|
|
14800
|
+
DateTimeDatasetParameter: (_) => de_DateTimeDatasetParameter(_, context),
|
|
14801
|
+
DecimalDatasetParameter: (_) => de_DecimalDatasetParameter(_, context),
|
|
14802
|
+
IntegerDatasetParameter: _json,
|
|
14803
|
+
StringDatasetParameter: _json,
|
|
14804
|
+
});
|
|
14805
|
+
};
|
|
14806
|
+
const de_DatasetParameterList = (output, context) => {
|
|
14807
|
+
const retVal = (output || [])
|
|
14808
|
+
.filter((e) => e != null)
|
|
14809
|
+
.map((entry) => {
|
|
14810
|
+
return de_DatasetParameter(entry, context);
|
|
14811
|
+
});
|
|
14812
|
+
return retVal;
|
|
14813
|
+
};
|
|
13279
14814
|
const de_DataSetSummary = (output, context) => {
|
|
13280
14815
|
return take(output, {
|
|
13281
14816
|
Arn: __expectString,
|
|
@@ -13340,6 +14875,28 @@ const de_DataSourceSummaryList = (output, context) => {
|
|
|
13340
14875
|
});
|
|
13341
14876
|
return retVal;
|
|
13342
14877
|
};
|
|
14878
|
+
const de_DateTimeDatasetParameter = (output, context) => {
|
|
14879
|
+
return take(output, {
|
|
14880
|
+
DefaultValues: (_) => de_DateTimeDatasetParameterDefaultValues(_, context),
|
|
14881
|
+
Id: __expectString,
|
|
14882
|
+
Name: __expectString,
|
|
14883
|
+
TimeGranularity: __expectString,
|
|
14884
|
+
ValueType: __expectString,
|
|
14885
|
+
});
|
|
14886
|
+
};
|
|
14887
|
+
const de_DateTimeDatasetParameterDefaultValues = (output, context) => {
|
|
14888
|
+
return take(output, {
|
|
14889
|
+
StaticValues: (_) => de_DateTimeDatasetParameterValueList(_, context),
|
|
14890
|
+
});
|
|
14891
|
+
};
|
|
14892
|
+
const de_DateTimeDatasetParameterValueList = (output, context) => {
|
|
14893
|
+
const retVal = (output || [])
|
|
14894
|
+
.filter((e) => e != null)
|
|
14895
|
+
.map((entry) => {
|
|
14896
|
+
return __expectNonNull(__parseEpochTimestamp(__expectNumber(entry)));
|
|
14897
|
+
});
|
|
14898
|
+
return retVal;
|
|
14899
|
+
};
|
|
13343
14900
|
const de_DateTimeDefaultValueList = (output, context) => {
|
|
13344
14901
|
const retVal = (output || [])
|
|
13345
14902
|
.filter((e) => e != null)
|
|
@@ -13364,6 +14921,7 @@ const de_DateTimeHierarchy = (output, context) => {
|
|
|
13364
14921
|
const de_DateTimeParameterDeclaration = (output, context) => {
|
|
13365
14922
|
return take(output, {
|
|
13366
14923
|
DefaultValues: (_) => de_DateTimeDefaultValues(_, context),
|
|
14924
|
+
MappedDataSetParameters: _json,
|
|
13367
14925
|
Name: __expectString,
|
|
13368
14926
|
TimeGranularity: __expectString,
|
|
13369
14927
|
ValueWhenUnset: (_) => de_DateTimeValueWhenUnsetConfiguration(_, context),
|
|
@@ -13375,6 +14933,27 @@ const de_DateTimeValueWhenUnsetConfiguration = (output, context) => {
|
|
|
13375
14933
|
ValueWhenUnsetOption: __expectString,
|
|
13376
14934
|
});
|
|
13377
14935
|
};
|
|
14936
|
+
const de_DecimalDatasetParameter = (output, context) => {
|
|
14937
|
+
return take(output, {
|
|
14938
|
+
DefaultValues: (_) => de_DecimalDatasetParameterDefaultValues(_, context),
|
|
14939
|
+
Id: __expectString,
|
|
14940
|
+
Name: __expectString,
|
|
14941
|
+
ValueType: __expectString,
|
|
14942
|
+
});
|
|
14943
|
+
};
|
|
14944
|
+
const de_DecimalDatasetParameterDefaultValues = (output, context) => {
|
|
14945
|
+
return take(output, {
|
|
14946
|
+
StaticValues: (_) => de_DecimalDatasetParameterValueList(_, context),
|
|
14947
|
+
});
|
|
14948
|
+
};
|
|
14949
|
+
const de_DecimalDatasetParameterValueList = (output, context) => {
|
|
14950
|
+
const retVal = (output || [])
|
|
14951
|
+
.filter((e) => e != null)
|
|
14952
|
+
.map((entry) => {
|
|
14953
|
+
return __limitedParseDouble(entry);
|
|
14954
|
+
});
|
|
14955
|
+
return retVal;
|
|
14956
|
+
};
|
|
13378
14957
|
const de_DecimalDefaultValueList = (output, context) => {
|
|
13379
14958
|
const retVal = (output || [])
|
|
13380
14959
|
.filter((e) => e != null)
|
|
@@ -13392,6 +14971,7 @@ const de_DecimalDefaultValues = (output, context) => {
|
|
|
13392
14971
|
const de_DecimalParameterDeclaration = (output, context) => {
|
|
13393
14972
|
return take(output, {
|
|
13394
14973
|
DefaultValues: (_) => de_DecimalDefaultValues(_, context),
|
|
14974
|
+
MappedDataSetParameters: _json,
|
|
13395
14975
|
Name: __expectString,
|
|
13396
14976
|
ParameterValueType: __expectString,
|
|
13397
14977
|
ValueWhenUnset: (_) => de_DecimalValueWhenUnsetConfiguration(_, context),
|
|
@@ -13407,6 +14987,7 @@ const de_DestinationParameterValueConfiguration = (output, context) => {
|
|
|
13407
14987
|
return take(output, {
|
|
13408
14988
|
CustomValuesConfiguration: (_) => de_CustomValuesConfiguration(_, context),
|
|
13409
14989
|
SelectAllValueOptions: __expectString,
|
|
14990
|
+
SourceColumn: _json,
|
|
13410
14991
|
SourceField: __expectString,
|
|
13411
14992
|
SourceParameterName: __expectString,
|
|
13412
14993
|
});
|
|
@@ -14124,6 +15705,22 @@ const de_LineSeriesAxisDisplayOptions = (output, context) => {
|
|
|
14124
15705
|
MissingDataConfigurations: _json,
|
|
14125
15706
|
});
|
|
14126
15707
|
};
|
|
15708
|
+
const de_LogicalTable = (output, context) => {
|
|
15709
|
+
return take(output, {
|
|
15710
|
+
Alias: __expectString,
|
|
15711
|
+
DataTransforms: (_) => de_TransformOperationList(_, context),
|
|
15712
|
+
Source: _json,
|
|
15713
|
+
});
|
|
15714
|
+
};
|
|
15715
|
+
const de_LogicalTableMap = (output, context) => {
|
|
15716
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
15717
|
+
if (value === null) {
|
|
15718
|
+
return acc;
|
|
15719
|
+
}
|
|
15720
|
+
acc[key] = de_LogicalTable(value, context);
|
|
15721
|
+
return acc;
|
|
15722
|
+
}, {});
|
|
15723
|
+
};
|
|
14127
15724
|
const de_MaximumMinimumComputation = (output, context) => {
|
|
14128
15725
|
return take(output, {
|
|
14129
15726
|
ComputationId: __expectString,
|
|
@@ -14158,6 +15755,14 @@ const de_MetricComparisonComputation = (output, context) => {
|
|
|
14158
15755
|
Time: _json,
|
|
14159
15756
|
});
|
|
14160
15757
|
};
|
|
15758
|
+
const de_NewDefaultValues = (output, context) => {
|
|
15759
|
+
return take(output, {
|
|
15760
|
+
DateTimeStaticValues: (_) => de_DateTimeDatasetParameterValueList(_, context),
|
|
15761
|
+
DecimalStaticValues: (_) => de_DecimalDatasetParameterValueList(_, context),
|
|
15762
|
+
IntegerStaticValues: _json,
|
|
15763
|
+
StringStaticValues: _json,
|
|
15764
|
+
});
|
|
15765
|
+
};
|
|
14161
15766
|
const de_NumericalAggregationFunction = (output, context) => {
|
|
14162
15767
|
return take(output, {
|
|
14163
15768
|
PercentileAggregation: (_) => de_PercentileAggregation(_, context),
|
|
@@ -14215,6 +15820,13 @@ const de_NumericRangeFilterValue = (output, context) => {
|
|
|
14215
15820
|
StaticValue: __limitedParseDouble,
|
|
14216
15821
|
});
|
|
14217
15822
|
};
|
|
15823
|
+
const de_OverrideDatasetParameterOperation = (output, context) => {
|
|
15824
|
+
return take(output, {
|
|
15825
|
+
NewDefaultValues: (_) => de_NewDefaultValues(_, context),
|
|
15826
|
+
NewParameterName: __expectString,
|
|
15827
|
+
ParameterName: __expectString,
|
|
15828
|
+
});
|
|
15829
|
+
};
|
|
14218
15830
|
const de_ParameterControl = (output, context) => {
|
|
14219
15831
|
return take(output, {
|
|
14220
15832
|
DateTimePicker: _json,
|
|
@@ -14585,6 +16197,7 @@ const de_SankeyDiagramVisual = (output, context) => {
|
|
|
14585
16197
|
const de_ScatterPlotCategoricallyAggregatedFieldWells = (output, context) => {
|
|
14586
16198
|
return take(output, {
|
|
14587
16199
|
Category: _json,
|
|
16200
|
+
Label: _json,
|
|
14588
16201
|
Size: (_) => de_MeasureFieldList(_, context),
|
|
14589
16202
|
XAxis: (_) => de_MeasureFieldList(_, context),
|
|
14590
16203
|
YAxis: (_) => de_MeasureFieldList(_, context),
|
|
@@ -14611,6 +16224,8 @@ const de_ScatterPlotFieldWells = (output, context) => {
|
|
|
14611
16224
|
};
|
|
14612
16225
|
const de_ScatterPlotUnaggregatedFieldWells = (output, context) => {
|
|
14613
16226
|
return take(output, {
|
|
16227
|
+
Category: _json,
|
|
16228
|
+
Label: _json,
|
|
14614
16229
|
Size: (_) => de_MeasureFieldList(_, context),
|
|
14615
16230
|
XAxis: _json,
|
|
14616
16231
|
YAxis: _json,
|
|
@@ -14986,6 +16601,32 @@ const de_TopBottomRankedComputation = (output, context) => {
|
|
|
14986
16601
|
Value: (_) => de_MeasureField(_, context),
|
|
14987
16602
|
});
|
|
14988
16603
|
};
|
|
16604
|
+
const de_TopicRefreshSchedule = (output, context) => {
|
|
16605
|
+
return take(output, {
|
|
16606
|
+
BasedOnSpiceSchedule: __expectBoolean,
|
|
16607
|
+
IsEnabled: __expectBoolean,
|
|
16608
|
+
RepeatAt: __expectString,
|
|
16609
|
+
StartingAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16610
|
+
Timezone: __expectString,
|
|
16611
|
+
TopicScheduleType: __expectString,
|
|
16612
|
+
});
|
|
16613
|
+
};
|
|
16614
|
+
const de_TopicRefreshScheduleSummaries = (output, context) => {
|
|
16615
|
+
const retVal = (output || [])
|
|
16616
|
+
.filter((e) => e != null)
|
|
16617
|
+
.map((entry) => {
|
|
16618
|
+
return de_TopicRefreshScheduleSummary(entry, context);
|
|
16619
|
+
});
|
|
16620
|
+
return retVal;
|
|
16621
|
+
};
|
|
16622
|
+
const de_TopicRefreshScheduleSummary = (output, context) => {
|
|
16623
|
+
return take(output, {
|
|
16624
|
+
DatasetArn: __expectString,
|
|
16625
|
+
DatasetId: __expectString,
|
|
16626
|
+
DatasetName: __expectString,
|
|
16627
|
+
RefreshSchedule: (_) => de_TopicRefreshSchedule(_, context),
|
|
16628
|
+
});
|
|
16629
|
+
};
|
|
14989
16630
|
const de_TotalAggregationComputation = (output, context) => {
|
|
14990
16631
|
return take(output, {
|
|
14991
16632
|
ComputationId: __expectString,
|
|
@@ -14993,6 +16634,57 @@ const de_TotalAggregationComputation = (output, context) => {
|
|
|
14993
16634
|
Value: (_) => de_MeasureField(_, context),
|
|
14994
16635
|
});
|
|
14995
16636
|
};
|
|
16637
|
+
const de_TransformOperation = (output, context) => {
|
|
16638
|
+
if (output.CastColumnTypeOperation != null) {
|
|
16639
|
+
return {
|
|
16640
|
+
CastColumnTypeOperation: _json(output.CastColumnTypeOperation),
|
|
16641
|
+
};
|
|
16642
|
+
}
|
|
16643
|
+
if (output.CreateColumnsOperation != null) {
|
|
16644
|
+
return {
|
|
16645
|
+
CreateColumnsOperation: _json(output.CreateColumnsOperation),
|
|
16646
|
+
};
|
|
16647
|
+
}
|
|
16648
|
+
if (output.FilterOperation != null) {
|
|
16649
|
+
return {
|
|
16650
|
+
FilterOperation: _json(output.FilterOperation),
|
|
16651
|
+
};
|
|
16652
|
+
}
|
|
16653
|
+
if (output.OverrideDatasetParameterOperation != null) {
|
|
16654
|
+
return {
|
|
16655
|
+
OverrideDatasetParameterOperation: de_OverrideDatasetParameterOperation(output.OverrideDatasetParameterOperation, context),
|
|
16656
|
+
};
|
|
16657
|
+
}
|
|
16658
|
+
if (output.ProjectOperation != null) {
|
|
16659
|
+
return {
|
|
16660
|
+
ProjectOperation: _json(output.ProjectOperation),
|
|
16661
|
+
};
|
|
16662
|
+
}
|
|
16663
|
+
if (output.RenameColumnOperation != null) {
|
|
16664
|
+
return {
|
|
16665
|
+
RenameColumnOperation: _json(output.RenameColumnOperation),
|
|
16666
|
+
};
|
|
16667
|
+
}
|
|
16668
|
+
if (output.TagColumnOperation != null) {
|
|
16669
|
+
return {
|
|
16670
|
+
TagColumnOperation: _json(output.TagColumnOperation),
|
|
16671
|
+
};
|
|
16672
|
+
}
|
|
16673
|
+
if (output.UntagColumnOperation != null) {
|
|
16674
|
+
return {
|
|
16675
|
+
UntagColumnOperation: _json(output.UntagColumnOperation),
|
|
16676
|
+
};
|
|
16677
|
+
}
|
|
16678
|
+
return { $unknown: Object.entries(output)[0] };
|
|
16679
|
+
};
|
|
16680
|
+
const de_TransformOperationList = (output, context) => {
|
|
16681
|
+
const retVal = (output || [])
|
|
16682
|
+
.filter((e) => e != null)
|
|
16683
|
+
.map((entry) => {
|
|
16684
|
+
return de_TransformOperation(__expectUnion(entry), context);
|
|
16685
|
+
});
|
|
16686
|
+
return retVal;
|
|
16687
|
+
};
|
|
14996
16688
|
const de_TreeMapAggregatedFieldWells = (output, context) => {
|
|
14997
16689
|
return take(output, {
|
|
14998
16690
|
Colors: (_) => de_TreeMapMeasureFieldList(_, context),
|
|
@@ -15115,6 +16807,46 @@ const de_VisualList = (output, context) => {
|
|
|
15115
16807
|
});
|
|
15116
16808
|
return retVal;
|
|
15117
16809
|
};
|
|
16810
|
+
const de_VPCConnection = (output, context) => {
|
|
16811
|
+
return take(output, {
|
|
16812
|
+
Arn: __expectString,
|
|
16813
|
+
AvailabilityStatus: __expectString,
|
|
16814
|
+
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16815
|
+
DnsResolvers: _json,
|
|
16816
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16817
|
+
Name: __expectString,
|
|
16818
|
+
NetworkInterfaces: _json,
|
|
16819
|
+
RoleArn: __expectString,
|
|
16820
|
+
SecurityGroupIds: _json,
|
|
16821
|
+
Status: __expectString,
|
|
16822
|
+
VPCConnectionId: __expectString,
|
|
16823
|
+
VPCId: __expectString,
|
|
16824
|
+
});
|
|
16825
|
+
};
|
|
16826
|
+
const de_VPCConnectionSummary = (output, context) => {
|
|
16827
|
+
return take(output, {
|
|
16828
|
+
Arn: __expectString,
|
|
16829
|
+
AvailabilityStatus: __expectString,
|
|
16830
|
+
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16831
|
+
DnsResolvers: _json,
|
|
16832
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
16833
|
+
Name: __expectString,
|
|
16834
|
+
NetworkInterfaces: _json,
|
|
16835
|
+
RoleArn: __expectString,
|
|
16836
|
+
SecurityGroupIds: _json,
|
|
16837
|
+
Status: __expectString,
|
|
16838
|
+
VPCConnectionId: __expectString,
|
|
16839
|
+
VPCId: __expectString,
|
|
16840
|
+
});
|
|
16841
|
+
};
|
|
16842
|
+
const de_VPCConnectionSummaryList = (output, context) => {
|
|
16843
|
+
const retVal = (output || [])
|
|
16844
|
+
.filter((e) => e != null)
|
|
16845
|
+
.map((entry) => {
|
|
16846
|
+
return de_VPCConnectionSummary(entry, context);
|
|
16847
|
+
});
|
|
16848
|
+
return retVal;
|
|
16849
|
+
};
|
|
15118
16850
|
const de_WaterfallChartAggregatedFieldWells = (output, context) => {
|
|
15119
16851
|
return take(output, {
|
|
15120
16852
|
Breakdowns: _json,
|