@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
|
@@ -78,11 +78,9 @@ export var serializeAws_restJson1CreateAccountCustomizationCommand = function (i
|
|
|
78
78
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
79
79
|
}
|
|
80
80
|
query = __assign({}, (input.Namespace !== undefined && { namespace: input.Namespace }));
|
|
81
|
-
body = JSON.stringify(__assign(__assign({}, (input.AccountCustomization
|
|
82
|
-
input.AccountCustomization !== null && {
|
|
81
|
+
body = JSON.stringify(__assign(__assign({}, (input.AccountCustomization != null && {
|
|
83
82
|
AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
|
|
84
|
-
})), (input.Tags
|
|
85
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
83
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
86
84
|
return [2, new __HttpRequest({
|
|
87
85
|
protocol: protocol,
|
|
88
86
|
hostname: hostname,
|
|
@@ -96,6 +94,40 @@ export var serializeAws_restJson1CreateAccountCustomizationCommand = function (i
|
|
|
96
94
|
}
|
|
97
95
|
});
|
|
98
96
|
}); };
|
|
97
|
+
export var serializeAws_restJson1CreateAccountSubscriptionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
98
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
99
|
+
return __generator(this, function (_c) {
|
|
100
|
+
switch (_c.label) {
|
|
101
|
+
case 0: return [4, context.endpoint()];
|
|
102
|
+
case 1:
|
|
103
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
104
|
+
headers = {
|
|
105
|
+
"content-type": "application/json",
|
|
106
|
+
};
|
|
107
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/{AwsAccountId}";
|
|
108
|
+
if (input.AwsAccountId !== undefined) {
|
|
109
|
+
labelValue = input.AwsAccountId;
|
|
110
|
+
if (labelValue.length <= 0) {
|
|
111
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
112
|
+
}
|
|
113
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue));
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
117
|
+
}
|
|
118
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountName != null && { AccountName: input.AccountName })), (input.ActiveDirectoryName != null && { ActiveDirectoryName: input.ActiveDirectoryName })), (input.AdminGroup != null && { AdminGroup: serializeAws_restJson1GroupsList(input.AdminGroup, context) })), (input.AuthenticationMethod != null && { AuthenticationMethod: input.AuthenticationMethod })), (input.AuthorGroup != null && { AuthorGroup: serializeAws_restJson1GroupsList(input.AuthorGroup, context) })), (input.ContactNumber != null && { ContactNumber: input.ContactNumber })), (input.DirectoryId != null && { DirectoryId: input.DirectoryId })), (input.Edition != null && { Edition: input.Edition })), (input.EmailAddress != null && { EmailAddress: input.EmailAddress })), (input.FirstName != null && { FirstName: input.FirstName })), (input.LastName != null && { LastName: input.LastName })), (input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail })), (input.ReaderGroup != null && { ReaderGroup: serializeAws_restJson1GroupsList(input.ReaderGroup, context) })), (input.Realm != null && { Realm: input.Realm })));
|
|
119
|
+
return [2, new __HttpRequest({
|
|
120
|
+
protocol: protocol,
|
|
121
|
+
hostname: hostname,
|
|
122
|
+
port: port,
|
|
123
|
+
method: "POST",
|
|
124
|
+
headers: headers,
|
|
125
|
+
path: resolvedPath,
|
|
126
|
+
body: body,
|
|
127
|
+
})];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}); };
|
|
99
131
|
export var serializeAws_restJson1CreateAnalysisCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
100
132
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
|
|
101
133
|
return __generator(this, function (_c) {
|
|
@@ -128,15 +160,11 @@ export var serializeAws_restJson1CreateAnalysisCommand = function (input, contex
|
|
|
128
160
|
else {
|
|
129
161
|
throw new Error("No value provided for input HTTP label: AnalysisId.");
|
|
130
162
|
}
|
|
131
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Name
|
|
132
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions !== undefined &&
|
|
133
|
-
input.Permissions !== null && {
|
|
163
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions != null && {
|
|
134
164
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
135
|
-
})), (input.SourceEntity
|
|
136
|
-
input.SourceEntity !== null && {
|
|
165
|
+
})), (input.SourceEntity != null && {
|
|
137
166
|
SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
|
|
138
|
-
})), (input.Tags
|
|
139
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })));
|
|
167
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })));
|
|
140
168
|
return [2, new __HttpRequest({
|
|
141
169
|
protocol: protocol,
|
|
142
170
|
hostname: hostname,
|
|
@@ -181,19 +209,13 @@ export var serializeAws_restJson1CreateDashboardCommand = function (input, conte
|
|
|
181
209
|
else {
|
|
182
210
|
throw new Error("No value provided for input HTTP label: DashboardId.");
|
|
183
211
|
}
|
|
184
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions
|
|
185
|
-
input.DashboardPublishOptions !== null && {
|
|
212
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions != null && {
|
|
186
213
|
DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
|
|
187
|
-
})), (input.Name
|
|
188
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions !== undefined &&
|
|
189
|
-
input.Permissions !== null && {
|
|
214
|
+
})), (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions != null && {
|
|
190
215
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
191
|
-
})), (input.SourceEntity
|
|
192
|
-
input.SourceEntity !== null && {
|
|
216
|
+
})), (input.SourceEntity != null && {
|
|
193
217
|
SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
|
|
194
|
-
})), (input.Tags
|
|
195
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })), (input.VersionDescription !== undefined &&
|
|
196
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
218
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
197
219
|
return [2, new __HttpRequest({
|
|
198
220
|
protocol: protocol,
|
|
199
221
|
hostname: hostname,
|
|
@@ -227,35 +249,25 @@ export var serializeAws_restJson1CreateDataSetCommand = function (input, context
|
|
|
227
249
|
else {
|
|
228
250
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
229
251
|
}
|
|
230
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups
|
|
231
|
-
input.ColumnGroups !== null && {
|
|
252
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups != null && {
|
|
232
253
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
233
|
-
})), (input.ColumnLevelPermissionRules
|
|
234
|
-
input.ColumnLevelPermissionRules !== null && {
|
|
254
|
+
})), (input.ColumnLevelPermissionRules != null && {
|
|
235
255
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
236
|
-
})), (input.DataSetId
|
|
237
|
-
input.DataSetUsageConfiguration !== null && {
|
|
256
|
+
})), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.DataSetUsageConfiguration != null && {
|
|
238
257
|
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
239
|
-
})), (input.FieldFolders
|
|
240
|
-
input.FieldFolders !== null && {
|
|
258
|
+
})), (input.FieldFolders != null && {
|
|
241
259
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
242
|
-
})), (input.ImportMode
|
|
243
|
-
input.LogicalTableMap !== null && {
|
|
260
|
+
})), (input.ImportMode != null && { ImportMode: input.ImportMode })), (input.LogicalTableMap != null && {
|
|
244
261
|
LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
|
|
245
|
-
})), (input.Name
|
|
246
|
-
input.Permissions !== null && {
|
|
262
|
+
})), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
|
|
247
263
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
248
|
-
})), (input.PhysicalTableMap
|
|
249
|
-
input.PhysicalTableMap !== null && {
|
|
264
|
+
})), (input.PhysicalTableMap != null && {
|
|
250
265
|
PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
|
|
251
|
-
})), (input.RowLevelPermissionDataSet
|
|
252
|
-
input.RowLevelPermissionDataSet !== null && {
|
|
266
|
+
})), (input.RowLevelPermissionDataSet != null && {
|
|
253
267
|
RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
|
|
254
|
-
})), (input.RowLevelPermissionTagConfiguration
|
|
255
|
-
input.RowLevelPermissionTagConfiguration !== null && {
|
|
268
|
+
})), (input.RowLevelPermissionTagConfiguration != null && {
|
|
256
269
|
RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
|
|
257
|
-
})), (input.Tags
|
|
258
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
270
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
259
271
|
return [2, new __HttpRequest({
|
|
260
272
|
protocol: protocol,
|
|
261
273
|
hostname: hostname,
|
|
@@ -289,21 +301,15 @@ export var serializeAws_restJson1CreateDataSourceCommand = function (input, cont
|
|
|
289
301
|
else {
|
|
290
302
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
291
303
|
}
|
|
292
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials
|
|
293
|
-
input.Credentials !== null && {
|
|
304
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials != null && {
|
|
294
305
|
Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
|
|
295
|
-
})), (input.DataSourceId
|
|
296
|
-
input.DataSourceParameters !== null && {
|
|
306
|
+
})), (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.DataSourceParameters != null && {
|
|
297
307
|
DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
|
|
298
|
-
})), (input.Name
|
|
299
|
-
input.Permissions !== null && {
|
|
308
|
+
})), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
|
|
300
309
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
301
|
-
})), (input.SslProperties
|
|
302
|
-
input.SslProperties !== null && {
|
|
310
|
+
})), (input.SslProperties != null && {
|
|
303
311
|
SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
|
|
304
|
-
})), (input.Tags
|
|
305
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.VpcConnectionProperties !== undefined &&
|
|
306
|
-
input.VpcConnectionProperties !== null && {
|
|
312
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type })), (input.VpcConnectionProperties != null && {
|
|
307
313
|
VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
|
|
308
314
|
})));
|
|
309
315
|
return [2, new __HttpRequest({
|
|
@@ -350,12 +356,9 @@ export var serializeAws_restJson1CreateFolderCommand = function (input, context)
|
|
|
350
356
|
else {
|
|
351
357
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
352
358
|
}
|
|
353
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FolderType
|
|
354
|
-
input.ParentFolderArn !== null && { ParentFolderArn: input.ParentFolderArn })), (input.Permissions !== undefined &&
|
|
355
|
-
input.Permissions !== null && {
|
|
359
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FolderType != null && { FolderType: input.FolderType })), (input.Name != null && { Name: input.Name })), (input.ParentFolderArn != null && { ParentFolderArn: input.ParentFolderArn })), (input.Permissions != null && {
|
|
356
360
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
357
|
-
})), (input.Tags
|
|
358
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
361
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
359
362
|
return [2, new __HttpRequest({
|
|
360
363
|
protocol: protocol,
|
|
361
364
|
hostname: hostname,
|
|
@@ -462,7 +465,7 @@ export var serializeAws_restJson1CreateGroupCommand = function (input, context)
|
|
|
462
465
|
else {
|
|
463
466
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
464
467
|
}
|
|
465
|
-
body = JSON.stringify(__assign(__assign({}, (input.Description
|
|
468
|
+
body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.GroupName != null && { GroupName: input.GroupName })));
|
|
466
469
|
return [2, new __HttpRequest({
|
|
467
470
|
protocol: protocol,
|
|
468
471
|
hostname: hostname,
|
|
@@ -569,10 +572,7 @@ export var serializeAws_restJson1CreateIAMPolicyAssignmentCommand = function (in
|
|
|
569
572
|
else {
|
|
570
573
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
571
574
|
}
|
|
572
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssignmentName
|
|
573
|
-
input.AssignmentName !== null && { AssignmentName: input.AssignmentName })), (input.AssignmentStatus !== undefined &&
|
|
574
|
-
input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities !== undefined &&
|
|
575
|
-
input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn })));
|
|
575
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssignmentName != null && { AssignmentName: input.AssignmentName })), (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn != null && { PolicyArn: input.PolicyArn })));
|
|
576
576
|
return [2, new __HttpRequest({
|
|
577
577
|
protocol: protocol,
|
|
578
578
|
hostname: hostname,
|
|
@@ -627,7 +627,7 @@ export var serializeAws_restJson1CreateIngestionCommand = function (input, conte
|
|
|
627
627
|
else {
|
|
628
628
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
629
629
|
}
|
|
630
|
-
body = JSON.stringify(__assign({}, (input.IngestionType
|
|
630
|
+
body = JSON.stringify(__assign({}, (input.IngestionType != null && { IngestionType: input.IngestionType })));
|
|
631
631
|
return [2, new __HttpRequest({
|
|
632
632
|
protocol: protocol,
|
|
633
633
|
hostname: hostname,
|
|
@@ -661,8 +661,7 @@ export var serializeAws_restJson1CreateNamespaceCommand = function (input, conte
|
|
|
661
661
|
else {
|
|
662
662
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
663
663
|
}
|
|
664
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.IdentityStore
|
|
665
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
664
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.IdentityStore != null && { IdentityStore: input.IdentityStore })), (input.Namespace != null && { Namespace: input.Namespace })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
666
665
|
return [2, new __HttpRequest({
|
|
667
666
|
protocol: protocol,
|
|
668
667
|
hostname: hostname,
|
|
@@ -707,15 +706,11 @@ export var serializeAws_restJson1CreateTemplateCommand = function (input, contex
|
|
|
707
706
|
else {
|
|
708
707
|
throw new Error("No value provided for input HTTP label: TemplateId.");
|
|
709
708
|
}
|
|
710
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Name
|
|
711
|
-
input.Permissions !== null && {
|
|
709
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
|
|
712
710
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
713
|
-
})), (input.SourceEntity
|
|
714
|
-
input.SourceEntity !== null && {
|
|
711
|
+
})), (input.SourceEntity != null && {
|
|
715
712
|
SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
|
|
716
|
-
})), (input.Tags
|
|
717
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription !== undefined &&
|
|
718
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
713
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
719
714
|
return [2, new __HttpRequest({
|
|
720
715
|
protocol: protocol,
|
|
721
716
|
hostname: hostname,
|
|
@@ -770,8 +765,7 @@ export var serializeAws_restJson1CreateTemplateAliasCommand = function (input, c
|
|
|
770
765
|
else {
|
|
771
766
|
throw new Error("No value provided for input HTTP label: AliasName.");
|
|
772
767
|
}
|
|
773
|
-
body = JSON.stringify(__assign({}, (input.TemplateVersionNumber
|
|
774
|
-
input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber })));
|
|
768
|
+
body = JSON.stringify(__assign({}, (input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber })));
|
|
775
769
|
return [2, new __HttpRequest({
|
|
776
770
|
protocol: protocol,
|
|
777
771
|
hostname: hostname,
|
|
@@ -815,15 +809,11 @@ export var serializeAws_restJson1CreateThemeCommand = function (input, context)
|
|
|
815
809
|
else {
|
|
816
810
|
throw new Error("No value provided for input HTTP label: ThemeId.");
|
|
817
811
|
}
|
|
818
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BaseThemeId
|
|
819
|
-
input.Configuration !== null && {
|
|
812
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId })), (input.Configuration != null && {
|
|
820
813
|
Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
|
|
821
|
-
})), (input.Name
|
|
822
|
-
input.Permissions !== null && {
|
|
814
|
+
})), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
|
|
823
815
|
Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
|
|
824
|
-
})), (input.Tags
|
|
825
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription !== undefined &&
|
|
826
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
816
|
+
})), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
827
817
|
return [2, new __HttpRequest({
|
|
828
818
|
protocol: protocol,
|
|
829
819
|
hostname: hostname,
|
|
@@ -878,8 +868,7 @@ export var serializeAws_restJson1CreateThemeAliasCommand = function (input, cont
|
|
|
878
868
|
else {
|
|
879
869
|
throw new Error("No value provided for input HTTP label: AliasName.");
|
|
880
870
|
}
|
|
881
|
-
body = JSON.stringify(__assign({}, (input.ThemeVersionNumber
|
|
882
|
-
input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber })));
|
|
871
|
+
body = JSON.stringify(__assign({}, (input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber })));
|
|
883
872
|
return [2, new __HttpRequest({
|
|
884
873
|
protocol: protocol,
|
|
885
874
|
hostname: hostname,
|
|
@@ -1772,6 +1761,37 @@ export var serializeAws_restJson1DescribeAccountSettingsCommand = function (inpu
|
|
|
1772
1761
|
}
|
|
1773
1762
|
});
|
|
1774
1763
|
}); };
|
|
1764
|
+
export var serializeAws_restJson1DescribeAccountSubscriptionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1765
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1766
|
+
return __generator(this, function (_c) {
|
|
1767
|
+
switch (_c.label) {
|
|
1768
|
+
case 0: return [4, context.endpoint()];
|
|
1769
|
+
case 1:
|
|
1770
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1771
|
+
headers = {};
|
|
1772
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/{AwsAccountId}";
|
|
1773
|
+
if (input.AwsAccountId !== undefined) {
|
|
1774
|
+
labelValue = input.AwsAccountId;
|
|
1775
|
+
if (labelValue.length <= 0) {
|
|
1776
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
1777
|
+
}
|
|
1778
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue));
|
|
1779
|
+
}
|
|
1780
|
+
else {
|
|
1781
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
1782
|
+
}
|
|
1783
|
+
return [2, new __HttpRequest({
|
|
1784
|
+
protocol: protocol,
|
|
1785
|
+
hostname: hostname,
|
|
1786
|
+
port: port,
|
|
1787
|
+
method: "GET",
|
|
1788
|
+
headers: headers,
|
|
1789
|
+
path: resolvedPath,
|
|
1790
|
+
body: body,
|
|
1791
|
+
})];
|
|
1792
|
+
}
|
|
1793
|
+
});
|
|
1794
|
+
}); };
|
|
1775
1795
|
export var serializeAws_restJson1DescribeAnalysisCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1776
1796
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
|
|
1777
1797
|
return __generator(this, function (_c) {
|
|
@@ -2876,15 +2896,13 @@ export var serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = funct
|
|
|
2876
2896
|
else {
|
|
2877
2897
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
2878
2898
|
}
|
|
2879
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
2880
|
-
input.
|
|
2899
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowedDomains != null && {
|
|
2900
|
+
AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
|
|
2901
|
+
})), (input.AuthorizedResourceArns != null && {
|
|
2881
2902
|
AuthorizedResourceArns: serializeAws_restJson1ArnList(input.AuthorizedResourceArns, context),
|
|
2882
|
-
})), (input.ExperienceConfiguration
|
|
2883
|
-
input.ExperienceConfiguration !== null && {
|
|
2903
|
+
})), (input.ExperienceConfiguration != null && {
|
|
2884
2904
|
ExperienceConfiguration: serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
|
|
2885
|
-
})), (input.Namespace
|
|
2886
|
-
input.SessionLifetimeInMinutes !== null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.SessionTags !== undefined &&
|
|
2887
|
-
input.SessionTags !== null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) })));
|
|
2905
|
+
})), (input.Namespace != null && { Namespace: input.Namespace })), (input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.SessionTags != null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) })));
|
|
2888
2906
|
return [2, new __HttpRequest({
|
|
2889
2907
|
protocol: protocol,
|
|
2890
2908
|
hostname: hostname,
|
|
@@ -2919,11 +2937,11 @@ export var serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = func
|
|
|
2919
2937
|
else {
|
|
2920
2938
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
2921
2939
|
}
|
|
2922
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.
|
|
2923
|
-
input.
|
|
2940
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AllowedDomains != null && {
|
|
2941
|
+
AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
|
|
2942
|
+
})), (input.ExperienceConfiguration != null && {
|
|
2924
2943
|
ExperienceConfiguration: serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
|
|
2925
|
-
})), (input.SessionLifetimeInMinutes
|
|
2926
|
-
input.SessionLifetimeInMinutes !== null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.UserArn !== undefined && input.UserArn !== null && { UserArn: input.UserArn })));
|
|
2944
|
+
})), (input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.UserArn != null && { UserArn: input.UserArn })));
|
|
2927
2945
|
return [2, new __HttpRequest({
|
|
2928
2946
|
protocol: protocol,
|
|
2929
2947
|
hostname: hostname,
|
|
@@ -3406,8 +3424,7 @@ export var serializeAws_restJson1ListIAMPolicyAssignmentsCommand = function (inp
|
|
|
3406
3424
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
3407
3425
|
}
|
|
3408
3426
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
3409
|
-
body = JSON.stringify(__assign({}, (input.AssignmentStatus
|
|
3410
|
-
input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })));
|
|
3427
|
+
body = JSON.stringify(__assign({}, (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })));
|
|
3411
3428
|
return [2, new __HttpRequest({
|
|
3412
3429
|
protocol: protocol,
|
|
3413
3430
|
hostname: hostname,
|
|
@@ -3955,13 +3972,11 @@ export var serializeAws_restJson1RegisterUserCommand = function (input, context)
|
|
|
3955
3972
|
else {
|
|
3956
3973
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
3957
3974
|
}
|
|
3958
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
input.ExternalLoginFederationProviderType !== null && {
|
|
3975
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl != null && {
|
|
3976
|
+
CustomFederationProviderUrl: input.CustomFederationProviderUrl,
|
|
3977
|
+
})), (input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email != null && { Email: input.Email })), (input.ExternalLoginFederationProviderType != null && {
|
|
3962
3978
|
ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
|
|
3963
|
-
})), (input.ExternalLoginId
|
|
3964
|
-
input.ExternalLoginId !== null && { ExternalLoginId: input.ExternalLoginId })), (input.IamArn !== undefined && input.IamArn !== null && { IamArn: input.IamArn })), (input.IdentityType !== undefined && input.IdentityType !== null && { IdentityType: input.IdentityType })), (input.SessionName !== undefined && input.SessionName !== null && { SessionName: input.SessionName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName })), (input.UserRole !== undefined && input.UserRole !== null && { UserRole: input.UserRole })));
|
|
3979
|
+
})), (input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId })), (input.IamArn != null && { IamArn: input.IamArn })), (input.IdentityType != null && { IdentityType: input.IdentityType })), (input.SessionName != null && { SessionName: input.SessionName })), (input.UserName != null && { UserName: input.UserName })), (input.UserRole != null && { UserRole: input.UserRole })));
|
|
3965
3980
|
return [2, new __HttpRequest({
|
|
3966
3981
|
protocol: protocol,
|
|
3967
3982
|
hostname: hostname,
|
|
@@ -4037,8 +4052,7 @@ export var serializeAws_restJson1SearchAnalysesCommand = function (input, contex
|
|
|
4037
4052
|
else {
|
|
4038
4053
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4039
4054
|
}
|
|
4040
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
4041
|
-
input.Filters !== null && { Filters: serializeAws_restJson1AnalysisSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
4055
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1AnalysisSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
4042
4056
|
return [2, new __HttpRequest({
|
|
4043
4057
|
protocol: protocol,
|
|
4044
4058
|
hostname: hostname,
|
|
@@ -4073,8 +4087,7 @@ export var serializeAws_restJson1SearchDashboardsCommand = function (input, cont
|
|
|
4073
4087
|
else {
|
|
4074
4088
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4075
4089
|
}
|
|
4076
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
4077
|
-
input.Filters !== null && { Filters: serializeAws_restJson1DashboardSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
4090
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1DashboardSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
4078
4091
|
return [2, new __HttpRequest({
|
|
4079
4092
|
protocol: protocol,
|
|
4080
4093
|
hostname: hostname,
|
|
@@ -4108,8 +4121,7 @@ export var serializeAws_restJson1SearchFoldersCommand = function (input, context
|
|
|
4108
4121
|
else {
|
|
4109
4122
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4110
4123
|
}
|
|
4111
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters
|
|
4112
|
-
input.Filters !== null && { Filters: serializeAws_restJson1FolderSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
4124
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1FolderSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
|
|
4113
4125
|
return [2, new __HttpRequest({
|
|
4114
4126
|
protocol: protocol,
|
|
4115
4127
|
hostname: hostname,
|
|
@@ -4155,8 +4167,7 @@ export var serializeAws_restJson1SearchGroupsCommand = function (input, context)
|
|
|
4155
4167
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
4156
4168
|
}
|
|
4157
4169
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
4158
|
-
body = JSON.stringify(__assign({}, (input.Filters
|
|
4159
|
-
input.Filters !== null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) })));
|
|
4170
|
+
body = JSON.stringify(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) })));
|
|
4160
4171
|
return [2, new __HttpRequest({
|
|
4161
4172
|
protocol: protocol,
|
|
4162
4173
|
hostname: hostname,
|
|
@@ -4191,8 +4202,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
4191
4202
|
else {
|
|
4192
4203
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
4193
4204
|
}
|
|
4194
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
4195
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
4205
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
4196
4206
|
return [2, new __HttpRequest({
|
|
4197
4207
|
protocol: protocol,
|
|
4198
4208
|
hostname: hostname,
|
|
@@ -4260,8 +4270,7 @@ export var serializeAws_restJson1UpdateAccountCustomizationCommand = function (i
|
|
|
4260
4270
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4261
4271
|
}
|
|
4262
4272
|
query = __assign({}, (input.Namespace !== undefined && { namespace: input.Namespace }));
|
|
4263
|
-
body = JSON.stringify(__assign({}, (input.AccountCustomization
|
|
4264
|
-
input.AccountCustomization !== null && {
|
|
4273
|
+
body = JSON.stringify(__assign({}, (input.AccountCustomization != null && {
|
|
4265
4274
|
AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
|
|
4266
4275
|
})));
|
|
4267
4276
|
return [2, new __HttpRequest({
|
|
@@ -4298,9 +4307,7 @@ export var serializeAws_restJson1UpdateAccountSettingsCommand = function (input,
|
|
|
4298
4307
|
else {
|
|
4299
4308
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4300
4309
|
}
|
|
4301
|
-
body = JSON.stringify(__assign(__assign({}, (input.DefaultNamespace
|
|
4302
|
-
input.DefaultNamespace !== null && { DefaultNamespace: input.DefaultNamespace })), (input.NotificationEmail !== undefined &&
|
|
4303
|
-
input.NotificationEmail !== null && { NotificationEmail: input.NotificationEmail })));
|
|
4310
|
+
body = JSON.stringify(__assign(__assign({}, (input.DefaultNamespace != null && { DefaultNamespace: input.DefaultNamespace })), (input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail })));
|
|
4304
4311
|
return [2, new __HttpRequest({
|
|
4305
4312
|
protocol: protocol,
|
|
4306
4313
|
hostname: hostname,
|
|
@@ -4345,11 +4352,9 @@ export var serializeAws_restJson1UpdateAnalysisCommand = function (input, contex
|
|
|
4345
4352
|
else {
|
|
4346
4353
|
throw new Error("No value provided for input HTTP label: AnalysisId.");
|
|
4347
4354
|
}
|
|
4348
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Name
|
|
4349
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity !== undefined &&
|
|
4350
|
-
input.SourceEntity !== null && {
|
|
4355
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity != null && {
|
|
4351
4356
|
SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
|
|
4352
|
-
})), (input.ThemeArn
|
|
4357
|
+
})), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })));
|
|
4353
4358
|
return [2, new __HttpRequest({
|
|
4354
4359
|
protocol: protocol,
|
|
4355
4360
|
hostname: hostname,
|
|
@@ -4394,11 +4399,9 @@ export var serializeAws_restJson1UpdateAnalysisPermissionsCommand = function (in
|
|
|
4394
4399
|
else {
|
|
4395
4400
|
throw new Error("No value provided for input HTTP label: AnalysisId.");
|
|
4396
4401
|
}
|
|
4397
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
4398
|
-
input.GrantPermissions !== null && {
|
|
4402
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
4399
4403
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
4400
|
-
})), (input.RevokePermissions
|
|
4401
|
-
input.RevokePermissions !== null && {
|
|
4404
|
+
})), (input.RevokePermissions != null && {
|
|
4402
4405
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
4403
4406
|
})));
|
|
4404
4407
|
return [2, new __HttpRequest({
|
|
@@ -4445,15 +4448,11 @@ export var serializeAws_restJson1UpdateDashboardCommand = function (input, conte
|
|
|
4445
4448
|
else {
|
|
4446
4449
|
throw new Error("No value provided for input HTTP label: DashboardId.");
|
|
4447
4450
|
}
|
|
4448
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions
|
|
4449
|
-
input.DashboardPublishOptions !== null && {
|
|
4451
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions != null && {
|
|
4450
4452
|
DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
|
|
4451
|
-
})), (input.Name
|
|
4452
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity !== undefined &&
|
|
4453
|
-
input.SourceEntity !== null && {
|
|
4453
|
+
})), (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity != null && {
|
|
4454
4454
|
SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
|
|
4455
|
-
})), (input.ThemeArn
|
|
4456
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
4455
|
+
})), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
4457
4456
|
return [2, new __HttpRequest({
|
|
4458
4457
|
protocol: protocol,
|
|
4459
4458
|
hostname: hostname,
|
|
@@ -4498,17 +4497,13 @@ export var serializeAws_restJson1UpdateDashboardPermissionsCommand = function (i
|
|
|
4498
4497
|
else {
|
|
4499
4498
|
throw new Error("No value provided for input HTTP label: DashboardId.");
|
|
4500
4499
|
}
|
|
4501
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.GrantLinkPermissions
|
|
4502
|
-
input.GrantLinkPermissions !== null && {
|
|
4500
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.GrantLinkPermissions != null && {
|
|
4503
4501
|
GrantLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.GrantLinkPermissions, context),
|
|
4504
|
-
})), (input.GrantPermissions
|
|
4505
|
-
input.GrantPermissions !== null && {
|
|
4502
|
+
})), (input.GrantPermissions != null && {
|
|
4506
4503
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
4507
|
-
})), (input.RevokeLinkPermissions
|
|
4508
|
-
input.RevokeLinkPermissions !== null && {
|
|
4504
|
+
})), (input.RevokeLinkPermissions != null && {
|
|
4509
4505
|
RevokeLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.RevokeLinkPermissions, context),
|
|
4510
|
-
})), (input.RevokePermissions
|
|
4511
|
-
input.RevokePermissions !== null && {
|
|
4506
|
+
})), (input.RevokePermissions != null && {
|
|
4512
4507
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
4513
4508
|
})));
|
|
4514
4509
|
return [2, new __HttpRequest({
|
|
@@ -4607,29 +4602,21 @@ export var serializeAws_restJson1UpdateDataSetCommand = function (input, context
|
|
|
4607
4602
|
else {
|
|
4608
4603
|
throw new Error("No value provided for input HTTP label: DataSetId.");
|
|
4609
4604
|
}
|
|
4610
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups
|
|
4611
|
-
input.ColumnGroups !== null && {
|
|
4605
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups != null && {
|
|
4612
4606
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
4613
|
-
})), (input.ColumnLevelPermissionRules
|
|
4614
|
-
input.ColumnLevelPermissionRules !== null && {
|
|
4607
|
+
})), (input.ColumnLevelPermissionRules != null && {
|
|
4615
4608
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
4616
|
-
})), (input.DataSetUsageConfiguration
|
|
4617
|
-
input.DataSetUsageConfiguration !== null && {
|
|
4609
|
+
})), (input.DataSetUsageConfiguration != null && {
|
|
4618
4610
|
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
4619
|
-
})), (input.FieldFolders
|
|
4620
|
-
input.FieldFolders !== null && {
|
|
4611
|
+
})), (input.FieldFolders != null && {
|
|
4621
4612
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
4622
|
-
})), (input.ImportMode
|
|
4623
|
-
input.LogicalTableMap !== null && {
|
|
4613
|
+
})), (input.ImportMode != null && { ImportMode: input.ImportMode })), (input.LogicalTableMap != null && {
|
|
4624
4614
|
LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
|
|
4625
|
-
})), (input.Name
|
|
4626
|
-
input.PhysicalTableMap !== null && {
|
|
4615
|
+
})), (input.Name != null && { Name: input.Name })), (input.PhysicalTableMap != null && {
|
|
4627
4616
|
PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
|
|
4628
|
-
})), (input.RowLevelPermissionDataSet
|
|
4629
|
-
input.RowLevelPermissionDataSet !== null && {
|
|
4617
|
+
})), (input.RowLevelPermissionDataSet != null && {
|
|
4630
4618
|
RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
|
|
4631
|
-
})), (input.RowLevelPermissionTagConfiguration
|
|
4632
|
-
input.RowLevelPermissionTagConfiguration !== null && {
|
|
4619
|
+
})), (input.RowLevelPermissionTagConfiguration != null && {
|
|
4633
4620
|
RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
|
|
4634
4621
|
})));
|
|
4635
4622
|
return [2, new __HttpRequest({
|
|
@@ -4676,11 +4663,9 @@ export var serializeAws_restJson1UpdateDataSetPermissionsCommand = function (inp
|
|
|
4676
4663
|
else {
|
|
4677
4664
|
throw new Error("No value provided for input HTTP label: DataSetId.");
|
|
4678
4665
|
}
|
|
4679
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
4680
|
-
input.GrantPermissions !== null && {
|
|
4666
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
4681
4667
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4682
|
-
})), (input.RevokePermissions
|
|
4683
|
-
input.RevokePermissions !== null && {
|
|
4668
|
+
})), (input.RevokePermissions != null && {
|
|
4684
4669
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4685
4670
|
})));
|
|
4686
4671
|
return [2, new __HttpRequest({
|
|
@@ -4727,17 +4712,13 @@ export var serializeAws_restJson1UpdateDataSourceCommand = function (input, cont
|
|
|
4727
4712
|
else {
|
|
4728
4713
|
throw new Error("No value provided for input HTTP label: DataSourceId.");
|
|
4729
4714
|
}
|
|
4730
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials
|
|
4731
|
-
input.Credentials !== null && {
|
|
4715
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials != null && {
|
|
4732
4716
|
Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
|
|
4733
|
-
})), (input.DataSourceParameters
|
|
4734
|
-
input.DataSourceParameters !== null && {
|
|
4717
|
+
})), (input.DataSourceParameters != null && {
|
|
4735
4718
|
DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
|
|
4736
|
-
})), (input.Name
|
|
4737
|
-
input.SslProperties !== null && {
|
|
4719
|
+
})), (input.Name != null && { Name: input.Name })), (input.SslProperties != null && {
|
|
4738
4720
|
SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
|
|
4739
|
-
})), (input.VpcConnectionProperties
|
|
4740
|
-
input.VpcConnectionProperties !== null && {
|
|
4721
|
+
})), (input.VpcConnectionProperties != null && {
|
|
4741
4722
|
VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
|
|
4742
4723
|
})));
|
|
4743
4724
|
return [2, new __HttpRequest({
|
|
@@ -4784,11 +4765,9 @@ export var serializeAws_restJson1UpdateDataSourcePermissionsCommand = function (
|
|
|
4784
4765
|
else {
|
|
4785
4766
|
throw new Error("No value provided for input HTTP label: DataSourceId.");
|
|
4786
4767
|
}
|
|
4787
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
4788
|
-
input.GrantPermissions !== null && {
|
|
4768
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
4789
4769
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4790
|
-
})), (input.RevokePermissions
|
|
4791
|
-
input.RevokePermissions !== null && {
|
|
4770
|
+
})), (input.RevokePermissions != null && {
|
|
4792
4771
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4793
4772
|
})));
|
|
4794
4773
|
return [2, new __HttpRequest({
|
|
@@ -4835,7 +4814,7 @@ export var serializeAws_restJson1UpdateFolderCommand = function (input, context)
|
|
|
4835
4814
|
else {
|
|
4836
4815
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
4837
4816
|
}
|
|
4838
|
-
body = JSON.stringify(__assign({}, (input.Name
|
|
4817
|
+
body = JSON.stringify(__assign({}, (input.Name != null && { Name: input.Name })));
|
|
4839
4818
|
return [2, new __HttpRequest({
|
|
4840
4819
|
protocol: protocol,
|
|
4841
4820
|
hostname: hostname,
|
|
@@ -4880,11 +4859,9 @@ export var serializeAws_restJson1UpdateFolderPermissionsCommand = function (inpu
|
|
|
4880
4859
|
else {
|
|
4881
4860
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
4882
4861
|
}
|
|
4883
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
4884
|
-
input.GrantPermissions !== null && {
|
|
4862
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
4885
4863
|
GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
|
|
4886
|
-
})), (input.RevokePermissions
|
|
4887
|
-
input.RevokePermissions !== null && {
|
|
4864
|
+
})), (input.RevokePermissions != null && {
|
|
4888
4865
|
RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
|
|
4889
4866
|
})));
|
|
4890
4867
|
return [2, new __HttpRequest({
|
|
@@ -4941,7 +4918,7 @@ export var serializeAws_restJson1UpdateGroupCommand = function (input, context)
|
|
|
4941
4918
|
else {
|
|
4942
4919
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
4943
4920
|
}
|
|
4944
|
-
body = JSON.stringify(__assign({}, (input.Description
|
|
4921
|
+
body = JSON.stringify(__assign({}, (input.Description != null && { Description: input.Description })));
|
|
4945
4922
|
return [2, new __HttpRequest({
|
|
4946
4923
|
protocol: protocol,
|
|
4947
4924
|
hostname: hostname,
|
|
@@ -4996,9 +4973,7 @@ export var serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = function (in
|
|
|
4996
4973
|
else {
|
|
4997
4974
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
4998
4975
|
}
|
|
4999
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.AssignmentStatus
|
|
5000
|
-
input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities !== undefined &&
|
|
5001
|
-
input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn })));
|
|
4976
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn != null && { PolicyArn: input.PolicyArn })));
|
|
5002
4977
|
return [2, new __HttpRequest({
|
|
5003
4978
|
protocol: protocol,
|
|
5004
4979
|
hostname: hostname,
|
|
@@ -5032,8 +5007,7 @@ export var serializeAws_restJson1UpdateIpRestrictionCommand = function (input, c
|
|
|
5032
5007
|
else {
|
|
5033
5008
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
5034
5009
|
}
|
|
5035
|
-
body = JSON.stringify(__assign(__assign({}, (input.Enabled
|
|
5036
|
-
input.IpRestrictionRuleMap !== null && {
|
|
5010
|
+
body = JSON.stringify(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.IpRestrictionRuleMap != null && {
|
|
5037
5011
|
IpRestrictionRuleMap: serializeAws_restJson1IpRestrictionRuleMap(input.IpRestrictionRuleMap, context),
|
|
5038
5012
|
})));
|
|
5039
5013
|
return [2, new __HttpRequest({
|
|
@@ -5070,8 +5044,7 @@ export var serializeAws_restJson1UpdatePublicSharingSettingsCommand = function (
|
|
|
5070
5044
|
else {
|
|
5071
5045
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
5072
5046
|
}
|
|
5073
|
-
body = JSON.stringify(__assign({}, (input.PublicSharingEnabled
|
|
5074
|
-
input.PublicSharingEnabled !== null && { PublicSharingEnabled: input.PublicSharingEnabled })));
|
|
5047
|
+
body = JSON.stringify(__assign({}, (input.PublicSharingEnabled != null && { PublicSharingEnabled: input.PublicSharingEnabled })));
|
|
5075
5048
|
return [2, new __HttpRequest({
|
|
5076
5049
|
protocol: protocol,
|
|
5077
5050
|
hostname: hostname,
|
|
@@ -5116,11 +5089,9 @@ export var serializeAws_restJson1UpdateTemplateCommand = function (input, contex
|
|
|
5116
5089
|
else {
|
|
5117
5090
|
throw new Error("No value provided for input HTTP label: TemplateId.");
|
|
5118
5091
|
}
|
|
5119
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Name
|
|
5120
|
-
input.SourceEntity !== null && {
|
|
5092
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SourceEntity != null && {
|
|
5121
5093
|
SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
|
|
5122
|
-
})), (input.VersionDescription
|
|
5123
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
5094
|
+
})), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
5124
5095
|
return [2, new __HttpRequest({
|
|
5125
5096
|
protocol: protocol,
|
|
5126
5097
|
hostname: hostname,
|
|
@@ -5175,8 +5146,7 @@ export var serializeAws_restJson1UpdateTemplateAliasCommand = function (input, c
|
|
|
5175
5146
|
else {
|
|
5176
5147
|
throw new Error("No value provided for input HTTP label: AliasName.");
|
|
5177
5148
|
}
|
|
5178
|
-
body = JSON.stringify(__assign({}, (input.TemplateVersionNumber
|
|
5179
|
-
input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber })));
|
|
5149
|
+
body = JSON.stringify(__assign({}, (input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber })));
|
|
5180
5150
|
return [2, new __HttpRequest({
|
|
5181
5151
|
protocol: protocol,
|
|
5182
5152
|
hostname: hostname,
|
|
@@ -5221,11 +5191,9 @@ export var serializeAws_restJson1UpdateTemplatePermissionsCommand = function (in
|
|
|
5221
5191
|
else {
|
|
5222
5192
|
throw new Error("No value provided for input HTTP label: TemplateId.");
|
|
5223
5193
|
}
|
|
5224
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
5225
|
-
input.GrantPermissions !== null && {
|
|
5194
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
5226
5195
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
5227
|
-
})), (input.RevokePermissions
|
|
5228
|
-
input.RevokePermissions !== null && {
|
|
5196
|
+
})), (input.RevokePermissions != null && {
|
|
5229
5197
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
5230
5198
|
})));
|
|
5231
5199
|
return [2, new __HttpRequest({
|
|
@@ -5271,11 +5239,9 @@ export var serializeAws_restJson1UpdateThemeCommand = function (input, context)
|
|
|
5271
5239
|
else {
|
|
5272
5240
|
throw new Error("No value provided for input HTTP label: ThemeId.");
|
|
5273
5241
|
}
|
|
5274
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.BaseThemeId
|
|
5275
|
-
input.Configuration !== null && {
|
|
5242
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId })), (input.Configuration != null && {
|
|
5276
5243
|
Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
|
|
5277
|
-
})), (input.Name
|
|
5278
|
-
input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
|
|
5244
|
+
})), (input.Name != null && { Name: input.Name })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
|
|
5279
5245
|
return [2, new __HttpRequest({
|
|
5280
5246
|
protocol: protocol,
|
|
5281
5247
|
hostname: hostname,
|
|
@@ -5330,8 +5296,7 @@ export var serializeAws_restJson1UpdateThemeAliasCommand = function (input, cont
|
|
|
5330
5296
|
else {
|
|
5331
5297
|
throw new Error("No value provided for input HTTP label: AliasName.");
|
|
5332
5298
|
}
|
|
5333
|
-
body = JSON.stringify(__assign({}, (input.ThemeVersionNumber
|
|
5334
|
-
input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber })));
|
|
5299
|
+
body = JSON.stringify(__assign({}, (input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber })));
|
|
5335
5300
|
return [2, new __HttpRequest({
|
|
5336
5301
|
protocol: protocol,
|
|
5337
5302
|
hostname: hostname,
|
|
@@ -5376,11 +5341,9 @@ export var serializeAws_restJson1UpdateThemePermissionsCommand = function (input
|
|
|
5376
5341
|
else {
|
|
5377
5342
|
throw new Error("No value provided for input HTTP label: ThemeId.");
|
|
5378
5343
|
}
|
|
5379
|
-
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions
|
|
5380
|
-
input.GrantPermissions !== null && {
|
|
5344
|
+
body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
|
|
5381
5345
|
GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
|
|
5382
|
-
})), (input.RevokePermissions
|
|
5383
|
-
input.RevokePermissions !== null && {
|
|
5346
|
+
})), (input.RevokePermissions != null && {
|
|
5384
5347
|
RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
|
|
5385
5348
|
})));
|
|
5386
5349
|
return [2, new __HttpRequest({
|
|
@@ -5437,14 +5400,11 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
|
|
|
5437
5400
|
else {
|
|
5438
5401
|
throw new Error("No value provided for input HTTP label: Namespace.");
|
|
5439
5402
|
}
|
|
5440
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
input.ExternalLoginFederationProviderType !== null && {
|
|
5403
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl != null && {
|
|
5404
|
+
CustomFederationProviderUrl: input.CustomFederationProviderUrl,
|
|
5405
|
+
})), (input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email != null && { Email: input.Email })), (input.ExternalLoginFederationProviderType != null && {
|
|
5444
5406
|
ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
|
|
5445
|
-
})), (input.ExternalLoginId
|
|
5446
|
-
input.ExternalLoginId !== null && { ExternalLoginId: input.ExternalLoginId })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.UnapplyCustomPermissions !== undefined &&
|
|
5447
|
-
input.UnapplyCustomPermissions !== null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions })));
|
|
5407
|
+
})), (input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId })), (input.Role != null && { Role: input.Role })), (input.UnapplyCustomPermissions != null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions })));
|
|
5448
5408
|
return [2, new __HttpRequest({
|
|
5449
5409
|
protocol: protocol,
|
|
5450
5410
|
hostname: hostname,
|
|
@@ -5651,6 +5611,103 @@ var deserializeAws_restJson1CreateAccountCustomizationCommandError = function (o
|
|
|
5651
5611
|
}
|
|
5652
5612
|
});
|
|
5653
5613
|
}); };
|
|
5614
|
+
export var deserializeAws_restJson1CreateAccountSubscriptionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5615
|
+
var contents, data, _a, _b;
|
|
5616
|
+
return __generator(this, function (_c) {
|
|
5617
|
+
switch (_c.label) {
|
|
5618
|
+
case 0:
|
|
5619
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5620
|
+
return [2, deserializeAws_restJson1CreateAccountSubscriptionCommandError(output, context)];
|
|
5621
|
+
}
|
|
5622
|
+
contents = {
|
|
5623
|
+
$metadata: deserializeMetadata(output),
|
|
5624
|
+
RequestId: undefined,
|
|
5625
|
+
SignupResponse: undefined,
|
|
5626
|
+
Status: undefined,
|
|
5627
|
+
};
|
|
5628
|
+
_a = __expectNonNull;
|
|
5629
|
+
_b = __expectObject;
|
|
5630
|
+
return [4, parseBody(output.body, context)];
|
|
5631
|
+
case 1:
|
|
5632
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5633
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
5634
|
+
contents.RequestId = __expectString(data.RequestId);
|
|
5635
|
+
}
|
|
5636
|
+
if (data.SignupResponse !== undefined && data.SignupResponse !== null) {
|
|
5637
|
+
contents.SignupResponse = deserializeAws_restJson1SignupResponse(data.SignupResponse, context);
|
|
5638
|
+
}
|
|
5639
|
+
if (contents.Status === undefined) {
|
|
5640
|
+
contents.Status = output.statusCode;
|
|
5641
|
+
}
|
|
5642
|
+
return [2, Promise.resolve(contents)];
|
|
5643
|
+
}
|
|
5644
|
+
});
|
|
5645
|
+
}); };
|
|
5646
|
+
var deserializeAws_restJson1CreateAccountSubscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5647
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
5648
|
+
var _c;
|
|
5649
|
+
return __generator(this, function (_d) {
|
|
5650
|
+
switch (_d.label) {
|
|
5651
|
+
case 0:
|
|
5652
|
+
_a = [__assign({}, output)];
|
|
5653
|
+
_c = {};
|
|
5654
|
+
return [4, parseBody(output.body, context)];
|
|
5655
|
+
case 1:
|
|
5656
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5657
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5658
|
+
_b = errorCode;
|
|
5659
|
+
switch (_b) {
|
|
5660
|
+
case "AccessDeniedException": return [3, 2];
|
|
5661
|
+
case "com.amazonaws.quicksight#AccessDeniedException": return [3, 2];
|
|
5662
|
+
case "ConflictException": return [3, 4];
|
|
5663
|
+
case "com.amazonaws.quicksight#ConflictException": return [3, 4];
|
|
5664
|
+
case "InternalFailureException": return [3, 6];
|
|
5665
|
+
case "com.amazonaws.quicksight#InternalFailureException": return [3, 6];
|
|
5666
|
+
case "InvalidParameterValueException": return [3, 8];
|
|
5667
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException": return [3, 8];
|
|
5668
|
+
case "PreconditionNotMetException": return [3, 10];
|
|
5669
|
+
case "com.amazonaws.quicksight#PreconditionNotMetException": return [3, 10];
|
|
5670
|
+
case "ResourceExistsException": return [3, 12];
|
|
5671
|
+
case "com.amazonaws.quicksight#ResourceExistsException": return [3, 12];
|
|
5672
|
+
case "ResourceNotFoundException": return [3, 14];
|
|
5673
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException": return [3, 14];
|
|
5674
|
+
case "ResourceUnavailableException": return [3, 16];
|
|
5675
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException": return [3, 16];
|
|
5676
|
+
case "ThrottlingException": return [3, 18];
|
|
5677
|
+
case "com.amazonaws.quicksight#ThrottlingException": return [3, 18];
|
|
5678
|
+
}
|
|
5679
|
+
return [3, 20];
|
|
5680
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
5681
|
+
case 3: throw _d.sent();
|
|
5682
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
5683
|
+
case 5: throw _d.sent();
|
|
5684
|
+
case 6: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
|
|
5685
|
+
case 7: throw _d.sent();
|
|
5686
|
+
case 8: return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
5687
|
+
case 9: throw _d.sent();
|
|
5688
|
+
case 10: return [4, deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context)];
|
|
5689
|
+
case 11: throw _d.sent();
|
|
5690
|
+
case 12: return [4, deserializeAws_restJson1ResourceExistsExceptionResponse(parsedOutput, context)];
|
|
5691
|
+
case 13: throw _d.sent();
|
|
5692
|
+
case 14: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
5693
|
+
case 15: throw _d.sent();
|
|
5694
|
+
case 16: return [4, deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context)];
|
|
5695
|
+
case 17: throw _d.sent();
|
|
5696
|
+
case 18: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
5697
|
+
case 19: throw _d.sent();
|
|
5698
|
+
case 20:
|
|
5699
|
+
parsedBody = parsedOutput.body;
|
|
5700
|
+
$metadata = deserializeMetadata(output);
|
|
5701
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
5702
|
+
response = new __BaseException({
|
|
5703
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
5704
|
+
$fault: "client",
|
|
5705
|
+
$metadata: $metadata,
|
|
5706
|
+
});
|
|
5707
|
+
throw __decorateServiceException(response, parsedBody);
|
|
5708
|
+
}
|
|
5709
|
+
});
|
|
5710
|
+
}); };
|
|
5654
5711
|
export var deserializeAws_restJson1CreateAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5655
5712
|
var contents, data, _a, _b;
|
|
5656
5713
|
return __generator(this, function (_c) {
|
|
@@ -8833,6 +8890,91 @@ var deserializeAws_restJson1DescribeAccountSettingsCommandError = function (outp
|
|
|
8833
8890
|
}
|
|
8834
8891
|
});
|
|
8835
8892
|
}); };
|
|
8893
|
+
export var deserializeAws_restJson1DescribeAccountSubscriptionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8894
|
+
var contents, data, _a, _b;
|
|
8895
|
+
return __generator(this, function (_c) {
|
|
8896
|
+
switch (_c.label) {
|
|
8897
|
+
case 0:
|
|
8898
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8899
|
+
return [2, deserializeAws_restJson1DescribeAccountSubscriptionCommandError(output, context)];
|
|
8900
|
+
}
|
|
8901
|
+
contents = {
|
|
8902
|
+
$metadata: deserializeMetadata(output),
|
|
8903
|
+
AccountInfo: undefined,
|
|
8904
|
+
RequestId: undefined,
|
|
8905
|
+
Status: undefined,
|
|
8906
|
+
};
|
|
8907
|
+
_a = __expectNonNull;
|
|
8908
|
+
_b = __expectObject;
|
|
8909
|
+
return [4, parseBody(output.body, context)];
|
|
8910
|
+
case 1:
|
|
8911
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8912
|
+
if (data.AccountInfo !== undefined && data.AccountInfo !== null) {
|
|
8913
|
+
contents.AccountInfo = deserializeAws_restJson1AccountInfo(data.AccountInfo, context);
|
|
8914
|
+
}
|
|
8915
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
8916
|
+
contents.RequestId = __expectString(data.RequestId);
|
|
8917
|
+
}
|
|
8918
|
+
if (contents.Status === undefined) {
|
|
8919
|
+
contents.Status = output.statusCode;
|
|
8920
|
+
}
|
|
8921
|
+
return [2, Promise.resolve(contents)];
|
|
8922
|
+
}
|
|
8923
|
+
});
|
|
8924
|
+
}); };
|
|
8925
|
+
var deserializeAws_restJson1DescribeAccountSubscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8926
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
8927
|
+
var _c;
|
|
8928
|
+
return __generator(this, function (_d) {
|
|
8929
|
+
switch (_d.label) {
|
|
8930
|
+
case 0:
|
|
8931
|
+
_a = [__assign({}, output)];
|
|
8932
|
+
_c = {};
|
|
8933
|
+
return [4, parseBody(output.body, context)];
|
|
8934
|
+
case 1:
|
|
8935
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
8936
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8937
|
+
_b = errorCode;
|
|
8938
|
+
switch (_b) {
|
|
8939
|
+
case "AccessDeniedException": return [3, 2];
|
|
8940
|
+
case "com.amazonaws.quicksight#AccessDeniedException": return [3, 2];
|
|
8941
|
+
case "InternalFailureException": return [3, 4];
|
|
8942
|
+
case "com.amazonaws.quicksight#InternalFailureException": return [3, 4];
|
|
8943
|
+
case "InvalidParameterValueException": return [3, 6];
|
|
8944
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException": return [3, 6];
|
|
8945
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
8946
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException": return [3, 8];
|
|
8947
|
+
case "ResourceUnavailableException": return [3, 10];
|
|
8948
|
+
case "com.amazonaws.quicksight#ResourceUnavailableException": return [3, 10];
|
|
8949
|
+
case "ThrottlingException": return [3, 12];
|
|
8950
|
+
case "com.amazonaws.quicksight#ThrottlingException": return [3, 12];
|
|
8951
|
+
}
|
|
8952
|
+
return [3, 14];
|
|
8953
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
8954
|
+
case 3: throw _d.sent();
|
|
8955
|
+
case 4: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
|
|
8956
|
+
case 5: throw _d.sent();
|
|
8957
|
+
case 6: return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
8958
|
+
case 7: throw _d.sent();
|
|
8959
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
8960
|
+
case 9: throw _d.sent();
|
|
8961
|
+
case 10: return [4, deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context)];
|
|
8962
|
+
case 11: throw _d.sent();
|
|
8963
|
+
case 12: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
8964
|
+
case 13: throw _d.sent();
|
|
8965
|
+
case 14:
|
|
8966
|
+
parsedBody = parsedOutput.body;
|
|
8967
|
+
$metadata = deserializeMetadata(output);
|
|
8968
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
8969
|
+
response = new __BaseException({
|
|
8970
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
8971
|
+
$fault: "client",
|
|
8972
|
+
$metadata: $metadata,
|
|
8973
|
+
});
|
|
8974
|
+
throw __decorateServiceException(response, parsedBody);
|
|
8975
|
+
}
|
|
8976
|
+
});
|
|
8977
|
+
}); };
|
|
8836
8978
|
export var deserializeAws_restJson1DescribeAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8837
8979
|
var contents, data, _a, _b;
|
|
8838
8980
|
return __generator(this, function (_c) {
|
|
@@ -16562,10 +16704,9 @@ var deserializeAws_restJson1UnsupportedUserEditionExceptionResponse = function (
|
|
|
16562
16704
|
});
|
|
16563
16705
|
}); };
|
|
16564
16706
|
var serializeAws_restJson1AccountCustomization = function (input, context) {
|
|
16565
|
-
return __assign(__assign({}, (input.DefaultEmailCustomizationTemplate
|
|
16566
|
-
input.DefaultEmailCustomizationTemplate !== null && {
|
|
16707
|
+
return __assign(__assign({}, (input.DefaultEmailCustomizationTemplate != null && {
|
|
16567
16708
|
DefaultEmailCustomizationTemplate: input.DefaultEmailCustomizationTemplate,
|
|
16568
|
-
})), (input.DefaultTheme
|
|
16709
|
+
})), (input.DefaultTheme != null && { DefaultTheme: input.DefaultTheme }));
|
|
16569
16710
|
};
|
|
16570
16711
|
var serializeAws_restJson1ActionList = function (input, context) {
|
|
16571
16712
|
return input
|
|
@@ -16578,17 +16719,16 @@ var serializeAws_restJson1ActionList = function (input, context) {
|
|
|
16578
16719
|
});
|
|
16579
16720
|
};
|
|
16580
16721
|
var serializeAws_restJson1AdHocFilteringOption = function (input, context) {
|
|
16581
|
-
return __assign({}, (input.AvailabilityStatus
|
|
16582
|
-
input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }));
|
|
16722
|
+
return __assign({}, (input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }));
|
|
16583
16723
|
};
|
|
16584
16724
|
var serializeAws_restJson1AmazonElasticsearchParameters = function (input, context) {
|
|
16585
|
-
return __assign({}, (input.Domain
|
|
16725
|
+
return __assign({}, (input.Domain != null && { Domain: input.Domain }));
|
|
16586
16726
|
};
|
|
16587
16727
|
var serializeAws_restJson1AmazonOpenSearchParameters = function (input, context) {
|
|
16588
|
-
return __assign({}, (input.Domain
|
|
16728
|
+
return __assign({}, (input.Domain != null && { Domain: input.Domain }));
|
|
16589
16729
|
};
|
|
16590
16730
|
var serializeAws_restJson1AnalysisSearchFilter = function (input, context) {
|
|
16591
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
16731
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
|
|
16592
16732
|
};
|
|
16593
16733
|
var serializeAws_restJson1AnalysisSearchFilterList = function (input, context) {
|
|
16594
16734
|
return input
|
|
@@ -16601,24 +16741,20 @@ var serializeAws_restJson1AnalysisSearchFilterList = function (input, context) {
|
|
|
16601
16741
|
});
|
|
16602
16742
|
};
|
|
16603
16743
|
var serializeAws_restJson1AnalysisSourceEntity = function (input, context) {
|
|
16604
|
-
return __assign({}, (input.SourceTemplate
|
|
16605
|
-
input.SourceTemplate !== null && {
|
|
16744
|
+
return __assign({}, (input.SourceTemplate != null && {
|
|
16606
16745
|
SourceTemplate: serializeAws_restJson1AnalysisSourceTemplate(input.SourceTemplate, context),
|
|
16607
16746
|
}));
|
|
16608
16747
|
};
|
|
16609
16748
|
var serializeAws_restJson1AnalysisSourceTemplate = function (input, context) {
|
|
16610
|
-
return __assign(__assign({}, (input.Arn
|
|
16611
|
-
input.DataSetReferences !== null && {
|
|
16749
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
|
|
16612
16750
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
16613
16751
|
}));
|
|
16614
16752
|
};
|
|
16615
16753
|
var serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration = function (input, context) {
|
|
16616
|
-
return __assign({}, (input.InitialDashboardId
|
|
16617
|
-
input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }));
|
|
16754
|
+
return __assign({}, (input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }));
|
|
16618
16755
|
};
|
|
16619
16756
|
var serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration = function (input, context) {
|
|
16620
|
-
return __assign({}, (input.Dashboard
|
|
16621
|
-
input.Dashboard !== null && {
|
|
16757
|
+
return __assign({}, (input.Dashboard != null && {
|
|
16622
16758
|
Dashboard: serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration(input.Dashboard, context),
|
|
16623
16759
|
}));
|
|
16624
16760
|
};
|
|
@@ -16633,22 +16769,22 @@ var serializeAws_restJson1ArnList = function (input, context) {
|
|
|
16633
16769
|
});
|
|
16634
16770
|
};
|
|
16635
16771
|
var serializeAws_restJson1AthenaParameters = function (input, context) {
|
|
16636
|
-
return __assign({}, (input.WorkGroup
|
|
16772
|
+
return __assign({}, (input.WorkGroup != null && { WorkGroup: input.WorkGroup }));
|
|
16637
16773
|
};
|
|
16638
16774
|
var serializeAws_restJson1AuroraParameters = function (input, context) {
|
|
16639
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
16775
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
16640
16776
|
};
|
|
16641
16777
|
var serializeAws_restJson1AuroraPostgreSqlParameters = function (input, context) {
|
|
16642
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
16778
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
16643
16779
|
};
|
|
16644
16780
|
var serializeAws_restJson1AwsIotAnalyticsParameters = function (input, context) {
|
|
16645
|
-
return __assign({}, (input.DataSetName
|
|
16781
|
+
return __assign({}, (input.DataSetName != null && { DataSetName: input.DataSetName }));
|
|
16646
16782
|
};
|
|
16647
16783
|
var serializeAws_restJson1BorderStyle = function (input, context) {
|
|
16648
|
-
return __assign({}, (input.Show
|
|
16784
|
+
return __assign({}, (input.Show != null && { Show: input.Show }));
|
|
16649
16785
|
};
|
|
16650
16786
|
var serializeAws_restJson1CalculatedColumn = function (input, context) {
|
|
16651
|
-
return __assign(__assign(__assign({}, (input.ColumnId
|
|
16787
|
+
return __assign(__assign(__assign({}, (input.ColumnId != null && { ColumnId: input.ColumnId })), (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Expression != null && { Expression: input.Expression }));
|
|
16652
16788
|
};
|
|
16653
16789
|
var serializeAws_restJson1CalculatedColumnList = function (input, context) {
|
|
16654
16790
|
return input
|
|
@@ -16661,7 +16797,7 @@ var serializeAws_restJson1CalculatedColumnList = function (input, context) {
|
|
|
16661
16797
|
});
|
|
16662
16798
|
};
|
|
16663
16799
|
var serializeAws_restJson1CastColumnTypeOperation = function (input, context) {
|
|
16664
|
-
return __assign(__assign(__assign({}, (input.ColumnName
|
|
16800
|
+
return __assign(__assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Format != null && { Format: input.Format })), (input.NewColumnType != null && { NewColumnType: input.NewColumnType }));
|
|
16665
16801
|
};
|
|
16666
16802
|
var serializeAws_restJson1ColorList = function (input, context) {
|
|
16667
16803
|
return input
|
|
@@ -16674,11 +16810,10 @@ var serializeAws_restJson1ColorList = function (input, context) {
|
|
|
16674
16810
|
});
|
|
16675
16811
|
};
|
|
16676
16812
|
var serializeAws_restJson1ColumnDescription = function (input, context) {
|
|
16677
|
-
return __assign({}, (input.Text
|
|
16813
|
+
return __assign({}, (input.Text != null && { Text: input.Text }));
|
|
16678
16814
|
};
|
|
16679
16815
|
var serializeAws_restJson1ColumnGroup = function (input, context) {
|
|
16680
|
-
return __assign({}, (input.GeoSpatialColumnGroup
|
|
16681
|
-
input.GeoSpatialColumnGroup !== null && {
|
|
16816
|
+
return __assign({}, (input.GeoSpatialColumnGroup != null && {
|
|
16682
16817
|
GeoSpatialColumnGroup: serializeAws_restJson1GeoSpatialColumnGroup(input.GeoSpatialColumnGroup, context),
|
|
16683
16818
|
}));
|
|
16684
16819
|
};
|
|
@@ -16693,9 +16828,7 @@ var serializeAws_restJson1ColumnGroupList = function (input, context) {
|
|
|
16693
16828
|
});
|
|
16694
16829
|
};
|
|
16695
16830
|
var serializeAws_restJson1ColumnLevelPermissionRule = function (input, context) {
|
|
16696
|
-
return __assign(__assign({}, (input.ColumnNames
|
|
16697
|
-
input.ColumnNames !== null && { ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context) })), (input.Principals !== undefined &&
|
|
16698
|
-
input.Principals !== null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }));
|
|
16831
|
+
return __assign(__assign({}, (input.ColumnNames != null && { ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context) })), (input.Principals != null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }));
|
|
16699
16832
|
};
|
|
16700
16833
|
var serializeAws_restJson1ColumnLevelPermissionRuleList = function (input, context) {
|
|
16701
16834
|
return input
|
|
@@ -16728,11 +16861,9 @@ var serializeAws_restJson1ColumnNameList = function (input, context) {
|
|
|
16728
16861
|
});
|
|
16729
16862
|
};
|
|
16730
16863
|
var serializeAws_restJson1ColumnTag = function (input, context) {
|
|
16731
|
-
return __assign(__assign({}, (input.ColumnDescription
|
|
16732
|
-
input.ColumnDescription !== null && {
|
|
16864
|
+
return __assign(__assign({}, (input.ColumnDescription != null && {
|
|
16733
16865
|
ColumnDescription: serializeAws_restJson1ColumnDescription(input.ColumnDescription, context),
|
|
16734
|
-
})), (input.ColumnGeographicRole
|
|
16735
|
-
input.ColumnGeographicRole !== null && { ColumnGeographicRole: input.ColumnGeographicRole }));
|
|
16866
|
+
})), (input.ColumnGeographicRole != null && { ColumnGeographicRole: input.ColumnGeographicRole }));
|
|
16736
16867
|
};
|
|
16737
16868
|
var serializeAws_restJson1ColumnTagList = function (input, context) {
|
|
16738
16869
|
return input
|
|
@@ -16755,33 +16886,27 @@ var serializeAws_restJson1ColumnTagNames = function (input, context) {
|
|
|
16755
16886
|
});
|
|
16756
16887
|
};
|
|
16757
16888
|
var serializeAws_restJson1CreateColumnsOperation = function (input, context) {
|
|
16758
|
-
return __assign({}, (input.Columns
|
|
16759
|
-
input.Columns !== null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }));
|
|
16889
|
+
return __assign({}, (input.Columns != null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }));
|
|
16760
16890
|
};
|
|
16761
16891
|
var serializeAws_restJson1CredentialPair = function (input, context) {
|
|
16762
|
-
return __assign(__assign(__assign({}, (input.AlternateDataSourceParameters
|
|
16763
|
-
input.AlternateDataSourceParameters !== null && {
|
|
16892
|
+
return __assign(__assign(__assign({}, (input.AlternateDataSourceParameters != null && {
|
|
16764
16893
|
AlternateDataSourceParameters: serializeAws_restJson1DataSourceParametersList(input.AlternateDataSourceParameters, context),
|
|
16765
|
-
})), (input.Password
|
|
16894
|
+
})), (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
|
|
16766
16895
|
};
|
|
16767
16896
|
var serializeAws_restJson1CustomSql = function (input, context) {
|
|
16768
|
-
return __assign(__assign(__assign(__assign({}, (input.Columns
|
|
16769
|
-
input.Columns !== null && { Columns: serializeAws_restJson1InputColumnList(input.Columns, context) })), (input.DataSourceArn !== undefined && input.DataSourceArn !== null && { DataSourceArn: input.DataSourceArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SqlQuery !== undefined && input.SqlQuery !== null && { SqlQuery: input.SqlQuery }));
|
|
16897
|
+
return __assign(__assign(__assign(__assign({}, (input.Columns != null && { Columns: serializeAws_restJson1InputColumnList(input.Columns, context) })), (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.Name != null && { Name: input.Name })), (input.SqlQuery != null && { SqlQuery: input.SqlQuery }));
|
|
16770
16898
|
};
|
|
16771
16899
|
var serializeAws_restJson1DashboardPublishOptions = function (input, context) {
|
|
16772
|
-
return __assign(__assign(__assign({}, (input.AdHocFilteringOption
|
|
16773
|
-
input.AdHocFilteringOption !== null && {
|
|
16900
|
+
return __assign(__assign(__assign({}, (input.AdHocFilteringOption != null && {
|
|
16774
16901
|
AdHocFilteringOption: serializeAws_restJson1AdHocFilteringOption(input.AdHocFilteringOption, context),
|
|
16775
|
-
})), (input.ExportToCSVOption
|
|
16776
|
-
input.ExportToCSVOption !== null && {
|
|
16902
|
+
})), (input.ExportToCSVOption != null && {
|
|
16777
16903
|
ExportToCSVOption: serializeAws_restJson1ExportToCSVOption(input.ExportToCSVOption, context),
|
|
16778
|
-
})), (input.SheetControlsOption
|
|
16779
|
-
input.SheetControlsOption !== null && {
|
|
16904
|
+
})), (input.SheetControlsOption != null && {
|
|
16780
16905
|
SheetControlsOption: serializeAws_restJson1SheetControlsOption(input.SheetControlsOption, context),
|
|
16781
16906
|
}));
|
|
16782
16907
|
};
|
|
16783
16908
|
var serializeAws_restJson1DashboardSearchFilter = function (input, context) {
|
|
16784
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
16909
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
|
|
16785
16910
|
};
|
|
16786
16911
|
var serializeAws_restJson1DashboardSearchFilterList = function (input, context) {
|
|
16787
16912
|
return input
|
|
@@ -16794,28 +16919,22 @@ var serializeAws_restJson1DashboardSearchFilterList = function (input, context)
|
|
|
16794
16919
|
});
|
|
16795
16920
|
};
|
|
16796
16921
|
var serializeAws_restJson1DashboardSourceEntity = function (input, context) {
|
|
16797
|
-
return __assign({}, (input.SourceTemplate
|
|
16798
|
-
input.SourceTemplate !== null && {
|
|
16922
|
+
return __assign({}, (input.SourceTemplate != null && {
|
|
16799
16923
|
SourceTemplate: serializeAws_restJson1DashboardSourceTemplate(input.SourceTemplate, context),
|
|
16800
16924
|
}));
|
|
16801
16925
|
};
|
|
16802
16926
|
var serializeAws_restJson1DashboardSourceTemplate = function (input, context) {
|
|
16803
|
-
return __assign(__assign({}, (input.Arn
|
|
16804
|
-
input.DataSetReferences !== null && {
|
|
16927
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
|
|
16805
16928
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
16806
16929
|
}));
|
|
16807
16930
|
};
|
|
16808
16931
|
var serializeAws_restJson1DataColorPalette = function (input, context) {
|
|
16809
|
-
return __assign(__assign(__assign({}, (input.Colors
|
|
16810
|
-
input.Colors !== null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) })), (input.EmptyFillColor !== undefined &&
|
|
16811
|
-
input.EmptyFillColor !== null && { EmptyFillColor: input.EmptyFillColor })), (input.MinMaxGradient !== undefined &&
|
|
16812
|
-
input.MinMaxGradient !== null && {
|
|
16932
|
+
return __assign(__assign(__assign({}, (input.Colors != null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) })), (input.EmptyFillColor != null && { EmptyFillColor: input.EmptyFillColor })), (input.MinMaxGradient != null && {
|
|
16813
16933
|
MinMaxGradient: serializeAws_restJson1ColorList(input.MinMaxGradient, context),
|
|
16814
16934
|
}));
|
|
16815
16935
|
};
|
|
16816
16936
|
var serializeAws_restJson1DataSetReference = function (input, context) {
|
|
16817
|
-
return __assign(__assign({}, (input.DataSetArn
|
|
16818
|
-
input.DataSetPlaceholder !== null && { DataSetPlaceholder: input.DataSetPlaceholder }));
|
|
16937
|
+
return __assign(__assign({}, (input.DataSetArn != null && { DataSetArn: input.DataSetArn })), (input.DataSetPlaceholder != null && { DataSetPlaceholder: input.DataSetPlaceholder }));
|
|
16819
16938
|
};
|
|
16820
16939
|
var serializeAws_restJson1DataSetReferenceList = function (input, context) {
|
|
16821
16940
|
return input
|
|
@@ -16828,15 +16947,12 @@ var serializeAws_restJson1DataSetReferenceList = function (input, context) {
|
|
|
16828
16947
|
});
|
|
16829
16948
|
};
|
|
16830
16949
|
var serializeAws_restJson1DataSetUsageConfiguration = function (input, context) {
|
|
16831
|
-
return __assign(__assign({}, (input.DisableUseAsDirectQuerySource
|
|
16832
|
-
input.DisableUseAsDirectQuerySource !== null && {
|
|
16950
|
+
return __assign(__assign({}, (input.DisableUseAsDirectQuerySource != null && {
|
|
16833
16951
|
DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
|
|
16834
|
-
})), (input.DisableUseAsImportedSource
|
|
16835
|
-
input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
|
|
16952
|
+
})), (input.DisableUseAsImportedSource != null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
|
|
16836
16953
|
};
|
|
16837
16954
|
var serializeAws_restJson1DataSourceCredentials = function (input, context) {
|
|
16838
|
-
return __assign(__assign({}, (input.CopySourceArn
|
|
16839
|
-
input.CredentialPair !== null && {
|
|
16955
|
+
return __assign(__assign({}, (input.CopySourceArn != null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair != null && {
|
|
16840
16956
|
CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
|
|
16841
16957
|
}));
|
|
16842
16958
|
};
|
|
@@ -16894,8 +17010,7 @@ var serializeAws_restJson1DataSourceParametersList = function (input, context) {
|
|
|
16894
17010
|
});
|
|
16895
17011
|
};
|
|
16896
17012
|
var serializeAws_restJson1DateTimeParameter = function (input, context) {
|
|
16897
|
-
return __assign(__assign({}, (input.Name
|
|
16898
|
-
input.Values !== null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }));
|
|
17013
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }));
|
|
16899
17014
|
};
|
|
16900
17015
|
var serializeAws_restJson1DateTimeParameterList = function (input, context) {
|
|
16901
17016
|
return input
|
|
@@ -16908,8 +17023,7 @@ var serializeAws_restJson1DateTimeParameterList = function (input, context) {
|
|
|
16908
17023
|
});
|
|
16909
17024
|
};
|
|
16910
17025
|
var serializeAws_restJson1DecimalParameter = function (input, context) {
|
|
16911
|
-
return __assign(__assign({}, (input.Name
|
|
16912
|
-
input.Values !== null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }));
|
|
17026
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }));
|
|
16913
17027
|
};
|
|
16914
17028
|
var serializeAws_restJson1DecimalParameterList = function (input, context) {
|
|
16915
17029
|
return input
|
|
@@ -16932,15 +17046,13 @@ var serializeAws_restJson1DoubleList = function (input, context) {
|
|
|
16932
17046
|
});
|
|
16933
17047
|
};
|
|
16934
17048
|
var serializeAws_restJson1ExasolParameters = function (input, context) {
|
|
16935
|
-
return __assign(__assign({}, (input.Host
|
|
17049
|
+
return __assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
16936
17050
|
};
|
|
16937
17051
|
var serializeAws_restJson1ExportToCSVOption = function (input, context) {
|
|
16938
|
-
return __assign({}, (input.AvailabilityStatus
|
|
16939
|
-
input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }));
|
|
17052
|
+
return __assign({}, (input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }));
|
|
16940
17053
|
};
|
|
16941
17054
|
var serializeAws_restJson1FieldFolder = function (input, context) {
|
|
16942
|
-
return __assign(__assign({}, (input.columns
|
|
16943
|
-
input.columns !== null && { columns: serializeAws_restJson1FolderColumnList(input.columns, context) })), (input.description !== undefined && input.description !== null && { description: input.description }));
|
|
17055
|
+
return __assign(__assign({}, (input.columns != null && { columns: serializeAws_restJson1FolderColumnList(input.columns, context) })), (input.description != null && { description: input.description }));
|
|
16944
17056
|
};
|
|
16945
17057
|
var serializeAws_restJson1FieldFolderMap = function (input, context) {
|
|
16946
17058
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -16953,8 +17065,7 @@ var serializeAws_restJson1FieldFolderMap = function (input, context) {
|
|
|
16953
17065
|
}, {});
|
|
16954
17066
|
};
|
|
16955
17067
|
var serializeAws_restJson1FilterOperation = function (input, context) {
|
|
16956
|
-
return __assign({}, (input.ConditionExpression
|
|
16957
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression }));
|
|
17068
|
+
return __assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression }));
|
|
16958
17069
|
};
|
|
16959
17070
|
var serializeAws_restJson1FolderColumnList = function (input, context) {
|
|
16960
17071
|
return input
|
|
@@ -16967,7 +17078,7 @@ var serializeAws_restJson1FolderColumnList = function (input, context) {
|
|
|
16967
17078
|
});
|
|
16968
17079
|
};
|
|
16969
17080
|
var serializeAws_restJson1FolderSearchFilter = function (input, context) {
|
|
16970
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
17081
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
|
|
16971
17082
|
};
|
|
16972
17083
|
var serializeAws_restJson1FolderSearchFilterList = function (input, context) {
|
|
16973
17084
|
return input
|
|
@@ -16980,11 +17091,10 @@ var serializeAws_restJson1FolderSearchFilterList = function (input, context) {
|
|
|
16980
17091
|
});
|
|
16981
17092
|
};
|
|
16982
17093
|
var serializeAws_restJson1GeoSpatialColumnGroup = function (input, context) {
|
|
16983
|
-
return __assign(__assign(__assign({}, (input.Columns
|
|
16984
|
-
input.Columns !== null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) })), (input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
17094
|
+
return __assign(__assign(__assign({}, (input.Columns != null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) })), (input.CountryCode != null && { CountryCode: input.CountryCode })), (input.Name != null && { Name: input.Name }));
|
|
16985
17095
|
};
|
|
16986
17096
|
var serializeAws_restJson1GroupSearchFilter = function (input, context) {
|
|
16987
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
17097
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
|
|
16988
17098
|
};
|
|
16989
17099
|
var serializeAws_restJson1GroupSearchFilterList = function (input, context) {
|
|
16990
17100
|
return input
|
|
@@ -16996,8 +17106,18 @@ var serializeAws_restJson1GroupSearchFilterList = function (input, context) {
|
|
|
16996
17106
|
return serializeAws_restJson1GroupSearchFilter(entry, context);
|
|
16997
17107
|
});
|
|
16998
17108
|
};
|
|
17109
|
+
var serializeAws_restJson1GroupsList = function (input, context) {
|
|
17110
|
+
return input
|
|
17111
|
+
.filter(function (e) { return e != null; })
|
|
17112
|
+
.map(function (entry) {
|
|
17113
|
+
if (entry === null) {
|
|
17114
|
+
return null;
|
|
17115
|
+
}
|
|
17116
|
+
return entry;
|
|
17117
|
+
});
|
|
17118
|
+
};
|
|
16999
17119
|
var serializeAws_restJson1GutterStyle = function (input, context) {
|
|
17000
|
-
return __assign({}, (input.Show
|
|
17120
|
+
return __assign({}, (input.Show != null && { Show: input.Show }));
|
|
17001
17121
|
};
|
|
17002
17122
|
var serializeAws_restJson1IdentityMap = function (input, context) {
|
|
17003
17123
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -17020,7 +17140,7 @@ var serializeAws_restJson1IdentityNameList = function (input, context) {
|
|
|
17020
17140
|
});
|
|
17021
17141
|
};
|
|
17022
17142
|
var serializeAws_restJson1InputColumn = function (input, context) {
|
|
17023
|
-
return __assign(__assign({}, (input.Name
|
|
17143
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
|
|
17024
17144
|
};
|
|
17025
17145
|
var serializeAws_restJson1InputColumnList = function (input, context) {
|
|
17026
17146
|
return input
|
|
@@ -17033,8 +17153,7 @@ var serializeAws_restJson1InputColumnList = function (input, context) {
|
|
|
17033
17153
|
});
|
|
17034
17154
|
};
|
|
17035
17155
|
var serializeAws_restJson1IntegerParameter = function (input, context) {
|
|
17036
|
-
return __assign(__assign({}, (input.Name
|
|
17037
|
-
input.Values !== null && { Values: serializeAws_restJson1LongList(input.Values, context) }));
|
|
17156
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1LongList(input.Values, context) }));
|
|
17038
17157
|
};
|
|
17039
17158
|
var serializeAws_restJson1IntegerParameterList = function (input, context) {
|
|
17040
17159
|
return input
|
|
@@ -17057,26 +17176,22 @@ var serializeAws_restJson1IpRestrictionRuleMap = function (input, context) {
|
|
|
17057
17176
|
}, {});
|
|
17058
17177
|
};
|
|
17059
17178
|
var serializeAws_restJson1JiraParameters = function (input, context) {
|
|
17060
|
-
return __assign({}, (input.SiteBaseUrl
|
|
17179
|
+
return __assign({}, (input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }));
|
|
17061
17180
|
};
|
|
17062
17181
|
var serializeAws_restJson1JoinInstruction = function (input, context) {
|
|
17063
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.LeftJoinKeyProperties
|
|
17064
|
-
input.LeftJoinKeyProperties !== null && {
|
|
17182
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.LeftJoinKeyProperties != null && {
|
|
17065
17183
|
LeftJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.LeftJoinKeyProperties, context),
|
|
17066
|
-
})), (input.LeftOperand
|
|
17067
|
-
input.RightJoinKeyProperties !== null && {
|
|
17184
|
+
})), (input.LeftOperand != null && { LeftOperand: input.LeftOperand })), (input.OnClause != null && { OnClause: input.OnClause })), (input.RightJoinKeyProperties != null && {
|
|
17068
17185
|
RightJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.RightJoinKeyProperties, context),
|
|
17069
|
-
})), (input.RightOperand
|
|
17186
|
+
})), (input.RightOperand != null && { RightOperand: input.RightOperand })), (input.Type != null && { Type: input.Type }));
|
|
17070
17187
|
};
|
|
17071
17188
|
var serializeAws_restJson1JoinKeyProperties = function (input, context) {
|
|
17072
|
-
return __assign({}, (input.UniqueKey
|
|
17189
|
+
return __assign({}, (input.UniqueKey != null && { UniqueKey: input.UniqueKey }));
|
|
17073
17190
|
};
|
|
17074
17191
|
var serializeAws_restJson1LogicalTable = function (input, context) {
|
|
17075
|
-
return __assign(__assign(__assign({}, (input.Alias
|
|
17076
|
-
input.DataTransforms !== null && {
|
|
17192
|
+
return __assign(__assign(__assign({}, (input.Alias != null && { Alias: input.Alias })), (input.DataTransforms != null && {
|
|
17077
17193
|
DataTransforms: serializeAws_restJson1TransformOperationList(input.DataTransforms, context),
|
|
17078
|
-
})), (input.Source
|
|
17079
|
-
input.Source !== null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }));
|
|
17194
|
+
})), (input.Source != null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }));
|
|
17080
17195
|
};
|
|
17081
17196
|
var serializeAws_restJson1LogicalTableMap = function (input, context) {
|
|
17082
17197
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -17089,11 +17204,9 @@ var serializeAws_restJson1LogicalTableMap = function (input, context) {
|
|
|
17089
17204
|
}, {});
|
|
17090
17205
|
};
|
|
17091
17206
|
var serializeAws_restJson1LogicalTableSource = function (input, context) {
|
|
17092
|
-
return __assign(__assign(__assign({}, (input.DataSetArn
|
|
17093
|
-
input.JoinInstruction !== null && {
|
|
17207
|
+
return __assign(__assign(__assign({}, (input.DataSetArn != null && { DataSetArn: input.DataSetArn })), (input.JoinInstruction != null && {
|
|
17094
17208
|
JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
|
|
17095
|
-
})), (input.PhysicalTableId
|
|
17096
|
-
input.PhysicalTableId !== null && { PhysicalTableId: input.PhysicalTableId }));
|
|
17209
|
+
})), (input.PhysicalTableId != null && { PhysicalTableId: input.PhysicalTableId }));
|
|
17097
17210
|
};
|
|
17098
17211
|
var serializeAws_restJson1LongList = function (input, context) {
|
|
17099
17212
|
return input
|
|
@@ -17106,32 +17219,28 @@ var serializeAws_restJson1LongList = function (input, context) {
|
|
|
17106
17219
|
});
|
|
17107
17220
|
};
|
|
17108
17221
|
var serializeAws_restJson1ManifestFileLocation = function (input, context) {
|
|
17109
|
-
return __assign(__assign({}, (input.Bucket
|
|
17222
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
17110
17223
|
};
|
|
17111
17224
|
var serializeAws_restJson1MarginStyle = function (input, context) {
|
|
17112
|
-
return __assign({}, (input.Show
|
|
17225
|
+
return __assign({}, (input.Show != null && { Show: input.Show }));
|
|
17113
17226
|
};
|
|
17114
17227
|
var serializeAws_restJson1MariaDbParameters = function (input, context) {
|
|
17115
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17228
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17116
17229
|
};
|
|
17117
17230
|
var serializeAws_restJson1MySqlParameters = function (input, context) {
|
|
17118
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17231
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17119
17232
|
};
|
|
17120
17233
|
var serializeAws_restJson1OracleParameters = function (input, context) {
|
|
17121
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17234
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17122
17235
|
};
|
|
17123
17236
|
var serializeAws_restJson1_Parameters = function (input, context) {
|
|
17124
|
-
return __assign(__assign(__assign(__assign({}, (input.DateTimeParameters
|
|
17125
|
-
input.DateTimeParameters !== null && {
|
|
17237
|
+
return __assign(__assign(__assign(__assign({}, (input.DateTimeParameters != null && {
|
|
17126
17238
|
DateTimeParameters: serializeAws_restJson1DateTimeParameterList(input.DateTimeParameters, context),
|
|
17127
|
-
})), (input.DecimalParameters
|
|
17128
|
-
input.DecimalParameters !== null && {
|
|
17239
|
+
})), (input.DecimalParameters != null && {
|
|
17129
17240
|
DecimalParameters: serializeAws_restJson1DecimalParameterList(input.DecimalParameters, context),
|
|
17130
|
-
})), (input.IntegerParameters
|
|
17131
|
-
input.IntegerParameters !== null && {
|
|
17241
|
+
})), (input.IntegerParameters != null && {
|
|
17132
17242
|
IntegerParameters: serializeAws_restJson1IntegerParameterList(input.IntegerParameters, context),
|
|
17133
|
-
})), (input.StringParameters
|
|
17134
|
-
input.StringParameters !== null && {
|
|
17243
|
+
})), (input.StringParameters != null && {
|
|
17135
17244
|
StringParameters: serializeAws_restJson1StringParameterList(input.StringParameters, context),
|
|
17136
17245
|
}));
|
|
17137
17246
|
};
|
|
@@ -17154,10 +17263,10 @@ var serializeAws_restJson1PhysicalTableMap = function (input, context) {
|
|
|
17154
17263
|
}, {});
|
|
17155
17264
|
};
|
|
17156
17265
|
var serializeAws_restJson1PostgreSqlParameters = function (input, context) {
|
|
17157
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17266
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17158
17267
|
};
|
|
17159
17268
|
var serializeAws_restJson1PrestoParameters = function (input, context) {
|
|
17160
|
-
return __assign(__assign(__assign({}, (input.Catalog
|
|
17269
|
+
return __assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17161
17270
|
};
|
|
17162
17271
|
var serializeAws_restJson1PrincipalList = function (input, context) {
|
|
17163
17272
|
return input
|
|
@@ -17180,52 +17289,44 @@ var serializeAws_restJson1ProjectedColumnList = function (input, context) {
|
|
|
17180
17289
|
});
|
|
17181
17290
|
};
|
|
17182
17291
|
var serializeAws_restJson1ProjectOperation = function (input, context) {
|
|
17183
|
-
return __assign({}, (input.ProjectedColumns
|
|
17184
|
-
input.ProjectedColumns !== null && {
|
|
17292
|
+
return __assign({}, (input.ProjectedColumns != null && {
|
|
17185
17293
|
ProjectedColumns: serializeAws_restJson1ProjectedColumnList(input.ProjectedColumns, context),
|
|
17186
17294
|
}));
|
|
17187
17295
|
};
|
|
17188
17296
|
var serializeAws_restJson1RdsParameters = function (input, context) {
|
|
17189
|
-
return __assign(__assign({}, (input.Database
|
|
17297
|
+
return __assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.InstanceId != null && { InstanceId: input.InstanceId }));
|
|
17190
17298
|
};
|
|
17191
17299
|
var serializeAws_restJson1RedshiftParameters = function (input, context) {
|
|
17192
|
-
return __assign(__assign(__assign(__assign({}, (input.ClusterId
|
|
17300
|
+
return __assign(__assign(__assign(__assign({}, (input.ClusterId != null && { ClusterId: input.ClusterId })), (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17193
17301
|
};
|
|
17194
17302
|
var serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration = function (input, context) {
|
|
17195
|
-
return __assign({}, (input.InitialDashboardId
|
|
17196
|
-
input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }));
|
|
17303
|
+
return __assign({}, (input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }));
|
|
17197
17304
|
};
|
|
17198
17305
|
var serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration = function (input, context) {
|
|
17199
|
-
return __assign(__assign(__assign({}, (input.Dashboard
|
|
17200
|
-
input.Dashboard !== null && {
|
|
17306
|
+
return __assign(__assign(__assign({}, (input.Dashboard != null && {
|
|
17201
17307
|
Dashboard: serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration(input.Dashboard, context),
|
|
17202
|
-
})), (input.QSearchBar
|
|
17203
|
-
input.QSearchBar !== null && {
|
|
17308
|
+
})), (input.QSearchBar != null && {
|
|
17204
17309
|
QSearchBar: serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration(input.QSearchBar, context),
|
|
17205
|
-
})), (input.QuickSightConsole
|
|
17206
|
-
input.QuickSightConsole !== null && {
|
|
17310
|
+
})), (input.QuickSightConsole != null && {
|
|
17207
17311
|
QuickSightConsole: serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration(input.QuickSightConsole, context),
|
|
17208
17312
|
}));
|
|
17209
17313
|
};
|
|
17210
17314
|
var serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration = function (input, context) {
|
|
17211
|
-
return __assign({}, (input.InitialTopicId
|
|
17212
|
-
input.InitialTopicId !== null && { InitialTopicId: input.InitialTopicId }));
|
|
17315
|
+
return __assign({}, (input.InitialTopicId != null && { InitialTopicId: input.InitialTopicId }));
|
|
17213
17316
|
};
|
|
17214
17317
|
var serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration = function (input, context) {
|
|
17215
|
-
return __assign({}, (input.InitialPath
|
|
17318
|
+
return __assign({}, (input.InitialPath != null && { InitialPath: input.InitialPath }));
|
|
17216
17319
|
};
|
|
17217
17320
|
var serializeAws_restJson1RelationalTable = function (input, context) {
|
|
17218
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Catalog
|
|
17219
|
-
input.InputColumns !== null && {
|
|
17321
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns != null && {
|
|
17220
17322
|
InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
|
|
17221
|
-
})), (input.Name
|
|
17323
|
+
})), (input.Name != null && { Name: input.Name })), (input.Schema != null && { Schema: input.Schema }));
|
|
17222
17324
|
};
|
|
17223
17325
|
var serializeAws_restJson1RenameColumnOperation = function (input, context) {
|
|
17224
|
-
return __assign(__assign({}, (input.ColumnName
|
|
17326
|
+
return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.NewColumnName != null && { NewColumnName: input.NewColumnName }));
|
|
17225
17327
|
};
|
|
17226
17328
|
var serializeAws_restJson1ResourcePermission = function (input, context) {
|
|
17227
|
-
return __assign(__assign({}, (input.Actions
|
|
17228
|
-
input.Actions !== null && { Actions: serializeAws_restJson1ActionList(input.Actions, context) })), (input.Principal !== undefined && input.Principal !== null && { Principal: input.Principal }));
|
|
17329
|
+
return __assign(__assign({}, (input.Actions != null && { Actions: serializeAws_restJson1ActionList(input.Actions, context) })), (input.Principal != null && { Principal: input.Principal }));
|
|
17229
17330
|
};
|
|
17230
17331
|
var serializeAws_restJson1ResourcePermissionList = function (input, context) {
|
|
17231
17332
|
return input
|
|
@@ -17238,18 +17339,15 @@ var serializeAws_restJson1ResourcePermissionList = function (input, context) {
|
|
|
17238
17339
|
});
|
|
17239
17340
|
};
|
|
17240
17341
|
var serializeAws_restJson1RowLevelPermissionDataSet = function (input, context) {
|
|
17241
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Arn
|
|
17242
|
-
input.PermissionPolicy !== null && { PermissionPolicy: input.PermissionPolicy })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
17342
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.FormatVersion != null && { FormatVersion: input.FormatVersion })), (input.Namespace != null && { Namespace: input.Namespace })), (input.PermissionPolicy != null && { PermissionPolicy: input.PermissionPolicy })), (input.Status != null && { Status: input.Status }));
|
|
17243
17343
|
};
|
|
17244
17344
|
var serializeAws_restJson1RowLevelPermissionTagConfiguration = function (input, context) {
|
|
17245
|
-
return __assign(__assign({}, (input.Status
|
|
17246
|
-
input.TagRules !== null && {
|
|
17345
|
+
return __assign(__assign({}, (input.Status != null && { Status: input.Status })), (input.TagRules != null && {
|
|
17247
17346
|
TagRules: serializeAws_restJson1RowLevelPermissionTagRuleList(input.TagRules, context),
|
|
17248
17347
|
}));
|
|
17249
17348
|
};
|
|
17250
17349
|
var serializeAws_restJson1RowLevelPermissionTagRule = function (input, context) {
|
|
17251
|
-
return __assign(__assign(__assign(__assign({}, (input.ColumnName
|
|
17252
|
-
input.TagMultiValueDelimiter !== null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }));
|
|
17350
|
+
return __assign(__assign(__assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.MatchAllValue != null && { MatchAllValue: input.MatchAllValue })), (input.TagKey != null && { TagKey: input.TagKey })), (input.TagMultiValueDelimiter != null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }));
|
|
17253
17351
|
};
|
|
17254
17352
|
var serializeAws_restJson1RowLevelPermissionTagRuleList = function (input, context) {
|
|
17255
17353
|
return input
|
|
@@ -17262,25 +17360,22 @@ var serializeAws_restJson1RowLevelPermissionTagRuleList = function (input, conte
|
|
|
17262
17360
|
});
|
|
17263
17361
|
};
|
|
17264
17362
|
var serializeAws_restJson1S3Parameters = function (input, context) {
|
|
17265
|
-
return __assign({}, (input.ManifestFileLocation
|
|
17266
|
-
input.ManifestFileLocation !== null && {
|
|
17363
|
+
return __assign({}, (input.ManifestFileLocation != null && {
|
|
17267
17364
|
ManifestFileLocation: serializeAws_restJson1ManifestFileLocation(input.ManifestFileLocation, context),
|
|
17268
17365
|
}));
|
|
17269
17366
|
};
|
|
17270
17367
|
var serializeAws_restJson1S3Source = function (input, context) {
|
|
17271
|
-
return __assign(__assign(__assign({}, (input.DataSourceArn
|
|
17272
|
-
input.InputColumns !== null && {
|
|
17368
|
+
return __assign(__assign(__assign({}, (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns != null && {
|
|
17273
17369
|
InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
|
|
17274
|
-
})), (input.UploadSettings
|
|
17275
|
-
input.UploadSettings !== null && {
|
|
17370
|
+
})), (input.UploadSettings != null && {
|
|
17276
17371
|
UploadSettings: serializeAws_restJson1UploadSettings(input.UploadSettings, context),
|
|
17277
17372
|
}));
|
|
17278
17373
|
};
|
|
17279
17374
|
var serializeAws_restJson1ServiceNowParameters = function (input, context) {
|
|
17280
|
-
return __assign({}, (input.SiteBaseUrl
|
|
17375
|
+
return __assign({}, (input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }));
|
|
17281
17376
|
};
|
|
17282
17377
|
var serializeAws_restJson1SessionTag = function (input, context) {
|
|
17283
|
-
return __assign(__assign({}, (input.Key
|
|
17378
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
17284
17379
|
};
|
|
17285
17380
|
var serializeAws_restJson1SessionTagList = function (input, context) {
|
|
17286
17381
|
return input
|
|
@@ -17293,25 +17388,22 @@ var serializeAws_restJson1SessionTagList = function (input, context) {
|
|
|
17293
17388
|
});
|
|
17294
17389
|
};
|
|
17295
17390
|
var serializeAws_restJson1SheetControlsOption = function (input, context) {
|
|
17296
|
-
return __assign({}, (input.VisibilityState
|
|
17297
|
-
input.VisibilityState !== null && { VisibilityState: input.VisibilityState }));
|
|
17391
|
+
return __assign({}, (input.VisibilityState != null && { VisibilityState: input.VisibilityState }));
|
|
17298
17392
|
};
|
|
17299
17393
|
var serializeAws_restJson1SheetStyle = function (input, context) {
|
|
17300
|
-
return __assign(__assign({}, (input.Tile
|
|
17301
|
-
input.Tile !== null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) })), (input.TileLayout !== undefined &&
|
|
17302
|
-
input.TileLayout !== null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }));
|
|
17394
|
+
return __assign(__assign({}, (input.Tile != null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) })), (input.TileLayout != null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }));
|
|
17303
17395
|
};
|
|
17304
17396
|
var serializeAws_restJson1SnowflakeParameters = function (input, context) {
|
|
17305
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17397
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Warehouse != null && { Warehouse: input.Warehouse }));
|
|
17306
17398
|
};
|
|
17307
17399
|
var serializeAws_restJson1SparkParameters = function (input, context) {
|
|
17308
|
-
return __assign(__assign({}, (input.Host
|
|
17400
|
+
return __assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17309
17401
|
};
|
|
17310
17402
|
var serializeAws_restJson1SqlServerParameters = function (input, context) {
|
|
17311
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17403
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17312
17404
|
};
|
|
17313
17405
|
var serializeAws_restJson1SslProperties = function (input, context) {
|
|
17314
|
-
return __assign({}, (input.DisableSsl
|
|
17406
|
+
return __assign({}, (input.DisableSsl != null && { DisableSsl: input.DisableSsl }));
|
|
17315
17407
|
};
|
|
17316
17408
|
var serializeAws_restJson1StringList = function (input, context) {
|
|
17317
17409
|
return input
|
|
@@ -17324,8 +17416,7 @@ var serializeAws_restJson1StringList = function (input, context) {
|
|
|
17324
17416
|
});
|
|
17325
17417
|
};
|
|
17326
17418
|
var serializeAws_restJson1StringParameter = function (input, context) {
|
|
17327
|
-
return __assign(__assign({}, (input.Name
|
|
17328
|
-
input.Values !== null && { Values: serializeAws_restJson1StringList(input.Values, context) }));
|
|
17419
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1StringList(input.Values, context) }));
|
|
17329
17420
|
};
|
|
17330
17421
|
var serializeAws_restJson1StringParameterList = function (input, context) {
|
|
17331
17422
|
return input
|
|
@@ -17338,11 +17429,10 @@ var serializeAws_restJson1StringParameterList = function (input, context) {
|
|
|
17338
17429
|
});
|
|
17339
17430
|
};
|
|
17340
17431
|
var serializeAws_restJson1Tag = function (input, context) {
|
|
17341
|
-
return __assign(__assign({}, (input.Key
|
|
17432
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
17342
17433
|
};
|
|
17343
17434
|
var serializeAws_restJson1TagColumnOperation = function (input, context) {
|
|
17344
|
-
return __assign(__assign({}, (input.ColumnName
|
|
17345
|
-
input.Tags !== null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }));
|
|
17435
|
+
return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Tags != null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }));
|
|
17346
17436
|
};
|
|
17347
17437
|
var serializeAws_restJson1TagList = function (input, context) {
|
|
17348
17438
|
return input
|
|
@@ -17355,44 +17445,35 @@ var serializeAws_restJson1TagList = function (input, context) {
|
|
|
17355
17445
|
});
|
|
17356
17446
|
};
|
|
17357
17447
|
var serializeAws_restJson1TemplateSourceAnalysis = function (input, context) {
|
|
17358
|
-
return __assign(__assign({}, (input.Arn
|
|
17359
|
-
input.DataSetReferences !== null && {
|
|
17448
|
+
return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
|
|
17360
17449
|
DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
|
|
17361
17450
|
}));
|
|
17362
17451
|
};
|
|
17363
17452
|
var serializeAws_restJson1TemplateSourceEntity = function (input, context) {
|
|
17364
|
-
return __assign(__assign({}, (input.SourceAnalysis
|
|
17365
|
-
input.SourceAnalysis !== null && {
|
|
17453
|
+
return __assign(__assign({}, (input.SourceAnalysis != null && {
|
|
17366
17454
|
SourceAnalysis: serializeAws_restJson1TemplateSourceAnalysis(input.SourceAnalysis, context),
|
|
17367
|
-
})), (input.SourceTemplate
|
|
17368
|
-
input.SourceTemplate !== null && {
|
|
17455
|
+
})), (input.SourceTemplate != null && {
|
|
17369
17456
|
SourceTemplate: serializeAws_restJson1TemplateSourceTemplate(input.SourceTemplate, context),
|
|
17370
17457
|
}));
|
|
17371
17458
|
};
|
|
17372
17459
|
var serializeAws_restJson1TemplateSourceTemplate = function (input, context) {
|
|
17373
|
-
return __assign({}, (input.Arn
|
|
17460
|
+
return __assign({}, (input.Arn != null && { Arn: input.Arn }));
|
|
17374
17461
|
};
|
|
17375
17462
|
var serializeAws_restJson1TeradataParameters = function (input, context) {
|
|
17376
|
-
return __assign(__assign(__assign({}, (input.Database
|
|
17463
|
+
return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
17377
17464
|
};
|
|
17378
17465
|
var serializeAws_restJson1ThemeConfiguration = function (input, context) {
|
|
17379
|
-
return __assign(__assign(__assign({}, (input.DataColorPalette
|
|
17380
|
-
input.DataColorPalette !== null && {
|
|
17466
|
+
return __assign(__assign(__assign({}, (input.DataColorPalette != null && {
|
|
17381
17467
|
DataColorPalette: serializeAws_restJson1DataColorPalette(input.DataColorPalette, context),
|
|
17382
|
-
})), (input.Sheet
|
|
17383
|
-
input.Sheet !== null && { Sheet: serializeAws_restJson1SheetStyle(input.Sheet, context) })), (input.UIColorPalette !== undefined &&
|
|
17384
|
-
input.UIColorPalette !== null && {
|
|
17468
|
+
})), (input.Sheet != null && { Sheet: serializeAws_restJson1SheetStyle(input.Sheet, context) })), (input.UIColorPalette != null && {
|
|
17385
17469
|
UIColorPalette: serializeAws_restJson1UIColorPalette(input.UIColorPalette, context),
|
|
17386
17470
|
}));
|
|
17387
17471
|
};
|
|
17388
17472
|
var serializeAws_restJson1TileLayoutStyle = function (input, context) {
|
|
17389
|
-
return __assign(__assign({}, (input.Gutter
|
|
17390
|
-
input.Gutter !== null && { Gutter: serializeAws_restJson1GutterStyle(input.Gutter, context) })), (input.Margin !== undefined &&
|
|
17391
|
-
input.Margin !== null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }));
|
|
17473
|
+
return __assign(__assign({}, (input.Gutter != null && { Gutter: serializeAws_restJson1GutterStyle(input.Gutter, context) })), (input.Margin != null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }));
|
|
17392
17474
|
};
|
|
17393
17475
|
var serializeAws_restJson1TileStyle = function (input, context) {
|
|
17394
|
-
return __assign({}, (input.Border
|
|
17395
|
-
input.Border !== null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }));
|
|
17476
|
+
return __assign({}, (input.Border != null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }));
|
|
17396
17477
|
};
|
|
17397
17478
|
var serializeAws_restJson1TimestampList = function (input, context) {
|
|
17398
17479
|
return input
|
|
@@ -17435,24 +17516,13 @@ var serializeAws_restJson1TransformOperationList = function (input, context) {
|
|
|
17435
17516
|
});
|
|
17436
17517
|
};
|
|
17437
17518
|
var serializeAws_restJson1TwitterParameters = function (input, context) {
|
|
17438
|
-
return __assign(__assign({}, (input.MaxRows
|
|
17519
|
+
return __assign(__assign({}, (input.MaxRows != null && { MaxRows: input.MaxRows })), (input.Query != null && { Query: input.Query }));
|
|
17439
17520
|
};
|
|
17440
17521
|
var serializeAws_restJson1UIColorPalette = function (input, context) {
|
|
17441
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accent
|
|
17442
|
-
input.AccentForeground !== null && { AccentForeground: input.AccentForeground })), (input.Danger !== undefined && input.Danger !== null && { Danger: input.Danger })), (input.DangerForeground !== undefined &&
|
|
17443
|
-
input.DangerForeground !== null && { DangerForeground: input.DangerForeground })), (input.Dimension !== undefined && input.Dimension !== null && { Dimension: input.Dimension })), (input.DimensionForeground !== undefined &&
|
|
17444
|
-
input.DimensionForeground !== null && { DimensionForeground: input.DimensionForeground })), (input.Measure !== undefined && input.Measure !== null && { Measure: input.Measure })), (input.MeasureForeground !== undefined &&
|
|
17445
|
-
input.MeasureForeground !== null && { MeasureForeground: input.MeasureForeground })), (input.PrimaryBackground !== undefined &&
|
|
17446
|
-
input.PrimaryBackground !== null && { PrimaryBackground: input.PrimaryBackground })), (input.PrimaryForeground !== undefined &&
|
|
17447
|
-
input.PrimaryForeground !== null && { PrimaryForeground: input.PrimaryForeground })), (input.SecondaryBackground !== undefined &&
|
|
17448
|
-
input.SecondaryBackground !== null && { SecondaryBackground: input.SecondaryBackground })), (input.SecondaryForeground !== undefined &&
|
|
17449
|
-
input.SecondaryForeground !== null && { SecondaryForeground: input.SecondaryForeground })), (input.Success !== undefined && input.Success !== null && { Success: input.Success })), (input.SuccessForeground !== undefined &&
|
|
17450
|
-
input.SuccessForeground !== null && { SuccessForeground: input.SuccessForeground })), (input.Warning !== undefined && input.Warning !== null && { Warning: input.Warning })), (input.WarningForeground !== undefined &&
|
|
17451
|
-
input.WarningForeground !== null && { WarningForeground: input.WarningForeground }));
|
|
17522
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accent != null && { Accent: input.Accent })), (input.AccentForeground != null && { AccentForeground: input.AccentForeground })), (input.Danger != null && { Danger: input.Danger })), (input.DangerForeground != null && { DangerForeground: input.DangerForeground })), (input.Dimension != null && { Dimension: input.Dimension })), (input.DimensionForeground != null && { DimensionForeground: input.DimensionForeground })), (input.Measure != null && { Measure: input.Measure })), (input.MeasureForeground != null && { MeasureForeground: input.MeasureForeground })), (input.PrimaryBackground != null && { PrimaryBackground: input.PrimaryBackground })), (input.PrimaryForeground != null && { PrimaryForeground: input.PrimaryForeground })), (input.SecondaryBackground != null && { SecondaryBackground: input.SecondaryBackground })), (input.SecondaryForeground != null && { SecondaryForeground: input.SecondaryForeground })), (input.Success != null && { Success: input.Success })), (input.SuccessForeground != null && { SuccessForeground: input.SuccessForeground })), (input.Warning != null && { Warning: input.Warning })), (input.WarningForeground != null && { WarningForeground: input.WarningForeground }));
|
|
17452
17523
|
};
|
|
17453
17524
|
var serializeAws_restJson1UntagColumnOperation = function (input, context) {
|
|
17454
|
-
return __assign(__assign({}, (input.ColumnName
|
|
17455
|
-
input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }));
|
|
17525
|
+
return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.TagNames != null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }));
|
|
17456
17526
|
};
|
|
17457
17527
|
var serializeAws_restJson1UpdateLinkPermissionList = function (input, context) {
|
|
17458
17528
|
return input
|
|
@@ -17475,12 +17545,10 @@ var serializeAws_restJson1UpdateResourcePermissionList = function (input, contex
|
|
|
17475
17545
|
});
|
|
17476
17546
|
};
|
|
17477
17547
|
var serializeAws_restJson1UploadSettings = function (input, context) {
|
|
17478
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ContainsHeader
|
|
17479
|
-
input.ContainsHeader !== null && { ContainsHeader: input.ContainsHeader })), (input.Delimiter !== undefined && input.Delimiter !== null && { Delimiter: input.Delimiter })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.StartFromRow !== undefined && input.StartFromRow !== null && { StartFromRow: input.StartFromRow })), (input.TextQualifier !== undefined && input.TextQualifier !== null && { TextQualifier: input.TextQualifier }));
|
|
17548
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ContainsHeader != null && { ContainsHeader: input.ContainsHeader })), (input.Delimiter != null && { Delimiter: input.Delimiter })), (input.Format != null && { Format: input.Format })), (input.StartFromRow != null && { StartFromRow: input.StartFromRow })), (input.TextQualifier != null && { TextQualifier: input.TextQualifier }));
|
|
17480
17549
|
};
|
|
17481
17550
|
var serializeAws_restJson1VpcConnectionProperties = function (input, context) {
|
|
17482
|
-
return __assign({}, (input.VpcConnectionArn
|
|
17483
|
-
input.VpcConnectionArn !== null && { VpcConnectionArn: input.VpcConnectionArn }));
|
|
17551
|
+
return __assign({}, (input.VpcConnectionArn != null && { VpcConnectionArn: input.VpcConnectionArn }));
|
|
17484
17552
|
};
|
|
17485
17553
|
var deserializeAws_restJson1AccountCustomization = function (output, context) {
|
|
17486
17554
|
return {
|
|
@@ -17488,6 +17556,15 @@ var deserializeAws_restJson1AccountCustomization = function (output, context) {
|
|
|
17488
17556
|
DefaultTheme: __expectString(output.DefaultTheme),
|
|
17489
17557
|
};
|
|
17490
17558
|
};
|
|
17559
|
+
var deserializeAws_restJson1AccountInfo = function (output, context) {
|
|
17560
|
+
return {
|
|
17561
|
+
AccountName: __expectString(output.AccountName),
|
|
17562
|
+
AccountSubscriptionStatus: __expectString(output.AccountSubscriptionStatus),
|
|
17563
|
+
AuthenticationType: __expectString(output.AuthenticationType),
|
|
17564
|
+
Edition: __expectString(output.Edition),
|
|
17565
|
+
NotificationEmail: __expectString(output.NotificationEmail),
|
|
17566
|
+
};
|
|
17567
|
+
};
|
|
17491
17568
|
var deserializeAws_restJson1AccountSettings = function (output, context) {
|
|
17492
17569
|
return {
|
|
17493
17570
|
AccountName: __expectString(output.AccountName),
|
|
@@ -17539,22 +17616,16 @@ var deserializeAws_restJson1Analysis = function (output, context) {
|
|
|
17539
17616
|
return {
|
|
17540
17617
|
AnalysisId: __expectString(output.AnalysisId),
|
|
17541
17618
|
Arn: __expectString(output.Arn),
|
|
17542
|
-
CreatedTime: output.CreatedTime
|
|
17619
|
+
CreatedTime: output.CreatedTime != null
|
|
17543
17620
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17544
17621
|
: undefined,
|
|
17545
|
-
DataSetArns: output.DataSetArns
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
Errors: output.Errors !== undefined && output.Errors !== null
|
|
17549
|
-
? deserializeAws_restJson1AnalysisErrorList(output.Errors, context)
|
|
17550
|
-
: undefined,
|
|
17551
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
17622
|
+
DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
|
|
17623
|
+
Errors: output.Errors != null ? deserializeAws_restJson1AnalysisErrorList(output.Errors, context) : undefined,
|
|
17624
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
17552
17625
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
17553
17626
|
: undefined,
|
|
17554
17627
|
Name: __expectString(output.Name),
|
|
17555
|
-
Sheets: output.Sheets
|
|
17556
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
17557
|
-
: undefined,
|
|
17628
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
17558
17629
|
Status: __expectString(output.Status),
|
|
17559
17630
|
ThemeArn: __expectString(output.ThemeArn),
|
|
17560
17631
|
};
|
|
@@ -17580,10 +17651,10 @@ var deserializeAws_restJson1AnalysisSummary = function (output, context) {
|
|
|
17580
17651
|
return {
|
|
17581
17652
|
AnalysisId: __expectString(output.AnalysisId),
|
|
17582
17653
|
Arn: __expectString(output.Arn),
|
|
17583
|
-
CreatedTime: output.CreatedTime
|
|
17654
|
+
CreatedTime: output.CreatedTime != null
|
|
17584
17655
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17585
17656
|
: undefined,
|
|
17586
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
17657
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
17587
17658
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
17588
17659
|
: undefined,
|
|
17589
17660
|
Name: __expectString(output.Name),
|
|
@@ -17673,7 +17744,7 @@ var deserializeAws_restJson1ColumnDescription = function (output, context) {
|
|
|
17673
17744
|
};
|
|
17674
17745
|
var deserializeAws_restJson1ColumnGroup = function (output, context) {
|
|
17675
17746
|
return {
|
|
17676
|
-
GeoSpatialColumnGroup: output.GeoSpatialColumnGroup
|
|
17747
|
+
GeoSpatialColumnGroup: output.GeoSpatialColumnGroup != null
|
|
17677
17748
|
? deserializeAws_restJson1GeoSpatialColumnGroup(output.GeoSpatialColumnGroup, context)
|
|
17678
17749
|
: undefined,
|
|
17679
17750
|
};
|
|
@@ -17707,7 +17778,7 @@ var deserializeAws_restJson1ColumnGroupList = function (output, context) {
|
|
|
17707
17778
|
};
|
|
17708
17779
|
var deserializeAws_restJson1ColumnGroupSchema = function (output, context) {
|
|
17709
17780
|
return {
|
|
17710
|
-
ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList
|
|
17781
|
+
ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList != null
|
|
17711
17782
|
? deserializeAws_restJson1ColumnGroupColumnSchemaList(output.ColumnGroupColumnSchemaList, context)
|
|
17712
17783
|
: undefined,
|
|
17713
17784
|
Name: __expectString(output.Name),
|
|
@@ -17726,12 +17797,8 @@ var deserializeAws_restJson1ColumnGroupSchemaList = function (output, context) {
|
|
|
17726
17797
|
};
|
|
17727
17798
|
var deserializeAws_restJson1ColumnLevelPermissionRule = function (output, context) {
|
|
17728
17799
|
return {
|
|
17729
|
-
ColumnNames: output.ColumnNames
|
|
17730
|
-
|
|
17731
|
-
: undefined,
|
|
17732
|
-
Principals: output.Principals !== undefined && output.Principals !== null
|
|
17733
|
-
? deserializeAws_restJson1PrincipalList(output.Principals, context)
|
|
17734
|
-
: undefined,
|
|
17800
|
+
ColumnNames: output.ColumnNames != null ? deserializeAws_restJson1ColumnNameList(output.ColumnNames, context) : undefined,
|
|
17801
|
+
Principals: output.Principals != null ? deserializeAws_restJson1PrincipalList(output.Principals, context) : undefined,
|
|
17735
17802
|
};
|
|
17736
17803
|
};
|
|
17737
17804
|
var deserializeAws_restJson1ColumnLevelPermissionRuleList = function (output, context) {
|
|
@@ -17787,7 +17854,7 @@ var deserializeAws_restJson1ColumnSchemaList = function (output, context) {
|
|
|
17787
17854
|
};
|
|
17788
17855
|
var deserializeAws_restJson1ColumnTag = function (output, context) {
|
|
17789
17856
|
return {
|
|
17790
|
-
ColumnDescription: output.ColumnDescription
|
|
17857
|
+
ColumnDescription: output.ColumnDescription != null
|
|
17791
17858
|
? deserializeAws_restJson1ColumnDescription(output.ColumnDescription, context)
|
|
17792
17859
|
: undefined,
|
|
17793
17860
|
ColumnGeographicRole: __expectString(output.ColumnGeographicRole),
|
|
@@ -17817,16 +17884,12 @@ var deserializeAws_restJson1ColumnTagNames = function (output, context) {
|
|
|
17817
17884
|
};
|
|
17818
17885
|
var deserializeAws_restJson1CreateColumnsOperation = function (output, context) {
|
|
17819
17886
|
return {
|
|
17820
|
-
Columns: output.Columns
|
|
17821
|
-
? deserializeAws_restJson1CalculatedColumnList(output.Columns, context)
|
|
17822
|
-
: undefined,
|
|
17887
|
+
Columns: output.Columns != null ? deserializeAws_restJson1CalculatedColumnList(output.Columns, context) : undefined,
|
|
17823
17888
|
};
|
|
17824
17889
|
};
|
|
17825
17890
|
var deserializeAws_restJson1CustomSql = function (output, context) {
|
|
17826
17891
|
return {
|
|
17827
|
-
Columns: output.Columns
|
|
17828
|
-
? deserializeAws_restJson1InputColumnList(output.Columns, context)
|
|
17829
|
-
: undefined,
|
|
17892
|
+
Columns: output.Columns != null ? deserializeAws_restJson1InputColumnList(output.Columns, context) : undefined,
|
|
17830
17893
|
DataSourceArn: __expectString(output.DataSourceArn),
|
|
17831
17894
|
Name: __expectString(output.Name),
|
|
17832
17895
|
SqlQuery: __expectString(output.SqlQuery),
|
|
@@ -17835,20 +17898,18 @@ var deserializeAws_restJson1CustomSql = function (output, context) {
|
|
|
17835
17898
|
var deserializeAws_restJson1Dashboard = function (output, context) {
|
|
17836
17899
|
return {
|
|
17837
17900
|
Arn: __expectString(output.Arn),
|
|
17838
|
-
CreatedTime: output.CreatedTime
|
|
17901
|
+
CreatedTime: output.CreatedTime != null
|
|
17839
17902
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17840
17903
|
: undefined,
|
|
17841
17904
|
DashboardId: __expectString(output.DashboardId),
|
|
17842
|
-
LastPublishedTime: output.LastPublishedTime
|
|
17905
|
+
LastPublishedTime: output.LastPublishedTime != null
|
|
17843
17906
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
|
|
17844
17907
|
: undefined,
|
|
17845
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
17908
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
17846
17909
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
17847
17910
|
: undefined,
|
|
17848
17911
|
Name: __expectString(output.Name),
|
|
17849
|
-
Version: output.Version
|
|
17850
|
-
? deserializeAws_restJson1DashboardVersion(output.Version, context)
|
|
17851
|
-
: undefined,
|
|
17912
|
+
Version: output.Version != null ? deserializeAws_restJson1DashboardVersion(output.Version, context) : undefined,
|
|
17852
17913
|
};
|
|
17853
17914
|
};
|
|
17854
17915
|
var deserializeAws_restJson1DashboardError = function (output, context) {
|
|
@@ -17871,14 +17932,14 @@ var deserializeAws_restJson1DashboardErrorList = function (output, context) {
|
|
|
17871
17932
|
var deserializeAws_restJson1DashboardSummary = function (output, context) {
|
|
17872
17933
|
return {
|
|
17873
17934
|
Arn: __expectString(output.Arn),
|
|
17874
|
-
CreatedTime: output.CreatedTime
|
|
17935
|
+
CreatedTime: output.CreatedTime != null
|
|
17875
17936
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17876
17937
|
: undefined,
|
|
17877
17938
|
DashboardId: __expectString(output.DashboardId),
|
|
17878
|
-
LastPublishedTime: output.LastPublishedTime
|
|
17939
|
+
LastPublishedTime: output.LastPublishedTime != null
|
|
17879
17940
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
|
|
17880
17941
|
: undefined,
|
|
17881
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
17942
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
17882
17943
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
17883
17944
|
: undefined,
|
|
17884
17945
|
Name: __expectString(output.Name),
|
|
@@ -17899,19 +17960,13 @@ var deserializeAws_restJson1DashboardSummaryList = function (output, context) {
|
|
|
17899
17960
|
var deserializeAws_restJson1DashboardVersion = function (output, context) {
|
|
17900
17961
|
return {
|
|
17901
17962
|
Arn: __expectString(output.Arn),
|
|
17902
|
-
CreatedTime: output.CreatedTime
|
|
17963
|
+
CreatedTime: output.CreatedTime != null
|
|
17903
17964
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17904
17965
|
: undefined,
|
|
17905
|
-
DataSetArns: output.DataSetArns
|
|
17906
|
-
? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
|
|
17907
|
-
: undefined,
|
|
17966
|
+
DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
|
|
17908
17967
|
Description: __expectString(output.Description),
|
|
17909
|
-
Errors: output.Errors
|
|
17910
|
-
|
|
17911
|
-
: undefined,
|
|
17912
|
-
Sheets: output.Sheets !== undefined && output.Sheets !== null
|
|
17913
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
17914
|
-
: undefined,
|
|
17968
|
+
Errors: output.Errors != null ? deserializeAws_restJson1DashboardErrorList(output.Errors, context) : undefined,
|
|
17969
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
17915
17970
|
SourceEntityArn: __expectString(output.SourceEntityArn),
|
|
17916
17971
|
Status: __expectString(output.Status),
|
|
17917
17972
|
ThemeArn: __expectString(output.ThemeArn),
|
|
@@ -17921,7 +17976,7 @@ var deserializeAws_restJson1DashboardVersion = function (output, context) {
|
|
|
17921
17976
|
var deserializeAws_restJson1DashboardVersionSummary = function (output, context) {
|
|
17922
17977
|
return {
|
|
17923
17978
|
Arn: __expectString(output.Arn),
|
|
17924
|
-
CreatedTime: output.CreatedTime
|
|
17979
|
+
CreatedTime: output.CreatedTime != null
|
|
17925
17980
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17926
17981
|
: undefined,
|
|
17927
17982
|
Description: __expectString(output.Description),
|
|
@@ -17943,53 +17998,45 @@ var deserializeAws_restJson1DashboardVersionSummaryList = function (output, cont
|
|
|
17943
17998
|
};
|
|
17944
17999
|
var deserializeAws_restJson1DataColorPalette = function (output, context) {
|
|
17945
18000
|
return {
|
|
17946
|
-
Colors: output.Colors
|
|
17947
|
-
? deserializeAws_restJson1ColorList(output.Colors, context)
|
|
17948
|
-
: undefined,
|
|
18001
|
+
Colors: output.Colors != null ? deserializeAws_restJson1ColorList(output.Colors, context) : undefined,
|
|
17949
18002
|
EmptyFillColor: __expectString(output.EmptyFillColor),
|
|
17950
|
-
MinMaxGradient: output.MinMaxGradient
|
|
17951
|
-
? deserializeAws_restJson1ColorList(output.MinMaxGradient, context)
|
|
17952
|
-
: undefined,
|
|
18003
|
+
MinMaxGradient: output.MinMaxGradient != null ? deserializeAws_restJson1ColorList(output.MinMaxGradient, context) : undefined,
|
|
17953
18004
|
};
|
|
17954
18005
|
};
|
|
17955
18006
|
var deserializeAws_restJson1DataSet = function (output, context) {
|
|
17956
18007
|
return {
|
|
17957
18008
|
Arn: __expectString(output.Arn),
|
|
17958
|
-
ColumnGroups: output.ColumnGroups
|
|
17959
|
-
|
|
17960
|
-
: undefined,
|
|
17961
|
-
ColumnLevelPermissionRules: output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
|
|
18009
|
+
ColumnGroups: output.ColumnGroups != null ? deserializeAws_restJson1ColumnGroupList(output.ColumnGroups, context) : undefined,
|
|
18010
|
+
ColumnLevelPermissionRules: output.ColumnLevelPermissionRules != null
|
|
17962
18011
|
? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
|
|
17963
18012
|
: undefined,
|
|
17964
18013
|
ConsumedSpiceCapacityInBytes: __expectLong(output.ConsumedSpiceCapacityInBytes),
|
|
17965
|
-
CreatedTime: output.CreatedTime
|
|
18014
|
+
CreatedTime: output.CreatedTime != null
|
|
17966
18015
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
17967
18016
|
: undefined,
|
|
17968
18017
|
DataSetId: __expectString(output.DataSetId),
|
|
17969
|
-
DataSetUsageConfiguration: output.DataSetUsageConfiguration
|
|
18018
|
+
DataSetUsageConfiguration: output.DataSetUsageConfiguration != null
|
|
17970
18019
|
? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
|
|
17971
18020
|
: undefined,
|
|
17972
|
-
FieldFolders: output.FieldFolders
|
|
17973
|
-
? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
|
|
17974
|
-
: undefined,
|
|
18021
|
+
FieldFolders: output.FieldFolders != null ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context) : undefined,
|
|
17975
18022
|
ImportMode: __expectString(output.ImportMode),
|
|
17976
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
18023
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
17977
18024
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
17978
18025
|
: undefined,
|
|
17979
|
-
LogicalTableMap: output.LogicalTableMap
|
|
18026
|
+
LogicalTableMap: output.LogicalTableMap != null
|
|
17980
18027
|
? deserializeAws_restJson1LogicalTableMap(output.LogicalTableMap, context)
|
|
17981
18028
|
: undefined,
|
|
17982
18029
|
Name: __expectString(output.Name),
|
|
17983
|
-
OutputColumns: output.OutputColumns
|
|
18030
|
+
OutputColumns: output.OutputColumns != null
|
|
17984
18031
|
? deserializeAws_restJson1OutputColumnList(output.OutputColumns, context)
|
|
17985
18032
|
: undefined,
|
|
17986
|
-
PhysicalTableMap: output.PhysicalTableMap
|
|
18033
|
+
PhysicalTableMap: output.PhysicalTableMap != null
|
|
17987
18034
|
? deserializeAws_restJson1PhysicalTableMap(output.PhysicalTableMap, context)
|
|
17988
18035
|
: undefined,
|
|
17989
|
-
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet
|
|
18036
|
+
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
|
|
17990
18037
|
? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
|
|
17991
18038
|
: undefined,
|
|
17992
|
-
RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration
|
|
18039
|
+
RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration != null
|
|
17993
18040
|
? deserializeAws_restJson1RowLevelPermissionTagConfiguration(output.RowLevelPermissionTagConfiguration, context)
|
|
17994
18041
|
: undefined,
|
|
17995
18042
|
};
|
|
@@ -18007,12 +18054,10 @@ var deserializeAws_restJson1DataSetArnsList = function (output, context) {
|
|
|
18007
18054
|
};
|
|
18008
18055
|
var deserializeAws_restJson1DataSetConfiguration = function (output, context) {
|
|
18009
18056
|
return {
|
|
18010
|
-
ColumnGroupSchemaList: output.ColumnGroupSchemaList
|
|
18057
|
+
ColumnGroupSchemaList: output.ColumnGroupSchemaList != null
|
|
18011
18058
|
? deserializeAws_restJson1ColumnGroupSchemaList(output.ColumnGroupSchemaList, context)
|
|
18012
18059
|
: undefined,
|
|
18013
|
-
DataSetSchema: output.DataSetSchema
|
|
18014
|
-
? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context)
|
|
18015
|
-
: undefined,
|
|
18060
|
+
DataSetSchema: output.DataSetSchema != null ? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context) : undefined,
|
|
18016
18061
|
Placeholder: __expectString(output.Placeholder),
|
|
18017
18062
|
};
|
|
18018
18063
|
};
|
|
@@ -18029,7 +18074,7 @@ var deserializeAws_restJson1DataSetConfigurationList = function (output, context
|
|
|
18029
18074
|
};
|
|
18030
18075
|
var deserializeAws_restJson1DataSetSchema = function (output, context) {
|
|
18031
18076
|
return {
|
|
18032
|
-
ColumnSchemaList: output.ColumnSchemaList
|
|
18077
|
+
ColumnSchemaList: output.ColumnSchemaList != null
|
|
18033
18078
|
? deserializeAws_restJson1ColumnSchemaList(output.ColumnSchemaList, context)
|
|
18034
18079
|
: undefined,
|
|
18035
18080
|
};
|
|
@@ -18038,16 +18083,16 @@ var deserializeAws_restJson1DataSetSummary = function (output, context) {
|
|
|
18038
18083
|
return {
|
|
18039
18084
|
Arn: __expectString(output.Arn),
|
|
18040
18085
|
ColumnLevelPermissionRulesApplied: __expectBoolean(output.ColumnLevelPermissionRulesApplied),
|
|
18041
|
-
CreatedTime: output.CreatedTime
|
|
18086
|
+
CreatedTime: output.CreatedTime != null
|
|
18042
18087
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18043
18088
|
: undefined,
|
|
18044
18089
|
DataSetId: __expectString(output.DataSetId),
|
|
18045
18090
|
ImportMode: __expectString(output.ImportMode),
|
|
18046
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
18091
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18047
18092
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18048
18093
|
: undefined,
|
|
18049
18094
|
Name: __expectString(output.Name),
|
|
18050
|
-
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet
|
|
18095
|
+
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
|
|
18051
18096
|
? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
|
|
18052
18097
|
: undefined,
|
|
18053
18098
|
RowLevelPermissionTagConfigurationApplied: __expectBoolean(output.RowLevelPermissionTagConfigurationApplied),
|
|
@@ -18072,30 +18117,26 @@ var deserializeAws_restJson1DataSetUsageConfiguration = function (output, contex
|
|
|
18072
18117
|
};
|
|
18073
18118
|
var deserializeAws_restJson1DataSource = function (output, context) {
|
|
18074
18119
|
return {
|
|
18075
|
-
AlternateDataSourceParameters: output.AlternateDataSourceParameters
|
|
18120
|
+
AlternateDataSourceParameters: output.AlternateDataSourceParameters != null
|
|
18076
18121
|
? deserializeAws_restJson1DataSourceParametersList(output.AlternateDataSourceParameters, context)
|
|
18077
18122
|
: undefined,
|
|
18078
18123
|
Arn: __expectString(output.Arn),
|
|
18079
|
-
CreatedTime: output.CreatedTime
|
|
18124
|
+
CreatedTime: output.CreatedTime != null
|
|
18080
18125
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18081
18126
|
: undefined,
|
|
18082
18127
|
DataSourceId: __expectString(output.DataSourceId),
|
|
18083
|
-
DataSourceParameters: output.DataSourceParameters
|
|
18128
|
+
DataSourceParameters: output.DataSourceParameters != null
|
|
18084
18129
|
? deserializeAws_restJson1DataSourceParameters(__expectUnion(output.DataSourceParameters), context)
|
|
18085
18130
|
: undefined,
|
|
18086
|
-
ErrorInfo: output.ErrorInfo
|
|
18087
|
-
|
|
18088
|
-
: undefined,
|
|
18089
|
-
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
18131
|
+
ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context) : undefined,
|
|
18132
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18090
18133
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18091
18134
|
: undefined,
|
|
18092
18135
|
Name: __expectString(output.Name),
|
|
18093
|
-
SslProperties: output.SslProperties
|
|
18094
|
-
? deserializeAws_restJson1SslProperties(output.SslProperties, context)
|
|
18095
|
-
: undefined,
|
|
18136
|
+
SslProperties: output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
|
|
18096
18137
|
Status: __expectString(output.Status),
|
|
18097
18138
|
Type: __expectString(output.Type),
|
|
18098
|
-
VpcConnectionProperties: output.VpcConnectionProperties
|
|
18139
|
+
VpcConnectionProperties: output.VpcConnectionProperties != null
|
|
18099
18140
|
? deserializeAws_restJson1VpcConnectionProperties(output.VpcConnectionProperties, context)
|
|
18100
18141
|
: undefined,
|
|
18101
18142
|
};
|
|
@@ -18255,9 +18296,7 @@ var deserializeAws_restJson1ExasolParameters = function (output, context) {
|
|
|
18255
18296
|
};
|
|
18256
18297
|
var deserializeAws_restJson1FieldFolder = function (output, context) {
|
|
18257
18298
|
return {
|
|
18258
|
-
columns: output.columns
|
|
18259
|
-
? deserializeAws_restJson1FolderColumnList(output.columns, context)
|
|
18260
|
-
: undefined,
|
|
18299
|
+
columns: output.columns != null ? deserializeAws_restJson1FolderColumnList(output.columns, context) : undefined,
|
|
18261
18300
|
description: __expectString(output.description),
|
|
18262
18301
|
};
|
|
18263
18302
|
};
|
|
@@ -18279,15 +18318,13 @@ var deserializeAws_restJson1FilterOperation = function (output, context) {
|
|
|
18279
18318
|
var deserializeAws_restJson1Folder = function (output, context) {
|
|
18280
18319
|
return {
|
|
18281
18320
|
Arn: __expectString(output.Arn),
|
|
18282
|
-
CreatedTime: output.CreatedTime
|
|
18321
|
+
CreatedTime: output.CreatedTime != null
|
|
18283
18322
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18284
18323
|
: undefined,
|
|
18285
18324
|
FolderId: __expectString(output.FolderId),
|
|
18286
|
-
FolderPath: output.FolderPath
|
|
18287
|
-
? deserializeAws_restJson1Path(output.FolderPath, context)
|
|
18288
|
-
: undefined,
|
|
18325
|
+
FolderPath: output.FolderPath != null ? deserializeAws_restJson1Path(output.FolderPath, context) : undefined,
|
|
18289
18326
|
FolderType: __expectString(output.FolderType),
|
|
18290
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
18327
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18291
18328
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18292
18329
|
: undefined,
|
|
18293
18330
|
Name: __expectString(output.Name),
|
|
@@ -18324,12 +18361,12 @@ var deserializeAws_restJson1FolderMemberList = function (output, context) {
|
|
|
18324
18361
|
var deserializeAws_restJson1FolderSummary = function (output, context) {
|
|
18325
18362
|
return {
|
|
18326
18363
|
Arn: __expectString(output.Arn),
|
|
18327
|
-
CreatedTime: output.CreatedTime
|
|
18364
|
+
CreatedTime: output.CreatedTime != null
|
|
18328
18365
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18329
18366
|
: undefined,
|
|
18330
18367
|
FolderId: __expectString(output.FolderId),
|
|
18331
18368
|
FolderType: __expectString(output.FolderType),
|
|
18332
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
18369
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18333
18370
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18334
18371
|
: undefined,
|
|
18335
18372
|
Name: __expectString(output.Name),
|
|
@@ -18348,9 +18385,7 @@ var deserializeAws_restJson1FolderSummaryList = function (output, context) {
|
|
|
18348
18385
|
};
|
|
18349
18386
|
var deserializeAws_restJson1GeoSpatialColumnGroup = function (output, context) {
|
|
18350
18387
|
return {
|
|
18351
|
-
Columns: output.Columns
|
|
18352
|
-
? deserializeAws_restJson1ColumnList(output.Columns, context)
|
|
18353
|
-
: undefined,
|
|
18388
|
+
Columns: output.Columns != null ? deserializeAws_restJson1ColumnList(output.Columns, context) : undefined,
|
|
18354
18389
|
CountryCode: __expectString(output.CountryCode),
|
|
18355
18390
|
Name: __expectString(output.Name),
|
|
18356
18391
|
};
|
|
@@ -18402,9 +18437,7 @@ var deserializeAws_restJson1IAMPolicyAssignment = function (output, context) {
|
|
|
18402
18437
|
AssignmentName: __expectString(output.AssignmentName),
|
|
18403
18438
|
AssignmentStatus: __expectString(output.AssignmentStatus),
|
|
18404
18439
|
AwsAccountId: __expectString(output.AwsAccountId),
|
|
18405
|
-
Identities: output.Identities
|
|
18406
|
-
? deserializeAws_restJson1IdentityMap(output.Identities, context)
|
|
18407
|
-
: undefined,
|
|
18440
|
+
Identities: output.Identities != null ? deserializeAws_restJson1IdentityMap(output.Identities, context) : undefined,
|
|
18408
18441
|
PolicyArn: __expectString(output.PolicyArn),
|
|
18409
18442
|
};
|
|
18410
18443
|
};
|
|
@@ -18449,24 +18482,18 @@ var deserializeAws_restJson1IdentityNameList = function (output, context) {
|
|
|
18449
18482
|
var deserializeAws_restJson1Ingestion = function (output, context) {
|
|
18450
18483
|
return {
|
|
18451
18484
|
Arn: __expectString(output.Arn),
|
|
18452
|
-
CreatedTime: output.CreatedTime
|
|
18485
|
+
CreatedTime: output.CreatedTime != null
|
|
18453
18486
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18454
18487
|
: undefined,
|
|
18455
|
-
ErrorInfo: output.ErrorInfo
|
|
18456
|
-
? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
|
|
18457
|
-
: undefined,
|
|
18488
|
+
ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context) : undefined,
|
|
18458
18489
|
IngestionId: __expectString(output.IngestionId),
|
|
18459
18490
|
IngestionSizeInBytes: __expectLong(output.IngestionSizeInBytes),
|
|
18460
18491
|
IngestionStatus: __expectString(output.IngestionStatus),
|
|
18461
18492
|
IngestionTimeInSeconds: __expectLong(output.IngestionTimeInSeconds),
|
|
18462
|
-
QueueInfo: output.QueueInfo
|
|
18463
|
-
? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
|
|
18464
|
-
: undefined,
|
|
18493
|
+
QueueInfo: output.QueueInfo != null ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context) : undefined,
|
|
18465
18494
|
RequestSource: __expectString(output.RequestSource),
|
|
18466
18495
|
RequestType: __expectString(output.RequestType),
|
|
18467
|
-
RowInfo: output.RowInfo
|
|
18468
|
-
? deserializeAws_restJson1RowInfo(output.RowInfo, context)
|
|
18469
|
-
: undefined,
|
|
18496
|
+
RowInfo: output.RowInfo != null ? deserializeAws_restJson1RowInfo(output.RowInfo, context) : undefined,
|
|
18470
18497
|
};
|
|
18471
18498
|
};
|
|
18472
18499
|
var deserializeAws_restJson1Ingestions = function (output, context) {
|
|
@@ -18514,12 +18541,12 @@ var deserializeAws_restJson1JiraParameters = function (output, context) {
|
|
|
18514
18541
|
};
|
|
18515
18542
|
var deserializeAws_restJson1JoinInstruction = function (output, context) {
|
|
18516
18543
|
return {
|
|
18517
|
-
LeftJoinKeyProperties: output.LeftJoinKeyProperties
|
|
18544
|
+
LeftJoinKeyProperties: output.LeftJoinKeyProperties != null
|
|
18518
18545
|
? deserializeAws_restJson1JoinKeyProperties(output.LeftJoinKeyProperties, context)
|
|
18519
18546
|
: undefined,
|
|
18520
18547
|
LeftOperand: __expectString(output.LeftOperand),
|
|
18521
18548
|
OnClause: __expectString(output.OnClause),
|
|
18522
|
-
RightJoinKeyProperties: output.RightJoinKeyProperties
|
|
18549
|
+
RightJoinKeyProperties: output.RightJoinKeyProperties != null
|
|
18523
18550
|
? deserializeAws_restJson1JoinKeyProperties(output.RightJoinKeyProperties, context)
|
|
18524
18551
|
: undefined,
|
|
18525
18552
|
RightOperand: __expectString(output.RightOperand),
|
|
@@ -18533,7 +18560,7 @@ var deserializeAws_restJson1JoinKeyProperties = function (output, context) {
|
|
|
18533
18560
|
};
|
|
18534
18561
|
var deserializeAws_restJson1LinkSharingConfiguration = function (output, context) {
|
|
18535
18562
|
return {
|
|
18536
|
-
Permissions: output.Permissions
|
|
18563
|
+
Permissions: output.Permissions != null
|
|
18537
18564
|
? deserializeAws_restJson1ResourcePermissionList(output.Permissions, context)
|
|
18538
18565
|
: undefined,
|
|
18539
18566
|
};
|
|
@@ -18541,12 +18568,10 @@ var deserializeAws_restJson1LinkSharingConfiguration = function (output, context
|
|
|
18541
18568
|
var deserializeAws_restJson1LogicalTable = function (output, context) {
|
|
18542
18569
|
return {
|
|
18543
18570
|
Alias: __expectString(output.Alias),
|
|
18544
|
-
DataTransforms: output.DataTransforms
|
|
18571
|
+
DataTransforms: output.DataTransforms != null
|
|
18545
18572
|
? deserializeAws_restJson1TransformOperationList(output.DataTransforms, context)
|
|
18546
18573
|
: undefined,
|
|
18547
|
-
Source: output.Source
|
|
18548
|
-
? deserializeAws_restJson1LogicalTableSource(output.Source, context)
|
|
18549
|
-
: undefined,
|
|
18574
|
+
Source: output.Source != null ? deserializeAws_restJson1LogicalTableSource(output.Source, context) : undefined,
|
|
18550
18575
|
};
|
|
18551
18576
|
};
|
|
18552
18577
|
var deserializeAws_restJson1LogicalTableMap = function (output, context) {
|
|
@@ -18562,7 +18587,7 @@ var deserializeAws_restJson1LogicalTableMap = function (output, context) {
|
|
|
18562
18587
|
var deserializeAws_restJson1LogicalTableSource = function (output, context) {
|
|
18563
18588
|
return {
|
|
18564
18589
|
DataSetArn: __expectString(output.DataSetArn),
|
|
18565
|
-
JoinInstruction: output.JoinInstruction
|
|
18590
|
+
JoinInstruction: output.JoinInstruction != null
|
|
18566
18591
|
? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
|
|
18567
18592
|
: undefined,
|
|
18568
18593
|
PhysicalTableId: __expectString(output.PhysicalTableId),
|
|
@@ -18612,7 +18637,7 @@ var deserializeAws_restJson1NamespaceInfoV2 = function (output, context) {
|
|
|
18612
18637
|
CreationStatus: __expectString(output.CreationStatus),
|
|
18613
18638
|
IdentityStore: __expectString(output.IdentityStore),
|
|
18614
18639
|
Name: __expectString(output.Name),
|
|
18615
|
-
NamespaceError: output.NamespaceError
|
|
18640
|
+
NamespaceError: output.NamespaceError != null
|
|
18616
18641
|
? deserializeAws_restJson1NamespaceError(output.NamespaceError, context)
|
|
18617
18642
|
: undefined,
|
|
18618
18643
|
};
|
|
@@ -18730,7 +18755,7 @@ var deserializeAws_restJson1ProjectedColumnList = function (output, context) {
|
|
|
18730
18755
|
};
|
|
18731
18756
|
var deserializeAws_restJson1ProjectOperation = function (output, context) {
|
|
18732
18757
|
return {
|
|
18733
|
-
ProjectedColumns: output.ProjectedColumns
|
|
18758
|
+
ProjectedColumns: output.ProjectedColumns != null
|
|
18734
18759
|
? deserializeAws_restJson1ProjectedColumnList(output.ProjectedColumns, context)
|
|
18735
18760
|
: undefined,
|
|
18736
18761
|
};
|
|
@@ -18759,9 +18784,7 @@ var deserializeAws_restJson1RelationalTable = function (output, context) {
|
|
|
18759
18784
|
return {
|
|
18760
18785
|
Catalog: __expectString(output.Catalog),
|
|
18761
18786
|
DataSourceArn: __expectString(output.DataSourceArn),
|
|
18762
|
-
InputColumns: output.InputColumns
|
|
18763
|
-
? deserializeAws_restJson1InputColumnList(output.InputColumns, context)
|
|
18764
|
-
: undefined,
|
|
18787
|
+
InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
|
|
18765
18788
|
Name: __expectString(output.Name),
|
|
18766
18789
|
Schema: __expectString(output.Schema),
|
|
18767
18790
|
};
|
|
@@ -18774,9 +18797,7 @@ var deserializeAws_restJson1RenameColumnOperation = function (output, context) {
|
|
|
18774
18797
|
};
|
|
18775
18798
|
var deserializeAws_restJson1ResourcePermission = function (output, context) {
|
|
18776
18799
|
return {
|
|
18777
|
-
Actions: output.Actions
|
|
18778
|
-
? deserializeAws_restJson1ActionList(output.Actions, context)
|
|
18779
|
-
: undefined,
|
|
18800
|
+
Actions: output.Actions != null ? deserializeAws_restJson1ActionList(output.Actions, context) : undefined,
|
|
18780
18801
|
Principal: __expectString(output.Principal),
|
|
18781
18802
|
};
|
|
18782
18803
|
};
|
|
@@ -18810,7 +18831,7 @@ var deserializeAws_restJson1RowLevelPermissionDataSet = function (output, contex
|
|
|
18810
18831
|
var deserializeAws_restJson1RowLevelPermissionTagConfiguration = function (output, context) {
|
|
18811
18832
|
return {
|
|
18812
18833
|
Status: __expectString(output.Status),
|
|
18813
|
-
TagRules: output.TagRules
|
|
18834
|
+
TagRules: output.TagRules != null
|
|
18814
18835
|
? deserializeAws_restJson1RowLevelPermissionTagRuleList(output.TagRules, context)
|
|
18815
18836
|
: undefined,
|
|
18816
18837
|
};
|
|
@@ -18836,7 +18857,7 @@ var deserializeAws_restJson1RowLevelPermissionTagRuleList = function (output, co
|
|
|
18836
18857
|
};
|
|
18837
18858
|
var deserializeAws_restJson1S3Parameters = function (output, context) {
|
|
18838
18859
|
return {
|
|
18839
|
-
ManifestFileLocation: output.ManifestFileLocation
|
|
18860
|
+
ManifestFileLocation: output.ManifestFileLocation != null
|
|
18840
18861
|
? deserializeAws_restJson1ManifestFileLocation(output.ManifestFileLocation, context)
|
|
18841
18862
|
: undefined,
|
|
18842
18863
|
};
|
|
@@ -18844,10 +18865,8 @@ var deserializeAws_restJson1S3Parameters = function (output, context) {
|
|
|
18844
18865
|
var deserializeAws_restJson1S3Source = function (output, context) {
|
|
18845
18866
|
return {
|
|
18846
18867
|
DataSourceArn: __expectString(output.DataSourceArn),
|
|
18847
|
-
InputColumns: output.InputColumns
|
|
18848
|
-
|
|
18849
|
-
: undefined,
|
|
18850
|
-
UploadSettings: output.UploadSettings !== undefined && output.UploadSettings !== null
|
|
18868
|
+
InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
|
|
18869
|
+
UploadSettings: output.UploadSettings != null
|
|
18851
18870
|
? deserializeAws_restJson1UploadSettings(output.UploadSettings, context)
|
|
18852
18871
|
: undefined,
|
|
18853
18872
|
};
|
|
@@ -18876,12 +18895,16 @@ var deserializeAws_restJson1SheetList = function (output, context) {
|
|
|
18876
18895
|
};
|
|
18877
18896
|
var deserializeAws_restJson1SheetStyle = function (output, context) {
|
|
18878
18897
|
return {
|
|
18879
|
-
Tile: output.Tile
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18898
|
+
Tile: output.Tile != null ? deserializeAws_restJson1TileStyle(output.Tile, context) : undefined,
|
|
18899
|
+
TileLayout: output.TileLayout != null ? deserializeAws_restJson1TileLayoutStyle(output.TileLayout, context) : undefined,
|
|
18900
|
+
};
|
|
18901
|
+
};
|
|
18902
|
+
var deserializeAws_restJson1SignupResponse = function (output, context) {
|
|
18903
|
+
return {
|
|
18904
|
+
IAMUser: __expectBoolean(output.IAMUser),
|
|
18905
|
+
accountName: __expectString(output.accountName),
|
|
18906
|
+
directoryType: __expectString(output.directoryType),
|
|
18907
|
+
userLoginName: __expectString(output.userLoginName),
|
|
18885
18908
|
};
|
|
18886
18909
|
};
|
|
18887
18910
|
var deserializeAws_restJson1SnowflakeParameters = function (output, context) {
|
|
@@ -18918,9 +18941,7 @@ var deserializeAws_restJson1Tag = function (output, context) {
|
|
|
18918
18941
|
var deserializeAws_restJson1TagColumnOperation = function (output, context) {
|
|
18919
18942
|
return {
|
|
18920
18943
|
ColumnName: __expectString(output.ColumnName),
|
|
18921
|
-
Tags: output.Tags
|
|
18922
|
-
? deserializeAws_restJson1ColumnTagList(output.Tags, context)
|
|
18923
|
-
: undefined,
|
|
18944
|
+
Tags: output.Tags != null ? deserializeAws_restJson1ColumnTagList(output.Tags, context) : undefined,
|
|
18924
18945
|
};
|
|
18925
18946
|
};
|
|
18926
18947
|
var deserializeAws_restJson1TagList = function (output, context) {
|
|
@@ -18937,17 +18958,15 @@ var deserializeAws_restJson1TagList = function (output, context) {
|
|
|
18937
18958
|
var deserializeAws_restJson1Template = function (output, context) {
|
|
18938
18959
|
return {
|
|
18939
18960
|
Arn: __expectString(output.Arn),
|
|
18940
|
-
CreatedTime: output.CreatedTime
|
|
18961
|
+
CreatedTime: output.CreatedTime != null
|
|
18941
18962
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18942
18963
|
: undefined,
|
|
18943
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
18964
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18944
18965
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18945
18966
|
: undefined,
|
|
18946
18967
|
Name: __expectString(output.Name),
|
|
18947
18968
|
TemplateId: __expectString(output.TemplateId),
|
|
18948
|
-
Version: output.Version
|
|
18949
|
-
? deserializeAws_restJson1TemplateVersion(output.Version, context)
|
|
18950
|
-
: undefined,
|
|
18969
|
+
Version: output.Version != null ? deserializeAws_restJson1TemplateVersion(output.Version, context) : undefined,
|
|
18951
18970
|
};
|
|
18952
18971
|
};
|
|
18953
18972
|
var deserializeAws_restJson1TemplateAlias = function (output, context) {
|
|
@@ -18988,10 +19007,10 @@ var deserializeAws_restJson1TemplateErrorList = function (output, context) {
|
|
|
18988
19007
|
var deserializeAws_restJson1TemplateSummary = function (output, context) {
|
|
18989
19008
|
return {
|
|
18990
19009
|
Arn: __expectString(output.Arn),
|
|
18991
|
-
CreatedTime: output.CreatedTime
|
|
19010
|
+
CreatedTime: output.CreatedTime != null
|
|
18992
19011
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
18993
19012
|
: undefined,
|
|
18994
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
19013
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
18995
19014
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
18996
19015
|
: undefined,
|
|
18997
19016
|
LatestVersionNumber: __expectLong(output.LatestVersionNumber),
|
|
@@ -19012,19 +19031,15 @@ var deserializeAws_restJson1TemplateSummaryList = function (output, context) {
|
|
|
19012
19031
|
};
|
|
19013
19032
|
var deserializeAws_restJson1TemplateVersion = function (output, context) {
|
|
19014
19033
|
return {
|
|
19015
|
-
CreatedTime: output.CreatedTime
|
|
19034
|
+
CreatedTime: output.CreatedTime != null
|
|
19016
19035
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19017
19036
|
: undefined,
|
|
19018
|
-
DataSetConfigurations: output.DataSetConfigurations
|
|
19037
|
+
DataSetConfigurations: output.DataSetConfigurations != null
|
|
19019
19038
|
? deserializeAws_restJson1DataSetConfigurationList(output.DataSetConfigurations, context)
|
|
19020
19039
|
: undefined,
|
|
19021
19040
|
Description: __expectString(output.Description),
|
|
19022
|
-
Errors: output.Errors
|
|
19023
|
-
|
|
19024
|
-
: undefined,
|
|
19025
|
-
Sheets: output.Sheets !== undefined && output.Sheets !== null
|
|
19026
|
-
? deserializeAws_restJson1SheetList(output.Sheets, context)
|
|
19027
|
-
: undefined,
|
|
19041
|
+
Errors: output.Errors != null ? deserializeAws_restJson1TemplateErrorList(output.Errors, context) : undefined,
|
|
19042
|
+
Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
|
|
19028
19043
|
SourceEntityArn: __expectString(output.SourceEntityArn),
|
|
19029
19044
|
Status: __expectString(output.Status),
|
|
19030
19045
|
ThemeArn: __expectString(output.ThemeArn),
|
|
@@ -19034,7 +19049,7 @@ var deserializeAws_restJson1TemplateVersion = function (output, context) {
|
|
|
19034
19049
|
var deserializeAws_restJson1TemplateVersionSummary = function (output, context) {
|
|
19035
19050
|
return {
|
|
19036
19051
|
Arn: __expectString(output.Arn),
|
|
19037
|
-
CreatedTime: output.CreatedTime
|
|
19052
|
+
CreatedTime: output.CreatedTime != null
|
|
19038
19053
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19039
19054
|
: undefined,
|
|
19040
19055
|
Description: __expectString(output.Description),
|
|
@@ -19063,18 +19078,16 @@ var deserializeAws_restJson1TeradataParameters = function (output, context) {
|
|
|
19063
19078
|
var deserializeAws_restJson1Theme = function (output, context) {
|
|
19064
19079
|
return {
|
|
19065
19080
|
Arn: __expectString(output.Arn),
|
|
19066
|
-
CreatedTime: output.CreatedTime
|
|
19081
|
+
CreatedTime: output.CreatedTime != null
|
|
19067
19082
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19068
19083
|
: undefined,
|
|
19069
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
19084
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
19070
19085
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
19071
19086
|
: undefined,
|
|
19072
19087
|
Name: __expectString(output.Name),
|
|
19073
19088
|
ThemeId: __expectString(output.ThemeId),
|
|
19074
19089
|
Type: __expectString(output.Type),
|
|
19075
|
-
Version: output.Version
|
|
19076
|
-
? deserializeAws_restJson1ThemeVersion(output.Version, context)
|
|
19077
|
-
: undefined,
|
|
19090
|
+
Version: output.Version != null ? deserializeAws_restJson1ThemeVersion(output.Version, context) : undefined,
|
|
19078
19091
|
};
|
|
19079
19092
|
};
|
|
19080
19093
|
var deserializeAws_restJson1ThemeAlias = function (output, context) {
|
|
@@ -19097,13 +19110,11 @@ var deserializeAws_restJson1ThemeAliasList = function (output, context) {
|
|
|
19097
19110
|
};
|
|
19098
19111
|
var deserializeAws_restJson1ThemeConfiguration = function (output, context) {
|
|
19099
19112
|
return {
|
|
19100
|
-
DataColorPalette: output.DataColorPalette
|
|
19113
|
+
DataColorPalette: output.DataColorPalette != null
|
|
19101
19114
|
? deserializeAws_restJson1DataColorPalette(output.DataColorPalette, context)
|
|
19102
19115
|
: undefined,
|
|
19103
|
-
Sheet: output.Sheet
|
|
19104
|
-
|
|
19105
|
-
: undefined,
|
|
19106
|
-
UIColorPalette: output.UIColorPalette !== undefined && output.UIColorPalette !== null
|
|
19116
|
+
Sheet: output.Sheet != null ? deserializeAws_restJson1SheetStyle(output.Sheet, context) : undefined,
|
|
19117
|
+
UIColorPalette: output.UIColorPalette != null
|
|
19107
19118
|
? deserializeAws_restJson1UIColorPalette(output.UIColorPalette, context)
|
|
19108
19119
|
: undefined,
|
|
19109
19120
|
};
|
|
@@ -19128,10 +19139,10 @@ var deserializeAws_restJson1ThemeErrorList = function (output, context) {
|
|
|
19128
19139
|
var deserializeAws_restJson1ThemeSummary = function (output, context) {
|
|
19129
19140
|
return {
|
|
19130
19141
|
Arn: __expectString(output.Arn),
|
|
19131
|
-
CreatedTime: output.CreatedTime
|
|
19142
|
+
CreatedTime: output.CreatedTime != null
|
|
19132
19143
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19133
19144
|
: undefined,
|
|
19134
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
19145
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
19135
19146
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
19136
19147
|
: undefined,
|
|
19137
19148
|
LatestVersionNumber: __expectLong(output.LatestVersionNumber),
|
|
@@ -19154,16 +19165,14 @@ var deserializeAws_restJson1ThemeVersion = function (output, context) {
|
|
|
19154
19165
|
return {
|
|
19155
19166
|
Arn: __expectString(output.Arn),
|
|
19156
19167
|
BaseThemeId: __expectString(output.BaseThemeId),
|
|
19157
|
-
Configuration: output.Configuration
|
|
19168
|
+
Configuration: output.Configuration != null
|
|
19158
19169
|
? deserializeAws_restJson1ThemeConfiguration(output.Configuration, context)
|
|
19159
19170
|
: undefined,
|
|
19160
|
-
CreatedTime: output.CreatedTime
|
|
19171
|
+
CreatedTime: output.CreatedTime != null
|
|
19161
19172
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19162
19173
|
: undefined,
|
|
19163
19174
|
Description: __expectString(output.Description),
|
|
19164
|
-
Errors: output.Errors
|
|
19165
|
-
? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
|
|
19166
|
-
: undefined,
|
|
19175
|
+
Errors: output.Errors != null ? deserializeAws_restJson1ThemeErrorList(output.Errors, context) : undefined,
|
|
19167
19176
|
Status: __expectString(output.Status),
|
|
19168
19177
|
VersionNumber: __expectLong(output.VersionNumber),
|
|
19169
19178
|
};
|
|
@@ -19171,7 +19180,7 @@ var deserializeAws_restJson1ThemeVersion = function (output, context) {
|
|
|
19171
19180
|
var deserializeAws_restJson1ThemeVersionSummary = function (output, context) {
|
|
19172
19181
|
return {
|
|
19173
19182
|
Arn: __expectString(output.Arn),
|
|
19174
|
-
CreatedTime: output.CreatedTime
|
|
19183
|
+
CreatedTime: output.CreatedTime != null
|
|
19175
19184
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19176
19185
|
: undefined,
|
|
19177
19186
|
Description: __expectString(output.Description),
|
|
@@ -19192,19 +19201,13 @@ var deserializeAws_restJson1ThemeVersionSummaryList = function (output, context)
|
|
|
19192
19201
|
};
|
|
19193
19202
|
var deserializeAws_restJson1TileLayoutStyle = function (output, context) {
|
|
19194
19203
|
return {
|
|
19195
|
-
Gutter: output.Gutter
|
|
19196
|
-
|
|
19197
|
-
: undefined,
|
|
19198
|
-
Margin: output.Margin !== undefined && output.Margin !== null
|
|
19199
|
-
? deserializeAws_restJson1MarginStyle(output.Margin, context)
|
|
19200
|
-
: undefined,
|
|
19204
|
+
Gutter: output.Gutter != null ? deserializeAws_restJson1GutterStyle(output.Gutter, context) : undefined,
|
|
19205
|
+
Margin: output.Margin != null ? deserializeAws_restJson1MarginStyle(output.Margin, context) : undefined,
|
|
19201
19206
|
};
|
|
19202
19207
|
};
|
|
19203
19208
|
var deserializeAws_restJson1TileStyle = function (output, context) {
|
|
19204
19209
|
return {
|
|
19205
|
-
Border: output.Border
|
|
19206
|
-
? deserializeAws_restJson1BorderStyle(output.Border, context)
|
|
19207
|
-
: undefined,
|
|
19210
|
+
Border: output.Border != null ? deserializeAws_restJson1BorderStyle(output.Border, context) : undefined,
|
|
19208
19211
|
};
|
|
19209
19212
|
};
|
|
19210
19213
|
var deserializeAws_restJson1TransformOperation = function (output, context) {
|
|
@@ -19285,9 +19288,7 @@ var deserializeAws_restJson1UIColorPalette = function (output, context) {
|
|
|
19285
19288
|
var deserializeAws_restJson1UntagColumnOperation = function (output, context) {
|
|
19286
19289
|
return {
|
|
19287
19290
|
ColumnName: __expectString(output.ColumnName),
|
|
19288
|
-
TagNames: output.TagNames
|
|
19289
|
-
? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
|
|
19290
|
-
: undefined,
|
|
19291
|
+
TagNames: output.TagNames != null ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context) : undefined,
|
|
19291
19292
|
};
|
|
19292
19293
|
};
|
|
19293
19294
|
var deserializeAws_restJson1UploadSettings = function (output, context) {
|