@aws-sdk/client-quicksight 3.121.0 → 3.128.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/CHANGELOG.md +27 -0
- package/dist-cjs/QuickSight.js +30 -0
- package/dist-cjs/commands/CreateAccountSubscriptionCommand.js +36 -0
- package/dist-cjs/commands/DescribeAccountSubscriptionCommand.js +36 -0
- package/dist-cjs/commands/DescribeThemeAliasCommand.js +3 -3
- package/dist-cjs/commands/DescribeThemeCommand.js +2 -1
- package/dist-cjs/commands/DescribeThemePermissionsCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +64 -63
- package/dist-cjs/models/models_1.js +46 -3
- package/dist-cjs/protocols/Aws_restJson1.js +732 -775
- package/dist-es/QuickSight.js +30 -0
- package/dist-es/commands/CreateAccountSubscriptionCommand.js +39 -0
- package/dist-es/commands/DescribeAccountSubscriptionCommand.js +39 -0
- package/dist-es/commands/DescribeThemeAliasCommand.js +1 -1
- package/dist-es/commands/DescribeThemeCommand.js +2 -1
- package/dist-es/commands/DescribeThemePermissionsCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +45 -42
- package/dist-es/models/models_1.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +601 -600
- package/dist-types/QuickSight.d.ts +62 -22
- package/dist-types/QuickSightClient.d.ts +4 -2
- package/dist-types/commands/CreateAccountCustomizationCommand.d.ts +4 -5
- package/dist-types/commands/CreateAccountSubscriptionCommand.d.ts +62 -0
- package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +35 -0
- package/dist-types/commands/DescribeThemeAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThemeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +2 -4
- package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +2 -1
- package/dist-types/commands/GetDashboardEmbedUrlCommand.d.ts +3 -7
- package/dist-types/commands/UpdateAccountCustomizationCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePublicSharingSettingsCommand.d.ts +9 -3
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +299 -213
- package/dist-types/models/models_1.d.ts +212 -18
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/QuickSight.d.ts +10 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateAccountSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -116
- package/dist-types/ts3.4/models/models_1.d.ts +108 -1857
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +26 -26
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = void 0;
|
|
3
|
+
exports.serializeAws_restJson1DescribeGroupCommand = exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.serializeAws_restJson1DescribeFolderPermissionsCommand = exports.serializeAws_restJson1DescribeFolderCommand = exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.serializeAws_restJson1DescribeDataSourceCommand = exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = exports.serializeAws_restJson1DescribeDataSetCommand = exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = exports.serializeAws_restJson1DescribeDashboardCommand = exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.serializeAws_restJson1DescribeAnalysisCommand = exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = exports.serializeAws_restJson1DescribeAccountSettingsCommand = exports.serializeAws_restJson1DescribeAccountCustomizationCommand = exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteThemeAliasCommand = exports.serializeAws_restJson1DeleteThemeCommand = exports.serializeAws_restJson1DeleteTemplateAliasCommand = exports.serializeAws_restJson1DeleteTemplateCommand = exports.serializeAws_restJson1DeleteNamespaceCommand = exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DeleteGroupMembershipCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1DeleteFolderMembershipCommand = exports.serializeAws_restJson1DeleteFolderCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteDashboardCommand = exports.serializeAws_restJson1DeleteAnalysisCommand = exports.serializeAws_restJson1DeleteAccountCustomizationCommand = exports.serializeAws_restJson1CreateThemeAliasCommand = exports.serializeAws_restJson1CreateThemeCommand = exports.serializeAws_restJson1CreateTemplateAliasCommand = exports.serializeAws_restJson1CreateTemplateCommand = exports.serializeAws_restJson1CreateNamespaceCommand = exports.serializeAws_restJson1CreateIngestionCommand = exports.serializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1CreateGroupMembershipCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1CreateFolderMembershipCommand = exports.serializeAws_restJson1CreateFolderCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CreateDashboardCommand = exports.serializeAws_restJson1CreateAnalysisCommand = exports.serializeAws_restJson1CreateAccountSubscriptionCommand = exports.serializeAws_restJson1CreateAccountCustomizationCommand = exports.serializeAws_restJson1CancelIngestionCommand = void 0;
|
|
4
|
+
exports.serializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.serializeAws_restJson1UpdateAnalysisCommand = exports.serializeAws_restJson1UpdateAccountSettingsCommand = exports.serializeAws_restJson1UpdateAccountCustomizationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchGroupsCommand = exports.serializeAws_restJson1SearchFoldersCommand = exports.serializeAws_restJson1SearchDashboardsCommand = exports.serializeAws_restJson1SearchAnalysesCommand = exports.serializeAws_restJson1RestoreAnalysisCommand = exports.serializeAws_restJson1RegisterUserCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserGroupsCommand = exports.serializeAws_restJson1ListThemeVersionsCommand = exports.serializeAws_restJson1ListThemesCommand = exports.serializeAws_restJson1ListThemeAliasesCommand = exports.serializeAws_restJson1ListTemplateVersionsCommand = exports.serializeAws_restJson1ListTemplatesCommand = exports.serializeAws_restJson1ListTemplateAliasesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNamespacesCommand = exports.serializeAws_restJson1ListIngestionsCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.serializeAws_restJson1ListGroupsCommand = exports.serializeAws_restJson1ListGroupMembershipsCommand = exports.serializeAws_restJson1ListFoldersCommand = exports.serializeAws_restJson1ListFolderMembersCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDashboardVersionsCommand = exports.serializeAws_restJson1ListDashboardsCommand = exports.serializeAws_restJson1ListAnalysesCommand = exports.serializeAws_restJson1GetSessionEmbedUrlCommand = exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeThemePermissionsCommand = exports.serializeAws_restJson1DescribeThemeAliasCommand = exports.serializeAws_restJson1DescribeThemeCommand = exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = exports.serializeAws_restJson1DescribeTemplateAliasCommand = exports.serializeAws_restJson1DescribeTemplateCommand = exports.serializeAws_restJson1DescribeNamespaceCommand = exports.serializeAws_restJson1DescribeIpRestrictionCommand = exports.serializeAws_restJson1DescribeIngestionCommand = exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DescribeGroupMembershipCommand = void 0;
|
|
5
|
+
exports.deserializeAws_restJson1DeleteTemplateCommand = exports.deserializeAws_restJson1DeleteNamespaceCommand = exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DeleteGroupMembershipCommand = exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1DeleteFolderMembershipCommand = exports.deserializeAws_restJson1DeleteFolderCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteDashboardCommand = exports.deserializeAws_restJson1DeleteAnalysisCommand = exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = exports.deserializeAws_restJson1CreateThemeAliasCommand = exports.deserializeAws_restJson1CreateThemeCommand = exports.deserializeAws_restJson1CreateTemplateAliasCommand = exports.deserializeAws_restJson1CreateTemplateCommand = exports.deserializeAws_restJson1CreateNamespaceCommand = exports.deserializeAws_restJson1CreateIngestionCommand = exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1CreateGroupMembershipCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1CreateFolderMembershipCommand = exports.deserializeAws_restJson1CreateFolderCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CreateDashboardCommand = exports.deserializeAws_restJson1CreateAnalysisCommand = exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = exports.deserializeAws_restJson1CreateAccountCustomizationCommand = exports.deserializeAws_restJson1CancelIngestionCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdateThemePermissionsCommand = exports.serializeAws_restJson1UpdateThemeAliasCommand = exports.serializeAws_restJson1UpdateThemeCommand = exports.serializeAws_restJson1UpdateTemplatePermissionsCommand = exports.serializeAws_restJson1UpdateTemplateAliasCommand = exports.serializeAws_restJson1UpdateTemplateCommand = exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.serializeAws_restJson1UpdateIpRestrictionCommand = exports.serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UpdateFolderPermissionsCommand = exports.serializeAws_restJson1UpdateFolderCommand = exports.serializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateDataSetPermissionsCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = exports.serializeAws_restJson1UpdateDashboardCommand = void 0;
|
|
6
|
+
exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNamespacesCommand = exports.deserializeAws_restJson1ListIngestionsCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.deserializeAws_restJson1ListGroupsCommand = exports.deserializeAws_restJson1ListGroupMembershipsCommand = exports.deserializeAws_restJson1ListFoldersCommand = exports.deserializeAws_restJson1ListFolderMembersCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDashboardVersionsCommand = exports.deserializeAws_restJson1ListDashboardsCommand = exports.deserializeAws_restJson1ListAnalysesCommand = exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeThemePermissionsCommand = exports.deserializeAws_restJson1DescribeThemeAliasCommand = exports.deserializeAws_restJson1DescribeThemeCommand = exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = exports.deserializeAws_restJson1DescribeTemplateAliasCommand = exports.deserializeAws_restJson1DescribeTemplateCommand = exports.deserializeAws_restJson1DescribeNamespaceCommand = exports.deserializeAws_restJson1DescribeIpRestrictionCommand = exports.deserializeAws_restJson1DescribeIngestionCommand = exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DescribeGroupMembershipCommand = exports.deserializeAws_restJson1DescribeGroupCommand = exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderCommand = exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.deserializeAws_restJson1DescribeDataSourceCommand = exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = exports.deserializeAws_restJson1DescribeDataSetCommand = exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = exports.deserializeAws_restJson1DescribeDashboardCommand = exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.deserializeAws_restJson1DescribeAnalysisCommand = exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = exports.deserializeAws_restJson1DescribeAccountSettingsCommand = exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteThemeAliasCommand = exports.deserializeAws_restJson1DeleteThemeCommand = exports.deserializeAws_restJson1DeleteTemplateAliasCommand = void 0;
|
|
7
|
+
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = void 0;
|
|
8
8
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
@@ -78,12 +78,10 @@ const serializeAws_restJson1CreateAccountCustomizationCommand = async (input, co
|
|
|
78
78
|
};
|
|
79
79
|
let body;
|
|
80
80
|
body = JSON.stringify({
|
|
81
|
-
...(input.AccountCustomization
|
|
82
|
-
input.AccountCustomization !== null && {
|
|
81
|
+
...(input.AccountCustomization != null && {
|
|
83
82
|
AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
|
|
84
83
|
}),
|
|
85
|
-
...(input.Tags
|
|
86
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
84
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
87
85
|
});
|
|
88
86
|
return new protocol_http_1.HttpRequest({
|
|
89
87
|
protocol,
|
|
@@ -97,6 +95,50 @@ const serializeAws_restJson1CreateAccountCustomizationCommand = async (input, co
|
|
|
97
95
|
});
|
|
98
96
|
};
|
|
99
97
|
exports.serializeAws_restJson1CreateAccountCustomizationCommand = serializeAws_restJson1CreateAccountCustomizationCommand;
|
|
98
|
+
const serializeAws_restJson1CreateAccountSubscriptionCommand = async (input, context) => {
|
|
99
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
100
|
+
const headers = {
|
|
101
|
+
"content-type": "application/json",
|
|
102
|
+
};
|
|
103
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
|
|
104
|
+
if (input.AwsAccountId !== undefined) {
|
|
105
|
+
const labelValue = input.AwsAccountId;
|
|
106
|
+
if (labelValue.length <= 0) {
|
|
107
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
108
|
+
}
|
|
109
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
113
|
+
}
|
|
114
|
+
let body;
|
|
115
|
+
body = JSON.stringify({
|
|
116
|
+
...(input.AccountName != null && { AccountName: input.AccountName }),
|
|
117
|
+
...(input.ActiveDirectoryName != null && { ActiveDirectoryName: input.ActiveDirectoryName }),
|
|
118
|
+
...(input.AdminGroup != null && { AdminGroup: serializeAws_restJson1GroupsList(input.AdminGroup, context) }),
|
|
119
|
+
...(input.AuthenticationMethod != null && { AuthenticationMethod: input.AuthenticationMethod }),
|
|
120
|
+
...(input.AuthorGroup != null && { AuthorGroup: serializeAws_restJson1GroupsList(input.AuthorGroup, context) }),
|
|
121
|
+
...(input.ContactNumber != null && { ContactNumber: input.ContactNumber }),
|
|
122
|
+
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
123
|
+
...(input.Edition != null && { Edition: input.Edition }),
|
|
124
|
+
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
125
|
+
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
126
|
+
...(input.LastName != null && { LastName: input.LastName }),
|
|
127
|
+
...(input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail }),
|
|
128
|
+
...(input.ReaderGroup != null && { ReaderGroup: serializeAws_restJson1GroupsList(input.ReaderGroup, context) }),
|
|
129
|
+
...(input.Realm != null && { Realm: input.Realm }),
|
|
130
|
+
});
|
|
131
|
+
return new protocol_http_1.HttpRequest({
|
|
132
|
+
protocol,
|
|
133
|
+
hostname,
|
|
134
|
+
port,
|
|
135
|
+
method: "POST",
|
|
136
|
+
headers,
|
|
137
|
+
path: resolvedPath,
|
|
138
|
+
body,
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
exports.serializeAws_restJson1CreateAccountSubscriptionCommand = serializeAws_restJson1CreateAccountSubscriptionCommand;
|
|
100
142
|
const serializeAws_restJson1CreateAnalysisCommand = async (input, context) => {
|
|
101
143
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
102
144
|
const headers = {
|
|
@@ -126,20 +168,16 @@ const serializeAws_restJson1CreateAnalysisCommand = async (input, context) => {
|
|
|
126
168
|
}
|
|
127
169
|
let body;
|
|
128
170
|
body = JSON.stringify({
|
|
129
|
-
...(input.Name
|
|
130
|
-
...(input.Parameters
|
|
131
|
-
|
|
132
|
-
...(input.Permissions !== undefined &&
|
|
133
|
-
input.Permissions !== null && {
|
|
171
|
+
...(input.Name != null && { Name: input.Name }),
|
|
172
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) }),
|
|
173
|
+
...(input.Permissions != null && {
|
|
134
174
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
135
175
|
}),
|
|
136
|
-
...(input.SourceEntity
|
|
137
|
-
input.SourceEntity !== null && {
|
|
176
|
+
...(input.SourceEntity != null && {
|
|
138
177
|
SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
|
|
139
178
|
}),
|
|
140
|
-
...(input.Tags
|
|
141
|
-
|
|
142
|
-
...(input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn }),
|
|
179
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
180
|
+
...(input.ThemeArn != null && { ThemeArn: input.ThemeArn }),
|
|
143
181
|
});
|
|
144
182
|
return new protocol_http_1.HttpRequest({
|
|
145
183
|
protocol,
|
|
@@ -181,26 +219,20 @@ const serializeAws_restJson1CreateDashboardCommand = async (input, context) => {
|
|
|
181
219
|
}
|
|
182
220
|
let body;
|
|
183
221
|
body = JSON.stringify({
|
|
184
|
-
...(input.DashboardPublishOptions
|
|
185
|
-
input.DashboardPublishOptions !== null && {
|
|
222
|
+
...(input.DashboardPublishOptions != null && {
|
|
186
223
|
DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
|
|
187
224
|
}),
|
|
188
|
-
...(input.Name
|
|
189
|
-
...(input.Parameters
|
|
190
|
-
|
|
191
|
-
...(input.Permissions !== undefined &&
|
|
192
|
-
input.Permissions !== null && {
|
|
225
|
+
...(input.Name != null && { Name: input.Name }),
|
|
226
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) }),
|
|
227
|
+
...(input.Permissions != null && {
|
|
193
228
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
194
229
|
}),
|
|
195
|
-
...(input.SourceEntity
|
|
196
|
-
input.SourceEntity !== null && {
|
|
230
|
+
...(input.SourceEntity != null && {
|
|
197
231
|
SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
|
|
198
232
|
}),
|
|
199
|
-
...(input.Tags
|
|
200
|
-
|
|
201
|
-
...(input.
|
|
202
|
-
...(input.VersionDescription !== undefined &&
|
|
203
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
233
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
234
|
+
...(input.ThemeArn != null && { ThemeArn: input.ThemeArn }),
|
|
235
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
204
236
|
});
|
|
205
237
|
return new protocol_http_1.HttpRequest({
|
|
206
238
|
protocol,
|
|
@@ -231,47 +263,37 @@ const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
|
|
|
231
263
|
}
|
|
232
264
|
let body;
|
|
233
265
|
body = JSON.stringify({
|
|
234
|
-
...(input.ColumnGroups
|
|
235
|
-
input.ColumnGroups !== null && {
|
|
266
|
+
...(input.ColumnGroups != null && {
|
|
236
267
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
237
268
|
}),
|
|
238
|
-
...(input.ColumnLevelPermissionRules
|
|
239
|
-
input.ColumnLevelPermissionRules !== null && {
|
|
269
|
+
...(input.ColumnLevelPermissionRules != null && {
|
|
240
270
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
241
271
|
}),
|
|
242
|
-
...(input.DataSetId
|
|
243
|
-
...(input.DataSetUsageConfiguration
|
|
244
|
-
input.DataSetUsageConfiguration !== null && {
|
|
272
|
+
...(input.DataSetId != null && { DataSetId: input.DataSetId }),
|
|
273
|
+
...(input.DataSetUsageConfiguration != null && {
|
|
245
274
|
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
246
275
|
}),
|
|
247
|
-
...(input.FieldFolders
|
|
248
|
-
input.FieldFolders !== null && {
|
|
276
|
+
...(input.FieldFolders != null && {
|
|
249
277
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
250
278
|
}),
|
|
251
|
-
...(input.ImportMode
|
|
252
|
-
...(input.LogicalTableMap
|
|
253
|
-
input.LogicalTableMap !== null && {
|
|
279
|
+
...(input.ImportMode != null && { ImportMode: input.ImportMode }),
|
|
280
|
+
...(input.LogicalTableMap != null && {
|
|
254
281
|
LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
|
|
255
282
|
}),
|
|
256
|
-
...(input.Name
|
|
257
|
-
...(input.Permissions
|
|
258
|
-
input.Permissions !== null && {
|
|
283
|
+
...(input.Name != null && { Name: input.Name }),
|
|
284
|
+
...(input.Permissions != null && {
|
|
259
285
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
260
286
|
}),
|
|
261
|
-
...(input.PhysicalTableMap
|
|
262
|
-
input.PhysicalTableMap !== null && {
|
|
287
|
+
...(input.PhysicalTableMap != null && {
|
|
263
288
|
PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
|
|
264
289
|
}),
|
|
265
|
-
...(input.RowLevelPermissionDataSet
|
|
266
|
-
input.RowLevelPermissionDataSet !== null && {
|
|
290
|
+
...(input.RowLevelPermissionDataSet != null && {
|
|
267
291
|
RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
|
|
268
292
|
}),
|
|
269
|
-
...(input.RowLevelPermissionTagConfiguration
|
|
270
|
-
input.RowLevelPermissionTagConfiguration !== null && {
|
|
293
|
+
...(input.RowLevelPermissionTagConfiguration != null && {
|
|
271
294
|
RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
|
|
272
295
|
}),
|
|
273
|
-
...(input.Tags
|
|
274
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
296
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
275
297
|
});
|
|
276
298
|
return new protocol_http_1.HttpRequest({
|
|
277
299
|
protocol,
|
|
@@ -302,29 +324,23 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
|
|
|
302
324
|
}
|
|
303
325
|
let body;
|
|
304
326
|
body = JSON.stringify({
|
|
305
|
-
...(input.Credentials
|
|
306
|
-
input.Credentials !== null && {
|
|
327
|
+
...(input.Credentials != null && {
|
|
307
328
|
Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
|
|
308
329
|
}),
|
|
309
|
-
...(input.DataSourceId
|
|
310
|
-
...(input.DataSourceParameters
|
|
311
|
-
input.DataSourceParameters !== null && {
|
|
330
|
+
...(input.DataSourceId != null && { DataSourceId: input.DataSourceId }),
|
|
331
|
+
...(input.DataSourceParameters != null && {
|
|
312
332
|
DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
|
|
313
333
|
}),
|
|
314
|
-
...(input.Name
|
|
315
|
-
...(input.Permissions
|
|
316
|
-
input.Permissions !== null && {
|
|
334
|
+
...(input.Name != null && { Name: input.Name }),
|
|
335
|
+
...(input.Permissions != null && {
|
|
317
336
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
318
337
|
}),
|
|
319
|
-
...(input.SslProperties
|
|
320
|
-
input.SslProperties !== null && {
|
|
338
|
+
...(input.SslProperties != null && {
|
|
321
339
|
SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
|
|
322
340
|
}),
|
|
323
|
-
...(input.Tags
|
|
324
|
-
|
|
325
|
-
...(input.
|
|
326
|
-
...(input.VpcConnectionProperties !== undefined &&
|
|
327
|
-
input.VpcConnectionProperties !== null && {
|
|
341
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
342
|
+
...(input.Type != null && { Type: input.Type }),
|
|
343
|
+
...(input.VpcConnectionProperties != null && {
|
|
328
344
|
VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
|
|
329
345
|
}),
|
|
330
346
|
});
|
|
@@ -368,16 +384,13 @@ const serializeAws_restJson1CreateFolderCommand = async (input, context) => {
|
|
|
368
384
|
}
|
|
369
385
|
let body;
|
|
370
386
|
body = JSON.stringify({
|
|
371
|
-
...(input.FolderType
|
|
372
|
-
...(input.Name
|
|
373
|
-
...(input.ParentFolderArn
|
|
374
|
-
|
|
375
|
-
...(input.Permissions !== undefined &&
|
|
376
|
-
input.Permissions !== null && {
|
|
387
|
+
...(input.FolderType != null && { FolderType: input.FolderType }),
|
|
388
|
+
...(input.Name != null && { Name: input.Name }),
|
|
389
|
+
...(input.ParentFolderArn != null && { ParentFolderArn: input.ParentFolderArn }),
|
|
390
|
+
...(input.Permissions != null && {
|
|
377
391
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
378
392
|
}),
|
|
379
|
-
...(input.Tags
|
|
380
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
393
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
381
394
|
});
|
|
382
395
|
return new protocol_http_1.HttpRequest({
|
|
383
396
|
protocol,
|
|
@@ -476,8 +489,8 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
|
|
|
476
489
|
}
|
|
477
490
|
let body;
|
|
478
491
|
body = JSON.stringify({
|
|
479
|
-
...(input.Description
|
|
480
|
-
...(input.GroupName
|
|
492
|
+
...(input.Description != null && { Description: input.Description }),
|
|
493
|
+
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
481
494
|
});
|
|
482
495
|
return new protocol_http_1.HttpRequest({
|
|
483
496
|
protocol,
|
|
@@ -576,13 +589,10 @@ const serializeAws_restJson1CreateIAMPolicyAssignmentCommand = async (input, con
|
|
|
576
589
|
}
|
|
577
590
|
let body;
|
|
578
591
|
body = JSON.stringify({
|
|
579
|
-
...(input.AssignmentName
|
|
580
|
-
|
|
581
|
-
...(input.
|
|
582
|
-
|
|
583
|
-
...(input.Identities !== undefined &&
|
|
584
|
-
input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) }),
|
|
585
|
-
...(input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn }),
|
|
592
|
+
...(input.AssignmentName != null && { AssignmentName: input.AssignmentName }),
|
|
593
|
+
...(input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus }),
|
|
594
|
+
...(input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) }),
|
|
595
|
+
...(input.PolicyArn != null && { PolicyArn: input.PolicyArn }),
|
|
586
596
|
});
|
|
587
597
|
return new protocol_http_1.HttpRequest({
|
|
588
598
|
protocol,
|
|
@@ -634,7 +644,7 @@ const serializeAws_restJson1CreateIngestionCommand = async (input, context) => {
|
|
|
634
644
|
}
|
|
635
645
|
let body;
|
|
636
646
|
body = JSON.stringify({
|
|
637
|
-
...(input.IngestionType
|
|
647
|
+
...(input.IngestionType != null && { IngestionType: input.IngestionType }),
|
|
638
648
|
});
|
|
639
649
|
return new protocol_http_1.HttpRequest({
|
|
640
650
|
protocol,
|
|
@@ -665,10 +675,9 @@ const serializeAws_restJson1CreateNamespaceCommand = async (input, context) => {
|
|
|
665
675
|
}
|
|
666
676
|
let body;
|
|
667
677
|
body = JSON.stringify({
|
|
668
|
-
...(input.IdentityStore
|
|
669
|
-
...(input.Namespace
|
|
670
|
-
...(input.Tags
|
|
671
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
678
|
+
...(input.IdentityStore != null && { IdentityStore: input.IdentityStore }),
|
|
679
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
680
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
672
681
|
});
|
|
673
682
|
return new protocol_http_1.HttpRequest({
|
|
674
683
|
protocol,
|
|
@@ -710,19 +719,15 @@ const serializeAws_restJson1CreateTemplateCommand = async (input, context) => {
|
|
|
710
719
|
}
|
|
711
720
|
let body;
|
|
712
721
|
body = JSON.stringify({
|
|
713
|
-
...(input.Name
|
|
714
|
-
...(input.Permissions
|
|
715
|
-
input.Permissions !== null && {
|
|
722
|
+
...(input.Name != null && { Name: input.Name }),
|
|
723
|
+
...(input.Permissions != null && {
|
|
716
724
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
717
725
|
}),
|
|
718
|
-
...(input.SourceEntity
|
|
719
|
-
input.SourceEntity !== null && {
|
|
726
|
+
...(input.SourceEntity != null && {
|
|
720
727
|
SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
|
|
721
728
|
}),
|
|
722
|
-
...(input.Tags
|
|
723
|
-
|
|
724
|
-
...(input.VersionDescription !== undefined &&
|
|
725
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
729
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
730
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
726
731
|
});
|
|
727
732
|
return new protocol_http_1.HttpRequest({
|
|
728
733
|
protocol,
|
|
@@ -774,8 +779,7 @@ const serializeAws_restJson1CreateTemplateAliasCommand = async (input, context)
|
|
|
774
779
|
}
|
|
775
780
|
let body;
|
|
776
781
|
body = JSON.stringify({
|
|
777
|
-
...(input.TemplateVersionNumber
|
|
778
|
-
input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber }),
|
|
782
|
+
...(input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber }),
|
|
779
783
|
});
|
|
780
784
|
return new protocol_http_1.HttpRequest({
|
|
781
785
|
protocol,
|
|
@@ -816,20 +820,16 @@ const serializeAws_restJson1CreateThemeCommand = async (input, context) => {
|
|
|
816
820
|
}
|
|
817
821
|
let body;
|
|
818
822
|
body = JSON.stringify({
|
|
819
|
-
...(input.BaseThemeId
|
|
820
|
-
...(input.Configuration
|
|
821
|
-
input.Configuration !== null && {
|
|
823
|
+
...(input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId }),
|
|
824
|
+
...(input.Configuration != null && {
|
|
822
825
|
Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
|
|
823
826
|
}),
|
|
824
|
-
...(input.Name
|
|
825
|
-
...(input.Permissions
|
|
826
|
-
input.Permissions !== null && {
|
|
827
|
+
...(input.Name != null && { Name: input.Name }),
|
|
828
|
+
...(input.Permissions != null && {
|
|
827
829
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
828
830
|
}),
|
|
829
|
-
...(input.Tags
|
|
830
|
-
|
|
831
|
-
...(input.VersionDescription !== undefined &&
|
|
832
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
831
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
832
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
833
833
|
});
|
|
834
834
|
return new protocol_http_1.HttpRequest({
|
|
835
835
|
protocol,
|
|
@@ -881,8 +881,7 @@ const serializeAws_restJson1CreateThemeAliasCommand = async (input, context) =>
|
|
|
881
881
|
}
|
|
882
882
|
let body;
|
|
883
883
|
body = JSON.stringify({
|
|
884
|
-
...(input.ThemeVersionNumber
|
|
885
|
-
input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber }),
|
|
884
|
+
...(input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber }),
|
|
886
885
|
});
|
|
887
886
|
return new protocol_http_1.HttpRequest({
|
|
888
887
|
protocol,
|
|
@@ -1694,6 +1693,32 @@ const serializeAws_restJson1DescribeAccountSettingsCommand = async (input, conte
|
|
|
1694
1693
|
});
|
|
1695
1694
|
};
|
|
1696
1695
|
exports.serializeAws_restJson1DescribeAccountSettingsCommand = serializeAws_restJson1DescribeAccountSettingsCommand;
|
|
1696
|
+
const serializeAws_restJson1DescribeAccountSubscriptionCommand = async (input, context) => {
|
|
1697
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1698
|
+
const headers = {};
|
|
1699
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
|
|
1700
|
+
if (input.AwsAccountId !== undefined) {
|
|
1701
|
+
const labelValue = input.AwsAccountId;
|
|
1702
|
+
if (labelValue.length <= 0) {
|
|
1703
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
1704
|
+
}
|
|
1705
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1706
|
+
}
|
|
1707
|
+
else {
|
|
1708
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
1709
|
+
}
|
|
1710
|
+
let body;
|
|
1711
|
+
return new protocol_http_1.HttpRequest({
|
|
1712
|
+
protocol,
|
|
1713
|
+
hostname,
|
|
1714
|
+
port,
|
|
1715
|
+
method: "GET",
|
|
1716
|
+
headers,
|
|
1717
|
+
path: resolvedPath,
|
|
1718
|
+
body,
|
|
1719
|
+
});
|
|
1720
|
+
};
|
|
1721
|
+
exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = serializeAws_restJson1DescribeAccountSubscriptionCommand;
|
|
1697
1722
|
const serializeAws_restJson1DescribeAnalysisCommand = async (input, context) => {
|
|
1698
1723
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1699
1724
|
const headers = {};
|
|
@@ -2684,19 +2709,18 @@ const serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = async (inp
|
|
|
2684
2709
|
}
|
|
2685
2710
|
let body;
|
|
2686
2711
|
body = JSON.stringify({
|
|
2687
|
-
...(input.
|
|
2688
|
-
input.
|
|
2712
|
+
...(input.AllowedDomains != null && {
|
|
2713
|
+
AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
|
|
2714
|
+
}),
|
|
2715
|
+
...(input.AuthorizedResourceArns != null && {
|
|
2689
2716
|
AuthorizedResourceArns: serializeAws_restJson1ArnList(input.AuthorizedResourceArns, context),
|
|
2690
2717
|
}),
|
|
2691
|
-
...(input.ExperienceConfiguration
|
|
2692
|
-
input.ExperienceConfiguration !== null && {
|
|
2718
|
+
...(input.ExperienceConfiguration != null && {
|
|
2693
2719
|
ExperienceConfiguration: serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
|
|
2694
2720
|
}),
|
|
2695
|
-
...(input.Namespace
|
|
2696
|
-
...(input.SessionLifetimeInMinutes
|
|
2697
|
-
|
|
2698
|
-
...(input.SessionTags !== undefined &&
|
|
2699
|
-
input.SessionTags !== null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) }),
|
|
2721
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
2722
|
+
...(input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes }),
|
|
2723
|
+
...(input.SessionTags != null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) }),
|
|
2700
2724
|
});
|
|
2701
2725
|
return new protocol_http_1.HttpRequest({
|
|
2702
2726
|
protocol,
|
|
@@ -2728,13 +2752,14 @@ const serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = async (in
|
|
|
2728
2752
|
}
|
|
2729
2753
|
let body;
|
|
2730
2754
|
body = JSON.stringify({
|
|
2731
|
-
...(input.
|
|
2732
|
-
input.
|
|
2755
|
+
...(input.AllowedDomains != null && {
|
|
2756
|
+
AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
|
|
2757
|
+
}),
|
|
2758
|
+
...(input.ExperienceConfiguration != null && {
|
|
2733
2759
|
ExperienceConfiguration: serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
|
|
2734
2760
|
}),
|
|
2735
|
-
...(input.SessionLifetimeInMinutes
|
|
2736
|
-
|
|
2737
|
-
...(input.UserArn !== undefined && input.UserArn !== null && { UserArn: input.UserArn }),
|
|
2761
|
+
...(input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes }),
|
|
2762
|
+
...(input.UserArn != null && { UserArn: input.UserArn }),
|
|
2738
2763
|
});
|
|
2739
2764
|
return new protocol_http_1.HttpRequest({
|
|
2740
2765
|
protocol,
|
|
@@ -3202,8 +3227,7 @@ const serializeAws_restJson1ListIAMPolicyAssignmentsCommand = async (input, cont
|
|
|
3202
3227
|
};
|
|
3203
3228
|
let body;
|
|
3204
3229
|
body = JSON.stringify({
|
|
3205
|
-
...(input.AssignmentStatus
|
|
3206
|
-
input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus }),
|
|
3230
|
+
...(input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus }),
|
|
3207
3231
|
});
|
|
3208
3232
|
return new protocol_http_1.HttpRequest({
|
|
3209
3233
|
protocol,
|
|
@@ -3722,22 +3746,20 @@ const serializeAws_restJson1RegisterUserCommand = async (input, context) => {
|
|
|
3722
3746
|
}
|
|
3723
3747
|
let body;
|
|
3724
3748
|
body = JSON.stringify({
|
|
3725
|
-
...(input.CustomFederationProviderUrl
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
...(input.Email
|
|
3730
|
-
...(input.ExternalLoginFederationProviderType
|
|
3731
|
-
input.ExternalLoginFederationProviderType !== null && {
|
|
3749
|
+
...(input.CustomFederationProviderUrl != null && {
|
|
3750
|
+
CustomFederationProviderUrl: input.CustomFederationProviderUrl,
|
|
3751
|
+
}),
|
|
3752
|
+
...(input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName }),
|
|
3753
|
+
...(input.Email != null && { Email: input.Email }),
|
|
3754
|
+
...(input.ExternalLoginFederationProviderType != null && {
|
|
3732
3755
|
ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
|
|
3733
3756
|
}),
|
|
3734
|
-
...(input.ExternalLoginId
|
|
3735
|
-
|
|
3736
|
-
...(input.
|
|
3737
|
-
...(input.
|
|
3738
|
-
...(input.
|
|
3739
|
-
...(input.
|
|
3740
|
-
...(input.UserRole !== undefined && input.UserRole !== null && { UserRole: input.UserRole }),
|
|
3757
|
+
...(input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId }),
|
|
3758
|
+
...(input.IamArn != null && { IamArn: input.IamArn }),
|
|
3759
|
+
...(input.IdentityType != null && { IdentityType: input.IdentityType }),
|
|
3760
|
+
...(input.SessionName != null && { SessionName: input.SessionName }),
|
|
3761
|
+
...(input.UserName != null && { UserName: input.UserName }),
|
|
3762
|
+
...(input.UserRole != null && { UserRole: input.UserRole }),
|
|
3741
3763
|
});
|
|
3742
3764
|
return new protocol_http_1.HttpRequest({
|
|
3743
3765
|
protocol,
|
|
@@ -3805,10 +3827,9 @@ const serializeAws_restJson1SearchAnalysesCommand = async (input, context) => {
|
|
|
3805
3827
|
}
|
|
3806
3828
|
let body;
|
|
3807
3829
|
body = JSON.stringify({
|
|
3808
|
-
...(input.Filters
|
|
3809
|
-
|
|
3810
|
-
...(input.
|
|
3811
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
3830
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1AnalysisSearchFilterList(input.Filters, context) }),
|
|
3831
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3832
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3812
3833
|
});
|
|
3813
3834
|
return new protocol_http_1.HttpRequest({
|
|
3814
3835
|
protocol,
|
|
@@ -3840,10 +3861,9 @@ const serializeAws_restJson1SearchDashboardsCommand = async (input, context) =>
|
|
|
3840
3861
|
}
|
|
3841
3862
|
let body;
|
|
3842
3863
|
body = JSON.stringify({
|
|
3843
|
-
...(input.Filters
|
|
3844
|
-
|
|
3845
|
-
...(input.
|
|
3846
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
3864
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1DashboardSearchFilterList(input.Filters, context) }),
|
|
3865
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3866
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3847
3867
|
});
|
|
3848
3868
|
return new protocol_http_1.HttpRequest({
|
|
3849
3869
|
protocol,
|
|
@@ -3874,10 +3894,9 @@ const serializeAws_restJson1SearchFoldersCommand = async (input, context) => {
|
|
|
3874
3894
|
}
|
|
3875
3895
|
let body;
|
|
3876
3896
|
body = JSON.stringify({
|
|
3877
|
-
...(input.Filters
|
|
3878
|
-
|
|
3879
|
-
...(input.
|
|
3880
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
3897
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1FolderSearchFilterList(input.Filters, context) }),
|
|
3898
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3899
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3881
3900
|
});
|
|
3882
3901
|
return new protocol_http_1.HttpRequest({
|
|
3883
3902
|
protocol,
|
|
@@ -3923,8 +3942,7 @@ const serializeAws_restJson1SearchGroupsCommand = async (input, context) => {
|
|
|
3923
3942
|
};
|
|
3924
3943
|
let body;
|
|
3925
3944
|
body = JSON.stringify({
|
|
3926
|
-
...(input.Filters
|
|
3927
|
-
input.Filters !== null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) }),
|
|
3945
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) }),
|
|
3928
3946
|
});
|
|
3929
3947
|
return new protocol_http_1.HttpRequest({
|
|
3930
3948
|
protocol,
|
|
@@ -3956,8 +3974,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
3956
3974
|
}
|
|
3957
3975
|
let body;
|
|
3958
3976
|
body = JSON.stringify({
|
|
3959
|
-
...(input.Tags
|
|
3960
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
3977
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
3961
3978
|
});
|
|
3962
3979
|
return new protocol_http_1.HttpRequest({
|
|
3963
3980
|
protocol,
|
|
@@ -4021,8 +4038,7 @@ const serializeAws_restJson1UpdateAccountCustomizationCommand = async (input, co
|
|
|
4021
4038
|
};
|
|
4022
4039
|
let body;
|
|
4023
4040
|
body = JSON.stringify({
|
|
4024
|
-
...(input.AccountCustomization
|
|
4025
|
-
input.AccountCustomization !== null && {
|
|
4041
|
+
...(input.AccountCustomization != null && {
|
|
4026
4042
|
AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
|
|
4027
4043
|
}),
|
|
4028
4044
|
});
|
|
@@ -4056,10 +4072,8 @@ const serializeAws_restJson1UpdateAccountSettingsCommand = async (input, context
|
|
|
4056
4072
|
}
|
|
4057
4073
|
let body;
|
|
4058
4074
|
body = JSON.stringify({
|
|
4059
|
-
...(input.DefaultNamespace
|
|
4060
|
-
|
|
4061
|
-
...(input.NotificationEmail !== undefined &&
|
|
4062
|
-
input.NotificationEmail !== null && { NotificationEmail: input.NotificationEmail }),
|
|
4075
|
+
...(input.DefaultNamespace != null && { DefaultNamespace: input.DefaultNamespace }),
|
|
4076
|
+
...(input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail }),
|
|
4063
4077
|
});
|
|
4064
4078
|
return new protocol_http_1.HttpRequest({
|
|
4065
4079
|
protocol,
|
|
@@ -4101,14 +4115,12 @@ const serializeAws_restJson1UpdateAnalysisCommand = async (input, context) => {
|
|
|
4101
4115
|
}
|
|
4102
4116
|
let body;
|
|
4103
4117
|
body = JSON.stringify({
|
|
4104
|
-
...(input.Name
|
|
4105
|
-
...(input.Parameters
|
|
4106
|
-
|
|
4107
|
-
...(input.SourceEntity !== undefined &&
|
|
4108
|
-
input.SourceEntity !== null && {
|
|
4118
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4119
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) }),
|
|
4120
|
+
...(input.SourceEntity != null && {
|
|
4109
4121
|
SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
|
|
4110
4122
|
}),
|
|
4111
|
-
...(input.ThemeArn
|
|
4123
|
+
...(input.ThemeArn != null && { ThemeArn: input.ThemeArn }),
|
|
4112
4124
|
});
|
|
4113
4125
|
return new protocol_http_1.HttpRequest({
|
|
4114
4126
|
protocol,
|
|
@@ -4150,12 +4162,10 @@ const serializeAws_restJson1UpdateAnalysisPermissionsCommand = async (input, con
|
|
|
4150
4162
|
}
|
|
4151
4163
|
let body;
|
|
4152
4164
|
body = JSON.stringify({
|
|
4153
|
-
...(input.GrantPermissions
|
|
4154
|
-
input.GrantPermissions !== null && {
|
|
4165
|
+
...(input.GrantPermissions != null && {
|
|
4155
4166
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
4156
4167
|
}),
|
|
4157
|
-
...(input.RevokePermissions
|
|
4158
|
-
input.RevokePermissions !== null && {
|
|
4168
|
+
...(input.RevokePermissions != null && {
|
|
4159
4169
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
4160
4170
|
}),
|
|
4161
4171
|
});
|
|
@@ -4199,20 +4209,16 @@ const serializeAws_restJson1UpdateDashboardCommand = async (input, context) => {
|
|
|
4199
4209
|
}
|
|
4200
4210
|
let body;
|
|
4201
4211
|
body = JSON.stringify({
|
|
4202
|
-
...(input.DashboardPublishOptions
|
|
4203
|
-
input.DashboardPublishOptions !== null && {
|
|
4212
|
+
...(input.DashboardPublishOptions != null && {
|
|
4204
4213
|
DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
|
|
4205
4214
|
}),
|
|
4206
|
-
...(input.Name
|
|
4207
|
-
...(input.Parameters
|
|
4208
|
-
|
|
4209
|
-
...(input.SourceEntity !== undefined &&
|
|
4210
|
-
input.SourceEntity !== null && {
|
|
4215
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4216
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) }),
|
|
4217
|
+
...(input.SourceEntity != null && {
|
|
4211
4218
|
SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
|
|
4212
4219
|
}),
|
|
4213
|
-
...(input.ThemeArn
|
|
4214
|
-
...(input.VersionDescription
|
|
4215
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
4220
|
+
...(input.ThemeArn != null && { ThemeArn: input.ThemeArn }),
|
|
4221
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
4216
4222
|
});
|
|
4217
4223
|
return new protocol_http_1.HttpRequest({
|
|
4218
4224
|
protocol,
|
|
@@ -4254,20 +4260,16 @@ const serializeAws_restJson1UpdateDashboardPermissionsCommand = async (input, co
|
|
|
4254
4260
|
}
|
|
4255
4261
|
let body;
|
|
4256
4262
|
body = JSON.stringify({
|
|
4257
|
-
...(input.GrantLinkPermissions
|
|
4258
|
-
input.GrantLinkPermissions !== null && {
|
|
4263
|
+
...(input.GrantLinkPermissions != null && {
|
|
4259
4264
|
GrantLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.GrantLinkPermissions, context),
|
|
4260
4265
|
}),
|
|
4261
|
-
...(input.GrantPermissions
|
|
4262
|
-
input.GrantPermissions !== null && {
|
|
4266
|
+
...(input.GrantPermissions != null && {
|
|
4263
4267
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
4264
4268
|
}),
|
|
4265
|
-
...(input.RevokeLinkPermissions
|
|
4266
|
-
input.RevokeLinkPermissions !== null && {
|
|
4269
|
+
...(input.RevokeLinkPermissions != null && {
|
|
4267
4270
|
RevokeLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.RevokeLinkPermissions, context),
|
|
4268
4271
|
}),
|
|
4269
|
-
...(input.RevokePermissions
|
|
4270
|
-
input.RevokePermissions !== null && {
|
|
4272
|
+
...(input.RevokePermissions != null && {
|
|
4271
4273
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
4272
4274
|
}),
|
|
4273
4275
|
});
|
|
@@ -4358,38 +4360,30 @@ const serializeAws_restJson1UpdateDataSetCommand = async (input, context) => {
|
|
|
4358
4360
|
}
|
|
4359
4361
|
let body;
|
|
4360
4362
|
body = JSON.stringify({
|
|
4361
|
-
...(input.ColumnGroups
|
|
4362
|
-
input.ColumnGroups !== null && {
|
|
4363
|
+
...(input.ColumnGroups != null && {
|
|
4363
4364
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
4364
4365
|
}),
|
|
4365
|
-
...(input.ColumnLevelPermissionRules
|
|
4366
|
-
input.ColumnLevelPermissionRules !== null && {
|
|
4366
|
+
...(input.ColumnLevelPermissionRules != null && {
|
|
4367
4367
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
4368
4368
|
}),
|
|
4369
|
-
...(input.DataSetUsageConfiguration
|
|
4370
|
-
input.DataSetUsageConfiguration !== null && {
|
|
4369
|
+
...(input.DataSetUsageConfiguration != null && {
|
|
4371
4370
|
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
4372
4371
|
}),
|
|
4373
|
-
...(input.FieldFolders
|
|
4374
|
-
input.FieldFolders !== null && {
|
|
4372
|
+
...(input.FieldFolders != null && {
|
|
4375
4373
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
4376
4374
|
}),
|
|
4377
|
-
...(input.ImportMode
|
|
4378
|
-
...(input.LogicalTableMap
|
|
4379
|
-
input.LogicalTableMap !== null && {
|
|
4375
|
+
...(input.ImportMode != null && { ImportMode: input.ImportMode }),
|
|
4376
|
+
...(input.LogicalTableMap != null && {
|
|
4380
4377
|
LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
|
|
4381
4378
|
}),
|
|
4382
|
-
...(input.Name
|
|
4383
|
-
...(input.PhysicalTableMap
|
|
4384
|
-
input.PhysicalTableMap !== null && {
|
|
4379
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4380
|
+
...(input.PhysicalTableMap != null && {
|
|
4385
4381
|
PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
|
|
4386
4382
|
}),
|
|
4387
|
-
...(input.RowLevelPermissionDataSet
|
|
4388
|
-
input.RowLevelPermissionDataSet !== null && {
|
|
4383
|
+
...(input.RowLevelPermissionDataSet != null && {
|
|
4389
4384
|
RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
|
|
4390
4385
|
}),
|
|
4391
|
-
...(input.RowLevelPermissionTagConfiguration
|
|
4392
|
-
input.RowLevelPermissionTagConfiguration !== null && {
|
|
4386
|
+
...(input.RowLevelPermissionTagConfiguration != null && {
|
|
4393
4387
|
RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
|
|
4394
4388
|
}),
|
|
4395
4389
|
});
|
|
@@ -4433,12 +4427,10 @@ const serializeAws_restJson1UpdateDataSetPermissionsCommand = async (input, cont
|
|
|
4433
4427
|
}
|
|
4434
4428
|
let body;
|
|
4435
4429
|
body = JSON.stringify({
|
|
4436
|
-
...(input.GrantPermissions
|
|
4437
|
-
input.GrantPermissions !== null && {
|
|
4430
|
+
...(input.GrantPermissions != null && {
|
|
4438
4431
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4439
4432
|
}),
|
|
4440
|
-
...(input.RevokePermissions
|
|
4441
|
-
input.RevokePermissions !== null && {
|
|
4433
|
+
...(input.RevokePermissions != null && {
|
|
4442
4434
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4443
4435
|
}),
|
|
4444
4436
|
});
|
|
@@ -4482,21 +4474,17 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
|
|
|
4482
4474
|
}
|
|
4483
4475
|
let body;
|
|
4484
4476
|
body = JSON.stringify({
|
|
4485
|
-
...(input.Credentials
|
|
4486
|
-
input.Credentials !== null && {
|
|
4477
|
+
...(input.Credentials != null && {
|
|
4487
4478
|
Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
|
|
4488
4479
|
}),
|
|
4489
|
-
...(input.DataSourceParameters
|
|
4490
|
-
input.DataSourceParameters !== null && {
|
|
4480
|
+
...(input.DataSourceParameters != null && {
|
|
4491
4481
|
DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
|
|
4492
4482
|
}),
|
|
4493
|
-
...(input.Name
|
|
4494
|
-
...(input.SslProperties
|
|
4495
|
-
input.SslProperties !== null && {
|
|
4483
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4484
|
+
...(input.SslProperties != null && {
|
|
4496
4485
|
SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
|
|
4497
4486
|
}),
|
|
4498
|
-
...(input.VpcConnectionProperties
|
|
4499
|
-
input.VpcConnectionProperties !== null && {
|
|
4487
|
+
...(input.VpcConnectionProperties != null && {
|
|
4500
4488
|
VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
|
|
4501
4489
|
}),
|
|
4502
4490
|
});
|
|
@@ -4540,12 +4528,10 @@ const serializeAws_restJson1UpdateDataSourcePermissionsCommand = async (input, c
|
|
|
4540
4528
|
}
|
|
4541
4529
|
let body;
|
|
4542
4530
|
body = JSON.stringify({
|
|
4543
|
-
...(input.GrantPermissions
|
|
4544
|
-
input.GrantPermissions !== null && {
|
|
4531
|
+
...(input.GrantPermissions != null && {
|
|
4545
4532
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4546
4533
|
}),
|
|
4547
|
-
...(input.RevokePermissions
|
|
4548
|
-
input.RevokePermissions !== null && {
|
|
4534
|
+
...(input.RevokePermissions != null && {
|
|
4549
4535
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4550
4536
|
}),
|
|
4551
4537
|
});
|
|
@@ -4589,7 +4575,7 @@ const serializeAws_restJson1UpdateFolderCommand = async (input, context) => {
|
|
|
4589
4575
|
}
|
|
4590
4576
|
let body;
|
|
4591
4577
|
body = JSON.stringify({
|
|
4592
|
-
...(input.Name
|
|
4578
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4593
4579
|
});
|
|
4594
4580
|
return new protocol_http_1.HttpRequest({
|
|
4595
4581
|
protocol,
|
|
@@ -4631,12 +4617,10 @@ const serializeAws_restJson1UpdateFolderPermissionsCommand = async (input, conte
|
|
|
4631
4617
|
}
|
|
4632
4618
|
let body;
|
|
4633
4619
|
body = JSON.stringify({
|
|
4634
|
-
...(input.GrantPermissions
|
|
4635
|
-
input.GrantPermissions !== null && {
|
|
4620
|
+
...(input.GrantPermissions != null && {
|
|
4636
4621
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4637
4622
|
}),
|
|
4638
|
-
...(input.RevokePermissions
|
|
4639
|
-
input.RevokePermissions !== null && {
|
|
4623
|
+
...(input.RevokePermissions != null && {
|
|
4640
4624
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4641
4625
|
}),
|
|
4642
4626
|
});
|
|
@@ -4690,7 +4674,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
|
|
|
4690
4674
|
}
|
|
4691
4675
|
let body;
|
|
4692
4676
|
body = JSON.stringify({
|
|
4693
|
-
...(input.Description
|
|
4677
|
+
...(input.Description != null && { Description: input.Description }),
|
|
4694
4678
|
});
|
|
4695
4679
|
return new protocol_http_1.HttpRequest({
|
|
4696
4680
|
protocol,
|
|
@@ -4742,11 +4726,9 @@ const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async (input, con
|
|
|
4742
4726
|
}
|
|
4743
4727
|
let body;
|
|
4744
4728
|
body = JSON.stringify({
|
|
4745
|
-
...(input.AssignmentStatus
|
|
4746
|
-
|
|
4747
|
-
...(input.
|
|
4748
|
-
input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) }),
|
|
4749
|
-
...(input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn }),
|
|
4729
|
+
...(input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus }),
|
|
4730
|
+
...(input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) }),
|
|
4731
|
+
...(input.PolicyArn != null && { PolicyArn: input.PolicyArn }),
|
|
4750
4732
|
});
|
|
4751
4733
|
return new protocol_http_1.HttpRequest({
|
|
4752
4734
|
protocol,
|
|
@@ -4777,9 +4759,8 @@ const serializeAws_restJson1UpdateIpRestrictionCommand = async (input, context)
|
|
|
4777
4759
|
}
|
|
4778
4760
|
let body;
|
|
4779
4761
|
body = JSON.stringify({
|
|
4780
|
-
...(input.Enabled
|
|
4781
|
-
...(input.IpRestrictionRuleMap
|
|
4782
|
-
input.IpRestrictionRuleMap !== null && {
|
|
4762
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
4763
|
+
...(input.IpRestrictionRuleMap != null && {
|
|
4783
4764
|
IpRestrictionRuleMap: serializeAws_restJson1IpRestrictionRuleMap(input.IpRestrictionRuleMap, context),
|
|
4784
4765
|
}),
|
|
4785
4766
|
});
|
|
@@ -4813,8 +4794,7 @@ const serializeAws_restJson1UpdatePublicSharingSettingsCommand = async (input, c
|
|
|
4813
4794
|
}
|
|
4814
4795
|
let body;
|
|
4815
4796
|
body = JSON.stringify({
|
|
4816
|
-
...(input.PublicSharingEnabled
|
|
4817
|
-
input.PublicSharingEnabled !== null && { PublicSharingEnabled: input.PublicSharingEnabled }),
|
|
4797
|
+
...(input.PublicSharingEnabled != null && { PublicSharingEnabled: input.PublicSharingEnabled }),
|
|
4818
4798
|
});
|
|
4819
4799
|
return new protocol_http_1.HttpRequest({
|
|
4820
4800
|
protocol,
|
|
@@ -4856,13 +4836,11 @@ const serializeAws_restJson1UpdateTemplateCommand = async (input, context) => {
|
|
|
4856
4836
|
}
|
|
4857
4837
|
let body;
|
|
4858
4838
|
body = JSON.stringify({
|
|
4859
|
-
...(input.Name
|
|
4860
|
-
...(input.SourceEntity
|
|
4861
|
-
input.SourceEntity !== null && {
|
|
4839
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4840
|
+
...(input.SourceEntity != null && {
|
|
4862
4841
|
SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
|
|
4863
4842
|
}),
|
|
4864
|
-
...(input.VersionDescription
|
|
4865
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
4843
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
4866
4844
|
});
|
|
4867
4845
|
return new protocol_http_1.HttpRequest({
|
|
4868
4846
|
protocol,
|
|
@@ -4914,8 +4892,7 @@ const serializeAws_restJson1UpdateTemplateAliasCommand = async (input, context)
|
|
|
4914
4892
|
}
|
|
4915
4893
|
let body;
|
|
4916
4894
|
body = JSON.stringify({
|
|
4917
|
-
...(input.TemplateVersionNumber
|
|
4918
|
-
input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber }),
|
|
4895
|
+
...(input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber }),
|
|
4919
4896
|
});
|
|
4920
4897
|
return new protocol_http_1.HttpRequest({
|
|
4921
4898
|
protocol,
|
|
@@ -4957,12 +4934,10 @@ const serializeAws_restJson1UpdateTemplatePermissionsCommand = async (input, con
|
|
|
4957
4934
|
}
|
|
4958
4935
|
let body;
|
|
4959
4936
|
body = JSON.stringify({
|
|
4960
|
-
...(input.GrantPermissions
|
|
4961
|
-
input.GrantPermissions !== null && {
|
|
4937
|
+
...(input.GrantPermissions != null && {
|
|
4962
4938
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
4963
4939
|
}),
|
|
4964
|
-
...(input.RevokePermissions
|
|
4965
|
-
input.RevokePermissions !== null && {
|
|
4940
|
+
...(input.RevokePermissions != null && {
|
|
4966
4941
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
4967
4942
|
}),
|
|
4968
4943
|
});
|
|
@@ -5005,14 +4980,12 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
|
|
|
5005
4980
|
}
|
|
5006
4981
|
let body;
|
|
5007
4982
|
body = JSON.stringify({
|
|
5008
|
-
...(input.BaseThemeId
|
|
5009
|
-
...(input.Configuration
|
|
5010
|
-
input.Configuration !== null && {
|
|
4983
|
+
...(input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId }),
|
|
4984
|
+
...(input.Configuration != null && {
|
|
5011
4985
|
Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
|
|
5012
4986
|
}),
|
|
5013
|
-
...(input.Name
|
|
5014
|
-
...(input.VersionDescription
|
|
5015
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription }),
|
|
4987
|
+
...(input.Name != null && { Name: input.Name }),
|
|
4988
|
+
...(input.VersionDescription != null && { VersionDescription: input.VersionDescription }),
|
|
5016
4989
|
});
|
|
5017
4990
|
return new protocol_http_1.HttpRequest({
|
|
5018
4991
|
protocol,
|
|
@@ -5064,8 +5037,7 @@ const serializeAws_restJson1UpdateThemeAliasCommand = async (input, context) =>
|
|
|
5064
5037
|
}
|
|
5065
5038
|
let body;
|
|
5066
5039
|
body = JSON.stringify({
|
|
5067
|
-
...(input.ThemeVersionNumber
|
|
5068
|
-
input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber }),
|
|
5040
|
+
...(input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber }),
|
|
5069
5041
|
});
|
|
5070
5042
|
return new protocol_http_1.HttpRequest({
|
|
5071
5043
|
protocol,
|
|
@@ -5107,12 +5079,10 @@ const serializeAws_restJson1UpdateThemePermissionsCommand = async (input, contex
|
|
|
5107
5079
|
}
|
|
5108
5080
|
let body;
|
|
5109
5081
|
body = JSON.stringify({
|
|
5110
|
-
...(input.GrantPermissions
|
|
5111
|
-
input.GrantPermissions !== null && {
|
|
5082
|
+
...(input.GrantPermissions != null && {
|
|
5112
5083
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
5113
5084
|
}),
|
|
5114
|
-
...(input.RevokePermissions
|
|
5115
|
-
input.RevokePermissions !== null && {
|
|
5085
|
+
...(input.RevokePermissions != null && {
|
|
5116
5086
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
5117
5087
|
}),
|
|
5118
5088
|
});
|
|
@@ -5166,20 +5136,17 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
|
|
|
5166
5136
|
}
|
|
5167
5137
|
let body;
|
|
5168
5138
|
body = JSON.stringify({
|
|
5169
|
-
...(input.CustomFederationProviderUrl
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
...(input.Email
|
|
5174
|
-
...(input.ExternalLoginFederationProviderType
|
|
5175
|
-
input.ExternalLoginFederationProviderType !== null && {
|
|
5139
|
+
...(input.CustomFederationProviderUrl != null && {
|
|
5140
|
+
CustomFederationProviderUrl: input.CustomFederationProviderUrl,
|
|
5141
|
+
}),
|
|
5142
|
+
...(input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName }),
|
|
5143
|
+
...(input.Email != null && { Email: input.Email }),
|
|
5144
|
+
...(input.ExternalLoginFederationProviderType != null && {
|
|
5176
5145
|
ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
|
|
5177
5146
|
}),
|
|
5178
|
-
...(input.ExternalLoginId
|
|
5179
|
-
|
|
5180
|
-
...(input.
|
|
5181
|
-
...(input.UnapplyCustomPermissions !== undefined &&
|
|
5182
|
-
input.UnapplyCustomPermissions !== null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions }),
|
|
5147
|
+
...(input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId }),
|
|
5148
|
+
...(input.Role != null && { Role: input.Role }),
|
|
5149
|
+
...(input.UnapplyCustomPermissions != null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions }),
|
|
5183
5150
|
});
|
|
5184
5151
|
return new protocol_http_1.HttpRequest({
|
|
5185
5152
|
protocol,
|
|
@@ -5336,6 +5303,76 @@ const deserializeAws_restJson1CreateAccountCustomizationCommandError = async (ou
|
|
|
5336
5303
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5337
5304
|
}
|
|
5338
5305
|
};
|
|
5306
|
+
const deserializeAws_restJson1CreateAccountSubscriptionCommand = async (output, context) => {
|
|
5307
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5308
|
+
return deserializeAws_restJson1CreateAccountSubscriptionCommandError(output, context);
|
|
5309
|
+
}
|
|
5310
|
+
const contents = {
|
|
5311
|
+
$metadata: deserializeMetadata(output),
|
|
5312
|
+
RequestId: undefined,
|
|
5313
|
+
SignupResponse: undefined,
|
|
5314
|
+
Status: undefined,
|
|
5315
|
+
};
|
|
5316
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5317
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
5318
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
5319
|
+
}
|
|
5320
|
+
if (data.SignupResponse !== undefined && data.SignupResponse !== null) {
|
|
5321
|
+
contents.SignupResponse = deserializeAws_restJson1SignupResponse(data.SignupResponse, context);
|
|
5322
|
+
}
|
|
5323
|
+
if (contents.Status === undefined) {
|
|
5324
|
+
contents.Status = output.statusCode;
|
|
5325
|
+
}
|
|
5326
|
+
return Promise.resolve(contents);
|
|
5327
|
+
};
|
|
5328
|
+
exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = deserializeAws_restJson1CreateAccountSubscriptionCommand;
|
|
5329
|
+
const deserializeAws_restJson1CreateAccountSubscriptionCommandError = async (output, context) => {
|
|
5330
|
+
const parsedOutput = {
|
|
5331
|
+
...output,
|
|
5332
|
+
body: await parseBody(output.body, context),
|
|
5333
|
+
};
|
|
5334
|
+
let response;
|
|
5335
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5336
|
+
switch (errorCode) {
|
|
5337
|
+
case "AccessDeniedException":
|
|
5338
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
5339
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5340
|
+
case "ConflictException":
|
|
5341
|
+
case "com.amazonaws.quicksight#ConflictException":
|
|
5342
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
5343
|
+
case "InternalFailureException":
|
|
5344
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
5345
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
5346
|
+
case "InvalidParameterValueException":
|
|
5347
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
5348
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
5349
|
+
case "PreconditionNotMetException":
|
|
5350
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException":
|
|
5351
|
+
throw await deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context);
|
|
5352
|
+
case "ResourceExistsException":
|
|
5353
|
+
case "com.amazonaws.quicksight#ResourceExistsException":
|
|
5354
|
+
throw await deserializeAws_restJson1ResourceExistsExceptionResponse(parsedOutput, context);
|
|
5355
|
+
case "ResourceNotFoundException":
|
|
5356
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
5357
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
5358
|
+
case "ResourceUnavailableException":
|
|
5359
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
5360
|
+
throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
|
|
5361
|
+
case "ThrottlingException":
|
|
5362
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
5363
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
5364
|
+
default:
|
|
5365
|
+
const parsedBody = parsedOutput.body;
|
|
5366
|
+
const $metadata = deserializeMetadata(output);
|
|
5367
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
5368
|
+
response = new QuickSightServiceException_1.QuickSightServiceException({
|
|
5369
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
5370
|
+
$fault: "client",
|
|
5371
|
+
$metadata,
|
|
5372
|
+
});
|
|
5373
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5374
|
+
}
|
|
5375
|
+
};
|
|
5339
5376
|
const deserializeAws_restJson1CreateAnalysisCommand = async (output, context) => {
|
|
5340
5377
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5341
5378
|
return deserializeAws_restJson1CreateAnalysisCommandError(output, context);
|
|
@@ -7664,6 +7701,67 @@ const deserializeAws_restJson1DescribeAccountSettingsCommandError = async (outpu
|
|
|
7664
7701
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7665
7702
|
}
|
|
7666
7703
|
};
|
|
7704
|
+
const deserializeAws_restJson1DescribeAccountSubscriptionCommand = async (output, context) => {
|
|
7705
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7706
|
+
return deserializeAws_restJson1DescribeAccountSubscriptionCommandError(output, context);
|
|
7707
|
+
}
|
|
7708
|
+
const contents = {
|
|
7709
|
+
$metadata: deserializeMetadata(output),
|
|
7710
|
+
AccountInfo: undefined,
|
|
7711
|
+
RequestId: undefined,
|
|
7712
|
+
Status: undefined,
|
|
7713
|
+
};
|
|
7714
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7715
|
+
if (data.AccountInfo !== undefined && data.AccountInfo !== null) {
|
|
7716
|
+
contents.AccountInfo = deserializeAws_restJson1AccountInfo(data.AccountInfo, context);
|
|
7717
|
+
}
|
|
7718
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
7719
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
7720
|
+
}
|
|
7721
|
+
if (contents.Status === undefined) {
|
|
7722
|
+
contents.Status = output.statusCode;
|
|
7723
|
+
}
|
|
7724
|
+
return Promise.resolve(contents);
|
|
7725
|
+
};
|
|
7726
|
+
exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = deserializeAws_restJson1DescribeAccountSubscriptionCommand;
|
|
7727
|
+
const deserializeAws_restJson1DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
7728
|
+
const parsedOutput = {
|
|
7729
|
+
...output,
|
|
7730
|
+
body: await parseBody(output.body, context),
|
|
7731
|
+
};
|
|
7732
|
+
let response;
|
|
7733
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7734
|
+
switch (errorCode) {
|
|
7735
|
+
case "AccessDeniedException":
|
|
7736
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
7737
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
7738
|
+
case "InternalFailureException":
|
|
7739
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
7740
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
7741
|
+
case "InvalidParameterValueException":
|
|
7742
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
7743
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
7744
|
+
case "ResourceNotFoundException":
|
|
7745
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
7746
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
7747
|
+
case "ResourceUnavailableException":
|
|
7748
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException":
|
|
7749
|
+
throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
|
|
7750
|
+
case "ThrottlingException":
|
|
7751
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
7752
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
7753
|
+
default:
|
|
7754
|
+
const parsedBody = parsedOutput.body;
|
|
7755
|
+
const $metadata = deserializeMetadata(output);
|
|
7756
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
7757
|
+
response = new QuickSightServiceException_1.QuickSightServiceException({
|
|
7758
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
7759
|
+
$fault: "client",
|
|
7760
|
+
$metadata,
|
|
7761
|
+
});
|
|
7762
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7763
|
+
}
|
|
7764
|
+
};
|
|
7667
7765
|
const deserializeAws_restJson1DescribeAnalysisCommand = async (output, context) => {
|
|
7668
7766
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7669
7767
|
return deserializeAws_restJson1DescribeAnalysisCommandError(output, context);
|
|
@@ -13387,11 +13485,10 @@ const deserializeAws_restJson1UnsupportedUserEditionExceptionResponse = async (p
|
|
|
13387
13485
|
};
|
|
13388
13486
|
const serializeAws_restJson1AccountCustomization = (input, context) => {
|
|
13389
13487
|
return {
|
|
13390
|
-
...(input.DefaultEmailCustomizationTemplate
|
|
13391
|
-
input.DefaultEmailCustomizationTemplate !== null && {
|
|
13488
|
+
...(input.DefaultEmailCustomizationTemplate != null && {
|
|
13392
13489
|
DefaultEmailCustomizationTemplate: input.DefaultEmailCustomizationTemplate,
|
|
13393
13490
|
}),
|
|
13394
|
-
...(input.DefaultTheme
|
|
13491
|
+
...(input.DefaultTheme != null && { DefaultTheme: input.DefaultTheme }),
|
|
13395
13492
|
};
|
|
13396
13493
|
};
|
|
13397
13494
|
const serializeAws_restJson1ActionList = (input, context) => {
|
|
@@ -13406,25 +13503,24 @@ const serializeAws_restJson1ActionList = (input, context) => {
|
|
|
13406
13503
|
};
|
|
13407
13504
|
const serializeAws_restJson1AdHocFilteringOption = (input, context) => {
|
|
13408
13505
|
return {
|
|
13409
|
-
...(input.AvailabilityStatus
|
|
13410
|
-
input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }),
|
|
13506
|
+
...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
|
|
13411
13507
|
};
|
|
13412
13508
|
};
|
|
13413
13509
|
const serializeAws_restJson1AmazonElasticsearchParameters = (input, context) => {
|
|
13414
13510
|
return {
|
|
13415
|
-
...(input.Domain
|
|
13511
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
13416
13512
|
};
|
|
13417
13513
|
};
|
|
13418
13514
|
const serializeAws_restJson1AmazonOpenSearchParameters = (input, context) => {
|
|
13419
13515
|
return {
|
|
13420
|
-
...(input.Domain
|
|
13516
|
+
...(input.Domain != null && { Domain: input.Domain }),
|
|
13421
13517
|
};
|
|
13422
13518
|
};
|
|
13423
13519
|
const serializeAws_restJson1AnalysisSearchFilter = (input, context) => {
|
|
13424
13520
|
return {
|
|
13425
|
-
...(input.Name
|
|
13426
|
-
...(input.Operator
|
|
13427
|
-
...(input.Value
|
|
13521
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13522
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
13523
|
+
...(input.Value != null && { Value: input.Value }),
|
|
13428
13524
|
};
|
|
13429
13525
|
};
|
|
13430
13526
|
const serializeAws_restJson1AnalysisSearchFilterList = (input, context) => {
|
|
@@ -13439,31 +13535,27 @@ const serializeAws_restJson1AnalysisSearchFilterList = (input, context) => {
|
|
|
13439
13535
|
};
|
|
13440
13536
|
const serializeAws_restJson1AnalysisSourceEntity = (input, context) => {
|
|
13441
13537
|
return {
|
|
13442
|
-
...(input.SourceTemplate
|
|
13443
|
-
input.SourceTemplate !== null && {
|
|
13538
|
+
...(input.SourceTemplate != null && {
|
|
13444
13539
|
SourceTemplate: serializeAws_restJson1AnalysisSourceTemplate(input.SourceTemplate, context),
|
|
13445
13540
|
}),
|
|
13446
13541
|
};
|
|
13447
13542
|
};
|
|
13448
13543
|
const serializeAws_restJson1AnalysisSourceTemplate = (input, context) => {
|
|
13449
13544
|
return {
|
|
13450
|
-
...(input.Arn
|
|
13451
|
-
...(input.DataSetReferences
|
|
13452
|
-
input.DataSetReferences !== null && {
|
|
13545
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
13546
|
+
...(input.DataSetReferences != null && {
|
|
13453
13547
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
13454
13548
|
}),
|
|
13455
13549
|
};
|
|
13456
13550
|
};
|
|
13457
13551
|
const serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration = (input, context) => {
|
|
13458
13552
|
return {
|
|
13459
|
-
...(input.InitialDashboardId
|
|
13460
|
-
input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }),
|
|
13553
|
+
...(input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }),
|
|
13461
13554
|
};
|
|
13462
13555
|
};
|
|
13463
13556
|
const serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration = (input, context) => {
|
|
13464
13557
|
return {
|
|
13465
|
-
...(input.Dashboard
|
|
13466
|
-
input.Dashboard !== null && {
|
|
13558
|
+
...(input.Dashboard != null && {
|
|
13467
13559
|
Dashboard: serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration(input.Dashboard, context),
|
|
13468
13560
|
}),
|
|
13469
13561
|
};
|
|
@@ -13480,38 +13572,38 @@ const serializeAws_restJson1ArnList = (input, context) => {
|
|
|
13480
13572
|
};
|
|
13481
13573
|
const serializeAws_restJson1AthenaParameters = (input, context) => {
|
|
13482
13574
|
return {
|
|
13483
|
-
...(input.WorkGroup
|
|
13575
|
+
...(input.WorkGroup != null && { WorkGroup: input.WorkGroup }),
|
|
13484
13576
|
};
|
|
13485
13577
|
};
|
|
13486
13578
|
const serializeAws_restJson1AuroraParameters = (input, context) => {
|
|
13487
13579
|
return {
|
|
13488
|
-
...(input.Database
|
|
13489
|
-
...(input.Host
|
|
13490
|
-
...(input.Port
|
|
13580
|
+
...(input.Database != null && { Database: input.Database }),
|
|
13581
|
+
...(input.Host != null && { Host: input.Host }),
|
|
13582
|
+
...(input.Port != null && { Port: input.Port }),
|
|
13491
13583
|
};
|
|
13492
13584
|
};
|
|
13493
13585
|
const serializeAws_restJson1AuroraPostgreSqlParameters = (input, context) => {
|
|
13494
13586
|
return {
|
|
13495
|
-
...(input.Database
|
|
13496
|
-
...(input.Host
|
|
13497
|
-
...(input.Port
|
|
13587
|
+
...(input.Database != null && { Database: input.Database }),
|
|
13588
|
+
...(input.Host != null && { Host: input.Host }),
|
|
13589
|
+
...(input.Port != null && { Port: input.Port }),
|
|
13498
13590
|
};
|
|
13499
13591
|
};
|
|
13500
13592
|
const serializeAws_restJson1AwsIotAnalyticsParameters = (input, context) => {
|
|
13501
13593
|
return {
|
|
13502
|
-
...(input.DataSetName
|
|
13594
|
+
...(input.DataSetName != null && { DataSetName: input.DataSetName }),
|
|
13503
13595
|
};
|
|
13504
13596
|
};
|
|
13505
13597
|
const serializeAws_restJson1BorderStyle = (input, context) => {
|
|
13506
13598
|
return {
|
|
13507
|
-
...(input.Show
|
|
13599
|
+
...(input.Show != null && { Show: input.Show }),
|
|
13508
13600
|
};
|
|
13509
13601
|
};
|
|
13510
13602
|
const serializeAws_restJson1CalculatedColumn = (input, context) => {
|
|
13511
13603
|
return {
|
|
13512
|
-
...(input.ColumnId
|
|
13513
|
-
...(input.ColumnName
|
|
13514
|
-
...(input.Expression
|
|
13604
|
+
...(input.ColumnId != null && { ColumnId: input.ColumnId }),
|
|
13605
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
13606
|
+
...(input.Expression != null && { Expression: input.Expression }),
|
|
13515
13607
|
};
|
|
13516
13608
|
};
|
|
13517
13609
|
const serializeAws_restJson1CalculatedColumnList = (input, context) => {
|
|
@@ -13526,9 +13618,9 @@ const serializeAws_restJson1CalculatedColumnList = (input, context) => {
|
|
|
13526
13618
|
};
|
|
13527
13619
|
const serializeAws_restJson1CastColumnTypeOperation = (input, context) => {
|
|
13528
13620
|
return {
|
|
13529
|
-
...(input.ColumnName
|
|
13530
|
-
...(input.Format
|
|
13531
|
-
...(input.NewColumnType
|
|
13621
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
13622
|
+
...(input.Format != null && { Format: input.Format }),
|
|
13623
|
+
...(input.NewColumnType != null && { NewColumnType: input.NewColumnType }),
|
|
13532
13624
|
};
|
|
13533
13625
|
};
|
|
13534
13626
|
const serializeAws_restJson1ColorList = (input, context) => {
|
|
@@ -13543,13 +13635,12 @@ const serializeAws_restJson1ColorList = (input, context) => {
|
|
|
13543
13635
|
};
|
|
13544
13636
|
const serializeAws_restJson1ColumnDescription = (input, context) => {
|
|
13545
13637
|
return {
|
|
13546
|
-
...(input.Text
|
|
13638
|
+
...(input.Text != null && { Text: input.Text }),
|
|
13547
13639
|
};
|
|
13548
13640
|
};
|
|
13549
13641
|
const serializeAws_restJson1ColumnGroup = (input, context) => {
|
|
13550
13642
|
return {
|
|
13551
|
-
...(input.GeoSpatialColumnGroup
|
|
13552
|
-
input.GeoSpatialColumnGroup !== null && {
|
|
13643
|
+
...(input.GeoSpatialColumnGroup != null && {
|
|
13553
13644
|
GeoSpatialColumnGroup: serializeAws_restJson1GeoSpatialColumnGroup(input.GeoSpatialColumnGroup, context),
|
|
13554
13645
|
}),
|
|
13555
13646
|
};
|
|
@@ -13566,10 +13657,8 @@ const serializeAws_restJson1ColumnGroupList = (input, context) => {
|
|
|
13566
13657
|
};
|
|
13567
13658
|
const serializeAws_restJson1ColumnLevelPermissionRule = (input, context) => {
|
|
13568
13659
|
return {
|
|
13569
|
-
...(input.ColumnNames
|
|
13570
|
-
|
|
13571
|
-
...(input.Principals !== undefined &&
|
|
13572
|
-
input.Principals !== null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }),
|
|
13660
|
+
...(input.ColumnNames != null && { ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context) }),
|
|
13661
|
+
...(input.Principals != null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }),
|
|
13573
13662
|
};
|
|
13574
13663
|
};
|
|
13575
13664
|
const serializeAws_restJson1ColumnLevelPermissionRuleList = (input, context) => {
|
|
@@ -13604,12 +13693,10 @@ const serializeAws_restJson1ColumnNameList = (input, context) => {
|
|
|
13604
13693
|
};
|
|
13605
13694
|
const serializeAws_restJson1ColumnTag = (input, context) => {
|
|
13606
13695
|
return {
|
|
13607
|
-
...(input.ColumnDescription
|
|
13608
|
-
input.ColumnDescription !== null && {
|
|
13696
|
+
...(input.ColumnDescription != null && {
|
|
13609
13697
|
ColumnDescription: serializeAws_restJson1ColumnDescription(input.ColumnDescription, context),
|
|
13610
13698
|
}),
|
|
13611
|
-
...(input.ColumnGeographicRole
|
|
13612
|
-
input.ColumnGeographicRole !== null && { ColumnGeographicRole: input.ColumnGeographicRole }),
|
|
13699
|
+
...(input.ColumnGeographicRole != null && { ColumnGeographicRole: input.ColumnGeographicRole }),
|
|
13613
13700
|
};
|
|
13614
13701
|
};
|
|
13615
13702
|
const serializeAws_restJson1ColumnTagList = (input, context) => {
|
|
@@ -13634,50 +13721,44 @@ const serializeAws_restJson1ColumnTagNames = (input, context) => {
|
|
|
13634
13721
|
};
|
|
13635
13722
|
const serializeAws_restJson1CreateColumnsOperation = (input, context) => {
|
|
13636
13723
|
return {
|
|
13637
|
-
...(input.Columns
|
|
13638
|
-
input.Columns !== null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }),
|
|
13724
|
+
...(input.Columns != null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }),
|
|
13639
13725
|
};
|
|
13640
13726
|
};
|
|
13641
13727
|
const serializeAws_restJson1CredentialPair = (input, context) => {
|
|
13642
13728
|
return {
|
|
13643
|
-
...(input.AlternateDataSourceParameters
|
|
13644
|
-
input.AlternateDataSourceParameters !== null && {
|
|
13729
|
+
...(input.AlternateDataSourceParameters != null && {
|
|
13645
13730
|
AlternateDataSourceParameters: serializeAws_restJson1DataSourceParametersList(input.AlternateDataSourceParameters, context),
|
|
13646
13731
|
}),
|
|
13647
|
-
...(input.Password
|
|
13648
|
-
...(input.Username
|
|
13732
|
+
...(input.Password != null && { Password: input.Password }),
|
|
13733
|
+
...(input.Username != null && { Username: input.Username }),
|
|
13649
13734
|
};
|
|
13650
13735
|
};
|
|
13651
13736
|
const serializeAws_restJson1CustomSql = (input, context) => {
|
|
13652
13737
|
return {
|
|
13653
|
-
...(input.Columns
|
|
13654
|
-
|
|
13655
|
-
...(input.
|
|
13656
|
-
...(input.
|
|
13657
|
-
...(input.SqlQuery !== undefined && input.SqlQuery !== null && { SqlQuery: input.SqlQuery }),
|
|
13738
|
+
...(input.Columns != null && { Columns: serializeAws_restJson1InputColumnList(input.Columns, context) }),
|
|
13739
|
+
...(input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn }),
|
|
13740
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13741
|
+
...(input.SqlQuery != null && { SqlQuery: input.SqlQuery }),
|
|
13658
13742
|
};
|
|
13659
13743
|
};
|
|
13660
13744
|
const serializeAws_restJson1DashboardPublishOptions = (input, context) => {
|
|
13661
13745
|
return {
|
|
13662
|
-
...(input.AdHocFilteringOption
|
|
13663
|
-
input.AdHocFilteringOption !== null && {
|
|
13746
|
+
...(input.AdHocFilteringOption != null && {
|
|
13664
13747
|
AdHocFilteringOption: serializeAws_restJson1AdHocFilteringOption(input.AdHocFilteringOption, context),
|
|
13665
13748
|
}),
|
|
13666
|
-
...(input.ExportToCSVOption
|
|
13667
|
-
input.ExportToCSVOption !== null && {
|
|
13749
|
+
...(input.ExportToCSVOption != null && {
|
|
13668
13750
|
ExportToCSVOption: serializeAws_restJson1ExportToCSVOption(input.ExportToCSVOption, context),
|
|
13669
13751
|
}),
|
|
13670
|
-
...(input.SheetControlsOption
|
|
13671
|
-
input.SheetControlsOption !== null && {
|
|
13752
|
+
...(input.SheetControlsOption != null && {
|
|
13672
13753
|
SheetControlsOption: serializeAws_restJson1SheetControlsOption(input.SheetControlsOption, context),
|
|
13673
13754
|
}),
|
|
13674
13755
|
};
|
|
13675
13756
|
};
|
|
13676
13757
|
const serializeAws_restJson1DashboardSearchFilter = (input, context) => {
|
|
13677
13758
|
return {
|
|
13678
|
-
...(input.Name
|
|
13679
|
-
...(input.Operator
|
|
13680
|
-
...(input.Value
|
|
13759
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13760
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
13761
|
+
...(input.Value != null && { Value: input.Value }),
|
|
13681
13762
|
};
|
|
13682
13763
|
};
|
|
13683
13764
|
const serializeAws_restJson1DashboardSearchFilterList = (input, context) => {
|
|
@@ -13692,38 +13773,32 @@ const serializeAws_restJson1DashboardSearchFilterList = (input, context) => {
|
|
|
13692
13773
|
};
|
|
13693
13774
|
const serializeAws_restJson1DashboardSourceEntity = (input, context) => {
|
|
13694
13775
|
return {
|
|
13695
|
-
...(input.SourceTemplate
|
|
13696
|
-
input.SourceTemplate !== null && {
|
|
13776
|
+
...(input.SourceTemplate != null && {
|
|
13697
13777
|
SourceTemplate: serializeAws_restJson1DashboardSourceTemplate(input.SourceTemplate, context),
|
|
13698
13778
|
}),
|
|
13699
13779
|
};
|
|
13700
13780
|
};
|
|
13701
13781
|
const serializeAws_restJson1DashboardSourceTemplate = (input, context) => {
|
|
13702
13782
|
return {
|
|
13703
|
-
...(input.Arn
|
|
13704
|
-
...(input.DataSetReferences
|
|
13705
|
-
input.DataSetReferences !== null && {
|
|
13783
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
13784
|
+
...(input.DataSetReferences != null && {
|
|
13706
13785
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
13707
13786
|
}),
|
|
13708
13787
|
};
|
|
13709
13788
|
};
|
|
13710
13789
|
const serializeAws_restJson1DataColorPalette = (input, context) => {
|
|
13711
13790
|
return {
|
|
13712
|
-
...(input.Colors
|
|
13713
|
-
|
|
13714
|
-
...(input.
|
|
13715
|
-
input.EmptyFillColor !== null && { EmptyFillColor: input.EmptyFillColor }),
|
|
13716
|
-
...(input.MinMaxGradient !== undefined &&
|
|
13717
|
-
input.MinMaxGradient !== null && {
|
|
13791
|
+
...(input.Colors != null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) }),
|
|
13792
|
+
...(input.EmptyFillColor != null && { EmptyFillColor: input.EmptyFillColor }),
|
|
13793
|
+
...(input.MinMaxGradient != null && {
|
|
13718
13794
|
MinMaxGradient: serializeAws_restJson1ColorList(input.MinMaxGradient, context),
|
|
13719
13795
|
}),
|
|
13720
13796
|
};
|
|
13721
13797
|
};
|
|
13722
13798
|
const serializeAws_restJson1DataSetReference = (input, context) => {
|
|
13723
13799
|
return {
|
|
13724
|
-
...(input.DataSetArn
|
|
13725
|
-
...(input.DataSetPlaceholder
|
|
13726
|
-
input.DataSetPlaceholder !== null && { DataSetPlaceholder: input.DataSetPlaceholder }),
|
|
13800
|
+
...(input.DataSetArn != null && { DataSetArn: input.DataSetArn }),
|
|
13801
|
+
...(input.DataSetPlaceholder != null && { DataSetPlaceholder: input.DataSetPlaceholder }),
|
|
13727
13802
|
};
|
|
13728
13803
|
};
|
|
13729
13804
|
const serializeAws_restJson1DataSetReferenceList = (input, context) => {
|
|
@@ -13738,19 +13813,16 @@ const serializeAws_restJson1DataSetReferenceList = (input, context) => {
|
|
|
13738
13813
|
};
|
|
13739
13814
|
const serializeAws_restJson1DataSetUsageConfiguration = (input, context) => {
|
|
13740
13815
|
return {
|
|
13741
|
-
...(input.DisableUseAsDirectQuerySource
|
|
13742
|
-
input.DisableUseAsDirectQuerySource !== null && {
|
|
13816
|
+
...(input.DisableUseAsDirectQuerySource != null && {
|
|
13743
13817
|
DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
|
|
13744
13818
|
}),
|
|
13745
|
-
...(input.DisableUseAsImportedSource
|
|
13746
|
-
input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }),
|
|
13819
|
+
...(input.DisableUseAsImportedSource != null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }),
|
|
13747
13820
|
};
|
|
13748
13821
|
};
|
|
13749
13822
|
const serializeAws_restJson1DataSourceCredentials = (input, context) => {
|
|
13750
13823
|
return {
|
|
13751
|
-
...(input.CopySourceArn
|
|
13752
|
-
...(input.CredentialPair
|
|
13753
|
-
input.CredentialPair !== null && {
|
|
13824
|
+
...(input.CopySourceArn != null && { CopySourceArn: input.CopySourceArn }),
|
|
13825
|
+
...(input.CredentialPair != null && {
|
|
13754
13826
|
CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
|
|
13755
13827
|
}),
|
|
13756
13828
|
};
|
|
@@ -13810,9 +13882,8 @@ const serializeAws_restJson1DataSourceParametersList = (input, context) => {
|
|
|
13810
13882
|
};
|
|
13811
13883
|
const serializeAws_restJson1DateTimeParameter = (input, context) => {
|
|
13812
13884
|
return {
|
|
13813
|
-
...(input.Name
|
|
13814
|
-
...(input.Values
|
|
13815
|
-
input.Values !== null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }),
|
|
13885
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13886
|
+
...(input.Values != null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }),
|
|
13816
13887
|
};
|
|
13817
13888
|
};
|
|
13818
13889
|
const serializeAws_restJson1DateTimeParameterList = (input, context) => {
|
|
@@ -13827,9 +13898,8 @@ const serializeAws_restJson1DateTimeParameterList = (input, context) => {
|
|
|
13827
13898
|
};
|
|
13828
13899
|
const serializeAws_restJson1DecimalParameter = (input, context) => {
|
|
13829
13900
|
return {
|
|
13830
|
-
...(input.Name
|
|
13831
|
-
...(input.Values
|
|
13832
|
-
input.Values !== null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }),
|
|
13901
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13902
|
+
...(input.Values != null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }),
|
|
13833
13903
|
};
|
|
13834
13904
|
};
|
|
13835
13905
|
const serializeAws_restJson1DecimalParameterList = (input, context) => {
|
|
@@ -13854,21 +13924,19 @@ const serializeAws_restJson1DoubleList = (input, context) => {
|
|
|
13854
13924
|
};
|
|
13855
13925
|
const serializeAws_restJson1ExasolParameters = (input, context) => {
|
|
13856
13926
|
return {
|
|
13857
|
-
...(input.Host
|
|
13858
|
-
...(input.Port
|
|
13927
|
+
...(input.Host != null && { Host: input.Host }),
|
|
13928
|
+
...(input.Port != null && { Port: input.Port }),
|
|
13859
13929
|
};
|
|
13860
13930
|
};
|
|
13861
13931
|
const serializeAws_restJson1ExportToCSVOption = (input, context) => {
|
|
13862
13932
|
return {
|
|
13863
|
-
...(input.AvailabilityStatus
|
|
13864
|
-
input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }),
|
|
13933
|
+
...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
|
|
13865
13934
|
};
|
|
13866
13935
|
};
|
|
13867
13936
|
const serializeAws_restJson1FieldFolder = (input, context) => {
|
|
13868
13937
|
return {
|
|
13869
|
-
...(input.columns
|
|
13870
|
-
|
|
13871
|
-
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
13938
|
+
...(input.columns != null && { columns: serializeAws_restJson1FolderColumnList(input.columns, context) }),
|
|
13939
|
+
...(input.description != null && { description: input.description }),
|
|
13872
13940
|
};
|
|
13873
13941
|
};
|
|
13874
13942
|
const serializeAws_restJson1FieldFolderMap = (input, context) => {
|
|
@@ -13884,8 +13952,7 @@ const serializeAws_restJson1FieldFolderMap = (input, context) => {
|
|
|
13884
13952
|
};
|
|
13885
13953
|
const serializeAws_restJson1FilterOperation = (input, context) => {
|
|
13886
13954
|
return {
|
|
13887
|
-
...(input.ConditionExpression
|
|
13888
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression }),
|
|
13955
|
+
...(input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression }),
|
|
13889
13956
|
};
|
|
13890
13957
|
};
|
|
13891
13958
|
const serializeAws_restJson1FolderColumnList = (input, context) => {
|
|
@@ -13900,9 +13967,9 @@ const serializeAws_restJson1FolderColumnList = (input, context) => {
|
|
|
13900
13967
|
};
|
|
13901
13968
|
const serializeAws_restJson1FolderSearchFilter = (input, context) => {
|
|
13902
13969
|
return {
|
|
13903
|
-
...(input.Name
|
|
13904
|
-
...(input.Operator
|
|
13905
|
-
...(input.Value
|
|
13970
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13971
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
13972
|
+
...(input.Value != null && { Value: input.Value }),
|
|
13906
13973
|
};
|
|
13907
13974
|
};
|
|
13908
13975
|
const serializeAws_restJson1FolderSearchFilterList = (input, context) => {
|
|
@@ -13917,17 +13984,16 @@ const serializeAws_restJson1FolderSearchFilterList = (input, context) => {
|
|
|
13917
13984
|
};
|
|
13918
13985
|
const serializeAws_restJson1GeoSpatialColumnGroup = (input, context) => {
|
|
13919
13986
|
return {
|
|
13920
|
-
...(input.Columns
|
|
13921
|
-
|
|
13922
|
-
...(input.
|
|
13923
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
13987
|
+
...(input.Columns != null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) }),
|
|
13988
|
+
...(input.CountryCode != null && { CountryCode: input.CountryCode }),
|
|
13989
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13924
13990
|
};
|
|
13925
13991
|
};
|
|
13926
13992
|
const serializeAws_restJson1GroupSearchFilter = (input, context) => {
|
|
13927
13993
|
return {
|
|
13928
|
-
...(input.Name
|
|
13929
|
-
...(input.Operator
|
|
13930
|
-
...(input.Value
|
|
13994
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13995
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
13996
|
+
...(input.Value != null && { Value: input.Value }),
|
|
13931
13997
|
};
|
|
13932
13998
|
};
|
|
13933
13999
|
const serializeAws_restJson1GroupSearchFilterList = (input, context) => {
|
|
@@ -13940,9 +14006,19 @@ const serializeAws_restJson1GroupSearchFilterList = (input, context) => {
|
|
|
13940
14006
|
return serializeAws_restJson1GroupSearchFilter(entry, context);
|
|
13941
14007
|
});
|
|
13942
14008
|
};
|
|
14009
|
+
const serializeAws_restJson1GroupsList = (input, context) => {
|
|
14010
|
+
return input
|
|
14011
|
+
.filter((e) => e != null)
|
|
14012
|
+
.map((entry) => {
|
|
14013
|
+
if (entry === null) {
|
|
14014
|
+
return null;
|
|
14015
|
+
}
|
|
14016
|
+
return entry;
|
|
14017
|
+
});
|
|
14018
|
+
};
|
|
13943
14019
|
const serializeAws_restJson1GutterStyle = (input, context) => {
|
|
13944
14020
|
return {
|
|
13945
|
-
...(input.Show
|
|
14021
|
+
...(input.Show != null && { Show: input.Show }),
|
|
13946
14022
|
};
|
|
13947
14023
|
};
|
|
13948
14024
|
const serializeAws_restJson1IdentityMap = (input, context) => {
|
|
@@ -13968,8 +14044,8 @@ const serializeAws_restJson1IdentityNameList = (input, context) => {
|
|
|
13968
14044
|
};
|
|
13969
14045
|
const serializeAws_restJson1InputColumn = (input, context) => {
|
|
13970
14046
|
return {
|
|
13971
|
-
...(input.Name
|
|
13972
|
-
...(input.Type
|
|
14047
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14048
|
+
...(input.Type != null && { Type: input.Type }),
|
|
13973
14049
|
};
|
|
13974
14050
|
};
|
|
13975
14051
|
const serializeAws_restJson1InputColumnList = (input, context) => {
|
|
@@ -13984,9 +14060,8 @@ const serializeAws_restJson1InputColumnList = (input, context) => {
|
|
|
13984
14060
|
};
|
|
13985
14061
|
const serializeAws_restJson1IntegerParameter = (input, context) => {
|
|
13986
14062
|
return {
|
|
13987
|
-
...(input.Name
|
|
13988
|
-
...(input.Values
|
|
13989
|
-
input.Values !== null && { Values: serializeAws_restJson1LongList(input.Values, context) }),
|
|
14063
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14064
|
+
...(input.Values != null && { Values: serializeAws_restJson1LongList(input.Values, context) }),
|
|
13990
14065
|
};
|
|
13991
14066
|
};
|
|
13992
14067
|
const serializeAws_restJson1IntegerParameterList = (input, context) => {
|
|
@@ -14012,39 +14087,35 @@ const serializeAws_restJson1IpRestrictionRuleMap = (input, context) => {
|
|
|
14012
14087
|
};
|
|
14013
14088
|
const serializeAws_restJson1JiraParameters = (input, context) => {
|
|
14014
14089
|
return {
|
|
14015
|
-
...(input.SiteBaseUrl
|
|
14090
|
+
...(input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }),
|
|
14016
14091
|
};
|
|
14017
14092
|
};
|
|
14018
14093
|
const serializeAws_restJson1JoinInstruction = (input, context) => {
|
|
14019
14094
|
return {
|
|
14020
|
-
...(input.LeftJoinKeyProperties
|
|
14021
|
-
input.LeftJoinKeyProperties !== null && {
|
|
14095
|
+
...(input.LeftJoinKeyProperties != null && {
|
|
14022
14096
|
LeftJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.LeftJoinKeyProperties, context),
|
|
14023
14097
|
}),
|
|
14024
|
-
...(input.LeftOperand
|
|
14025
|
-
...(input.OnClause
|
|
14026
|
-
...(input.RightJoinKeyProperties
|
|
14027
|
-
input.RightJoinKeyProperties !== null && {
|
|
14098
|
+
...(input.LeftOperand != null && { LeftOperand: input.LeftOperand }),
|
|
14099
|
+
...(input.OnClause != null && { OnClause: input.OnClause }),
|
|
14100
|
+
...(input.RightJoinKeyProperties != null && {
|
|
14028
14101
|
RightJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.RightJoinKeyProperties, context),
|
|
14029
14102
|
}),
|
|
14030
|
-
...(input.RightOperand
|
|
14031
|
-
...(input.Type
|
|
14103
|
+
...(input.RightOperand != null && { RightOperand: input.RightOperand }),
|
|
14104
|
+
...(input.Type != null && { Type: input.Type }),
|
|
14032
14105
|
};
|
|
14033
14106
|
};
|
|
14034
14107
|
const serializeAws_restJson1JoinKeyProperties = (input, context) => {
|
|
14035
14108
|
return {
|
|
14036
|
-
...(input.UniqueKey
|
|
14109
|
+
...(input.UniqueKey != null && { UniqueKey: input.UniqueKey }),
|
|
14037
14110
|
};
|
|
14038
14111
|
};
|
|
14039
14112
|
const serializeAws_restJson1LogicalTable = (input, context) => {
|
|
14040
14113
|
return {
|
|
14041
|
-
...(input.Alias
|
|
14042
|
-
...(input.DataTransforms
|
|
14043
|
-
input.DataTransforms !== null && {
|
|
14114
|
+
...(input.Alias != null && { Alias: input.Alias }),
|
|
14115
|
+
...(input.DataTransforms != null && {
|
|
14044
14116
|
DataTransforms: serializeAws_restJson1TransformOperationList(input.DataTransforms, context),
|
|
14045
14117
|
}),
|
|
14046
|
-
...(input.Source
|
|
14047
|
-
input.Source !== null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }),
|
|
14118
|
+
...(input.Source != null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }),
|
|
14048
14119
|
};
|
|
14049
14120
|
};
|
|
14050
14121
|
const serializeAws_restJson1LogicalTableMap = (input, context) => {
|
|
@@ -14060,13 +14131,11 @@ const serializeAws_restJson1LogicalTableMap = (input, context) => {
|
|
|
14060
14131
|
};
|
|
14061
14132
|
const serializeAws_restJson1LogicalTableSource = (input, context) => {
|
|
14062
14133
|
return {
|
|
14063
|
-
...(input.DataSetArn
|
|
14064
|
-
...(input.JoinInstruction
|
|
14065
|
-
input.JoinInstruction !== null && {
|
|
14134
|
+
...(input.DataSetArn != null && { DataSetArn: input.DataSetArn }),
|
|
14135
|
+
...(input.JoinInstruction != null && {
|
|
14066
14136
|
JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
|
|
14067
14137
|
}),
|
|
14068
|
-
...(input.PhysicalTableId
|
|
14069
|
-
input.PhysicalTableId !== null && { PhysicalTableId: input.PhysicalTableId }),
|
|
14138
|
+
...(input.PhysicalTableId != null && { PhysicalTableId: input.PhysicalTableId }),
|
|
14070
14139
|
};
|
|
14071
14140
|
};
|
|
14072
14141
|
const serializeAws_restJson1LongList = (input, context) => {
|
|
@@ -14081,52 +14150,48 @@ const serializeAws_restJson1LongList = (input, context) => {
|
|
|
14081
14150
|
};
|
|
14082
14151
|
const serializeAws_restJson1ManifestFileLocation = (input, context) => {
|
|
14083
14152
|
return {
|
|
14084
|
-
...(input.Bucket
|
|
14085
|
-
...(input.Key
|
|
14153
|
+
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
14154
|
+
...(input.Key != null && { Key: input.Key }),
|
|
14086
14155
|
};
|
|
14087
14156
|
};
|
|
14088
14157
|
const serializeAws_restJson1MarginStyle = (input, context) => {
|
|
14089
14158
|
return {
|
|
14090
|
-
...(input.Show
|
|
14159
|
+
...(input.Show != null && { Show: input.Show }),
|
|
14091
14160
|
};
|
|
14092
14161
|
};
|
|
14093
14162
|
const serializeAws_restJson1MariaDbParameters = (input, context) => {
|
|
14094
14163
|
return {
|
|
14095
|
-
...(input.Database
|
|
14096
|
-
...(input.Host
|
|
14097
|
-
...(input.Port
|
|
14164
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14165
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14166
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14098
14167
|
};
|
|
14099
14168
|
};
|
|
14100
14169
|
const serializeAws_restJson1MySqlParameters = (input, context) => {
|
|
14101
14170
|
return {
|
|
14102
|
-
...(input.Database
|
|
14103
|
-
...(input.Host
|
|
14104
|
-
...(input.Port
|
|
14171
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14172
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14173
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14105
14174
|
};
|
|
14106
14175
|
};
|
|
14107
14176
|
const serializeAws_restJson1OracleParameters = (input, context) => {
|
|
14108
14177
|
return {
|
|
14109
|
-
...(input.Database
|
|
14110
|
-
...(input.Host
|
|
14111
|
-
...(input.Port
|
|
14178
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14179
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14180
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14112
14181
|
};
|
|
14113
14182
|
};
|
|
14114
14183
|
const serializeAws_restJson1_Parameters = (input, context) => {
|
|
14115
14184
|
return {
|
|
14116
|
-
...(input.DateTimeParameters
|
|
14117
|
-
input.DateTimeParameters !== null && {
|
|
14185
|
+
...(input.DateTimeParameters != null && {
|
|
14118
14186
|
DateTimeParameters: serializeAws_restJson1DateTimeParameterList(input.DateTimeParameters, context),
|
|
14119
14187
|
}),
|
|
14120
|
-
...(input.DecimalParameters
|
|
14121
|
-
input.DecimalParameters !== null && {
|
|
14188
|
+
...(input.DecimalParameters != null && {
|
|
14122
14189
|
DecimalParameters: serializeAws_restJson1DecimalParameterList(input.DecimalParameters, context),
|
|
14123
14190
|
}),
|
|
14124
|
-
...(input.IntegerParameters
|
|
14125
|
-
input.IntegerParameters !== null && {
|
|
14191
|
+
...(input.IntegerParameters != null && {
|
|
14126
14192
|
IntegerParameters: serializeAws_restJson1IntegerParameterList(input.IntegerParameters, context),
|
|
14127
14193
|
}),
|
|
14128
|
-
...(input.StringParameters
|
|
14129
|
-
input.StringParameters !== null && {
|
|
14194
|
+
...(input.StringParameters != null && {
|
|
14130
14195
|
StringParameters: serializeAws_restJson1StringParameterList(input.StringParameters, context),
|
|
14131
14196
|
}),
|
|
14132
14197
|
};
|
|
@@ -14152,16 +14217,16 @@ const serializeAws_restJson1PhysicalTableMap = (input, context) => {
|
|
|
14152
14217
|
};
|
|
14153
14218
|
const serializeAws_restJson1PostgreSqlParameters = (input, context) => {
|
|
14154
14219
|
return {
|
|
14155
|
-
...(input.Database
|
|
14156
|
-
...(input.Host
|
|
14157
|
-
...(input.Port
|
|
14220
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14221
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14222
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14158
14223
|
};
|
|
14159
14224
|
};
|
|
14160
14225
|
const serializeAws_restJson1PrestoParameters = (input, context) => {
|
|
14161
14226
|
return {
|
|
14162
|
-
...(input.Catalog
|
|
14163
|
-
...(input.Host
|
|
14164
|
-
...(input.Port
|
|
14227
|
+
...(input.Catalog != null && { Catalog: input.Catalog }),
|
|
14228
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14229
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14165
14230
|
};
|
|
14166
14231
|
};
|
|
14167
14232
|
const serializeAws_restJson1PrincipalList = (input, context) => {
|
|
@@ -14186,82 +14251,74 @@ const serializeAws_restJson1ProjectedColumnList = (input, context) => {
|
|
|
14186
14251
|
};
|
|
14187
14252
|
const serializeAws_restJson1ProjectOperation = (input, context) => {
|
|
14188
14253
|
return {
|
|
14189
|
-
...(input.ProjectedColumns
|
|
14190
|
-
input.ProjectedColumns !== null && {
|
|
14254
|
+
...(input.ProjectedColumns != null && {
|
|
14191
14255
|
ProjectedColumns: serializeAws_restJson1ProjectedColumnList(input.ProjectedColumns, context),
|
|
14192
14256
|
}),
|
|
14193
14257
|
};
|
|
14194
14258
|
};
|
|
14195
14259
|
const serializeAws_restJson1RdsParameters = (input, context) => {
|
|
14196
14260
|
return {
|
|
14197
|
-
...(input.Database
|
|
14198
|
-
...(input.InstanceId
|
|
14261
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14262
|
+
...(input.InstanceId != null && { InstanceId: input.InstanceId }),
|
|
14199
14263
|
};
|
|
14200
14264
|
};
|
|
14201
14265
|
const serializeAws_restJson1RedshiftParameters = (input, context) => {
|
|
14202
14266
|
return {
|
|
14203
|
-
...(input.ClusterId
|
|
14204
|
-
...(input.Database
|
|
14205
|
-
...(input.Host
|
|
14206
|
-
...(input.Port
|
|
14267
|
+
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
14268
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14269
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14270
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14207
14271
|
};
|
|
14208
14272
|
};
|
|
14209
14273
|
const serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration = (input, context) => {
|
|
14210
14274
|
return {
|
|
14211
|
-
...(input.InitialDashboardId
|
|
14212
|
-
input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }),
|
|
14275
|
+
...(input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }),
|
|
14213
14276
|
};
|
|
14214
14277
|
};
|
|
14215
14278
|
const serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration = (input, context) => {
|
|
14216
14279
|
return {
|
|
14217
|
-
...(input.Dashboard
|
|
14218
|
-
input.Dashboard !== null && {
|
|
14280
|
+
...(input.Dashboard != null && {
|
|
14219
14281
|
Dashboard: serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration(input.Dashboard, context),
|
|
14220
14282
|
}),
|
|
14221
|
-
...(input.QSearchBar
|
|
14222
|
-
input.QSearchBar !== null && {
|
|
14283
|
+
...(input.QSearchBar != null && {
|
|
14223
14284
|
QSearchBar: serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration(input.QSearchBar, context),
|
|
14224
14285
|
}),
|
|
14225
|
-
...(input.QuickSightConsole
|
|
14226
|
-
input.QuickSightConsole !== null && {
|
|
14286
|
+
...(input.QuickSightConsole != null && {
|
|
14227
14287
|
QuickSightConsole: serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration(input.QuickSightConsole, context),
|
|
14228
14288
|
}),
|
|
14229
14289
|
};
|
|
14230
14290
|
};
|
|
14231
14291
|
const serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration = (input, context) => {
|
|
14232
14292
|
return {
|
|
14233
|
-
...(input.InitialTopicId
|
|
14234
|
-
input.InitialTopicId !== null && { InitialTopicId: input.InitialTopicId }),
|
|
14293
|
+
...(input.InitialTopicId != null && { InitialTopicId: input.InitialTopicId }),
|
|
14235
14294
|
};
|
|
14236
14295
|
};
|
|
14237
14296
|
const serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration = (input, context) => {
|
|
14238
14297
|
return {
|
|
14239
|
-
...(input.InitialPath
|
|
14298
|
+
...(input.InitialPath != null && { InitialPath: input.InitialPath }),
|
|
14240
14299
|
};
|
|
14241
14300
|
};
|
|
14242
14301
|
const serializeAws_restJson1RelationalTable = (input, context) => {
|
|
14243
14302
|
return {
|
|
14244
|
-
...(input.Catalog
|
|
14245
|
-
...(input.DataSourceArn
|
|
14246
|
-
...(input.InputColumns
|
|
14247
|
-
input.InputColumns !== null && {
|
|
14303
|
+
...(input.Catalog != null && { Catalog: input.Catalog }),
|
|
14304
|
+
...(input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn }),
|
|
14305
|
+
...(input.InputColumns != null && {
|
|
14248
14306
|
InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
|
|
14249
14307
|
}),
|
|
14250
|
-
...(input.Name
|
|
14251
|
-
...(input.Schema
|
|
14308
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14309
|
+
...(input.Schema != null && { Schema: input.Schema }),
|
|
14252
14310
|
};
|
|
14253
14311
|
};
|
|
14254
14312
|
const serializeAws_restJson1RenameColumnOperation = (input, context) => {
|
|
14255
14313
|
return {
|
|
14256
|
-
...(input.ColumnName
|
|
14257
|
-
...(input.NewColumnName
|
|
14314
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
14315
|
+
...(input.NewColumnName != null && { NewColumnName: input.NewColumnName }),
|
|
14258
14316
|
};
|
|
14259
14317
|
};
|
|
14260
14318
|
const serializeAws_restJson1ResourcePermission = (input, context) => {
|
|
14261
14319
|
return {
|
|
14262
|
-
...(input.Actions
|
|
14263
|
-
|
|
14264
|
-
...(input.Principal !== undefined && input.Principal !== null && { Principal: input.Principal }),
|
|
14320
|
+
...(input.Actions != null && { Actions: serializeAws_restJson1ActionList(input.Actions, context) }),
|
|
14321
|
+
...(input.Principal != null && { Principal: input.Principal }),
|
|
14265
14322
|
};
|
|
14266
14323
|
};
|
|
14267
14324
|
const serializeAws_restJson1ResourcePermissionList = (input, context) => {
|
|
@@ -14276,30 +14333,27 @@ const serializeAws_restJson1ResourcePermissionList = (input, context) => {
|
|
|
14276
14333
|
};
|
|
14277
14334
|
const serializeAws_restJson1RowLevelPermissionDataSet = (input, context) => {
|
|
14278
14335
|
return {
|
|
14279
|
-
...(input.Arn
|
|
14280
|
-
...(input.FormatVersion
|
|
14281
|
-
...(input.Namespace
|
|
14282
|
-
...(input.PermissionPolicy
|
|
14283
|
-
|
|
14284
|
-
...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
|
|
14336
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
14337
|
+
...(input.FormatVersion != null && { FormatVersion: input.FormatVersion }),
|
|
14338
|
+
...(input.Namespace != null && { Namespace: input.Namespace }),
|
|
14339
|
+
...(input.PermissionPolicy != null && { PermissionPolicy: input.PermissionPolicy }),
|
|
14340
|
+
...(input.Status != null && { Status: input.Status }),
|
|
14285
14341
|
};
|
|
14286
14342
|
};
|
|
14287
14343
|
const serializeAws_restJson1RowLevelPermissionTagConfiguration = (input, context) => {
|
|
14288
14344
|
return {
|
|
14289
|
-
...(input.Status
|
|
14290
|
-
...(input.TagRules
|
|
14291
|
-
input.TagRules !== null && {
|
|
14345
|
+
...(input.Status != null && { Status: input.Status }),
|
|
14346
|
+
...(input.TagRules != null && {
|
|
14292
14347
|
TagRules: serializeAws_restJson1RowLevelPermissionTagRuleList(input.TagRules, context),
|
|
14293
14348
|
}),
|
|
14294
14349
|
};
|
|
14295
14350
|
};
|
|
14296
14351
|
const serializeAws_restJson1RowLevelPermissionTagRule = (input, context) => {
|
|
14297
14352
|
return {
|
|
14298
|
-
...(input.ColumnName
|
|
14299
|
-
...(input.MatchAllValue
|
|
14300
|
-
...(input.TagKey
|
|
14301
|
-
...(input.TagMultiValueDelimiter
|
|
14302
|
-
input.TagMultiValueDelimiter !== null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }),
|
|
14353
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
14354
|
+
...(input.MatchAllValue != null && { MatchAllValue: input.MatchAllValue }),
|
|
14355
|
+
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
14356
|
+
...(input.TagMultiValueDelimiter != null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }),
|
|
14303
14357
|
};
|
|
14304
14358
|
};
|
|
14305
14359
|
const serializeAws_restJson1RowLevelPermissionTagRuleList = (input, context) => {
|
|
@@ -14314,34 +14368,31 @@ const serializeAws_restJson1RowLevelPermissionTagRuleList = (input, context) =>
|
|
|
14314
14368
|
};
|
|
14315
14369
|
const serializeAws_restJson1S3Parameters = (input, context) => {
|
|
14316
14370
|
return {
|
|
14317
|
-
...(input.ManifestFileLocation
|
|
14318
|
-
input.ManifestFileLocation !== null && {
|
|
14371
|
+
...(input.ManifestFileLocation != null && {
|
|
14319
14372
|
ManifestFileLocation: serializeAws_restJson1ManifestFileLocation(input.ManifestFileLocation, context),
|
|
14320
14373
|
}),
|
|
14321
14374
|
};
|
|
14322
14375
|
};
|
|
14323
14376
|
const serializeAws_restJson1S3Source = (input, context) => {
|
|
14324
14377
|
return {
|
|
14325
|
-
...(input.DataSourceArn
|
|
14326
|
-
...(input.InputColumns
|
|
14327
|
-
input.InputColumns !== null && {
|
|
14378
|
+
...(input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn }),
|
|
14379
|
+
...(input.InputColumns != null && {
|
|
14328
14380
|
InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
|
|
14329
14381
|
}),
|
|
14330
|
-
...(input.UploadSettings
|
|
14331
|
-
input.UploadSettings !== null && {
|
|
14382
|
+
...(input.UploadSettings != null && {
|
|
14332
14383
|
UploadSettings: serializeAws_restJson1UploadSettings(input.UploadSettings, context),
|
|
14333
14384
|
}),
|
|
14334
14385
|
};
|
|
14335
14386
|
};
|
|
14336
14387
|
const serializeAws_restJson1ServiceNowParameters = (input, context) => {
|
|
14337
14388
|
return {
|
|
14338
|
-
...(input.SiteBaseUrl
|
|
14389
|
+
...(input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }),
|
|
14339
14390
|
};
|
|
14340
14391
|
};
|
|
14341
14392
|
const serializeAws_restJson1SessionTag = (input, context) => {
|
|
14342
14393
|
return {
|
|
14343
|
-
...(input.Key
|
|
14344
|
-
...(input.Value
|
|
14394
|
+
...(input.Key != null && { Key: input.Key }),
|
|
14395
|
+
...(input.Value != null && { Value: input.Value }),
|
|
14345
14396
|
};
|
|
14346
14397
|
};
|
|
14347
14398
|
const serializeAws_restJson1SessionTagList = (input, context) => {
|
|
@@ -14356,41 +14407,38 @@ const serializeAws_restJson1SessionTagList = (input, context) => {
|
|
|
14356
14407
|
};
|
|
14357
14408
|
const serializeAws_restJson1SheetControlsOption = (input, context) => {
|
|
14358
14409
|
return {
|
|
14359
|
-
...(input.VisibilityState
|
|
14360
|
-
input.VisibilityState !== null && { VisibilityState: input.VisibilityState }),
|
|
14410
|
+
...(input.VisibilityState != null && { VisibilityState: input.VisibilityState }),
|
|
14361
14411
|
};
|
|
14362
14412
|
};
|
|
14363
14413
|
const serializeAws_restJson1SheetStyle = (input, context) => {
|
|
14364
14414
|
return {
|
|
14365
|
-
...(input.Tile
|
|
14366
|
-
|
|
14367
|
-
...(input.TileLayout !== undefined &&
|
|
14368
|
-
input.TileLayout !== null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }),
|
|
14415
|
+
...(input.Tile != null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) }),
|
|
14416
|
+
...(input.TileLayout != null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }),
|
|
14369
14417
|
};
|
|
14370
14418
|
};
|
|
14371
14419
|
const serializeAws_restJson1SnowflakeParameters = (input, context) => {
|
|
14372
14420
|
return {
|
|
14373
|
-
...(input.Database
|
|
14374
|
-
...(input.Host
|
|
14375
|
-
...(input.Warehouse
|
|
14421
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14422
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14423
|
+
...(input.Warehouse != null && { Warehouse: input.Warehouse }),
|
|
14376
14424
|
};
|
|
14377
14425
|
};
|
|
14378
14426
|
const serializeAws_restJson1SparkParameters = (input, context) => {
|
|
14379
14427
|
return {
|
|
14380
|
-
...(input.Host
|
|
14381
|
-
...(input.Port
|
|
14428
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14429
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14382
14430
|
};
|
|
14383
14431
|
};
|
|
14384
14432
|
const serializeAws_restJson1SqlServerParameters = (input, context) => {
|
|
14385
14433
|
return {
|
|
14386
|
-
...(input.Database
|
|
14387
|
-
...(input.Host
|
|
14388
|
-
...(input.Port
|
|
14434
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14435
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14436
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14389
14437
|
};
|
|
14390
14438
|
};
|
|
14391
14439
|
const serializeAws_restJson1SslProperties = (input, context) => {
|
|
14392
14440
|
return {
|
|
14393
|
-
...(input.DisableSsl
|
|
14441
|
+
...(input.DisableSsl != null && { DisableSsl: input.DisableSsl }),
|
|
14394
14442
|
};
|
|
14395
14443
|
};
|
|
14396
14444
|
const serializeAws_restJson1StringList = (input, context) => {
|
|
@@ -14405,9 +14453,8 @@ const serializeAws_restJson1StringList = (input, context) => {
|
|
|
14405
14453
|
};
|
|
14406
14454
|
const serializeAws_restJson1StringParameter = (input, context) => {
|
|
14407
14455
|
return {
|
|
14408
|
-
...(input.Name
|
|
14409
|
-
...(input.Values
|
|
14410
|
-
input.Values !== null && { Values: serializeAws_restJson1StringList(input.Values, context) }),
|
|
14456
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14457
|
+
...(input.Values != null && { Values: serializeAws_restJson1StringList(input.Values, context) }),
|
|
14411
14458
|
};
|
|
14412
14459
|
};
|
|
14413
14460
|
const serializeAws_restJson1StringParameterList = (input, context) => {
|
|
@@ -14422,15 +14469,14 @@ const serializeAws_restJson1StringParameterList = (input, context) => {
|
|
|
14422
14469
|
};
|
|
14423
14470
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
14424
14471
|
return {
|
|
14425
|
-
...(input.Key
|
|
14426
|
-
...(input.Value
|
|
14472
|
+
...(input.Key != null && { Key: input.Key }),
|
|
14473
|
+
...(input.Value != null && { Value: input.Value }),
|
|
14427
14474
|
};
|
|
14428
14475
|
};
|
|
14429
14476
|
const serializeAws_restJson1TagColumnOperation = (input, context) => {
|
|
14430
14477
|
return {
|
|
14431
|
-
...(input.ColumnName
|
|
14432
|
-
...(input.Tags
|
|
14433
|
-
input.Tags !== null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }),
|
|
14478
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
14479
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }),
|
|
14434
14480
|
};
|
|
14435
14481
|
};
|
|
14436
14482
|
const serializeAws_restJson1TagList = (input, context) => {
|
|
@@ -14445,63 +14491,54 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
14445
14491
|
};
|
|
14446
14492
|
const serializeAws_restJson1TemplateSourceAnalysis = (input, context) => {
|
|
14447
14493
|
return {
|
|
14448
|
-
...(input.Arn
|
|
14449
|
-
...(input.DataSetReferences
|
|
14450
|
-
input.DataSetReferences !== null && {
|
|
14494
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
14495
|
+
...(input.DataSetReferences != null && {
|
|
14451
14496
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
14452
14497
|
}),
|
|
14453
14498
|
};
|
|
14454
14499
|
};
|
|
14455
14500
|
const serializeAws_restJson1TemplateSourceEntity = (input, context) => {
|
|
14456
14501
|
return {
|
|
14457
|
-
...(input.SourceAnalysis
|
|
14458
|
-
input.SourceAnalysis !== null && {
|
|
14502
|
+
...(input.SourceAnalysis != null && {
|
|
14459
14503
|
SourceAnalysis: serializeAws_restJson1TemplateSourceAnalysis(input.SourceAnalysis, context),
|
|
14460
14504
|
}),
|
|
14461
|
-
...(input.SourceTemplate
|
|
14462
|
-
input.SourceTemplate !== null && {
|
|
14505
|
+
...(input.SourceTemplate != null && {
|
|
14463
14506
|
SourceTemplate: serializeAws_restJson1TemplateSourceTemplate(input.SourceTemplate, context),
|
|
14464
14507
|
}),
|
|
14465
14508
|
};
|
|
14466
14509
|
};
|
|
14467
14510
|
const serializeAws_restJson1TemplateSourceTemplate = (input, context) => {
|
|
14468
14511
|
return {
|
|
14469
|
-
...(input.Arn
|
|
14512
|
+
...(input.Arn != null && { Arn: input.Arn }),
|
|
14470
14513
|
};
|
|
14471
14514
|
};
|
|
14472
14515
|
const serializeAws_restJson1TeradataParameters = (input, context) => {
|
|
14473
14516
|
return {
|
|
14474
|
-
...(input.Database
|
|
14475
|
-
...(input.Host
|
|
14476
|
-
...(input.Port
|
|
14517
|
+
...(input.Database != null && { Database: input.Database }),
|
|
14518
|
+
...(input.Host != null && { Host: input.Host }),
|
|
14519
|
+
...(input.Port != null && { Port: input.Port }),
|
|
14477
14520
|
};
|
|
14478
14521
|
};
|
|
14479
14522
|
const serializeAws_restJson1ThemeConfiguration = (input, context) => {
|
|
14480
14523
|
return {
|
|
14481
|
-
...(input.DataColorPalette
|
|
14482
|
-
input.DataColorPalette !== null && {
|
|
14524
|
+
...(input.DataColorPalette != null && {
|
|
14483
14525
|
DataColorPalette: serializeAws_restJson1DataColorPalette(input.DataColorPalette, context),
|
|
14484
14526
|
}),
|
|
14485
|
-
...(input.Sheet
|
|
14486
|
-
|
|
14487
|
-
...(input.UIColorPalette !== undefined &&
|
|
14488
|
-
input.UIColorPalette !== null && {
|
|
14527
|
+
...(input.Sheet != null && { Sheet: serializeAws_restJson1SheetStyle(input.Sheet, context) }),
|
|
14528
|
+
...(input.UIColorPalette != null && {
|
|
14489
14529
|
UIColorPalette: serializeAws_restJson1UIColorPalette(input.UIColorPalette, context),
|
|
14490
14530
|
}),
|
|
14491
14531
|
};
|
|
14492
14532
|
};
|
|
14493
14533
|
const serializeAws_restJson1TileLayoutStyle = (input, context) => {
|
|
14494
14534
|
return {
|
|
14495
|
-
...(input.Gutter
|
|
14496
|
-
|
|
14497
|
-
...(input.Margin !== undefined &&
|
|
14498
|
-
input.Margin !== null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }),
|
|
14535
|
+
...(input.Gutter != null && { Gutter: serializeAws_restJson1GutterStyle(input.Gutter, context) }),
|
|
14536
|
+
...(input.Margin != null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }),
|
|
14499
14537
|
};
|
|
14500
14538
|
};
|
|
14501
14539
|
const serializeAws_restJson1TileStyle = (input, context) => {
|
|
14502
14540
|
return {
|
|
14503
|
-
...(input.Border
|
|
14504
|
-
input.Border !== null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }),
|
|
14541
|
+
...(input.Border != null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }),
|
|
14505
14542
|
};
|
|
14506
14543
|
};
|
|
14507
14544
|
const serializeAws_restJson1TimestampList = (input, context) => {
|
|
@@ -14546,45 +14583,34 @@ const serializeAws_restJson1TransformOperationList = (input, context) => {
|
|
|
14546
14583
|
};
|
|
14547
14584
|
const serializeAws_restJson1TwitterParameters = (input, context) => {
|
|
14548
14585
|
return {
|
|
14549
|
-
...(input.MaxRows
|
|
14550
|
-
...(input.Query
|
|
14586
|
+
...(input.MaxRows != null && { MaxRows: input.MaxRows }),
|
|
14587
|
+
...(input.Query != null && { Query: input.Query }),
|
|
14551
14588
|
};
|
|
14552
14589
|
};
|
|
14553
14590
|
const serializeAws_restJson1UIColorPalette = (input, context) => {
|
|
14554
14591
|
return {
|
|
14555
|
-
...(input.Accent
|
|
14556
|
-
...(input.AccentForeground
|
|
14557
|
-
|
|
14558
|
-
...(input.
|
|
14559
|
-
...(input.
|
|
14560
|
-
|
|
14561
|
-
...(input.
|
|
14562
|
-
...(input.
|
|
14563
|
-
|
|
14564
|
-
...(input.
|
|
14565
|
-
...(input.
|
|
14566
|
-
|
|
14567
|
-
...(input.
|
|
14568
|
-
|
|
14569
|
-
...(input.
|
|
14570
|
-
|
|
14571
|
-
...(input.SecondaryBackground !== undefined &&
|
|
14572
|
-
input.SecondaryBackground !== null && { SecondaryBackground: input.SecondaryBackground }),
|
|
14573
|
-
...(input.SecondaryForeground !== undefined &&
|
|
14574
|
-
input.SecondaryForeground !== null && { SecondaryForeground: input.SecondaryForeground }),
|
|
14575
|
-
...(input.Success !== undefined && input.Success !== null && { Success: input.Success }),
|
|
14576
|
-
...(input.SuccessForeground !== undefined &&
|
|
14577
|
-
input.SuccessForeground !== null && { SuccessForeground: input.SuccessForeground }),
|
|
14578
|
-
...(input.Warning !== undefined && input.Warning !== null && { Warning: input.Warning }),
|
|
14579
|
-
...(input.WarningForeground !== undefined &&
|
|
14580
|
-
input.WarningForeground !== null && { WarningForeground: input.WarningForeground }),
|
|
14592
|
+
...(input.Accent != null && { Accent: input.Accent }),
|
|
14593
|
+
...(input.AccentForeground != null && { AccentForeground: input.AccentForeground }),
|
|
14594
|
+
...(input.Danger != null && { Danger: input.Danger }),
|
|
14595
|
+
...(input.DangerForeground != null && { DangerForeground: input.DangerForeground }),
|
|
14596
|
+
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
14597
|
+
...(input.DimensionForeground != null && { DimensionForeground: input.DimensionForeground }),
|
|
14598
|
+
...(input.Measure != null && { Measure: input.Measure }),
|
|
14599
|
+
...(input.MeasureForeground != null && { MeasureForeground: input.MeasureForeground }),
|
|
14600
|
+
...(input.PrimaryBackground != null && { PrimaryBackground: input.PrimaryBackground }),
|
|
14601
|
+
...(input.PrimaryForeground != null && { PrimaryForeground: input.PrimaryForeground }),
|
|
14602
|
+
...(input.SecondaryBackground != null && { SecondaryBackground: input.SecondaryBackground }),
|
|
14603
|
+
...(input.SecondaryForeground != null && { SecondaryForeground: input.SecondaryForeground }),
|
|
14604
|
+
...(input.Success != null && { Success: input.Success }),
|
|
14605
|
+
...(input.SuccessForeground != null && { SuccessForeground: input.SuccessForeground }),
|
|
14606
|
+
...(input.Warning != null && { Warning: input.Warning }),
|
|
14607
|
+
...(input.WarningForeground != null && { WarningForeground: input.WarningForeground }),
|
|
14581
14608
|
};
|
|
14582
14609
|
};
|
|
14583
14610
|
const serializeAws_restJson1UntagColumnOperation = (input, context) => {
|
|
14584
14611
|
return {
|
|
14585
|
-
...(input.ColumnName
|
|
14586
|
-
...(input.TagNames
|
|
14587
|
-
input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }),
|
|
14612
|
+
...(input.ColumnName != null && { ColumnName: input.ColumnName }),
|
|
14613
|
+
...(input.TagNames != null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }),
|
|
14588
14614
|
};
|
|
14589
14615
|
};
|
|
14590
14616
|
const serializeAws_restJson1UpdateLinkPermissionList = (input, context) => {
|
|
@@ -14609,18 +14635,16 @@ const serializeAws_restJson1UpdateResourcePermissionList = (input, context) => {
|
|
|
14609
14635
|
};
|
|
14610
14636
|
const serializeAws_restJson1UploadSettings = (input, context) => {
|
|
14611
14637
|
return {
|
|
14612
|
-
...(input.ContainsHeader
|
|
14613
|
-
|
|
14614
|
-
...(input.
|
|
14615
|
-
...(input.
|
|
14616
|
-
...(input.
|
|
14617
|
-
...(input.TextQualifier !== undefined && input.TextQualifier !== null && { TextQualifier: input.TextQualifier }),
|
|
14638
|
+
...(input.ContainsHeader != null && { ContainsHeader: input.ContainsHeader }),
|
|
14639
|
+
...(input.Delimiter != null && { Delimiter: input.Delimiter }),
|
|
14640
|
+
...(input.Format != null && { Format: input.Format }),
|
|
14641
|
+
...(input.StartFromRow != null && { StartFromRow: input.StartFromRow }),
|
|
14642
|
+
...(input.TextQualifier != null && { TextQualifier: input.TextQualifier }),
|
|
14618
14643
|
};
|
|
14619
14644
|
};
|
|
14620
14645
|
const serializeAws_restJson1VpcConnectionProperties = (input, context) => {
|
|
14621
14646
|
return {
|
|
14622
|
-
...(input.VpcConnectionArn
|
|
14623
|
-
input.VpcConnectionArn !== null && { VpcConnectionArn: input.VpcConnectionArn }),
|
|
14647
|
+
...(input.VpcConnectionArn != null && { VpcConnectionArn: input.VpcConnectionArn }),
|
|
14624
14648
|
};
|
|
14625
14649
|
};
|
|
14626
14650
|
const deserializeAws_restJson1AccountCustomization = (output, context) => {
|
|
@@ -14629,6 +14653,15 @@ const deserializeAws_restJson1AccountCustomization = (output, context) => {
|
|
|
14629
14653
|
DefaultTheme: (0, smithy_client_1.expectString)(output.DefaultTheme),
|
|
14630
14654
|
};
|
|
14631
14655
|
};
|
|
14656
|
+
const deserializeAws_restJson1AccountInfo = (output, context) => {
|
|
14657
|
+
return {
|
|
14658
|
+
AccountName: (0, smithy_client_1.expectString)(output.AccountName),
|
|
14659
|
+
AccountSubscriptionStatus: (0, smithy_client_1.expectString)(output.AccountSubscriptionStatus),
|
|
14660
|
+
AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
|
|
14661
|
+
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
14662
|
+
NotificationEmail: (0, smithy_client_1.expectString)(output.NotificationEmail),
|
|
14663
|
+
};
|
|
14664
|
+
};
|
|
14632
14665
|
const deserializeAws_restJson1AccountSettings = (output, context) => {
|
|
14633
14666
|
return {
|
|
14634
14667
|
AccountName: (0, smithy_client_1.expectString)(output.AccountName),
|
|
@@ -14680,22 +14713,16 @@ const deserializeAws_restJson1Analysis = (output, context) => {
|
|
|
14680
14713
|
return {
|
|
14681
14714
|
AnalysisId: (0, smithy_client_1.expectString)(output.AnalysisId),
|
|
14682
14715
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
14683
|
-
CreatedTime: output.CreatedTime
|
|
14716
|
+
CreatedTime: output.CreatedTime != null
|
|
14684
14717
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
14685
14718
|
: undefined,
|
|
14686
|
-
DataSetArns: output.DataSetArns
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
Errors: output.Errors !== undefined && output.Errors !== null
|
|
14690
|
-
? deserializeAws_restJson1AnalysisErrorList(output.Errors, context)
|
|
14691
|
-
: undefined,
|
|
14692
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
14719
|
+
DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
|
|
14720
|
+
Errors: output.Errors != null ? deserializeAws_restJson1AnalysisErrorList(output.Errors, context) : undefined,
|
|
14721
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
14693
14722
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
14694
14723
|
: undefined,
|
|
14695
14724
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
14696
|
-
Sheets: output.Sheets
|
|
14697
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
14698
|
-
: undefined,
|
|
14725
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
14699
14726
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
14700
14727
|
ThemeArn: (0, smithy_client_1.expectString)(output.ThemeArn),
|
|
14701
14728
|
};
|
|
@@ -14721,10 +14748,10 @@ const deserializeAws_restJson1AnalysisSummary = (output, context) => {
|
|
|
14721
14748
|
return {
|
|
14722
14749
|
AnalysisId: (0, smithy_client_1.expectString)(output.AnalysisId),
|
|
14723
14750
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
14724
|
-
CreatedTime: output.CreatedTime
|
|
14751
|
+
CreatedTime: output.CreatedTime != null
|
|
14725
14752
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
14726
14753
|
: undefined,
|
|
14727
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
14754
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
14728
14755
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
14729
14756
|
: undefined,
|
|
14730
14757
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -14814,7 +14841,7 @@ const deserializeAws_restJson1ColumnDescription = (output, context) => {
|
|
|
14814
14841
|
};
|
|
14815
14842
|
const deserializeAws_restJson1ColumnGroup = (output, context) => {
|
|
14816
14843
|
return {
|
|
14817
|
-
GeoSpatialColumnGroup: output.GeoSpatialColumnGroup
|
|
14844
|
+
GeoSpatialColumnGroup: output.GeoSpatialColumnGroup != null
|
|
14818
14845
|
? deserializeAws_restJson1GeoSpatialColumnGroup(output.GeoSpatialColumnGroup, context)
|
|
14819
14846
|
: undefined,
|
|
14820
14847
|
};
|
|
@@ -14848,7 +14875,7 @@ const deserializeAws_restJson1ColumnGroupList = (output, context) => {
|
|
|
14848
14875
|
};
|
|
14849
14876
|
const deserializeAws_restJson1ColumnGroupSchema = (output, context) => {
|
|
14850
14877
|
return {
|
|
14851
|
-
ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList
|
|
14878
|
+
ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList != null
|
|
14852
14879
|
? deserializeAws_restJson1ColumnGroupColumnSchemaList(output.ColumnGroupColumnSchemaList, context)
|
|
14853
14880
|
: undefined,
|
|
14854
14881
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -14867,12 +14894,8 @@ const deserializeAws_restJson1ColumnGroupSchemaList = (output, context) => {
|
|
|
14867
14894
|
};
|
|
14868
14895
|
const deserializeAws_restJson1ColumnLevelPermissionRule = (output, context) => {
|
|
14869
14896
|
return {
|
|
14870
|
-
ColumnNames: output.ColumnNames
|
|
14871
|
-
|
|
14872
|
-
: undefined,
|
|
14873
|
-
Principals: output.Principals !== undefined && output.Principals !== null
|
|
14874
|
-
? deserializeAws_restJson1PrincipalList(output.Principals, context)
|
|
14875
|
-
: undefined,
|
|
14897
|
+
ColumnNames: output.ColumnNames != null ? deserializeAws_restJson1ColumnNameList(output.ColumnNames, context) : undefined,
|
|
14898
|
+
Principals: output.Principals != null ? deserializeAws_restJson1PrincipalList(output.Principals, context) : undefined,
|
|
14876
14899
|
};
|
|
14877
14900
|
};
|
|
14878
14901
|
const deserializeAws_restJson1ColumnLevelPermissionRuleList = (output, context) => {
|
|
@@ -14928,7 +14951,7 @@ const deserializeAws_restJson1ColumnSchemaList = (output, context) => {
|
|
|
14928
14951
|
};
|
|
14929
14952
|
const deserializeAws_restJson1ColumnTag = (output, context) => {
|
|
14930
14953
|
return {
|
|
14931
|
-
ColumnDescription: output.ColumnDescription
|
|
14954
|
+
ColumnDescription: output.ColumnDescription != null
|
|
14932
14955
|
? deserializeAws_restJson1ColumnDescription(output.ColumnDescription, context)
|
|
14933
14956
|
: undefined,
|
|
14934
14957
|
ColumnGeographicRole: (0, smithy_client_1.expectString)(output.ColumnGeographicRole),
|
|
@@ -14958,16 +14981,12 @@ const deserializeAws_restJson1ColumnTagNames = (output, context) => {
|
|
|
14958
14981
|
};
|
|
14959
14982
|
const deserializeAws_restJson1CreateColumnsOperation = (output, context) => {
|
|
14960
14983
|
return {
|
|
14961
|
-
Columns: output.Columns
|
|
14962
|
-
? deserializeAws_restJson1CalculatedColumnList(output.Columns, context)
|
|
14963
|
-
: undefined,
|
|
14984
|
+
Columns: output.Columns != null ? deserializeAws_restJson1CalculatedColumnList(output.Columns, context) : undefined,
|
|
14964
14985
|
};
|
|
14965
14986
|
};
|
|
14966
14987
|
const deserializeAws_restJson1CustomSql = (output, context) => {
|
|
14967
14988
|
return {
|
|
14968
|
-
Columns: output.Columns
|
|
14969
|
-
? deserializeAws_restJson1InputColumnList(output.Columns, context)
|
|
14970
|
-
: undefined,
|
|
14989
|
+
Columns: output.Columns != null ? deserializeAws_restJson1InputColumnList(output.Columns, context) : undefined,
|
|
14971
14990
|
DataSourceArn: (0, smithy_client_1.expectString)(output.DataSourceArn),
|
|
14972
14991
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
14973
14992
|
SqlQuery: (0, smithy_client_1.expectString)(output.SqlQuery),
|
|
@@ -14976,20 +14995,18 @@ const deserializeAws_restJson1CustomSql = (output, context) => {
|
|
|
14976
14995
|
const deserializeAws_restJson1Dashboard = (output, context) => {
|
|
14977
14996
|
return {
|
|
14978
14997
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
14979
|
-
CreatedTime: output.CreatedTime
|
|
14998
|
+
CreatedTime: output.CreatedTime != null
|
|
14980
14999
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
14981
15000
|
: undefined,
|
|
14982
15001
|
DashboardId: (0, smithy_client_1.expectString)(output.DashboardId),
|
|
14983
|
-
LastPublishedTime: output.LastPublishedTime
|
|
15002
|
+
LastPublishedTime: output.LastPublishedTime != null
|
|
14984
15003
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastPublishedTime)))
|
|
14985
15004
|
: undefined,
|
|
14986
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15005
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
14987
15006
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
14988
15007
|
: undefined,
|
|
14989
15008
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
14990
|
-
Version: output.Version
|
|
14991
|
-
? deserializeAws_restJson1DashboardVersion(output.Version, context)
|
|
14992
|
-
: undefined,
|
|
15009
|
+
Version: output.Version != null ? deserializeAws_restJson1DashboardVersion(output.Version, context) : undefined,
|
|
14993
15010
|
};
|
|
14994
15011
|
};
|
|
14995
15012
|
const deserializeAws_restJson1DashboardError = (output, context) => {
|
|
@@ -15012,14 +15029,14 @@ const deserializeAws_restJson1DashboardErrorList = (output, context) => {
|
|
|
15012
15029
|
const deserializeAws_restJson1DashboardSummary = (output, context) => {
|
|
15013
15030
|
return {
|
|
15014
15031
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15015
|
-
CreatedTime: output.CreatedTime
|
|
15032
|
+
CreatedTime: output.CreatedTime != null
|
|
15016
15033
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15017
15034
|
: undefined,
|
|
15018
15035
|
DashboardId: (0, smithy_client_1.expectString)(output.DashboardId),
|
|
15019
|
-
LastPublishedTime: output.LastPublishedTime
|
|
15036
|
+
LastPublishedTime: output.LastPublishedTime != null
|
|
15020
15037
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastPublishedTime)))
|
|
15021
15038
|
: undefined,
|
|
15022
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15039
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15023
15040
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15024
15041
|
: undefined,
|
|
15025
15042
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -15040,19 +15057,13 @@ const deserializeAws_restJson1DashboardSummaryList = (output, context) => {
|
|
|
15040
15057
|
const deserializeAws_restJson1DashboardVersion = (output, context) => {
|
|
15041
15058
|
return {
|
|
15042
15059
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15043
|
-
CreatedTime: output.CreatedTime
|
|
15060
|
+
CreatedTime: output.CreatedTime != null
|
|
15044
15061
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15045
15062
|
: undefined,
|
|
15046
|
-
DataSetArns: output.DataSetArns
|
|
15047
|
-
? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
|
|
15048
|
-
: undefined,
|
|
15063
|
+
DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
|
|
15049
15064
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
15050
|
-
Errors: output.Errors
|
|
15051
|
-
|
|
15052
|
-
: undefined,
|
|
15053
|
-
Sheets: output.Sheets !== undefined && output.Sheets !== null
|
|
15054
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
15055
|
-
: undefined,
|
|
15065
|
+
Errors: output.Errors != null ? deserializeAws_restJson1DashboardErrorList(output.Errors, context) : undefined,
|
|
15066
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
15056
15067
|
SourceEntityArn: (0, smithy_client_1.expectString)(output.SourceEntityArn),
|
|
15057
15068
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
15058
15069
|
ThemeArn: (0, smithy_client_1.expectString)(output.ThemeArn),
|
|
@@ -15062,7 +15073,7 @@ const deserializeAws_restJson1DashboardVersion = (output, context) => {
|
|
|
15062
15073
|
const deserializeAws_restJson1DashboardVersionSummary = (output, context) => {
|
|
15063
15074
|
return {
|
|
15064
15075
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15065
|
-
CreatedTime: output.CreatedTime
|
|
15076
|
+
CreatedTime: output.CreatedTime != null
|
|
15066
15077
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15067
15078
|
: undefined,
|
|
15068
15079
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
@@ -15084,53 +15095,45 @@ const deserializeAws_restJson1DashboardVersionSummaryList = (output, context) =>
|
|
|
15084
15095
|
};
|
|
15085
15096
|
const deserializeAws_restJson1DataColorPalette = (output, context) => {
|
|
15086
15097
|
return {
|
|
15087
|
-
Colors: output.Colors
|
|
15088
|
-
? deserializeAws_restJson1ColorList(output.Colors, context)
|
|
15089
|
-
: undefined,
|
|
15098
|
+
Colors: output.Colors != null ? deserializeAws_restJson1ColorList(output.Colors, context) : undefined,
|
|
15090
15099
|
EmptyFillColor: (0, smithy_client_1.expectString)(output.EmptyFillColor),
|
|
15091
|
-
MinMaxGradient: output.MinMaxGradient
|
|
15092
|
-
? deserializeAws_restJson1ColorList(output.MinMaxGradient, context)
|
|
15093
|
-
: undefined,
|
|
15100
|
+
MinMaxGradient: output.MinMaxGradient != null ? deserializeAws_restJson1ColorList(output.MinMaxGradient, context) : undefined,
|
|
15094
15101
|
};
|
|
15095
15102
|
};
|
|
15096
15103
|
const deserializeAws_restJson1DataSet = (output, context) => {
|
|
15097
15104
|
return {
|
|
15098
15105
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15099
|
-
ColumnGroups: output.ColumnGroups
|
|
15100
|
-
|
|
15101
|
-
: undefined,
|
|
15102
|
-
ColumnLevelPermissionRules: output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
|
|
15106
|
+
ColumnGroups: output.ColumnGroups != null ? deserializeAws_restJson1ColumnGroupList(output.ColumnGroups, context) : undefined,
|
|
15107
|
+
ColumnLevelPermissionRules: output.ColumnLevelPermissionRules != null
|
|
15103
15108
|
? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
|
|
15104
15109
|
: undefined,
|
|
15105
15110
|
ConsumedSpiceCapacityInBytes: (0, smithy_client_1.expectLong)(output.ConsumedSpiceCapacityInBytes),
|
|
15106
|
-
CreatedTime: output.CreatedTime
|
|
15111
|
+
CreatedTime: output.CreatedTime != null
|
|
15107
15112
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15108
15113
|
: undefined,
|
|
15109
15114
|
DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
|
|
15110
|
-
DataSetUsageConfiguration: output.DataSetUsageConfiguration
|
|
15115
|
+
DataSetUsageConfiguration: output.DataSetUsageConfiguration != null
|
|
15111
15116
|
? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
|
|
15112
15117
|
: undefined,
|
|
15113
|
-
FieldFolders: output.FieldFolders
|
|
15114
|
-
? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
|
|
15115
|
-
: undefined,
|
|
15118
|
+
FieldFolders: output.FieldFolders != null ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context) : undefined,
|
|
15116
15119
|
ImportMode: (0, smithy_client_1.expectString)(output.ImportMode),
|
|
15117
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15120
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15118
15121
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15119
15122
|
: undefined,
|
|
15120
|
-
LogicalTableMap: output.LogicalTableMap
|
|
15123
|
+
LogicalTableMap: output.LogicalTableMap != null
|
|
15121
15124
|
? deserializeAws_restJson1LogicalTableMap(output.LogicalTableMap, context)
|
|
15122
15125
|
: undefined,
|
|
15123
15126
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15124
|
-
OutputColumns: output.OutputColumns
|
|
15127
|
+
OutputColumns: output.OutputColumns != null
|
|
15125
15128
|
? deserializeAws_restJson1OutputColumnList(output.OutputColumns, context)
|
|
15126
15129
|
: undefined,
|
|
15127
|
-
PhysicalTableMap: output.PhysicalTableMap
|
|
15130
|
+
PhysicalTableMap: output.PhysicalTableMap != null
|
|
15128
15131
|
? deserializeAws_restJson1PhysicalTableMap(output.PhysicalTableMap, context)
|
|
15129
15132
|
: undefined,
|
|
15130
|
-
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet
|
|
15133
|
+
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
|
|
15131
15134
|
? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
|
|
15132
15135
|
: undefined,
|
|
15133
|
-
RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration
|
|
15136
|
+
RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration != null
|
|
15134
15137
|
? deserializeAws_restJson1RowLevelPermissionTagConfiguration(output.RowLevelPermissionTagConfiguration, context)
|
|
15135
15138
|
: undefined,
|
|
15136
15139
|
};
|
|
@@ -15148,12 +15151,10 @@ const deserializeAws_restJson1DataSetArnsList = (output, context) => {
|
|
|
15148
15151
|
};
|
|
15149
15152
|
const deserializeAws_restJson1DataSetConfiguration = (output, context) => {
|
|
15150
15153
|
return {
|
|
15151
|
-
ColumnGroupSchemaList: output.ColumnGroupSchemaList
|
|
15154
|
+
ColumnGroupSchemaList: output.ColumnGroupSchemaList != null
|
|
15152
15155
|
? deserializeAws_restJson1ColumnGroupSchemaList(output.ColumnGroupSchemaList, context)
|
|
15153
15156
|
: undefined,
|
|
15154
|
-
DataSetSchema: output.DataSetSchema
|
|
15155
|
-
? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context)
|
|
15156
|
-
: undefined,
|
|
15157
|
+
DataSetSchema: output.DataSetSchema != null ? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context) : undefined,
|
|
15157
15158
|
Placeholder: (0, smithy_client_1.expectString)(output.Placeholder),
|
|
15158
15159
|
};
|
|
15159
15160
|
};
|
|
@@ -15170,7 +15171,7 @@ const deserializeAws_restJson1DataSetConfigurationList = (output, context) => {
|
|
|
15170
15171
|
};
|
|
15171
15172
|
const deserializeAws_restJson1DataSetSchema = (output, context) => {
|
|
15172
15173
|
return {
|
|
15173
|
-
ColumnSchemaList: output.ColumnSchemaList
|
|
15174
|
+
ColumnSchemaList: output.ColumnSchemaList != null
|
|
15174
15175
|
? deserializeAws_restJson1ColumnSchemaList(output.ColumnSchemaList, context)
|
|
15175
15176
|
: undefined,
|
|
15176
15177
|
};
|
|
@@ -15179,16 +15180,16 @@ const deserializeAws_restJson1DataSetSummary = (output, context) => {
|
|
|
15179
15180
|
return {
|
|
15180
15181
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15181
15182
|
ColumnLevelPermissionRulesApplied: (0, smithy_client_1.expectBoolean)(output.ColumnLevelPermissionRulesApplied),
|
|
15182
|
-
CreatedTime: output.CreatedTime
|
|
15183
|
+
CreatedTime: output.CreatedTime != null
|
|
15183
15184
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15184
15185
|
: undefined,
|
|
15185
15186
|
DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
|
|
15186
15187
|
ImportMode: (0, smithy_client_1.expectString)(output.ImportMode),
|
|
15187
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15188
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15188
15189
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15189
15190
|
: undefined,
|
|
15190
15191
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15191
|
-
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet
|
|
15192
|
+
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
|
|
15192
15193
|
? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
|
|
15193
15194
|
: undefined,
|
|
15194
15195
|
RowLevelPermissionTagConfigurationApplied: (0, smithy_client_1.expectBoolean)(output.RowLevelPermissionTagConfigurationApplied),
|
|
@@ -15213,30 +15214,26 @@ const deserializeAws_restJson1DataSetUsageConfiguration = (output, context) => {
|
|
|
15213
15214
|
};
|
|
15214
15215
|
const deserializeAws_restJson1DataSource = (output, context) => {
|
|
15215
15216
|
return {
|
|
15216
|
-
AlternateDataSourceParameters: output.AlternateDataSourceParameters
|
|
15217
|
+
AlternateDataSourceParameters: output.AlternateDataSourceParameters != null
|
|
15217
15218
|
? deserializeAws_restJson1DataSourceParametersList(output.AlternateDataSourceParameters, context)
|
|
15218
15219
|
: undefined,
|
|
15219
15220
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15220
|
-
CreatedTime: output.CreatedTime
|
|
15221
|
+
CreatedTime: output.CreatedTime != null
|
|
15221
15222
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15222
15223
|
: undefined,
|
|
15223
15224
|
DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
|
|
15224
|
-
DataSourceParameters: output.DataSourceParameters
|
|
15225
|
+
DataSourceParameters: output.DataSourceParameters != null
|
|
15225
15226
|
? deserializeAws_restJson1DataSourceParameters((0, smithy_client_1.expectUnion)(output.DataSourceParameters), context)
|
|
15226
15227
|
: undefined,
|
|
15227
|
-
ErrorInfo: output.ErrorInfo
|
|
15228
|
-
|
|
15229
|
-
: undefined,
|
|
15230
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
15228
|
+
ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context) : undefined,
|
|
15229
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15231
15230
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15232
15231
|
: undefined,
|
|
15233
15232
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15234
|
-
SslProperties: output.SslProperties
|
|
15235
|
-
? deserializeAws_restJson1SslProperties(output.SslProperties, context)
|
|
15236
|
-
: undefined,
|
|
15233
|
+
SslProperties: output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
|
|
15237
15234
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
15238
15235
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
15239
|
-
VpcConnectionProperties: output.VpcConnectionProperties
|
|
15236
|
+
VpcConnectionProperties: output.VpcConnectionProperties != null
|
|
15240
15237
|
? deserializeAws_restJson1VpcConnectionProperties(output.VpcConnectionProperties, context)
|
|
15241
15238
|
: undefined,
|
|
15242
15239
|
};
|
|
@@ -15396,9 +15393,7 @@ const deserializeAws_restJson1ExasolParameters = (output, context) => {
|
|
|
15396
15393
|
};
|
|
15397
15394
|
const deserializeAws_restJson1FieldFolder = (output, context) => {
|
|
15398
15395
|
return {
|
|
15399
|
-
columns: output.columns
|
|
15400
|
-
? deserializeAws_restJson1FolderColumnList(output.columns, context)
|
|
15401
|
-
: undefined,
|
|
15396
|
+
columns: output.columns != null ? deserializeAws_restJson1FolderColumnList(output.columns, context) : undefined,
|
|
15402
15397
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
15403
15398
|
};
|
|
15404
15399
|
};
|
|
@@ -15421,15 +15416,13 @@ const deserializeAws_restJson1FilterOperation = (output, context) => {
|
|
|
15421
15416
|
const deserializeAws_restJson1Folder = (output, context) => {
|
|
15422
15417
|
return {
|
|
15423
15418
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15424
|
-
CreatedTime: output.CreatedTime
|
|
15419
|
+
CreatedTime: output.CreatedTime != null
|
|
15425
15420
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15426
15421
|
: undefined,
|
|
15427
15422
|
FolderId: (0, smithy_client_1.expectString)(output.FolderId),
|
|
15428
|
-
FolderPath: output.FolderPath
|
|
15429
|
-
? deserializeAws_restJson1Path(output.FolderPath, context)
|
|
15430
|
-
: undefined,
|
|
15423
|
+
FolderPath: output.FolderPath != null ? deserializeAws_restJson1Path(output.FolderPath, context) : undefined,
|
|
15431
15424
|
FolderType: (0, smithy_client_1.expectString)(output.FolderType),
|
|
15432
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15425
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15433
15426
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15434
15427
|
: undefined,
|
|
15435
15428
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -15466,12 +15459,12 @@ const deserializeAws_restJson1FolderMemberList = (output, context) => {
|
|
|
15466
15459
|
const deserializeAws_restJson1FolderSummary = (output, context) => {
|
|
15467
15460
|
return {
|
|
15468
15461
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15469
|
-
CreatedTime: output.CreatedTime
|
|
15462
|
+
CreatedTime: output.CreatedTime != null
|
|
15470
15463
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15471
15464
|
: undefined,
|
|
15472
15465
|
FolderId: (0, smithy_client_1.expectString)(output.FolderId),
|
|
15473
15466
|
FolderType: (0, smithy_client_1.expectString)(output.FolderType),
|
|
15474
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
15467
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
15475
15468
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
15476
15469
|
: undefined,
|
|
15477
15470
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -15490,9 +15483,7 @@ const deserializeAws_restJson1FolderSummaryList = (output, context) => {
|
|
|
15490
15483
|
};
|
|
15491
15484
|
const deserializeAws_restJson1GeoSpatialColumnGroup = (output, context) => {
|
|
15492
15485
|
return {
|
|
15493
|
-
Columns: output.Columns
|
|
15494
|
-
? deserializeAws_restJson1ColumnList(output.Columns, context)
|
|
15495
|
-
: undefined,
|
|
15486
|
+
Columns: output.Columns != null ? deserializeAws_restJson1ColumnList(output.Columns, context) : undefined,
|
|
15496
15487
|
CountryCode: (0, smithy_client_1.expectString)(output.CountryCode),
|
|
15497
15488
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15498
15489
|
};
|
|
@@ -15544,9 +15535,7 @@ const deserializeAws_restJson1IAMPolicyAssignment = (output, context) => {
|
|
|
15544
15535
|
AssignmentName: (0, smithy_client_1.expectString)(output.AssignmentName),
|
|
15545
15536
|
AssignmentStatus: (0, smithy_client_1.expectString)(output.AssignmentStatus),
|
|
15546
15537
|
AwsAccountId: (0, smithy_client_1.expectString)(output.AwsAccountId),
|
|
15547
|
-
Identities: output.Identities
|
|
15548
|
-
? deserializeAws_restJson1IdentityMap(output.Identities, context)
|
|
15549
|
-
: undefined,
|
|
15538
|
+
Identities: output.Identities != null ? deserializeAws_restJson1IdentityMap(output.Identities, context) : undefined,
|
|
15550
15539
|
PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
|
|
15551
15540
|
};
|
|
15552
15541
|
};
|
|
@@ -15592,24 +15581,18 @@ const deserializeAws_restJson1IdentityNameList = (output, context) => {
|
|
|
15592
15581
|
const deserializeAws_restJson1Ingestion = (output, context) => {
|
|
15593
15582
|
return {
|
|
15594
15583
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
15595
|
-
CreatedTime: output.CreatedTime
|
|
15584
|
+
CreatedTime: output.CreatedTime != null
|
|
15596
15585
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
15597
15586
|
: undefined,
|
|
15598
|
-
ErrorInfo: output.ErrorInfo
|
|
15599
|
-
? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
|
|
15600
|
-
: undefined,
|
|
15587
|
+
ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context) : undefined,
|
|
15601
15588
|
IngestionId: (0, smithy_client_1.expectString)(output.IngestionId),
|
|
15602
15589
|
IngestionSizeInBytes: (0, smithy_client_1.expectLong)(output.IngestionSizeInBytes),
|
|
15603
15590
|
IngestionStatus: (0, smithy_client_1.expectString)(output.IngestionStatus),
|
|
15604
15591
|
IngestionTimeInSeconds: (0, smithy_client_1.expectLong)(output.IngestionTimeInSeconds),
|
|
15605
|
-
QueueInfo: output.QueueInfo
|
|
15606
|
-
? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
|
|
15607
|
-
: undefined,
|
|
15592
|
+
QueueInfo: output.QueueInfo != null ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context) : undefined,
|
|
15608
15593
|
RequestSource: (0, smithy_client_1.expectString)(output.RequestSource),
|
|
15609
15594
|
RequestType: (0, smithy_client_1.expectString)(output.RequestType),
|
|
15610
|
-
RowInfo: output.RowInfo
|
|
15611
|
-
? deserializeAws_restJson1RowInfo(output.RowInfo, context)
|
|
15612
|
-
: undefined,
|
|
15595
|
+
RowInfo: output.RowInfo != null ? deserializeAws_restJson1RowInfo(output.RowInfo, context) : undefined,
|
|
15613
15596
|
};
|
|
15614
15597
|
};
|
|
15615
15598
|
const deserializeAws_restJson1Ingestions = (output, context) => {
|
|
@@ -15658,12 +15641,12 @@ const deserializeAws_restJson1JiraParameters = (output, context) => {
|
|
|
15658
15641
|
};
|
|
15659
15642
|
const deserializeAws_restJson1JoinInstruction = (output, context) => {
|
|
15660
15643
|
return {
|
|
15661
|
-
LeftJoinKeyProperties: output.LeftJoinKeyProperties
|
|
15644
|
+
LeftJoinKeyProperties: output.LeftJoinKeyProperties != null
|
|
15662
15645
|
? deserializeAws_restJson1JoinKeyProperties(output.LeftJoinKeyProperties, context)
|
|
15663
15646
|
: undefined,
|
|
15664
15647
|
LeftOperand: (0, smithy_client_1.expectString)(output.LeftOperand),
|
|
15665
15648
|
OnClause: (0, smithy_client_1.expectString)(output.OnClause),
|
|
15666
|
-
RightJoinKeyProperties: output.RightJoinKeyProperties
|
|
15649
|
+
RightJoinKeyProperties: output.RightJoinKeyProperties != null
|
|
15667
15650
|
? deserializeAws_restJson1JoinKeyProperties(output.RightJoinKeyProperties, context)
|
|
15668
15651
|
: undefined,
|
|
15669
15652
|
RightOperand: (0, smithy_client_1.expectString)(output.RightOperand),
|
|
@@ -15677,7 +15660,7 @@ const deserializeAws_restJson1JoinKeyProperties = (output, context) => {
|
|
|
15677
15660
|
};
|
|
15678
15661
|
const deserializeAws_restJson1LinkSharingConfiguration = (output, context) => {
|
|
15679
15662
|
return {
|
|
15680
|
-
Permissions: output.Permissions
|
|
15663
|
+
Permissions: output.Permissions != null
|
|
15681
15664
|
? deserializeAws_restJson1ResourcePermissionList(output.Permissions, context)
|
|
15682
15665
|
: undefined,
|
|
15683
15666
|
};
|
|
@@ -15685,12 +15668,10 @@ const deserializeAws_restJson1LinkSharingConfiguration = (output, context) => {
|
|
|
15685
15668
|
const deserializeAws_restJson1LogicalTable = (output, context) => {
|
|
15686
15669
|
return {
|
|
15687
15670
|
Alias: (0, smithy_client_1.expectString)(output.Alias),
|
|
15688
|
-
DataTransforms: output.DataTransforms
|
|
15671
|
+
DataTransforms: output.DataTransforms != null
|
|
15689
15672
|
? deserializeAws_restJson1TransformOperationList(output.DataTransforms, context)
|
|
15690
15673
|
: undefined,
|
|
15691
|
-
Source: output.Source
|
|
15692
|
-
? deserializeAws_restJson1LogicalTableSource(output.Source, context)
|
|
15693
|
-
: undefined,
|
|
15674
|
+
Source: output.Source != null ? deserializeAws_restJson1LogicalTableSource(output.Source, context) : undefined,
|
|
15694
15675
|
};
|
|
15695
15676
|
};
|
|
15696
15677
|
const deserializeAws_restJson1LogicalTableMap = (output, context) => {
|
|
@@ -15707,7 +15688,7 @@ const deserializeAws_restJson1LogicalTableMap = (output, context) => {
|
|
|
15707
15688
|
const deserializeAws_restJson1LogicalTableSource = (output, context) => {
|
|
15708
15689
|
return {
|
|
15709
15690
|
DataSetArn: (0, smithy_client_1.expectString)(output.DataSetArn),
|
|
15710
|
-
JoinInstruction: output.JoinInstruction
|
|
15691
|
+
JoinInstruction: output.JoinInstruction != null
|
|
15711
15692
|
? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
|
|
15712
15693
|
: undefined,
|
|
15713
15694
|
PhysicalTableId: (0, smithy_client_1.expectString)(output.PhysicalTableId),
|
|
@@ -15757,7 +15738,7 @@ const deserializeAws_restJson1NamespaceInfoV2 = (output, context) => {
|
|
|
15757
15738
|
CreationStatus: (0, smithy_client_1.expectString)(output.CreationStatus),
|
|
15758
15739
|
IdentityStore: (0, smithy_client_1.expectString)(output.IdentityStore),
|
|
15759
15740
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15760
|
-
NamespaceError: output.NamespaceError
|
|
15741
|
+
NamespaceError: output.NamespaceError != null
|
|
15761
15742
|
? deserializeAws_restJson1NamespaceError(output.NamespaceError, context)
|
|
15762
15743
|
: undefined,
|
|
15763
15744
|
};
|
|
@@ -15876,7 +15857,7 @@ const deserializeAws_restJson1ProjectedColumnList = (output, context) => {
|
|
|
15876
15857
|
};
|
|
15877
15858
|
const deserializeAws_restJson1ProjectOperation = (output, context) => {
|
|
15878
15859
|
return {
|
|
15879
|
-
ProjectedColumns: output.ProjectedColumns
|
|
15860
|
+
ProjectedColumns: output.ProjectedColumns != null
|
|
15880
15861
|
? deserializeAws_restJson1ProjectedColumnList(output.ProjectedColumns, context)
|
|
15881
15862
|
: undefined,
|
|
15882
15863
|
};
|
|
@@ -15905,9 +15886,7 @@ const deserializeAws_restJson1RelationalTable = (output, context) => {
|
|
|
15905
15886
|
return {
|
|
15906
15887
|
Catalog: (0, smithy_client_1.expectString)(output.Catalog),
|
|
15907
15888
|
DataSourceArn: (0, smithy_client_1.expectString)(output.DataSourceArn),
|
|
15908
|
-
InputColumns: output.InputColumns
|
|
15909
|
-
? deserializeAws_restJson1InputColumnList(output.InputColumns, context)
|
|
15910
|
-
: undefined,
|
|
15889
|
+
InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
|
|
15911
15890
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15912
15891
|
Schema: (0, smithy_client_1.expectString)(output.Schema),
|
|
15913
15892
|
};
|
|
@@ -15920,9 +15899,7 @@ const deserializeAws_restJson1RenameColumnOperation = (output, context) => {
|
|
|
15920
15899
|
};
|
|
15921
15900
|
const deserializeAws_restJson1ResourcePermission = (output, context) => {
|
|
15922
15901
|
return {
|
|
15923
|
-
Actions: output.Actions
|
|
15924
|
-
? deserializeAws_restJson1ActionList(output.Actions, context)
|
|
15925
|
-
: undefined,
|
|
15902
|
+
Actions: output.Actions != null ? deserializeAws_restJson1ActionList(output.Actions, context) : undefined,
|
|
15926
15903
|
Principal: (0, smithy_client_1.expectString)(output.Principal),
|
|
15927
15904
|
};
|
|
15928
15905
|
};
|
|
@@ -15956,7 +15933,7 @@ const deserializeAws_restJson1RowLevelPermissionDataSet = (output, context) => {
|
|
|
15956
15933
|
const deserializeAws_restJson1RowLevelPermissionTagConfiguration = (output, context) => {
|
|
15957
15934
|
return {
|
|
15958
15935
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
15959
|
-
TagRules: output.TagRules
|
|
15936
|
+
TagRules: output.TagRules != null
|
|
15960
15937
|
? deserializeAws_restJson1RowLevelPermissionTagRuleList(output.TagRules, context)
|
|
15961
15938
|
: undefined,
|
|
15962
15939
|
};
|
|
@@ -15982,7 +15959,7 @@ const deserializeAws_restJson1RowLevelPermissionTagRuleList = (output, context)
|
|
|
15982
15959
|
};
|
|
15983
15960
|
const deserializeAws_restJson1S3Parameters = (output, context) => {
|
|
15984
15961
|
return {
|
|
15985
|
-
ManifestFileLocation: output.ManifestFileLocation
|
|
15962
|
+
ManifestFileLocation: output.ManifestFileLocation != null
|
|
15986
15963
|
? deserializeAws_restJson1ManifestFileLocation(output.ManifestFileLocation, context)
|
|
15987
15964
|
: undefined,
|
|
15988
15965
|
};
|
|
@@ -15990,10 +15967,8 @@ const deserializeAws_restJson1S3Parameters = (output, context) => {
|
|
|
15990
15967
|
const deserializeAws_restJson1S3Source = (output, context) => {
|
|
15991
15968
|
return {
|
|
15992
15969
|
DataSourceArn: (0, smithy_client_1.expectString)(output.DataSourceArn),
|
|
15993
|
-
InputColumns: output.InputColumns
|
|
15994
|
-
|
|
15995
|
-
: undefined,
|
|
15996
|
-
UploadSettings: output.UploadSettings !== undefined && output.UploadSettings !== null
|
|
15970
|
+
InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
|
|
15971
|
+
UploadSettings: output.UploadSettings != null
|
|
15997
15972
|
? deserializeAws_restJson1UploadSettings(output.UploadSettings, context)
|
|
15998
15973
|
: undefined,
|
|
15999
15974
|
};
|
|
@@ -16022,12 +15997,16 @@ const deserializeAws_restJson1SheetList = (output, context) => {
|
|
|
16022
15997
|
};
|
|
16023
15998
|
const deserializeAws_restJson1SheetStyle = (output, context) => {
|
|
16024
15999
|
return {
|
|
16025
|
-
Tile: output.Tile
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16000
|
+
Tile: output.Tile != null ? deserializeAws_restJson1TileStyle(output.Tile, context) : undefined,
|
|
16001
|
+
TileLayout: output.TileLayout != null ? deserializeAws_restJson1TileLayoutStyle(output.TileLayout, context) : undefined,
|
|
16002
|
+
};
|
|
16003
|
+
};
|
|
16004
|
+
const deserializeAws_restJson1SignupResponse = (output, context) => {
|
|
16005
|
+
return {
|
|
16006
|
+
IAMUser: (0, smithy_client_1.expectBoolean)(output.IAMUser),
|
|
16007
|
+
accountName: (0, smithy_client_1.expectString)(output.accountName),
|
|
16008
|
+
directoryType: (0, smithy_client_1.expectString)(output.directoryType),
|
|
16009
|
+
userLoginName: (0, smithy_client_1.expectString)(output.userLoginName),
|
|
16031
16010
|
};
|
|
16032
16011
|
};
|
|
16033
16012
|
const deserializeAws_restJson1SnowflakeParameters = (output, context) => {
|
|
@@ -16064,9 +16043,7 @@ const deserializeAws_restJson1Tag = (output, context) => {
|
|
|
16064
16043
|
const deserializeAws_restJson1TagColumnOperation = (output, context) => {
|
|
16065
16044
|
return {
|
|
16066
16045
|
ColumnName: (0, smithy_client_1.expectString)(output.ColumnName),
|
|
16067
|
-
Tags: output.Tags
|
|
16068
|
-
? deserializeAws_restJson1ColumnTagList(output.Tags, context)
|
|
16069
|
-
: undefined,
|
|
16046
|
+
Tags: output.Tags != null ? deserializeAws_restJson1ColumnTagList(output.Tags, context) : undefined,
|
|
16070
16047
|
};
|
|
16071
16048
|
};
|
|
16072
16049
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -16083,17 +16060,15 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
16083
16060
|
const deserializeAws_restJson1Template = (output, context) => {
|
|
16084
16061
|
return {
|
|
16085
16062
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16086
|
-
CreatedTime: output.CreatedTime
|
|
16063
|
+
CreatedTime: output.CreatedTime != null
|
|
16087
16064
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16088
16065
|
: undefined,
|
|
16089
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
16066
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
16090
16067
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
16091
16068
|
: undefined,
|
|
16092
16069
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
16093
16070
|
TemplateId: (0, smithy_client_1.expectString)(output.TemplateId),
|
|
16094
|
-
Version: output.Version
|
|
16095
|
-
? deserializeAws_restJson1TemplateVersion(output.Version, context)
|
|
16096
|
-
: undefined,
|
|
16071
|
+
Version: output.Version != null ? deserializeAws_restJson1TemplateVersion(output.Version, context) : undefined,
|
|
16097
16072
|
};
|
|
16098
16073
|
};
|
|
16099
16074
|
const deserializeAws_restJson1TemplateAlias = (output, context) => {
|
|
@@ -16134,10 +16109,10 @@ const deserializeAws_restJson1TemplateErrorList = (output, context) => {
|
|
|
16134
16109
|
const deserializeAws_restJson1TemplateSummary = (output, context) => {
|
|
16135
16110
|
return {
|
|
16136
16111
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16137
|
-
CreatedTime: output.CreatedTime
|
|
16112
|
+
CreatedTime: output.CreatedTime != null
|
|
16138
16113
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16139
16114
|
: undefined,
|
|
16140
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
16115
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
16141
16116
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
16142
16117
|
: undefined,
|
|
16143
16118
|
LatestVersionNumber: (0, smithy_client_1.expectLong)(output.LatestVersionNumber),
|
|
@@ -16158,19 +16133,15 @@ const deserializeAws_restJson1TemplateSummaryList = (output, context) => {
|
|
|
16158
16133
|
};
|
|
16159
16134
|
const deserializeAws_restJson1TemplateVersion = (output, context) => {
|
|
16160
16135
|
return {
|
|
16161
|
-
CreatedTime: output.CreatedTime
|
|
16136
|
+
CreatedTime: output.CreatedTime != null
|
|
16162
16137
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16163
16138
|
: undefined,
|
|
16164
|
-
DataSetConfigurations: output.DataSetConfigurations
|
|
16139
|
+
DataSetConfigurations: output.DataSetConfigurations != null
|
|
16165
16140
|
? deserializeAws_restJson1DataSetConfigurationList(output.DataSetConfigurations, context)
|
|
16166
16141
|
: undefined,
|
|
16167
16142
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
16168
|
-
Errors: output.Errors
|
|
16169
|
-
|
|
16170
|
-
: undefined,
|
|
16171
|
-
Sheets: output.Sheets !== undefined && output.Sheets !== null
|
|
16172
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
16173
|
-
: undefined,
|
|
16143
|
+
Errors: output.Errors != null ? deserializeAws_restJson1TemplateErrorList(output.Errors, context) : undefined,
|
|
16144
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
16174
16145
|
SourceEntityArn: (0, smithy_client_1.expectString)(output.SourceEntityArn),
|
|
16175
16146
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
16176
16147
|
ThemeArn: (0, smithy_client_1.expectString)(output.ThemeArn),
|
|
@@ -16180,7 +16151,7 @@ const deserializeAws_restJson1TemplateVersion = (output, context) => {
|
|
|
16180
16151
|
const deserializeAws_restJson1TemplateVersionSummary = (output, context) => {
|
|
16181
16152
|
return {
|
|
16182
16153
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16183
|
-
CreatedTime: output.CreatedTime
|
|
16154
|
+
CreatedTime: output.CreatedTime != null
|
|
16184
16155
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16185
16156
|
: undefined,
|
|
16186
16157
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
@@ -16209,18 +16180,16 @@ const deserializeAws_restJson1TeradataParameters = (output, context) => {
|
|
|
16209
16180
|
const deserializeAws_restJson1Theme = (output, context) => {
|
|
16210
16181
|
return {
|
|
16211
16182
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16212
|
-
CreatedTime: output.CreatedTime
|
|
16183
|
+
CreatedTime: output.CreatedTime != null
|
|
16213
16184
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16214
16185
|
: undefined,
|
|
16215
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
16186
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
16216
16187
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
16217
16188
|
: undefined,
|
|
16218
16189
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
16219
16190
|
ThemeId: (0, smithy_client_1.expectString)(output.ThemeId),
|
|
16220
16191
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
16221
|
-
Version: output.Version
|
|
16222
|
-
? deserializeAws_restJson1ThemeVersion(output.Version, context)
|
|
16223
|
-
: undefined,
|
|
16192
|
+
Version: output.Version != null ? deserializeAws_restJson1ThemeVersion(output.Version, context) : undefined,
|
|
16224
16193
|
};
|
|
16225
16194
|
};
|
|
16226
16195
|
const deserializeAws_restJson1ThemeAlias = (output, context) => {
|
|
@@ -16243,13 +16212,11 @@ const deserializeAws_restJson1ThemeAliasList = (output, context) => {
|
|
|
16243
16212
|
};
|
|
16244
16213
|
const deserializeAws_restJson1ThemeConfiguration = (output, context) => {
|
|
16245
16214
|
return {
|
|
16246
|
-
DataColorPalette: output.DataColorPalette
|
|
16215
|
+
DataColorPalette: output.DataColorPalette != null
|
|
16247
16216
|
? deserializeAws_restJson1DataColorPalette(output.DataColorPalette, context)
|
|
16248
16217
|
: undefined,
|
|
16249
|
-
Sheet: output.Sheet
|
|
16250
|
-
|
|
16251
|
-
: undefined,
|
|
16252
|
-
UIColorPalette: output.UIColorPalette !== undefined && output.UIColorPalette !== null
|
|
16218
|
+
Sheet: output.Sheet != null ? deserializeAws_restJson1SheetStyle(output.Sheet, context) : undefined,
|
|
16219
|
+
UIColorPalette: output.UIColorPalette != null
|
|
16253
16220
|
? deserializeAws_restJson1UIColorPalette(output.UIColorPalette, context)
|
|
16254
16221
|
: undefined,
|
|
16255
16222
|
};
|
|
@@ -16274,10 +16241,10 @@ const deserializeAws_restJson1ThemeErrorList = (output, context) => {
|
|
|
16274
16241
|
const deserializeAws_restJson1ThemeSummary = (output, context) => {
|
|
16275
16242
|
return {
|
|
16276
16243
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16277
|
-
CreatedTime: output.CreatedTime
|
|
16244
|
+
CreatedTime: output.CreatedTime != null
|
|
16278
16245
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16279
16246
|
: undefined,
|
|
16280
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
16247
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
16281
16248
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
16282
16249
|
: undefined,
|
|
16283
16250
|
LatestVersionNumber: (0, smithy_client_1.expectLong)(output.LatestVersionNumber),
|
|
@@ -16300,16 +16267,14 @@ const deserializeAws_restJson1ThemeVersion = (output, context) => {
|
|
|
16300
16267
|
return {
|
|
16301
16268
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16302
16269
|
BaseThemeId: (0, smithy_client_1.expectString)(output.BaseThemeId),
|
|
16303
|
-
Configuration: output.Configuration
|
|
16270
|
+
Configuration: output.Configuration != null
|
|
16304
16271
|
? deserializeAws_restJson1ThemeConfiguration(output.Configuration, context)
|
|
16305
16272
|
: undefined,
|
|
16306
|
-
CreatedTime: output.CreatedTime
|
|
16273
|
+
CreatedTime: output.CreatedTime != null
|
|
16307
16274
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16308
16275
|
: undefined,
|
|
16309
16276
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
16310
|
-
Errors: output.Errors
|
|
16311
|
-
? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
|
|
16312
|
-
: undefined,
|
|
16277
|
+
Errors: output.Errors != null ? deserializeAws_restJson1ThemeErrorList(output.Errors, context) : undefined,
|
|
16313
16278
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
16314
16279
|
VersionNumber: (0, smithy_client_1.expectLong)(output.VersionNumber),
|
|
16315
16280
|
};
|
|
@@ -16317,7 +16282,7 @@ const deserializeAws_restJson1ThemeVersion = (output, context) => {
|
|
|
16317
16282
|
const deserializeAws_restJson1ThemeVersionSummary = (output, context) => {
|
|
16318
16283
|
return {
|
|
16319
16284
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
16320
|
-
CreatedTime: output.CreatedTime
|
|
16285
|
+
CreatedTime: output.CreatedTime != null
|
|
16321
16286
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
16322
16287
|
: undefined,
|
|
16323
16288
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
@@ -16338,19 +16303,13 @@ const deserializeAws_restJson1ThemeVersionSummaryList = (output, context) => {
|
|
|
16338
16303
|
};
|
|
16339
16304
|
const deserializeAws_restJson1TileLayoutStyle = (output, context) => {
|
|
16340
16305
|
return {
|
|
16341
|
-
Gutter: output.Gutter
|
|
16342
|
-
|
|
16343
|
-
: undefined,
|
|
16344
|
-
Margin: output.Margin !== undefined && output.Margin !== null
|
|
16345
|
-
? deserializeAws_restJson1MarginStyle(output.Margin, context)
|
|
16346
|
-
: undefined,
|
|
16306
|
+
Gutter: output.Gutter != null ? deserializeAws_restJson1GutterStyle(output.Gutter, context) : undefined,
|
|
16307
|
+
Margin: output.Margin != null ? deserializeAws_restJson1MarginStyle(output.Margin, context) : undefined,
|
|
16347
16308
|
};
|
|
16348
16309
|
};
|
|
16349
16310
|
const deserializeAws_restJson1TileStyle = (output, context) => {
|
|
16350
16311
|
return {
|
|
16351
|
-
Border: output.Border
|
|
16352
|
-
? deserializeAws_restJson1BorderStyle(output.Border, context)
|
|
16353
|
-
: undefined,
|
|
16312
|
+
Border: output.Border != null ? deserializeAws_restJson1BorderStyle(output.Border, context) : undefined,
|
|
16354
16313
|
};
|
|
16355
16314
|
};
|
|
16356
16315
|
const deserializeAws_restJson1TransformOperation = (output, context) => {
|
|
@@ -16431,9 +16390,7 @@ const deserializeAws_restJson1UIColorPalette = (output, context) => {
|
|
|
16431
16390
|
const deserializeAws_restJson1UntagColumnOperation = (output, context) => {
|
|
16432
16391
|
return {
|
|
16433
16392
|
ColumnName: (0, smithy_client_1.expectString)(output.ColumnName),
|
|
16434
|
-
TagNames: output.TagNames
|
|
16435
|
-
? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
|
|
16436
|
-
: undefined,
|
|
16393
|
+
TagNames: output.TagNames != null ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context) : undefined,
|
|
16437
16394
|
};
|
|
16438
16395
|
};
|
|
16439
16396
|
const deserializeAws_restJson1UploadSettings = (output, context) => {
|