@aws-sdk/client-quicksight 3.28.0 → 3.32.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 +38 -0
- package/QuickSight.ts +59 -59
- package/commands/CreateAccountCustomizationCommand.ts +4 -4
- package/commands/CreateDashboardCommand.ts +3 -3
- package/commands/CreateIAMPolicyAssignmentCommand.ts +2 -2
- package/commands/CreateNamespaceCommand.ts +4 -4
- package/commands/CreateTemplateCommand.ts +1 -1
- package/commands/DeleteAccountCustomizationCommand.ts +1 -1
- package/commands/DeleteAnalysisCommand.ts +3 -3
- package/commands/DeleteIAMPolicyAssignmentCommand.ts +1 -1
- package/commands/DescribeAccountCustomizationCommand.ts +12 -12
- package/commands/DescribeAccountSettingsCommand.ts +2 -2
- package/commands/DescribeIAMPolicyAssignmentCommand.ts +1 -1
- package/commands/GetDashboardEmbedUrlCommand.ts +1 -1
- package/commands/GetSessionEmbedUrlCommand.ts +3 -3
- package/commands/ListAnalysesCommand.ts +1 -1
- package/commands/ListDashboardVersionsCommand.ts +1 -1
- package/commands/ListDashboardsCommand.ts +1 -1
- package/commands/ListDataSetsCommand.ts +1 -1
- package/commands/ListDataSourcesCommand.ts +1 -1
- package/commands/ListIAMPolicyAssignmentsCommand.ts +1 -1
- package/commands/ListIAMPolicyAssignmentsForUserCommand.ts +1 -1
- package/commands/ListNamespacesCommand.ts +1 -1
- package/commands/ListThemeVersionsCommand.ts +1 -1
- package/commands/ListThemesCommand.ts +1 -1
- package/commands/TagResourceCommand.ts +5 -5
- package/commands/UpdateAccountCustomizationCommand.ts +3 -3
- package/commands/UpdateAccountSettingsCommand.ts +1 -1
- package/commands/UpdateDashboardCommand.ts +1 -1
- package/commands/UpdateIAMPolicyAssignmentCommand.ts +1 -1
- package/dist/cjs/commands/CreateAccountCustomizationCommand.js +4 -4
- package/dist/cjs/commands/CreateDashboardCommand.js +3 -3
- package/dist/cjs/commands/CreateIAMPolicyAssignmentCommand.js +2 -2
- package/dist/cjs/commands/CreateNamespaceCommand.js +4 -4
- package/dist/cjs/commands/CreateTemplateCommand.js +1 -1
- package/dist/cjs/commands/DeleteAccountCustomizationCommand.js +1 -1
- package/dist/cjs/commands/DeleteAnalysisCommand.js +3 -3
- package/dist/cjs/commands/DeleteIAMPolicyAssignmentCommand.js +1 -1
- package/dist/cjs/commands/DescribeAccountCustomizationCommand.js +12 -12
- package/dist/cjs/commands/DescribeAccountSettingsCommand.js +2 -2
- package/dist/cjs/commands/DescribeIAMPolicyAssignmentCommand.js +1 -1
- package/dist/cjs/commands/GetDashboardEmbedUrlCommand.js +1 -1
- package/dist/cjs/commands/GetSessionEmbedUrlCommand.js +3 -3
- package/dist/cjs/commands/ListAnalysesCommand.js +1 -1
- package/dist/cjs/commands/ListDashboardVersionsCommand.js +1 -1
- package/dist/cjs/commands/ListDashboardsCommand.js +1 -1
- package/dist/cjs/commands/ListDataSetsCommand.js +1 -1
- package/dist/cjs/commands/ListDataSourcesCommand.js +1 -1
- package/dist/cjs/commands/ListIAMPolicyAssignmentsCommand.js +1 -1
- package/dist/cjs/commands/ListIAMPolicyAssignmentsForUserCommand.js +1 -1
- package/dist/cjs/commands/ListNamespacesCommand.js +1 -1
- package/dist/cjs/commands/ListThemeVersionsCommand.js +1 -1
- package/dist/cjs/commands/ListThemesCommand.js +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +5 -5
- package/dist/cjs/commands/UpdateAccountCustomizationCommand.js +3 -3
- package/dist/cjs/commands/UpdateAccountSettingsCommand.js +1 -1
- package/dist/cjs/commands/UpdateDashboardCommand.js +1 -1
- package/dist/cjs/commands/UpdateIAMPolicyAssignmentCommand.js +1 -1
- package/dist/cjs/models/models_0.js +49 -37
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js +34 -3
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +276 -186
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/commands/CreateAccountCustomizationCommand.js +4 -4
- package/dist/es/commands/CreateDashboardCommand.js +3 -3
- package/dist/es/commands/CreateIAMPolicyAssignmentCommand.js +2 -2
- package/dist/es/commands/CreateNamespaceCommand.js +4 -4
- package/dist/es/commands/CreateTemplateCommand.js +1 -1
- package/dist/es/commands/DeleteAccountCustomizationCommand.js +1 -1
- package/dist/es/commands/DeleteAnalysisCommand.js +3 -3
- package/dist/es/commands/DeleteIAMPolicyAssignmentCommand.js +1 -1
- package/dist/es/commands/DescribeAccountCustomizationCommand.js +12 -12
- package/dist/es/commands/DescribeAccountSettingsCommand.js +2 -2
- package/dist/es/commands/DescribeIAMPolicyAssignmentCommand.js +1 -1
- package/dist/es/commands/GetDashboardEmbedUrlCommand.js +1 -1
- package/dist/es/commands/GetSessionEmbedUrlCommand.js +3 -3
- package/dist/es/commands/ListAnalysesCommand.js +1 -1
- package/dist/es/commands/ListDashboardVersionsCommand.js +1 -1
- package/dist/es/commands/ListDashboardsCommand.js +1 -1
- package/dist/es/commands/ListDataSetsCommand.js +1 -1
- package/dist/es/commands/ListDataSourcesCommand.js +1 -1
- package/dist/es/commands/ListIAMPolicyAssignmentsCommand.js +1 -1
- package/dist/es/commands/ListIAMPolicyAssignmentsForUserCommand.js +1 -1
- package/dist/es/commands/ListNamespacesCommand.js +1 -1
- package/dist/es/commands/ListThemeVersionsCommand.js +1 -1
- package/dist/es/commands/ListThemesCommand.js +1 -1
- package/dist/es/commands/TagResourceCommand.js +5 -5
- package/dist/es/commands/UpdateAccountCustomizationCommand.js +3 -3
- package/dist/es/commands/UpdateAccountSettingsCommand.js +1 -1
- package/dist/es/commands/UpdateDashboardCommand.js +1 -1
- package/dist/es/commands/UpdateIAMPolicyAssignmentCommand.js +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +37 -25
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js +25 -0
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +835 -530
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/QuickSight.d.ts +59 -59
- package/dist/types/commands/CreateAccountCustomizationCommand.d.ts +4 -4
- package/dist/types/commands/CreateDashboardCommand.d.ts +3 -3
- package/dist/types/commands/CreateIAMPolicyAssignmentCommand.d.ts +2 -2
- package/dist/types/commands/CreateNamespaceCommand.d.ts +4 -4
- package/dist/types/commands/CreateTemplateCommand.d.ts +1 -1
- package/dist/types/commands/DeleteAccountCustomizationCommand.d.ts +1 -1
- package/dist/types/commands/DeleteAnalysisCommand.d.ts +3 -3
- package/dist/types/commands/DeleteIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/commands/DescribeAccountCustomizationCommand.d.ts +12 -12
- package/dist/types/commands/DescribeAccountSettingsCommand.d.ts +2 -2
- package/dist/types/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
- package/dist/types/commands/GetSessionEmbedUrlCommand.d.ts +3 -3
- package/dist/types/commands/ListAnalysesCommand.d.ts +1 -1
- package/dist/types/commands/ListDashboardVersionsCommand.d.ts +1 -1
- package/dist/types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist/types/commands/ListDataSetsCommand.d.ts +1 -1
- package/dist/types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist/types/commands/ListIAMPolicyAssignmentsCommand.d.ts +1 -1
- package/dist/types/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +1 -1
- package/dist/types/commands/ListNamespacesCommand.d.ts +1 -1
- package/dist/types/commands/ListThemeVersionsCommand.d.ts +1 -1
- package/dist/types/commands/ListThemesCommand.d.ts +1 -1
- package/dist/types/commands/TagResourceCommand.d.ts +5 -5
- package/dist/types/commands/UpdateAccountCustomizationCommand.d.ts +3 -3
- package/dist/types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
- package/dist/types/commands/UpdateDashboardCommand.d.ts +1 -1
- package/dist/types/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/models/models_0.d.ts +340 -293
- package/dist/types/models/models_1.d.ts +214 -129
- package/dist/types/ts3.4/QuickSight.d.ts +59 -59
- package/dist/types/ts3.4/commands/CreateAccountCustomizationCommand.d.ts +4 -4
- package/dist/types/ts3.4/commands/CreateDashboardCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/CreateIAMPolicyAssignmentCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/CreateNamespaceCommand.d.ts +4 -4
- package/dist/types/ts3.4/commands/CreateTemplateCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DeleteAccountCustomizationCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DeleteAnalysisCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/DeleteIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/DescribeAccountCustomizationCommand.d.ts +12 -12
- package/dist/types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +2 -2
- package/dist/types/ts3.4/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/GetSessionEmbedUrlCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/ListAnalysesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListDashboardVersionsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListDataSetsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListIAMPolicyAssignmentsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListNamespacesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListThemeVersionsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListThemesCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +5 -5
- package/dist/types/ts3.4/commands/UpdateAccountCustomizationCommand.d.ts +3 -3
- package/dist/types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
- package/dist/types/ts3.4/models/models_0.d.ts +340 -293
- package/dist/types/ts3.4/models/models_1.d.ts +214 -129
- package/models/models_0.ts +369 -312
- package/models/models_1.ts +238 -131
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +321 -190
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { DataSourceParameters, PhysicalTable, TransformOperation, } from "../models/models_0";
|
|
3
3
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { expectBoolean as __expectBoolean,
|
|
4
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
5
5
|
export var serializeAws_restJson1CancelIngestionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6
6
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, labelValue, body;
|
|
7
7
|
return __generator(this, function (_c) {
|
|
@@ -225,13 +225,16 @@ export var serializeAws_restJson1CreateDataSetCommand = function (input, context
|
|
|
225
225
|
else {
|
|
226
226
|
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
227
227
|
}
|
|
228
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
|
|
228
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
|
|
229
229
|
input.ColumnGroups !== null && {
|
|
230
230
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
231
231
|
})), (input.ColumnLevelPermissionRules !== undefined &&
|
|
232
232
|
input.ColumnLevelPermissionRules !== null && {
|
|
233
233
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
234
|
-
})), (input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId })), (input.
|
|
234
|
+
})), (input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId })), (input.DataSetUsageConfiguration !== undefined &&
|
|
235
|
+
input.DataSetUsageConfiguration !== null && {
|
|
236
|
+
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
237
|
+
})), (input.FieldFolders !== undefined &&
|
|
235
238
|
input.FieldFolders !== null && {
|
|
236
239
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
237
240
|
})), (input.ImportMode !== undefined && input.ImportMode !== null && { ImportMode: input.ImportMode })), (input.LogicalTableMap !== undefined &&
|
|
@@ -4452,12 +4455,15 @@ export var serializeAws_restJson1UpdateDataSetCommand = function (input, context
|
|
|
4452
4455
|
else {
|
|
4453
4456
|
throw new Error("No value provided for input HTTP label: DataSetId.");
|
|
4454
4457
|
}
|
|
4455
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
|
|
4458
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
|
|
4456
4459
|
input.ColumnGroups !== null && {
|
|
4457
4460
|
ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
|
|
4458
4461
|
})), (input.ColumnLevelPermissionRules !== undefined &&
|
|
4459
4462
|
input.ColumnLevelPermissionRules !== null && {
|
|
4460
4463
|
ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
|
|
4464
|
+
})), (input.DataSetUsageConfiguration !== undefined &&
|
|
4465
|
+
input.DataSetUsageConfiguration !== null && {
|
|
4466
|
+
DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
|
|
4461
4467
|
})), (input.FieldFolders !== undefined &&
|
|
4462
4468
|
input.FieldFolders !== null && {
|
|
4463
4469
|
FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
|
|
@@ -5227,9 +5233,9 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
|
|
|
5227
5233
|
});
|
|
5228
5234
|
}); };
|
|
5229
5235
|
export var deserializeAws_restJson1CancelIngestionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5230
|
-
var contents, data;
|
|
5231
|
-
return __generator(this, function (
|
|
5232
|
-
switch (
|
|
5236
|
+
var contents, data, _a, _b;
|
|
5237
|
+
return __generator(this, function (_c) {
|
|
5238
|
+
switch (_c.label) {
|
|
5233
5239
|
case 0:
|
|
5234
5240
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5235
5241
|
return [2 /*return*/, deserializeAws_restJson1CancelIngestionCommandError(output, context)];
|
|
@@ -5241,9 +5247,11 @@ export var deserializeAws_restJson1CancelIngestionCommand = function (output, co
|
|
|
5241
5247
|
RequestId: undefined,
|
|
5242
5248
|
Status: undefined,
|
|
5243
5249
|
};
|
|
5250
|
+
_a = __expectNonNull;
|
|
5251
|
+
_b = __expectObject;
|
|
5244
5252
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5245
5253
|
case 1:
|
|
5246
|
-
data = _a.sent();
|
|
5254
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5247
5255
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5248
5256
|
contents.Arn = __expectString(data.Arn);
|
|
5249
5257
|
}
|
|
@@ -5339,9 +5347,9 @@ var deserializeAws_restJson1CancelIngestionCommandError = function (output, cont
|
|
|
5339
5347
|
});
|
|
5340
5348
|
}); };
|
|
5341
5349
|
export var deserializeAws_restJson1CreateAccountCustomizationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5342
|
-
var contents, data;
|
|
5343
|
-
return __generator(this, function (
|
|
5344
|
-
switch (
|
|
5350
|
+
var contents, data, _a, _b;
|
|
5351
|
+
return __generator(this, function (_c) {
|
|
5352
|
+
switch (_c.label) {
|
|
5345
5353
|
case 0:
|
|
5346
5354
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5347
5355
|
return [2 /*return*/, deserializeAws_restJson1CreateAccountCustomizationCommandError(output, context)];
|
|
@@ -5355,9 +5363,11 @@ export var deserializeAws_restJson1CreateAccountCustomizationCommand = function
|
|
|
5355
5363
|
RequestId: undefined,
|
|
5356
5364
|
Status: undefined,
|
|
5357
5365
|
};
|
|
5366
|
+
_a = __expectNonNull;
|
|
5367
|
+
_b = __expectObject;
|
|
5358
5368
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5359
5369
|
case 1:
|
|
5360
|
-
data = _a.sent();
|
|
5370
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5361
5371
|
if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
|
|
5362
5372
|
contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
|
|
5363
5373
|
}
|
|
@@ -5467,9 +5477,9 @@ var deserializeAws_restJson1CreateAccountCustomizationCommandError = function (o
|
|
|
5467
5477
|
});
|
|
5468
5478
|
}); };
|
|
5469
5479
|
export var deserializeAws_restJson1CreateAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5470
|
-
var contents, data;
|
|
5471
|
-
return __generator(this, function (
|
|
5472
|
-
switch (
|
|
5480
|
+
var contents, data, _a, _b;
|
|
5481
|
+
return __generator(this, function (_c) {
|
|
5482
|
+
switch (_c.label) {
|
|
5473
5483
|
case 0:
|
|
5474
5484
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5475
5485
|
return [2 /*return*/, deserializeAws_restJson1CreateAnalysisCommandError(output, context)];
|
|
@@ -5482,9 +5492,11 @@ export var deserializeAws_restJson1CreateAnalysisCommand = function (output, con
|
|
|
5482
5492
|
RequestId: undefined,
|
|
5483
5493
|
Status: undefined,
|
|
5484
5494
|
};
|
|
5495
|
+
_a = __expectNonNull;
|
|
5496
|
+
_b = __expectObject;
|
|
5485
5497
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5486
5498
|
case 1:
|
|
5487
|
-
data = _a.sent();
|
|
5499
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5488
5500
|
if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
|
|
5489
5501
|
contents.AnalysisId = __expectString(data.AnalysisId);
|
|
5490
5502
|
}
|
|
@@ -5591,9 +5603,9 @@ var deserializeAws_restJson1CreateAnalysisCommandError = function (output, conte
|
|
|
5591
5603
|
});
|
|
5592
5604
|
}); };
|
|
5593
5605
|
export var deserializeAws_restJson1CreateDashboardCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5594
|
-
var contents, data;
|
|
5595
|
-
return __generator(this, function (
|
|
5596
|
-
switch (
|
|
5606
|
+
var contents, data, _a, _b;
|
|
5607
|
+
return __generator(this, function (_c) {
|
|
5608
|
+
switch (_c.label) {
|
|
5597
5609
|
case 0:
|
|
5598
5610
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5599
5611
|
return [2 /*return*/, deserializeAws_restJson1CreateDashboardCommandError(output, context)];
|
|
@@ -5607,9 +5619,11 @@ export var deserializeAws_restJson1CreateDashboardCommand = function (output, co
|
|
|
5607
5619
|
Status: undefined,
|
|
5608
5620
|
VersionArn: undefined,
|
|
5609
5621
|
};
|
|
5622
|
+
_a = __expectNonNull;
|
|
5623
|
+
_b = __expectObject;
|
|
5610
5624
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5611
5625
|
case 1:
|
|
5612
|
-
data = _a.sent();
|
|
5626
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5613
5627
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5614
5628
|
contents.Arn = __expectString(data.Arn);
|
|
5615
5629
|
}
|
|
@@ -5719,9 +5733,9 @@ var deserializeAws_restJson1CreateDashboardCommandError = function (output, cont
|
|
|
5719
5733
|
});
|
|
5720
5734
|
}); };
|
|
5721
5735
|
export var deserializeAws_restJson1CreateDataSetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5722
|
-
var contents, data;
|
|
5723
|
-
return __generator(this, function (
|
|
5724
|
-
switch (
|
|
5736
|
+
var contents, data, _a, _b;
|
|
5737
|
+
return __generator(this, function (_c) {
|
|
5738
|
+
switch (_c.label) {
|
|
5725
5739
|
case 0:
|
|
5726
5740
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5727
5741
|
return [2 /*return*/, deserializeAws_restJson1CreateDataSetCommandError(output, context)];
|
|
@@ -5735,9 +5749,11 @@ export var deserializeAws_restJson1CreateDataSetCommand = function (output, cont
|
|
|
5735
5749
|
RequestId: undefined,
|
|
5736
5750
|
Status: undefined,
|
|
5737
5751
|
};
|
|
5752
|
+
_a = __expectNonNull;
|
|
5753
|
+
_b = __expectObject;
|
|
5738
5754
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5739
5755
|
case 1:
|
|
5740
|
-
data = _a.sent();
|
|
5756
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5741
5757
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5742
5758
|
contents.Arn = __expectString(data.Arn);
|
|
5743
5759
|
}
|
|
@@ -5863,9 +5879,9 @@ var deserializeAws_restJson1CreateDataSetCommandError = function (output, contex
|
|
|
5863
5879
|
});
|
|
5864
5880
|
}); };
|
|
5865
5881
|
export var deserializeAws_restJson1CreateDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5866
|
-
var contents, data;
|
|
5867
|
-
return __generator(this, function (
|
|
5868
|
-
switch (
|
|
5882
|
+
var contents, data, _a, _b;
|
|
5883
|
+
return __generator(this, function (_c) {
|
|
5884
|
+
switch (_c.label) {
|
|
5869
5885
|
case 0:
|
|
5870
5886
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5871
5887
|
return [2 /*return*/, deserializeAws_restJson1CreateDataSourceCommandError(output, context)];
|
|
@@ -5878,9 +5894,11 @@ export var deserializeAws_restJson1CreateDataSourceCommand = function (output, c
|
|
|
5878
5894
|
RequestId: undefined,
|
|
5879
5895
|
Status: undefined,
|
|
5880
5896
|
};
|
|
5897
|
+
_a = __expectNonNull;
|
|
5898
|
+
_b = __expectObject;
|
|
5881
5899
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
5882
5900
|
case 1:
|
|
5883
|
-
data = _a.sent();
|
|
5901
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
5884
5902
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5885
5903
|
contents.Arn = __expectString(data.Arn);
|
|
5886
5904
|
}
|
|
@@ -5995,9 +6013,9 @@ var deserializeAws_restJson1CreateDataSourceCommandError = function (output, con
|
|
|
5995
6013
|
});
|
|
5996
6014
|
}); };
|
|
5997
6015
|
export var deserializeAws_restJson1CreateFolderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5998
|
-
var contents, data;
|
|
5999
|
-
return __generator(this, function (
|
|
6000
|
-
switch (
|
|
6016
|
+
var contents, data, _a, _b;
|
|
6017
|
+
return __generator(this, function (_c) {
|
|
6018
|
+
switch (_c.label) {
|
|
6001
6019
|
case 0:
|
|
6002
6020
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6003
6021
|
return [2 /*return*/, deserializeAws_restJson1CreateFolderCommandError(output, context)];
|
|
@@ -6009,9 +6027,11 @@ export var deserializeAws_restJson1CreateFolderCommand = function (output, conte
|
|
|
6009
6027
|
RequestId: undefined,
|
|
6010
6028
|
Status: undefined,
|
|
6011
6029
|
};
|
|
6030
|
+
_a = __expectNonNull;
|
|
6031
|
+
_b = __expectObject;
|
|
6012
6032
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6013
6033
|
case 1:
|
|
6014
|
-
data = _a.sent();
|
|
6034
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6015
6035
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
6016
6036
|
contents.Arn = __expectString(data.Arn);
|
|
6017
6037
|
}
|
|
@@ -6131,9 +6151,9 @@ var deserializeAws_restJson1CreateFolderCommandError = function (output, context
|
|
|
6131
6151
|
});
|
|
6132
6152
|
}); };
|
|
6133
6153
|
export var deserializeAws_restJson1CreateFolderMembershipCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6134
|
-
var contents, data;
|
|
6135
|
-
return __generator(this, function (
|
|
6136
|
-
switch (
|
|
6154
|
+
var contents, data, _a, _b;
|
|
6155
|
+
return __generator(this, function (_c) {
|
|
6156
|
+
switch (_c.label) {
|
|
6137
6157
|
case 0:
|
|
6138
6158
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6139
6159
|
return [2 /*return*/, deserializeAws_restJson1CreateFolderMembershipCommandError(output, context)];
|
|
@@ -6144,9 +6164,11 @@ export var deserializeAws_restJson1CreateFolderMembershipCommand = function (out
|
|
|
6144
6164
|
RequestId: undefined,
|
|
6145
6165
|
Status: undefined,
|
|
6146
6166
|
};
|
|
6167
|
+
_a = __expectNonNull;
|
|
6168
|
+
_b = __expectObject;
|
|
6147
6169
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6148
6170
|
case 1:
|
|
6149
|
-
data = _a.sent();
|
|
6171
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6150
6172
|
if (data.FolderMember !== undefined && data.FolderMember !== null) {
|
|
6151
6173
|
contents.FolderMember = deserializeAws_restJson1FolderMember(data.FolderMember, context);
|
|
6152
6174
|
}
|
|
@@ -6154,7 +6176,7 @@ export var deserializeAws_restJson1CreateFolderMembershipCommand = function (out
|
|
|
6154
6176
|
contents.RequestId = __expectString(data.RequestId);
|
|
6155
6177
|
}
|
|
6156
6178
|
if (data.Status !== undefined && data.Status !== null) {
|
|
6157
|
-
contents.Status =
|
|
6179
|
+
contents.Status = __expectInt32(data.Status);
|
|
6158
6180
|
}
|
|
6159
6181
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
6160
6182
|
}
|
|
@@ -6255,9 +6277,9 @@ var deserializeAws_restJson1CreateFolderMembershipCommandError = function (outpu
|
|
|
6255
6277
|
});
|
|
6256
6278
|
}); };
|
|
6257
6279
|
export var deserializeAws_restJson1CreateGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6258
|
-
var contents, data;
|
|
6259
|
-
return __generator(this, function (
|
|
6260
|
-
switch (
|
|
6280
|
+
var contents, data, _a, _b;
|
|
6281
|
+
return __generator(this, function (_c) {
|
|
6282
|
+
switch (_c.label) {
|
|
6261
6283
|
case 0:
|
|
6262
6284
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6263
6285
|
return [2 /*return*/, deserializeAws_restJson1CreateGroupCommandError(output, context)];
|
|
@@ -6268,9 +6290,11 @@ export var deserializeAws_restJson1CreateGroupCommand = function (output, contex
|
|
|
6268
6290
|
RequestId: undefined,
|
|
6269
6291
|
Status: undefined,
|
|
6270
6292
|
};
|
|
6293
|
+
_a = __expectNonNull;
|
|
6294
|
+
_b = __expectObject;
|
|
6271
6295
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6272
6296
|
case 1:
|
|
6273
|
-
data = _a.sent();
|
|
6297
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6274
6298
|
if (data.Group !== undefined && data.Group !== null) {
|
|
6275
6299
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
6276
6300
|
}
|
|
@@ -6387,9 +6411,9 @@ var deserializeAws_restJson1CreateGroupCommandError = function (output, context)
|
|
|
6387
6411
|
});
|
|
6388
6412
|
}); };
|
|
6389
6413
|
export var deserializeAws_restJson1CreateGroupMembershipCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6390
|
-
var contents, data;
|
|
6391
|
-
return __generator(this, function (
|
|
6392
|
-
switch (
|
|
6414
|
+
var contents, data, _a, _b;
|
|
6415
|
+
return __generator(this, function (_c) {
|
|
6416
|
+
switch (_c.label) {
|
|
6393
6417
|
case 0:
|
|
6394
6418
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6395
6419
|
return [2 /*return*/, deserializeAws_restJson1CreateGroupMembershipCommandError(output, context)];
|
|
@@ -6400,9 +6424,11 @@ export var deserializeAws_restJson1CreateGroupMembershipCommand = function (outp
|
|
|
6400
6424
|
RequestId: undefined,
|
|
6401
6425
|
Status: undefined,
|
|
6402
6426
|
};
|
|
6427
|
+
_a = __expectNonNull;
|
|
6428
|
+
_b = __expectObject;
|
|
6403
6429
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6404
6430
|
case 1:
|
|
6405
|
-
data = _a.sent();
|
|
6431
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6406
6432
|
if (data.GroupMember !== undefined && data.GroupMember !== null) {
|
|
6407
6433
|
contents.GroupMember = deserializeAws_restJson1GroupMember(data.GroupMember, context);
|
|
6408
6434
|
}
|
|
@@ -6503,9 +6529,9 @@ var deserializeAws_restJson1CreateGroupMembershipCommandError = function (output
|
|
|
6503
6529
|
});
|
|
6504
6530
|
}); };
|
|
6505
6531
|
export var deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6506
|
-
var contents, data;
|
|
6507
|
-
return __generator(this, function (
|
|
6508
|
-
switch (
|
|
6532
|
+
var contents, data, _a, _b;
|
|
6533
|
+
return __generator(this, function (_c) {
|
|
6534
|
+
switch (_c.label) {
|
|
6509
6535
|
case 0:
|
|
6510
6536
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6511
6537
|
return [2 /*return*/, deserializeAws_restJson1CreateIAMPolicyAssignmentCommandError(output, context)];
|
|
@@ -6520,9 +6546,11 @@ export var deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = function (
|
|
|
6520
6546
|
RequestId: undefined,
|
|
6521
6547
|
Status: undefined,
|
|
6522
6548
|
};
|
|
6549
|
+
_a = __expectNonNull;
|
|
6550
|
+
_b = __expectObject;
|
|
6523
6551
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6524
6552
|
case 1:
|
|
6525
|
-
data = _a.sent();
|
|
6553
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6526
6554
|
if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
|
|
6527
6555
|
contents.AssignmentId = __expectString(data.AssignmentId);
|
|
6528
6556
|
}
|
|
@@ -6635,9 +6663,9 @@ var deserializeAws_restJson1CreateIAMPolicyAssignmentCommandError = function (ou
|
|
|
6635
6663
|
});
|
|
6636
6664
|
}); };
|
|
6637
6665
|
export var deserializeAws_restJson1CreateIngestionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6638
|
-
var contents, data;
|
|
6639
|
-
return __generator(this, function (
|
|
6640
|
-
switch (
|
|
6666
|
+
var contents, data, _a, _b;
|
|
6667
|
+
return __generator(this, function (_c) {
|
|
6668
|
+
switch (_c.label) {
|
|
6641
6669
|
case 0:
|
|
6642
6670
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6643
6671
|
return [2 /*return*/, deserializeAws_restJson1CreateIngestionCommandError(output, context)];
|
|
@@ -6650,9 +6678,11 @@ export var deserializeAws_restJson1CreateIngestionCommand = function (output, co
|
|
|
6650
6678
|
RequestId: undefined,
|
|
6651
6679
|
Status: undefined,
|
|
6652
6680
|
};
|
|
6681
|
+
_a = __expectNonNull;
|
|
6682
|
+
_b = __expectObject;
|
|
6653
6683
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6654
6684
|
case 1:
|
|
6655
|
-
data = _a.sent();
|
|
6685
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6656
6686
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
6657
6687
|
contents.Arn = __expectString(data.Arn);
|
|
6658
6688
|
}
|
|
@@ -6759,9 +6789,9 @@ var deserializeAws_restJson1CreateIngestionCommandError = function (output, cont
|
|
|
6759
6789
|
});
|
|
6760
6790
|
}); };
|
|
6761
6791
|
export var deserializeAws_restJson1CreateNamespaceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6762
|
-
var contents, data;
|
|
6763
|
-
return __generator(this, function (
|
|
6764
|
-
switch (
|
|
6792
|
+
var contents, data, _a, _b;
|
|
6793
|
+
return __generator(this, function (_c) {
|
|
6794
|
+
switch (_c.label) {
|
|
6765
6795
|
case 0:
|
|
6766
6796
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6767
6797
|
return [2 /*return*/, deserializeAws_restJson1CreateNamespaceCommandError(output, context)];
|
|
@@ -6776,9 +6806,11 @@ export var deserializeAws_restJson1CreateNamespaceCommand = function (output, co
|
|
|
6776
6806
|
RequestId: undefined,
|
|
6777
6807
|
Status: undefined,
|
|
6778
6808
|
};
|
|
6809
|
+
_a = __expectNonNull;
|
|
6810
|
+
_b = __expectObject;
|
|
6779
6811
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6780
6812
|
case 1:
|
|
6781
|
-
data = _a.sent();
|
|
6813
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6782
6814
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
6783
6815
|
contents.Arn = __expectString(data.Arn);
|
|
6784
6816
|
}
|
|
@@ -6915,9 +6947,9 @@ var deserializeAws_restJson1CreateNamespaceCommandError = function (output, cont
|
|
|
6915
6947
|
});
|
|
6916
6948
|
}); };
|
|
6917
6949
|
export var deserializeAws_restJson1CreateTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6918
|
-
var contents, data;
|
|
6919
|
-
return __generator(this, function (
|
|
6920
|
-
switch (
|
|
6950
|
+
var contents, data, _a, _b;
|
|
6951
|
+
return __generator(this, function (_c) {
|
|
6952
|
+
switch (_c.label) {
|
|
6921
6953
|
case 0:
|
|
6922
6954
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6923
6955
|
return [2 /*return*/, deserializeAws_restJson1CreateTemplateCommandError(output, context)];
|
|
@@ -6931,9 +6963,11 @@ export var deserializeAws_restJson1CreateTemplateCommand = function (output, con
|
|
|
6931
6963
|
TemplateId: undefined,
|
|
6932
6964
|
VersionArn: undefined,
|
|
6933
6965
|
};
|
|
6966
|
+
_a = __expectNonNull;
|
|
6967
|
+
_b = __expectObject;
|
|
6934
6968
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
6935
6969
|
case 1:
|
|
6936
|
-
data = _a.sent();
|
|
6970
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6937
6971
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
6938
6972
|
contents.Arn = __expectString(data.Arn);
|
|
6939
6973
|
}
|
|
@@ -7059,9 +7093,9 @@ var deserializeAws_restJson1CreateTemplateCommandError = function (output, conte
|
|
|
7059
7093
|
});
|
|
7060
7094
|
}); };
|
|
7061
7095
|
export var deserializeAws_restJson1CreateTemplateAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7062
|
-
var contents, data;
|
|
7063
|
-
return __generator(this, function (
|
|
7064
|
-
switch (
|
|
7096
|
+
var contents, data, _a, _b;
|
|
7097
|
+
return __generator(this, function (_c) {
|
|
7098
|
+
switch (_c.label) {
|
|
7065
7099
|
case 0:
|
|
7066
7100
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7067
7101
|
return [2 /*return*/, deserializeAws_restJson1CreateTemplateAliasCommandError(output, context)];
|
|
@@ -7072,9 +7106,11 @@ export var deserializeAws_restJson1CreateTemplateAliasCommand = function (output
|
|
|
7072
7106
|
Status: undefined,
|
|
7073
7107
|
TemplateAlias: undefined,
|
|
7074
7108
|
};
|
|
7109
|
+
_a = __expectNonNull;
|
|
7110
|
+
_b = __expectObject;
|
|
7075
7111
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7076
7112
|
case 1:
|
|
7077
|
-
data = _a.sent();
|
|
7113
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7078
7114
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
7079
7115
|
contents.RequestId = __expectString(data.RequestId);
|
|
7080
7116
|
}
|
|
@@ -7175,9 +7211,9 @@ var deserializeAws_restJson1CreateTemplateAliasCommandError = function (output,
|
|
|
7175
7211
|
});
|
|
7176
7212
|
}); };
|
|
7177
7213
|
export var deserializeAws_restJson1CreateThemeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7178
|
-
var contents, data;
|
|
7179
|
-
return __generator(this, function (
|
|
7180
|
-
switch (
|
|
7214
|
+
var contents, data, _a, _b;
|
|
7215
|
+
return __generator(this, function (_c) {
|
|
7216
|
+
switch (_c.label) {
|
|
7181
7217
|
case 0:
|
|
7182
7218
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7183
7219
|
return [2 /*return*/, deserializeAws_restJson1CreateThemeCommandError(output, context)];
|
|
@@ -7191,9 +7227,11 @@ export var deserializeAws_restJson1CreateThemeCommand = function (output, contex
|
|
|
7191
7227
|
ThemeId: undefined,
|
|
7192
7228
|
VersionArn: undefined,
|
|
7193
7229
|
};
|
|
7230
|
+
_a = __expectNonNull;
|
|
7231
|
+
_b = __expectObject;
|
|
7194
7232
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7195
7233
|
case 1:
|
|
7196
|
-
data = _a.sent();
|
|
7234
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7197
7235
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
7198
7236
|
contents.Arn = __expectString(data.Arn);
|
|
7199
7237
|
}
|
|
@@ -7311,9 +7349,9 @@ var deserializeAws_restJson1CreateThemeCommandError = function (output, context)
|
|
|
7311
7349
|
});
|
|
7312
7350
|
}); };
|
|
7313
7351
|
export var deserializeAws_restJson1CreateThemeAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7314
|
-
var contents, data;
|
|
7315
|
-
return __generator(this, function (
|
|
7316
|
-
switch (
|
|
7352
|
+
var contents, data, _a, _b;
|
|
7353
|
+
return __generator(this, function (_c) {
|
|
7354
|
+
switch (_c.label) {
|
|
7317
7355
|
case 0:
|
|
7318
7356
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7319
7357
|
return [2 /*return*/, deserializeAws_restJson1CreateThemeAliasCommandError(output, context)];
|
|
@@ -7324,9 +7362,11 @@ export var deserializeAws_restJson1CreateThemeAliasCommand = function (output, c
|
|
|
7324
7362
|
Status: undefined,
|
|
7325
7363
|
ThemeAlias: undefined,
|
|
7326
7364
|
};
|
|
7365
|
+
_a = __expectNonNull;
|
|
7366
|
+
_b = __expectObject;
|
|
7327
7367
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7328
7368
|
case 1:
|
|
7329
|
-
data = _a.sent();
|
|
7369
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7330
7370
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
7331
7371
|
contents.RequestId = __expectString(data.RequestId);
|
|
7332
7372
|
}
|
|
@@ -7435,9 +7475,9 @@ var deserializeAws_restJson1CreateThemeAliasCommandError = function (output, con
|
|
|
7435
7475
|
});
|
|
7436
7476
|
}); };
|
|
7437
7477
|
export var deserializeAws_restJson1DeleteAccountCustomizationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7438
|
-
var contents, data;
|
|
7439
|
-
return __generator(this, function (
|
|
7440
|
-
switch (
|
|
7478
|
+
var contents, data, _a, _b;
|
|
7479
|
+
return __generator(this, function (_c) {
|
|
7480
|
+
switch (_c.label) {
|
|
7441
7481
|
case 0:
|
|
7442
7482
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7443
7483
|
return [2 /*return*/, deserializeAws_restJson1DeleteAccountCustomizationCommandError(output, context)];
|
|
@@ -7447,9 +7487,11 @@ export var deserializeAws_restJson1DeleteAccountCustomizationCommand = function
|
|
|
7447
7487
|
RequestId: undefined,
|
|
7448
7488
|
Status: undefined,
|
|
7449
7489
|
};
|
|
7490
|
+
_a = __expectNonNull;
|
|
7491
|
+
_b = __expectObject;
|
|
7450
7492
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7451
7493
|
case 1:
|
|
7452
|
-
data = _a.sent();
|
|
7494
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7453
7495
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
7454
7496
|
contents.RequestId = __expectString(data.RequestId);
|
|
7455
7497
|
}
|
|
@@ -7539,9 +7581,9 @@ var deserializeAws_restJson1DeleteAccountCustomizationCommandError = function (o
|
|
|
7539
7581
|
});
|
|
7540
7582
|
}); };
|
|
7541
7583
|
export var deserializeAws_restJson1DeleteAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7542
|
-
var contents, data;
|
|
7543
|
-
return __generator(this, function (
|
|
7544
|
-
switch (
|
|
7584
|
+
var contents, data, _a, _b;
|
|
7585
|
+
return __generator(this, function (_c) {
|
|
7586
|
+
switch (_c.label) {
|
|
7545
7587
|
case 0:
|
|
7546
7588
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7547
7589
|
return [2 /*return*/, deserializeAws_restJson1DeleteAnalysisCommandError(output, context)];
|
|
@@ -7554,9 +7596,11 @@ export var deserializeAws_restJson1DeleteAnalysisCommand = function (output, con
|
|
|
7554
7596
|
RequestId: undefined,
|
|
7555
7597
|
Status: undefined,
|
|
7556
7598
|
};
|
|
7599
|
+
_a = __expectNonNull;
|
|
7600
|
+
_b = __expectObject;
|
|
7557
7601
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7558
7602
|
case 1:
|
|
7559
|
-
data = _a.sent();
|
|
7603
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7560
7604
|
if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
|
|
7561
7605
|
contents.AnalysisId = __expectString(data.AnalysisId);
|
|
7562
7606
|
}
|
|
@@ -7564,7 +7608,7 @@ export var deserializeAws_restJson1DeleteAnalysisCommand = function (output, con
|
|
|
7564
7608
|
contents.Arn = __expectString(data.Arn);
|
|
7565
7609
|
}
|
|
7566
7610
|
if (data.DeletionTime !== undefined && data.DeletionTime !== null) {
|
|
7567
|
-
contents.DeletionTime =
|
|
7611
|
+
contents.DeletionTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.DeletionTime)));
|
|
7568
7612
|
}
|
|
7569
7613
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
7570
7614
|
contents.RequestId = __expectString(data.RequestId);
|
|
@@ -7655,9 +7699,9 @@ var deserializeAws_restJson1DeleteAnalysisCommandError = function (output, conte
|
|
|
7655
7699
|
});
|
|
7656
7700
|
}); };
|
|
7657
7701
|
export var deserializeAws_restJson1DeleteDashboardCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7658
|
-
var contents, data;
|
|
7659
|
-
return __generator(this, function (
|
|
7660
|
-
switch (
|
|
7702
|
+
var contents, data, _a, _b;
|
|
7703
|
+
return __generator(this, function (_c) {
|
|
7704
|
+
switch (_c.label) {
|
|
7661
7705
|
case 0:
|
|
7662
7706
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7663
7707
|
return [2 /*return*/, deserializeAws_restJson1DeleteDashboardCommandError(output, context)];
|
|
@@ -7669,9 +7713,11 @@ export var deserializeAws_restJson1DeleteDashboardCommand = function (output, co
|
|
|
7669
7713
|
RequestId: undefined,
|
|
7670
7714
|
Status: undefined,
|
|
7671
7715
|
};
|
|
7716
|
+
_a = __expectNonNull;
|
|
7717
|
+
_b = __expectObject;
|
|
7672
7718
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7673
7719
|
case 1:
|
|
7674
|
-
data = _a.sent();
|
|
7720
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7675
7721
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
7676
7722
|
contents.Arn = __expectString(data.Arn);
|
|
7677
7723
|
}
|
|
@@ -7767,9 +7813,9 @@ var deserializeAws_restJson1DeleteDashboardCommandError = function (output, cont
|
|
|
7767
7813
|
});
|
|
7768
7814
|
}); };
|
|
7769
7815
|
export var deserializeAws_restJson1DeleteDataSetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7770
|
-
var contents, data;
|
|
7771
|
-
return __generator(this, function (
|
|
7772
|
-
switch (
|
|
7816
|
+
var contents, data, _a, _b;
|
|
7817
|
+
return __generator(this, function (_c) {
|
|
7818
|
+
switch (_c.label) {
|
|
7773
7819
|
case 0:
|
|
7774
7820
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7775
7821
|
return [2 /*return*/, deserializeAws_restJson1DeleteDataSetCommandError(output, context)];
|
|
@@ -7781,9 +7827,11 @@ export var deserializeAws_restJson1DeleteDataSetCommand = function (output, cont
|
|
|
7781
7827
|
RequestId: undefined,
|
|
7782
7828
|
Status: undefined,
|
|
7783
7829
|
};
|
|
7830
|
+
_a = __expectNonNull;
|
|
7831
|
+
_b = __expectObject;
|
|
7784
7832
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7785
7833
|
case 1:
|
|
7786
|
-
data = _a.sent();
|
|
7834
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7787
7835
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
7788
7836
|
contents.Arn = __expectString(data.Arn);
|
|
7789
7837
|
}
|
|
@@ -7871,9 +7919,9 @@ var deserializeAws_restJson1DeleteDataSetCommandError = function (output, contex
|
|
|
7871
7919
|
});
|
|
7872
7920
|
}); };
|
|
7873
7921
|
export var deserializeAws_restJson1DeleteDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7874
|
-
var contents, data;
|
|
7875
|
-
return __generator(this, function (
|
|
7876
|
-
switch (
|
|
7922
|
+
var contents, data, _a, _b;
|
|
7923
|
+
return __generator(this, function (_c) {
|
|
7924
|
+
switch (_c.label) {
|
|
7877
7925
|
case 0:
|
|
7878
7926
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7879
7927
|
return [2 /*return*/, deserializeAws_restJson1DeleteDataSourceCommandError(output, context)];
|
|
@@ -7885,9 +7933,11 @@ export var deserializeAws_restJson1DeleteDataSourceCommand = function (output, c
|
|
|
7885
7933
|
RequestId: undefined,
|
|
7886
7934
|
Status: undefined,
|
|
7887
7935
|
};
|
|
7936
|
+
_a = __expectNonNull;
|
|
7937
|
+
_b = __expectObject;
|
|
7888
7938
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7889
7939
|
case 1:
|
|
7890
|
-
data = _a.sent();
|
|
7940
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7891
7941
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
7892
7942
|
contents.Arn = __expectString(data.Arn);
|
|
7893
7943
|
}
|
|
@@ -7975,9 +8025,9 @@ var deserializeAws_restJson1DeleteDataSourceCommandError = function (output, con
|
|
|
7975
8025
|
});
|
|
7976
8026
|
}); };
|
|
7977
8027
|
export var deserializeAws_restJson1DeleteFolderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7978
|
-
var contents, data;
|
|
7979
|
-
return __generator(this, function (
|
|
7980
|
-
switch (
|
|
8028
|
+
var contents, data, _a, _b;
|
|
8029
|
+
return __generator(this, function (_c) {
|
|
8030
|
+
switch (_c.label) {
|
|
7981
8031
|
case 0:
|
|
7982
8032
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7983
8033
|
return [2 /*return*/, deserializeAws_restJson1DeleteFolderCommandError(output, context)];
|
|
@@ -7989,9 +8039,11 @@ export var deserializeAws_restJson1DeleteFolderCommand = function (output, conte
|
|
|
7989
8039
|
RequestId: undefined,
|
|
7990
8040
|
Status: undefined,
|
|
7991
8041
|
};
|
|
8042
|
+
_a = __expectNonNull;
|
|
8043
|
+
_b = __expectObject;
|
|
7992
8044
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
7993
8045
|
case 1:
|
|
7994
|
-
data = _a.sent();
|
|
8046
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7995
8047
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
7996
8048
|
contents.Arn = __expectString(data.Arn);
|
|
7997
8049
|
}
|
|
@@ -8103,9 +8155,9 @@ var deserializeAws_restJson1DeleteFolderCommandError = function (output, context
|
|
|
8103
8155
|
});
|
|
8104
8156
|
}); };
|
|
8105
8157
|
export var deserializeAws_restJson1DeleteFolderMembershipCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8106
|
-
var contents, data;
|
|
8107
|
-
return __generator(this, function (
|
|
8108
|
-
switch (
|
|
8158
|
+
var contents, data, _a, _b;
|
|
8159
|
+
return __generator(this, function (_c) {
|
|
8160
|
+
switch (_c.label) {
|
|
8109
8161
|
case 0:
|
|
8110
8162
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8111
8163
|
return [2 /*return*/, deserializeAws_restJson1DeleteFolderMembershipCommandError(output, context)];
|
|
@@ -8115,14 +8167,16 @@ export var deserializeAws_restJson1DeleteFolderMembershipCommand = function (out
|
|
|
8115
8167
|
RequestId: undefined,
|
|
8116
8168
|
Status: undefined,
|
|
8117
8169
|
};
|
|
8170
|
+
_a = __expectNonNull;
|
|
8171
|
+
_b = __expectObject;
|
|
8118
8172
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8119
8173
|
case 1:
|
|
8120
|
-
data = _a.sent();
|
|
8174
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8121
8175
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
8122
8176
|
contents.RequestId = __expectString(data.RequestId);
|
|
8123
8177
|
}
|
|
8124
8178
|
if (data.Status !== undefined && data.Status !== null) {
|
|
8125
|
-
contents.Status =
|
|
8179
|
+
contents.Status = __expectInt32(data.Status);
|
|
8126
8180
|
}
|
|
8127
8181
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
8128
8182
|
}
|
|
@@ -8207,9 +8261,9 @@ var deserializeAws_restJson1DeleteFolderMembershipCommandError = function (outpu
|
|
|
8207
8261
|
});
|
|
8208
8262
|
}); };
|
|
8209
8263
|
export var deserializeAws_restJson1DeleteGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8210
|
-
var contents, data;
|
|
8211
|
-
return __generator(this, function (
|
|
8212
|
-
switch (
|
|
8264
|
+
var contents, data, _a, _b;
|
|
8265
|
+
return __generator(this, function (_c) {
|
|
8266
|
+
switch (_c.label) {
|
|
8213
8267
|
case 0:
|
|
8214
8268
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8215
8269
|
return [2 /*return*/, deserializeAws_restJson1DeleteGroupCommandError(output, context)];
|
|
@@ -8219,9 +8273,11 @@ export var deserializeAws_restJson1DeleteGroupCommand = function (output, contex
|
|
|
8219
8273
|
RequestId: undefined,
|
|
8220
8274
|
Status: undefined,
|
|
8221
8275
|
};
|
|
8276
|
+
_a = __expectNonNull;
|
|
8277
|
+
_b = __expectObject;
|
|
8222
8278
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8223
8279
|
case 1:
|
|
8224
|
-
data = _a.sent();
|
|
8280
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8225
8281
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
8226
8282
|
contents.RequestId = __expectString(data.RequestId);
|
|
8227
8283
|
}
|
|
@@ -8319,9 +8375,9 @@ var deserializeAws_restJson1DeleteGroupCommandError = function (output, context)
|
|
|
8319
8375
|
});
|
|
8320
8376
|
}); };
|
|
8321
8377
|
export var deserializeAws_restJson1DeleteGroupMembershipCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8322
|
-
var contents, data;
|
|
8323
|
-
return __generator(this, function (
|
|
8324
|
-
switch (
|
|
8378
|
+
var contents, data, _a, _b;
|
|
8379
|
+
return __generator(this, function (_c) {
|
|
8380
|
+
switch (_c.label) {
|
|
8325
8381
|
case 0:
|
|
8326
8382
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8327
8383
|
return [2 /*return*/, deserializeAws_restJson1DeleteGroupMembershipCommandError(output, context)];
|
|
@@ -8331,9 +8387,11 @@ export var deserializeAws_restJson1DeleteGroupMembershipCommand = function (outp
|
|
|
8331
8387
|
RequestId: undefined,
|
|
8332
8388
|
Status: undefined,
|
|
8333
8389
|
};
|
|
8390
|
+
_a = __expectNonNull;
|
|
8391
|
+
_b = __expectObject;
|
|
8334
8392
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8335
8393
|
case 1:
|
|
8336
|
-
data = _a.sent();
|
|
8394
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8337
8395
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
8338
8396
|
contents.RequestId = __expectString(data.RequestId);
|
|
8339
8397
|
}
|
|
@@ -8431,9 +8489,9 @@ var deserializeAws_restJson1DeleteGroupMembershipCommandError = function (output
|
|
|
8431
8489
|
});
|
|
8432
8490
|
}); };
|
|
8433
8491
|
export var deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8434
|
-
var contents, data;
|
|
8435
|
-
return __generator(this, function (
|
|
8436
|
-
switch (
|
|
8492
|
+
var contents, data, _a, _b;
|
|
8493
|
+
return __generator(this, function (_c) {
|
|
8494
|
+
switch (_c.label) {
|
|
8437
8495
|
case 0:
|
|
8438
8496
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8439
8497
|
return [2 /*return*/, deserializeAws_restJson1DeleteIAMPolicyAssignmentCommandError(output, context)];
|
|
@@ -8444,9 +8502,11 @@ export var deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = function (
|
|
|
8444
8502
|
RequestId: undefined,
|
|
8445
8503
|
Status: undefined,
|
|
8446
8504
|
};
|
|
8505
|
+
_a = __expectNonNull;
|
|
8506
|
+
_b = __expectObject;
|
|
8447
8507
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8448
8508
|
case 1:
|
|
8449
|
-
data = _a.sent();
|
|
8509
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8450
8510
|
if (data.AssignmentName !== undefined && data.AssignmentName !== null) {
|
|
8451
8511
|
contents.AssignmentName = __expectString(data.AssignmentName);
|
|
8452
8512
|
}
|
|
@@ -8547,9 +8607,9 @@ var deserializeAws_restJson1DeleteIAMPolicyAssignmentCommandError = function (ou
|
|
|
8547
8607
|
});
|
|
8548
8608
|
}); };
|
|
8549
8609
|
export var deserializeAws_restJson1DeleteNamespaceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8550
|
-
var contents, data;
|
|
8551
|
-
return __generator(this, function (
|
|
8552
|
-
switch (
|
|
8610
|
+
var contents, data, _a, _b;
|
|
8611
|
+
return __generator(this, function (_c) {
|
|
8612
|
+
switch (_c.label) {
|
|
8553
8613
|
case 0:
|
|
8554
8614
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8555
8615
|
return [2 /*return*/, deserializeAws_restJson1DeleteNamespaceCommandError(output, context)];
|
|
@@ -8559,9 +8619,11 @@ export var deserializeAws_restJson1DeleteNamespaceCommand = function (output, co
|
|
|
8559
8619
|
RequestId: undefined,
|
|
8560
8620
|
Status: undefined,
|
|
8561
8621
|
};
|
|
8622
|
+
_a = __expectNonNull;
|
|
8623
|
+
_b = __expectObject;
|
|
8562
8624
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8563
8625
|
case 1:
|
|
8564
|
-
data = _a.sent();
|
|
8626
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8565
8627
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
8566
8628
|
contents.RequestId = __expectString(data.RequestId);
|
|
8567
8629
|
}
|
|
@@ -8659,9 +8721,9 @@ var deserializeAws_restJson1DeleteNamespaceCommandError = function (output, cont
|
|
|
8659
8721
|
});
|
|
8660
8722
|
}); };
|
|
8661
8723
|
export var deserializeAws_restJson1DeleteTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8662
|
-
var contents, data;
|
|
8663
|
-
return __generator(this, function (
|
|
8664
|
-
switch (
|
|
8724
|
+
var contents, data, _a, _b;
|
|
8725
|
+
return __generator(this, function (_c) {
|
|
8726
|
+
switch (_c.label) {
|
|
8665
8727
|
case 0:
|
|
8666
8728
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8667
8729
|
return [2 /*return*/, deserializeAws_restJson1DeleteTemplateCommandError(output, context)];
|
|
@@ -8673,9 +8735,11 @@ export var deserializeAws_restJson1DeleteTemplateCommand = function (output, con
|
|
|
8673
8735
|
Status: undefined,
|
|
8674
8736
|
TemplateId: undefined,
|
|
8675
8737
|
};
|
|
8738
|
+
_a = __expectNonNull;
|
|
8739
|
+
_b = __expectObject;
|
|
8676
8740
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8677
8741
|
case 1:
|
|
8678
|
-
data = _a.sent();
|
|
8742
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8679
8743
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
8680
8744
|
contents.Arn = __expectString(data.Arn);
|
|
8681
8745
|
}
|
|
@@ -8779,9 +8843,9 @@ var deserializeAws_restJson1DeleteTemplateCommandError = function (output, conte
|
|
|
8779
8843
|
});
|
|
8780
8844
|
}); };
|
|
8781
8845
|
export var deserializeAws_restJson1DeleteTemplateAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8782
|
-
var contents, data;
|
|
8783
|
-
return __generator(this, function (
|
|
8784
|
-
switch (
|
|
8846
|
+
var contents, data, _a, _b;
|
|
8847
|
+
return __generator(this, function (_c) {
|
|
8848
|
+
switch (_c.label) {
|
|
8785
8849
|
case 0:
|
|
8786
8850
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8787
8851
|
return [2 /*return*/, deserializeAws_restJson1DeleteTemplateAliasCommandError(output, context)];
|
|
@@ -8794,9 +8858,11 @@ export var deserializeAws_restJson1DeleteTemplateAliasCommand = function (output
|
|
|
8794
8858
|
Status: undefined,
|
|
8795
8859
|
TemplateId: undefined,
|
|
8796
8860
|
};
|
|
8861
|
+
_a = __expectNonNull;
|
|
8862
|
+
_b = __expectObject;
|
|
8797
8863
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8798
8864
|
case 1:
|
|
8799
|
-
data = _a.sent();
|
|
8865
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8800
8866
|
if (data.AliasName !== undefined && data.AliasName !== null) {
|
|
8801
8867
|
contents.AliasName = __expectString(data.AliasName);
|
|
8802
8868
|
}
|
|
@@ -8887,9 +8953,9 @@ var deserializeAws_restJson1DeleteTemplateAliasCommandError = function (output,
|
|
|
8887
8953
|
});
|
|
8888
8954
|
}); };
|
|
8889
8955
|
export var deserializeAws_restJson1DeleteThemeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8890
|
-
var contents, data;
|
|
8891
|
-
return __generator(this, function (
|
|
8892
|
-
switch (
|
|
8956
|
+
var contents, data, _a, _b;
|
|
8957
|
+
return __generator(this, function (_c) {
|
|
8958
|
+
switch (_c.label) {
|
|
8893
8959
|
case 0:
|
|
8894
8960
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8895
8961
|
return [2 /*return*/, deserializeAws_restJson1DeleteThemeCommandError(output, context)];
|
|
@@ -8901,9 +8967,11 @@ export var deserializeAws_restJson1DeleteThemeCommand = function (output, contex
|
|
|
8901
8967
|
Status: undefined,
|
|
8902
8968
|
ThemeId: undefined,
|
|
8903
8969
|
};
|
|
8970
|
+
_a = __expectNonNull;
|
|
8971
|
+
_b = __expectObject;
|
|
8904
8972
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
8905
8973
|
case 1:
|
|
8906
|
-
data = _a.sent();
|
|
8974
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8907
8975
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
8908
8976
|
contents.Arn = __expectString(data.Arn);
|
|
8909
8977
|
}
|
|
@@ -9007,9 +9075,9 @@ var deserializeAws_restJson1DeleteThemeCommandError = function (output, context)
|
|
|
9007
9075
|
});
|
|
9008
9076
|
}); };
|
|
9009
9077
|
export var deserializeAws_restJson1DeleteThemeAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9010
|
-
var contents, data;
|
|
9011
|
-
return __generator(this, function (
|
|
9012
|
-
switch (
|
|
9078
|
+
var contents, data, _a, _b;
|
|
9079
|
+
return __generator(this, function (_c) {
|
|
9080
|
+
switch (_c.label) {
|
|
9013
9081
|
case 0:
|
|
9014
9082
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9015
9083
|
return [2 /*return*/, deserializeAws_restJson1DeleteThemeAliasCommandError(output, context)];
|
|
@@ -9022,9 +9090,11 @@ export var deserializeAws_restJson1DeleteThemeAliasCommand = function (output, c
|
|
|
9022
9090
|
Status: undefined,
|
|
9023
9091
|
ThemeId: undefined,
|
|
9024
9092
|
};
|
|
9093
|
+
_a = __expectNonNull;
|
|
9094
|
+
_b = __expectObject;
|
|
9025
9095
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9026
9096
|
case 1:
|
|
9027
|
-
data = _a.sent();
|
|
9097
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9028
9098
|
if (data.AliasName !== undefined && data.AliasName !== null) {
|
|
9029
9099
|
contents.AliasName = __expectString(data.AliasName);
|
|
9030
9100
|
}
|
|
@@ -9123,9 +9193,9 @@ var deserializeAws_restJson1DeleteThemeAliasCommandError = function (output, con
|
|
|
9123
9193
|
});
|
|
9124
9194
|
}); };
|
|
9125
9195
|
export var deserializeAws_restJson1DeleteUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9126
|
-
var contents, data;
|
|
9127
|
-
return __generator(this, function (
|
|
9128
|
-
switch (
|
|
9196
|
+
var contents, data, _a, _b;
|
|
9197
|
+
return __generator(this, function (_c) {
|
|
9198
|
+
switch (_c.label) {
|
|
9129
9199
|
case 0:
|
|
9130
9200
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9131
9201
|
return [2 /*return*/, deserializeAws_restJson1DeleteUserCommandError(output, context)];
|
|
@@ -9135,9 +9205,11 @@ export var deserializeAws_restJson1DeleteUserCommand = function (output, context
|
|
|
9135
9205
|
RequestId: undefined,
|
|
9136
9206
|
Status: undefined,
|
|
9137
9207
|
};
|
|
9208
|
+
_a = __expectNonNull;
|
|
9209
|
+
_b = __expectObject;
|
|
9138
9210
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9139
9211
|
case 1:
|
|
9140
|
-
data = _a.sent();
|
|
9212
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9141
9213
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
9142
9214
|
contents.RequestId = __expectString(data.RequestId);
|
|
9143
9215
|
}
|
|
@@ -9235,9 +9307,9 @@ var deserializeAws_restJson1DeleteUserCommandError = function (output, context)
|
|
|
9235
9307
|
});
|
|
9236
9308
|
}); };
|
|
9237
9309
|
export var deserializeAws_restJson1DeleteUserByPrincipalIdCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9238
|
-
var contents, data;
|
|
9239
|
-
return __generator(this, function (
|
|
9240
|
-
switch (
|
|
9310
|
+
var contents, data, _a, _b;
|
|
9311
|
+
return __generator(this, function (_c) {
|
|
9312
|
+
switch (_c.label) {
|
|
9241
9313
|
case 0:
|
|
9242
9314
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9243
9315
|
return [2 /*return*/, deserializeAws_restJson1DeleteUserByPrincipalIdCommandError(output, context)];
|
|
@@ -9247,9 +9319,11 @@ export var deserializeAws_restJson1DeleteUserByPrincipalIdCommand = function (ou
|
|
|
9247
9319
|
RequestId: undefined,
|
|
9248
9320
|
Status: undefined,
|
|
9249
9321
|
};
|
|
9322
|
+
_a = __expectNonNull;
|
|
9323
|
+
_b = __expectObject;
|
|
9250
9324
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9251
9325
|
case 1:
|
|
9252
|
-
data = _a.sent();
|
|
9326
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9253
9327
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
9254
9328
|
contents.RequestId = __expectString(data.RequestId);
|
|
9255
9329
|
}
|
|
@@ -9347,9 +9421,9 @@ var deserializeAws_restJson1DeleteUserByPrincipalIdCommandError = function (outp
|
|
|
9347
9421
|
});
|
|
9348
9422
|
}); };
|
|
9349
9423
|
export var deserializeAws_restJson1DescribeAccountCustomizationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9350
|
-
var contents, data;
|
|
9351
|
-
return __generator(this, function (
|
|
9352
|
-
switch (
|
|
9424
|
+
var contents, data, _a, _b;
|
|
9425
|
+
return __generator(this, function (_c) {
|
|
9426
|
+
switch (_c.label) {
|
|
9353
9427
|
case 0:
|
|
9354
9428
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9355
9429
|
return [2 /*return*/, deserializeAws_restJson1DescribeAccountCustomizationCommandError(output, context)];
|
|
@@ -9363,9 +9437,11 @@ export var deserializeAws_restJson1DescribeAccountCustomizationCommand = functio
|
|
|
9363
9437
|
RequestId: undefined,
|
|
9364
9438
|
Status: undefined,
|
|
9365
9439
|
};
|
|
9440
|
+
_a = __expectNonNull;
|
|
9441
|
+
_b = __expectObject;
|
|
9366
9442
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9367
9443
|
case 1:
|
|
9368
|
-
data = _a.sent();
|
|
9444
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9369
9445
|
if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
|
|
9370
9446
|
contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
|
|
9371
9447
|
}
|
|
@@ -9467,9 +9543,9 @@ var deserializeAws_restJson1DescribeAccountCustomizationCommandError = function
|
|
|
9467
9543
|
});
|
|
9468
9544
|
}); };
|
|
9469
9545
|
export var deserializeAws_restJson1DescribeAccountSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9470
|
-
var contents, data;
|
|
9471
|
-
return __generator(this, function (
|
|
9472
|
-
switch (
|
|
9546
|
+
var contents, data, _a, _b;
|
|
9547
|
+
return __generator(this, function (_c) {
|
|
9548
|
+
switch (_c.label) {
|
|
9473
9549
|
case 0:
|
|
9474
9550
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9475
9551
|
return [2 /*return*/, deserializeAws_restJson1DescribeAccountSettingsCommandError(output, context)];
|
|
@@ -9480,9 +9556,11 @@ export var deserializeAws_restJson1DescribeAccountSettingsCommand = function (ou
|
|
|
9480
9556
|
RequestId: undefined,
|
|
9481
9557
|
Status: undefined,
|
|
9482
9558
|
};
|
|
9559
|
+
_a = __expectNonNull;
|
|
9560
|
+
_b = __expectObject;
|
|
9483
9561
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9484
9562
|
case 1:
|
|
9485
|
-
data = _a.sent();
|
|
9563
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9486
9564
|
if (data.AccountSettings !== undefined && data.AccountSettings !== null) {
|
|
9487
9565
|
contents.AccountSettings = deserializeAws_restJson1AccountSettings(data.AccountSettings, context);
|
|
9488
9566
|
}
|
|
@@ -9575,9 +9653,9 @@ var deserializeAws_restJson1DescribeAccountSettingsCommandError = function (outp
|
|
|
9575
9653
|
});
|
|
9576
9654
|
}); };
|
|
9577
9655
|
export var deserializeAws_restJson1DescribeAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9578
|
-
var contents, data;
|
|
9579
|
-
return __generator(this, function (
|
|
9580
|
-
switch (
|
|
9656
|
+
var contents, data, _a, _b;
|
|
9657
|
+
return __generator(this, function (_c) {
|
|
9658
|
+
switch (_c.label) {
|
|
9581
9659
|
case 0:
|
|
9582
9660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9583
9661
|
return [2 /*return*/, deserializeAws_restJson1DescribeAnalysisCommandError(output, context)];
|
|
@@ -9588,9 +9666,11 @@ export var deserializeAws_restJson1DescribeAnalysisCommand = function (output, c
|
|
|
9588
9666
|
RequestId: undefined,
|
|
9589
9667
|
Status: undefined,
|
|
9590
9668
|
};
|
|
9669
|
+
_a = __expectNonNull;
|
|
9670
|
+
_b = __expectObject;
|
|
9591
9671
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9592
9672
|
case 1:
|
|
9593
|
-
data = _a.sent();
|
|
9673
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9594
9674
|
if (data.Analysis !== undefined && data.Analysis !== null) {
|
|
9595
9675
|
contents.Analysis = deserializeAws_restJson1Analysis(data.Analysis, context);
|
|
9596
9676
|
}
|
|
@@ -9683,9 +9763,9 @@ var deserializeAws_restJson1DescribeAnalysisCommandError = function (output, con
|
|
|
9683
9763
|
});
|
|
9684
9764
|
}); };
|
|
9685
9765
|
export var deserializeAws_restJson1DescribeAnalysisPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9686
|
-
var contents, data;
|
|
9687
|
-
return __generator(this, function (
|
|
9688
|
-
switch (
|
|
9766
|
+
var contents, data, _a, _b;
|
|
9767
|
+
return __generator(this, function (_c) {
|
|
9768
|
+
switch (_c.label) {
|
|
9689
9769
|
case 0:
|
|
9690
9770
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9691
9771
|
return [2 /*return*/, deserializeAws_restJson1DescribeAnalysisPermissionsCommandError(output, context)];
|
|
@@ -9698,9 +9778,11 @@ export var deserializeAws_restJson1DescribeAnalysisPermissionsCommand = function
|
|
|
9698
9778
|
RequestId: undefined,
|
|
9699
9779
|
Status: undefined,
|
|
9700
9780
|
};
|
|
9781
|
+
_a = __expectNonNull;
|
|
9782
|
+
_b = __expectObject;
|
|
9701
9783
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9702
9784
|
case 1:
|
|
9703
|
-
data = _a.sent();
|
|
9785
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9704
9786
|
if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
|
|
9705
9787
|
contents.AnalysisArn = __expectString(data.AnalysisArn);
|
|
9706
9788
|
}
|
|
@@ -9791,9 +9873,9 @@ var deserializeAws_restJson1DescribeAnalysisPermissionsCommandError = function (
|
|
|
9791
9873
|
});
|
|
9792
9874
|
}); };
|
|
9793
9875
|
export var deserializeAws_restJson1DescribeDashboardCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9794
|
-
var contents, data;
|
|
9795
|
-
return __generator(this, function (
|
|
9796
|
-
switch (
|
|
9876
|
+
var contents, data, _a, _b;
|
|
9877
|
+
return __generator(this, function (_c) {
|
|
9878
|
+
switch (_c.label) {
|
|
9797
9879
|
case 0:
|
|
9798
9880
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9799
9881
|
return [2 /*return*/, deserializeAws_restJson1DescribeDashboardCommandError(output, context)];
|
|
@@ -9804,9 +9886,11 @@ export var deserializeAws_restJson1DescribeDashboardCommand = function (output,
|
|
|
9804
9886
|
RequestId: undefined,
|
|
9805
9887
|
Status: undefined,
|
|
9806
9888
|
};
|
|
9889
|
+
_a = __expectNonNull;
|
|
9890
|
+
_b = __expectObject;
|
|
9807
9891
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9808
9892
|
case 1:
|
|
9809
|
-
data = _a.sent();
|
|
9893
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9810
9894
|
if (data.Dashboard !== undefined && data.Dashboard !== null) {
|
|
9811
9895
|
contents.Dashboard = deserializeAws_restJson1Dashboard(data.Dashboard, context);
|
|
9812
9896
|
}
|
|
@@ -9899,9 +9983,9 @@ var deserializeAws_restJson1DescribeDashboardCommandError = function (output, co
|
|
|
9899
9983
|
});
|
|
9900
9984
|
}); };
|
|
9901
9985
|
export var deserializeAws_restJson1DescribeDashboardPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9902
|
-
var contents, data;
|
|
9903
|
-
return __generator(this, function (
|
|
9904
|
-
switch (
|
|
9986
|
+
var contents, data, _a, _b;
|
|
9987
|
+
return __generator(this, function (_c) {
|
|
9988
|
+
switch (_c.label) {
|
|
9905
9989
|
case 0:
|
|
9906
9990
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9907
9991
|
return [2 /*return*/, deserializeAws_restJson1DescribeDashboardPermissionsCommandError(output, context)];
|
|
@@ -9914,9 +9998,11 @@ export var deserializeAws_restJson1DescribeDashboardPermissionsCommand = functio
|
|
|
9914
9998
|
RequestId: undefined,
|
|
9915
9999
|
Status: undefined,
|
|
9916
10000
|
};
|
|
10001
|
+
_a = __expectNonNull;
|
|
10002
|
+
_b = __expectObject;
|
|
9917
10003
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
9918
10004
|
case 1:
|
|
9919
|
-
data = _a.sent();
|
|
10005
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
9920
10006
|
if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
|
|
9921
10007
|
contents.DashboardArn = __expectString(data.DashboardArn);
|
|
9922
10008
|
}
|
|
@@ -10007,9 +10093,9 @@ var deserializeAws_restJson1DescribeDashboardPermissionsCommandError = function
|
|
|
10007
10093
|
});
|
|
10008
10094
|
}); };
|
|
10009
10095
|
export var deserializeAws_restJson1DescribeDataSetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10010
|
-
var contents, data;
|
|
10011
|
-
return __generator(this, function (
|
|
10012
|
-
switch (
|
|
10096
|
+
var contents, data, _a, _b;
|
|
10097
|
+
return __generator(this, function (_c) {
|
|
10098
|
+
switch (_c.label) {
|
|
10013
10099
|
case 0:
|
|
10014
10100
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10015
10101
|
return [2 /*return*/, deserializeAws_restJson1DescribeDataSetCommandError(output, context)];
|
|
@@ -10020,9 +10106,11 @@ export var deserializeAws_restJson1DescribeDataSetCommand = function (output, co
|
|
|
10020
10106
|
RequestId: undefined,
|
|
10021
10107
|
Status: undefined,
|
|
10022
10108
|
};
|
|
10109
|
+
_a = __expectNonNull;
|
|
10110
|
+
_b = __expectObject;
|
|
10023
10111
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10024
10112
|
case 1:
|
|
10025
|
-
data = _a.sent();
|
|
10113
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10026
10114
|
if (data.DataSet !== undefined && data.DataSet !== null) {
|
|
10027
10115
|
contents.DataSet = deserializeAws_restJson1DataSet(data.DataSet, context);
|
|
10028
10116
|
}
|
|
@@ -10107,9 +10195,9 @@ var deserializeAws_restJson1DescribeDataSetCommandError = function (output, cont
|
|
|
10107
10195
|
});
|
|
10108
10196
|
}); };
|
|
10109
10197
|
export var deserializeAws_restJson1DescribeDataSetPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10110
|
-
var contents, data;
|
|
10111
|
-
return __generator(this, function (
|
|
10112
|
-
switch (
|
|
10198
|
+
var contents, data, _a, _b;
|
|
10199
|
+
return __generator(this, function (_c) {
|
|
10200
|
+
switch (_c.label) {
|
|
10113
10201
|
case 0:
|
|
10114
10202
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10115
10203
|
return [2 /*return*/, deserializeAws_restJson1DescribeDataSetPermissionsCommandError(output, context)];
|
|
@@ -10122,9 +10210,11 @@ export var deserializeAws_restJson1DescribeDataSetPermissionsCommand = function
|
|
|
10122
10210
|
RequestId: undefined,
|
|
10123
10211
|
Status: undefined,
|
|
10124
10212
|
};
|
|
10213
|
+
_a = __expectNonNull;
|
|
10214
|
+
_b = __expectObject;
|
|
10125
10215
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10126
10216
|
case 1:
|
|
10127
|
-
data = _a.sent();
|
|
10217
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10128
10218
|
if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
|
|
10129
10219
|
contents.DataSetArn = __expectString(data.DataSetArn);
|
|
10130
10220
|
}
|
|
@@ -10215,9 +10305,9 @@ var deserializeAws_restJson1DescribeDataSetPermissionsCommandError = function (o
|
|
|
10215
10305
|
});
|
|
10216
10306
|
}); };
|
|
10217
10307
|
export var deserializeAws_restJson1DescribeDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10218
|
-
var contents, data;
|
|
10219
|
-
return __generator(this, function (
|
|
10220
|
-
switch (
|
|
10308
|
+
var contents, data, _a, _b;
|
|
10309
|
+
return __generator(this, function (_c) {
|
|
10310
|
+
switch (_c.label) {
|
|
10221
10311
|
case 0:
|
|
10222
10312
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10223
10313
|
return [2 /*return*/, deserializeAws_restJson1DescribeDataSourceCommandError(output, context)];
|
|
@@ -10228,9 +10318,11 @@ export var deserializeAws_restJson1DescribeDataSourceCommand = function (output,
|
|
|
10228
10318
|
RequestId: undefined,
|
|
10229
10319
|
Status: undefined,
|
|
10230
10320
|
};
|
|
10321
|
+
_a = __expectNonNull;
|
|
10322
|
+
_b = __expectObject;
|
|
10231
10323
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10232
10324
|
case 1:
|
|
10233
|
-
data = _a.sent();
|
|
10325
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10234
10326
|
if (data.DataSource !== undefined && data.DataSource !== null) {
|
|
10235
10327
|
contents.DataSource = deserializeAws_restJson1DataSource(data.DataSource, context);
|
|
10236
10328
|
}
|
|
@@ -10315,9 +10407,9 @@ var deserializeAws_restJson1DescribeDataSourceCommandError = function (output, c
|
|
|
10315
10407
|
});
|
|
10316
10408
|
}); };
|
|
10317
10409
|
export var deserializeAws_restJson1DescribeDataSourcePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10318
|
-
var contents, data;
|
|
10319
|
-
return __generator(this, function (
|
|
10320
|
-
switch (
|
|
10410
|
+
var contents, data, _a, _b;
|
|
10411
|
+
return __generator(this, function (_c) {
|
|
10412
|
+
switch (_c.label) {
|
|
10321
10413
|
case 0:
|
|
10322
10414
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10323
10415
|
return [2 /*return*/, deserializeAws_restJson1DescribeDataSourcePermissionsCommandError(output, context)];
|
|
@@ -10330,9 +10422,11 @@ export var deserializeAws_restJson1DescribeDataSourcePermissionsCommand = functi
|
|
|
10330
10422
|
RequestId: undefined,
|
|
10331
10423
|
Status: undefined,
|
|
10332
10424
|
};
|
|
10425
|
+
_a = __expectNonNull;
|
|
10426
|
+
_b = __expectObject;
|
|
10333
10427
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10334
10428
|
case 1:
|
|
10335
|
-
data = _a.sent();
|
|
10429
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10336
10430
|
if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
|
|
10337
10431
|
contents.DataSourceArn = __expectString(data.DataSourceArn);
|
|
10338
10432
|
}
|
|
@@ -10423,9 +10517,9 @@ var deserializeAws_restJson1DescribeDataSourcePermissionsCommandError = function
|
|
|
10423
10517
|
});
|
|
10424
10518
|
}); };
|
|
10425
10519
|
export var deserializeAws_restJson1DescribeFolderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10426
|
-
var contents, data;
|
|
10427
|
-
return __generator(this, function (
|
|
10428
|
-
switch (
|
|
10520
|
+
var contents, data, _a, _b;
|
|
10521
|
+
return __generator(this, function (_c) {
|
|
10522
|
+
switch (_c.label) {
|
|
10429
10523
|
case 0:
|
|
10430
10524
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10431
10525
|
return [2 /*return*/, deserializeAws_restJson1DescribeFolderCommandError(output, context)];
|
|
@@ -10436,9 +10530,11 @@ export var deserializeAws_restJson1DescribeFolderCommand = function (output, con
|
|
|
10436
10530
|
RequestId: undefined,
|
|
10437
10531
|
Status: undefined,
|
|
10438
10532
|
};
|
|
10533
|
+
_a = __expectNonNull;
|
|
10534
|
+
_b = __expectObject;
|
|
10439
10535
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10440
10536
|
case 1:
|
|
10441
|
-
data = _a.sent();
|
|
10537
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10442
10538
|
if (data.Folder !== undefined && data.Folder !== null) {
|
|
10443
10539
|
contents.Folder = deserializeAws_restJson1Folder(data.Folder, context);
|
|
10444
10540
|
}
|
|
@@ -10531,9 +10627,9 @@ var deserializeAws_restJson1DescribeFolderCommandError = function (output, conte
|
|
|
10531
10627
|
});
|
|
10532
10628
|
}); };
|
|
10533
10629
|
export var deserializeAws_restJson1DescribeFolderPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10534
|
-
var contents, data;
|
|
10535
|
-
return __generator(this, function (
|
|
10536
|
-
switch (
|
|
10630
|
+
var contents, data, _a, _b;
|
|
10631
|
+
return __generator(this, function (_c) {
|
|
10632
|
+
switch (_c.label) {
|
|
10537
10633
|
case 0:
|
|
10538
10634
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10539
10635
|
return [2 /*return*/, deserializeAws_restJson1DescribeFolderPermissionsCommandError(output, context)];
|
|
@@ -10546,9 +10642,11 @@ export var deserializeAws_restJson1DescribeFolderPermissionsCommand = function (
|
|
|
10546
10642
|
RequestId: undefined,
|
|
10547
10643
|
Status: undefined,
|
|
10548
10644
|
};
|
|
10645
|
+
_a = __expectNonNull;
|
|
10646
|
+
_b = __expectObject;
|
|
10549
10647
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10550
10648
|
case 1:
|
|
10551
|
-
data = _a.sent();
|
|
10649
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10552
10650
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
10553
10651
|
contents.Arn = __expectString(data.Arn);
|
|
10554
10652
|
}
|
|
@@ -10647,9 +10745,9 @@ var deserializeAws_restJson1DescribeFolderPermissionsCommandError = function (ou
|
|
|
10647
10745
|
});
|
|
10648
10746
|
}); };
|
|
10649
10747
|
export var deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10650
|
-
var contents, data;
|
|
10651
|
-
return __generator(this, function (
|
|
10652
|
-
switch (
|
|
10748
|
+
var contents, data, _a, _b;
|
|
10749
|
+
return __generator(this, function (_c) {
|
|
10750
|
+
switch (_c.label) {
|
|
10653
10751
|
case 0:
|
|
10654
10752
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10655
10753
|
return [2 /*return*/, deserializeAws_restJson1DescribeFolderResolvedPermissionsCommandError(output, context)];
|
|
@@ -10662,9 +10760,11 @@ export var deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = fu
|
|
|
10662
10760
|
RequestId: undefined,
|
|
10663
10761
|
Status: undefined,
|
|
10664
10762
|
};
|
|
10763
|
+
_a = __expectNonNull;
|
|
10764
|
+
_b = __expectObject;
|
|
10665
10765
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10666
10766
|
case 1:
|
|
10667
|
-
data = _a.sent();
|
|
10767
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10668
10768
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
10669
10769
|
contents.Arn = __expectString(data.Arn);
|
|
10670
10770
|
}
|
|
@@ -10763,9 +10863,9 @@ var deserializeAws_restJson1DescribeFolderResolvedPermissionsCommandError = func
|
|
|
10763
10863
|
});
|
|
10764
10864
|
}); };
|
|
10765
10865
|
export var deserializeAws_restJson1DescribeGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10766
|
-
var contents, data;
|
|
10767
|
-
return __generator(this, function (
|
|
10768
|
-
switch (
|
|
10866
|
+
var contents, data, _a, _b;
|
|
10867
|
+
return __generator(this, function (_c) {
|
|
10868
|
+
switch (_c.label) {
|
|
10769
10869
|
case 0:
|
|
10770
10870
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10771
10871
|
return [2 /*return*/, deserializeAws_restJson1DescribeGroupCommandError(output, context)];
|
|
@@ -10776,9 +10876,11 @@ export var deserializeAws_restJson1DescribeGroupCommand = function (output, cont
|
|
|
10776
10876
|
RequestId: undefined,
|
|
10777
10877
|
Status: undefined,
|
|
10778
10878
|
};
|
|
10879
|
+
_a = __expectNonNull;
|
|
10880
|
+
_b = __expectObject;
|
|
10779
10881
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10780
10882
|
case 1:
|
|
10781
|
-
data = _a.sent();
|
|
10883
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10782
10884
|
if (data.Group !== undefined && data.Group !== null) {
|
|
10783
10885
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
10784
10886
|
}
|
|
@@ -10879,9 +10981,9 @@ var deserializeAws_restJson1DescribeGroupCommandError = function (output, contex
|
|
|
10879
10981
|
});
|
|
10880
10982
|
}); };
|
|
10881
10983
|
export var deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10882
|
-
var contents, data;
|
|
10883
|
-
return __generator(this, function (
|
|
10884
|
-
switch (
|
|
10984
|
+
var contents, data, _a, _b;
|
|
10985
|
+
return __generator(this, function (_c) {
|
|
10986
|
+
switch (_c.label) {
|
|
10885
10987
|
case 0:
|
|
10886
10988
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10887
10989
|
return [2 /*return*/, deserializeAws_restJson1DescribeIAMPolicyAssignmentCommandError(output, context)];
|
|
@@ -10892,9 +10994,11 @@ export var deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = function
|
|
|
10892
10994
|
RequestId: undefined,
|
|
10893
10995
|
Status: undefined,
|
|
10894
10996
|
};
|
|
10997
|
+
_a = __expectNonNull;
|
|
10998
|
+
_b = __expectObject;
|
|
10895
10999
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
10896
11000
|
case 1:
|
|
10897
|
-
data = _a.sent();
|
|
11001
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
10898
11002
|
if (data.IAMPolicyAssignment !== undefined && data.IAMPolicyAssignment !== null) {
|
|
10899
11003
|
contents.IAMPolicyAssignment = deserializeAws_restJson1IAMPolicyAssignment(data.IAMPolicyAssignment, context);
|
|
10900
11004
|
}
|
|
@@ -10987,9 +11091,9 @@ var deserializeAws_restJson1DescribeIAMPolicyAssignmentCommandError = function (
|
|
|
10987
11091
|
});
|
|
10988
11092
|
}); };
|
|
10989
11093
|
export var deserializeAws_restJson1DescribeIngestionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10990
|
-
var contents, data;
|
|
10991
|
-
return __generator(this, function (
|
|
10992
|
-
switch (
|
|
11094
|
+
var contents, data, _a, _b;
|
|
11095
|
+
return __generator(this, function (_c) {
|
|
11096
|
+
switch (_c.label) {
|
|
10993
11097
|
case 0:
|
|
10994
11098
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10995
11099
|
return [2 /*return*/, deserializeAws_restJson1DescribeIngestionCommandError(output, context)];
|
|
@@ -11000,9 +11104,11 @@ export var deserializeAws_restJson1DescribeIngestionCommand = function (output,
|
|
|
11000
11104
|
RequestId: undefined,
|
|
11001
11105
|
Status: undefined,
|
|
11002
11106
|
};
|
|
11107
|
+
_a = __expectNonNull;
|
|
11108
|
+
_b = __expectObject;
|
|
11003
11109
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11004
11110
|
case 1:
|
|
11005
|
-
data = _a.sent();
|
|
11111
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11006
11112
|
if (data.Ingestion !== undefined && data.Ingestion !== null) {
|
|
11007
11113
|
contents.Ingestion = deserializeAws_restJson1Ingestion(data.Ingestion, context);
|
|
11008
11114
|
}
|
|
@@ -11095,9 +11201,9 @@ var deserializeAws_restJson1DescribeIngestionCommandError = function (output, co
|
|
|
11095
11201
|
});
|
|
11096
11202
|
}); };
|
|
11097
11203
|
export var deserializeAws_restJson1DescribeNamespaceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11098
|
-
var contents, data;
|
|
11099
|
-
return __generator(this, function (
|
|
11100
|
-
switch (
|
|
11204
|
+
var contents, data, _a, _b;
|
|
11205
|
+
return __generator(this, function (_c) {
|
|
11206
|
+
switch (_c.label) {
|
|
11101
11207
|
case 0:
|
|
11102
11208
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11103
11209
|
return [2 /*return*/, deserializeAws_restJson1DescribeNamespaceCommandError(output, context)];
|
|
@@ -11108,9 +11214,11 @@ export var deserializeAws_restJson1DescribeNamespaceCommand = function (output,
|
|
|
11108
11214
|
RequestId: undefined,
|
|
11109
11215
|
Status: undefined,
|
|
11110
11216
|
};
|
|
11217
|
+
_a = __expectNonNull;
|
|
11218
|
+
_b = __expectObject;
|
|
11111
11219
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11112
11220
|
case 1:
|
|
11113
|
-
data = _a.sent();
|
|
11221
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11114
11222
|
if (data.Namespace !== undefined && data.Namespace !== null) {
|
|
11115
11223
|
contents.Namespace = deserializeAws_restJson1NamespaceInfoV2(data.Namespace, context);
|
|
11116
11224
|
}
|
|
@@ -11203,9 +11311,9 @@ var deserializeAws_restJson1DescribeNamespaceCommandError = function (output, co
|
|
|
11203
11311
|
});
|
|
11204
11312
|
}); };
|
|
11205
11313
|
export var deserializeAws_restJson1DescribeTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11206
|
-
var contents, data;
|
|
11207
|
-
return __generator(this, function (
|
|
11208
|
-
switch (
|
|
11314
|
+
var contents, data, _a, _b;
|
|
11315
|
+
return __generator(this, function (_c) {
|
|
11316
|
+
switch (_c.label) {
|
|
11209
11317
|
case 0:
|
|
11210
11318
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11211
11319
|
return [2 /*return*/, deserializeAws_restJson1DescribeTemplateCommandError(output, context)];
|
|
@@ -11216,9 +11324,11 @@ export var deserializeAws_restJson1DescribeTemplateCommand = function (output, c
|
|
|
11216
11324
|
Status: undefined,
|
|
11217
11325
|
Template: undefined,
|
|
11218
11326
|
};
|
|
11327
|
+
_a = __expectNonNull;
|
|
11328
|
+
_b = __expectObject;
|
|
11219
11329
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11220
11330
|
case 1:
|
|
11221
|
-
data = _a.sent();
|
|
11331
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11222
11332
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
11223
11333
|
contents.RequestId = __expectString(data.RequestId);
|
|
11224
11334
|
}
|
|
@@ -11327,9 +11437,9 @@ var deserializeAws_restJson1DescribeTemplateCommandError = function (output, con
|
|
|
11327
11437
|
});
|
|
11328
11438
|
}); };
|
|
11329
11439
|
export var deserializeAws_restJson1DescribeTemplateAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11330
|
-
var contents, data;
|
|
11331
|
-
return __generator(this, function (
|
|
11332
|
-
switch (
|
|
11440
|
+
var contents, data, _a, _b;
|
|
11441
|
+
return __generator(this, function (_c) {
|
|
11442
|
+
switch (_c.label) {
|
|
11333
11443
|
case 0:
|
|
11334
11444
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11335
11445
|
return [2 /*return*/, deserializeAws_restJson1DescribeTemplateAliasCommandError(output, context)];
|
|
@@ -11340,9 +11450,11 @@ export var deserializeAws_restJson1DescribeTemplateAliasCommand = function (outp
|
|
|
11340
11450
|
Status: undefined,
|
|
11341
11451
|
TemplateAlias: undefined,
|
|
11342
11452
|
};
|
|
11453
|
+
_a = __expectNonNull;
|
|
11454
|
+
_b = __expectObject;
|
|
11343
11455
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11344
11456
|
case 1:
|
|
11345
|
-
data = _a.sent();
|
|
11457
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11346
11458
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
11347
11459
|
contents.RequestId = __expectString(data.RequestId);
|
|
11348
11460
|
}
|
|
@@ -11419,9 +11531,9 @@ var deserializeAws_restJson1DescribeTemplateAliasCommandError = function (output
|
|
|
11419
11531
|
});
|
|
11420
11532
|
}); };
|
|
11421
11533
|
export var deserializeAws_restJson1DescribeTemplatePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11422
|
-
var contents, data;
|
|
11423
|
-
return __generator(this, function (
|
|
11424
|
-
switch (
|
|
11534
|
+
var contents, data, _a, _b;
|
|
11535
|
+
return __generator(this, function (_c) {
|
|
11536
|
+
switch (_c.label) {
|
|
11425
11537
|
case 0:
|
|
11426
11538
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11427
11539
|
return [2 /*return*/, deserializeAws_restJson1DescribeTemplatePermissionsCommandError(output, context)];
|
|
@@ -11434,9 +11546,11 @@ export var deserializeAws_restJson1DescribeTemplatePermissionsCommand = function
|
|
|
11434
11546
|
TemplateArn: undefined,
|
|
11435
11547
|
TemplateId: undefined,
|
|
11436
11548
|
};
|
|
11549
|
+
_a = __expectNonNull;
|
|
11550
|
+
_b = __expectObject;
|
|
11437
11551
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11438
11552
|
case 1:
|
|
11439
|
-
data = _a.sent();
|
|
11553
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11440
11554
|
if (data.Permissions !== undefined && data.Permissions !== null) {
|
|
11441
11555
|
contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
|
|
11442
11556
|
}
|
|
@@ -11535,9 +11649,9 @@ var deserializeAws_restJson1DescribeTemplatePermissionsCommandError = function (
|
|
|
11535
11649
|
});
|
|
11536
11650
|
}); };
|
|
11537
11651
|
export var deserializeAws_restJson1DescribeThemeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11538
|
-
var contents, data;
|
|
11539
|
-
return __generator(this, function (
|
|
11540
|
-
switch (
|
|
11652
|
+
var contents, data, _a, _b;
|
|
11653
|
+
return __generator(this, function (_c) {
|
|
11654
|
+
switch (_c.label) {
|
|
11541
11655
|
case 0:
|
|
11542
11656
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11543
11657
|
return [2 /*return*/, deserializeAws_restJson1DescribeThemeCommandError(output, context)];
|
|
@@ -11548,9 +11662,11 @@ export var deserializeAws_restJson1DescribeThemeCommand = function (output, cont
|
|
|
11548
11662
|
Status: undefined,
|
|
11549
11663
|
Theme: undefined,
|
|
11550
11664
|
};
|
|
11665
|
+
_a = __expectNonNull;
|
|
11666
|
+
_b = __expectObject;
|
|
11551
11667
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11552
11668
|
case 1:
|
|
11553
|
-
data = _a.sent();
|
|
11669
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11554
11670
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
11555
11671
|
contents.RequestId = __expectString(data.RequestId);
|
|
11556
11672
|
}
|
|
@@ -11651,9 +11767,9 @@ var deserializeAws_restJson1DescribeThemeCommandError = function (output, contex
|
|
|
11651
11767
|
});
|
|
11652
11768
|
}); };
|
|
11653
11769
|
export var deserializeAws_restJson1DescribeThemeAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11654
|
-
var contents, data;
|
|
11655
|
-
return __generator(this, function (
|
|
11656
|
-
switch (
|
|
11770
|
+
var contents, data, _a, _b;
|
|
11771
|
+
return __generator(this, function (_c) {
|
|
11772
|
+
switch (_c.label) {
|
|
11657
11773
|
case 0:
|
|
11658
11774
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11659
11775
|
return [2 /*return*/, deserializeAws_restJson1DescribeThemeAliasCommandError(output, context)];
|
|
@@ -11664,9 +11780,11 @@ export var deserializeAws_restJson1DescribeThemeAliasCommand = function (output,
|
|
|
11664
11780
|
Status: undefined,
|
|
11665
11781
|
ThemeAlias: undefined,
|
|
11666
11782
|
};
|
|
11783
|
+
_a = __expectNonNull;
|
|
11784
|
+
_b = __expectObject;
|
|
11667
11785
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11668
11786
|
case 1:
|
|
11669
|
-
data = _a.sent();
|
|
11787
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11670
11788
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
11671
11789
|
contents.RequestId = __expectString(data.RequestId);
|
|
11672
11790
|
}
|
|
@@ -11759,9 +11877,9 @@ var deserializeAws_restJson1DescribeThemeAliasCommandError = function (output, c
|
|
|
11759
11877
|
});
|
|
11760
11878
|
}); };
|
|
11761
11879
|
export var deserializeAws_restJson1DescribeThemePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11762
|
-
var contents, data;
|
|
11763
|
-
return __generator(this, function (
|
|
11764
|
-
switch (
|
|
11880
|
+
var contents, data, _a, _b;
|
|
11881
|
+
return __generator(this, function (_c) {
|
|
11882
|
+
switch (_c.label) {
|
|
11765
11883
|
case 0:
|
|
11766
11884
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11767
11885
|
return [2 /*return*/, deserializeAws_restJson1DescribeThemePermissionsCommandError(output, context)];
|
|
@@ -11774,9 +11892,11 @@ export var deserializeAws_restJson1DescribeThemePermissionsCommand = function (o
|
|
|
11774
11892
|
ThemeArn: undefined,
|
|
11775
11893
|
ThemeId: undefined,
|
|
11776
11894
|
};
|
|
11895
|
+
_a = __expectNonNull;
|
|
11896
|
+
_b = __expectObject;
|
|
11777
11897
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11778
11898
|
case 1:
|
|
11779
|
-
data = _a.sent();
|
|
11899
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11780
11900
|
if (data.Permissions !== undefined && data.Permissions !== null) {
|
|
11781
11901
|
contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
|
|
11782
11902
|
}
|
|
@@ -11875,9 +11995,9 @@ var deserializeAws_restJson1DescribeThemePermissionsCommandError = function (out
|
|
|
11875
11995
|
});
|
|
11876
11996
|
}); };
|
|
11877
11997
|
export var deserializeAws_restJson1DescribeUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11878
|
-
var contents, data;
|
|
11879
|
-
return __generator(this, function (
|
|
11880
|
-
switch (
|
|
11998
|
+
var contents, data, _a, _b;
|
|
11999
|
+
return __generator(this, function (_c) {
|
|
12000
|
+
switch (_c.label) {
|
|
11881
12001
|
case 0:
|
|
11882
12002
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11883
12003
|
return [2 /*return*/, deserializeAws_restJson1DescribeUserCommandError(output, context)];
|
|
@@ -11888,9 +12008,11 @@ export var deserializeAws_restJson1DescribeUserCommand = function (output, conte
|
|
|
11888
12008
|
Status: undefined,
|
|
11889
12009
|
User: undefined,
|
|
11890
12010
|
};
|
|
12011
|
+
_a = __expectNonNull;
|
|
12012
|
+
_b = __expectObject;
|
|
11891
12013
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
11892
12014
|
case 1:
|
|
11893
|
-
data = _a.sent();
|
|
12015
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11894
12016
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
11895
12017
|
contents.RequestId = __expectString(data.RequestId);
|
|
11896
12018
|
}
|
|
@@ -11991,9 +12113,9 @@ var deserializeAws_restJson1DescribeUserCommandError = function (output, context
|
|
|
11991
12113
|
});
|
|
11992
12114
|
}); };
|
|
11993
12115
|
export var deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11994
|
-
var contents, data;
|
|
11995
|
-
return __generator(this, function (
|
|
11996
|
-
switch (
|
|
12116
|
+
var contents, data, _a, _b;
|
|
12117
|
+
return __generator(this, function (_c) {
|
|
12118
|
+
switch (_c.label) {
|
|
11997
12119
|
case 0:
|
|
11998
12120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11999
12121
|
return [2 /*return*/, deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommandError(output, context)];
|
|
@@ -12004,9 +12126,11 @@ export var deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = fun
|
|
|
12004
12126
|
RequestId: undefined,
|
|
12005
12127
|
Status: undefined,
|
|
12006
12128
|
};
|
|
12129
|
+
_a = __expectNonNull;
|
|
12130
|
+
_b = __expectObject;
|
|
12007
12131
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12008
12132
|
case 1:
|
|
12009
|
-
data = _a.sent();
|
|
12133
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12010
12134
|
if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
|
|
12011
12135
|
contents.EmbedUrl = __expectString(data.EmbedUrl);
|
|
12012
12136
|
}
|
|
@@ -12115,9 +12239,9 @@ var deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommandError = funct
|
|
|
12115
12239
|
});
|
|
12116
12240
|
}); };
|
|
12117
12241
|
export var deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12118
|
-
var contents, data;
|
|
12119
|
-
return __generator(this, function (
|
|
12120
|
-
switch (
|
|
12242
|
+
var contents, data, _a, _b;
|
|
12243
|
+
return __generator(this, function (_c) {
|
|
12244
|
+
switch (_c.label) {
|
|
12121
12245
|
case 0:
|
|
12122
12246
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12123
12247
|
return [2 /*return*/, deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommandError(output, context)];
|
|
@@ -12128,9 +12252,11 @@ export var deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = fu
|
|
|
12128
12252
|
RequestId: undefined,
|
|
12129
12253
|
Status: undefined,
|
|
12130
12254
|
};
|
|
12255
|
+
_a = __expectNonNull;
|
|
12256
|
+
_b = __expectObject;
|
|
12131
12257
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12132
12258
|
case 1:
|
|
12133
|
-
data = _a.sent();
|
|
12259
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12134
12260
|
if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
|
|
12135
12261
|
contents.EmbedUrl = __expectString(data.EmbedUrl);
|
|
12136
12262
|
}
|
|
@@ -12247,9 +12373,9 @@ var deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommandError = func
|
|
|
12247
12373
|
});
|
|
12248
12374
|
}); };
|
|
12249
12375
|
export var deserializeAws_restJson1GetDashboardEmbedUrlCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12250
|
-
var contents, data;
|
|
12251
|
-
return __generator(this, function (
|
|
12252
|
-
switch (
|
|
12376
|
+
var contents, data, _a, _b;
|
|
12377
|
+
return __generator(this, function (_c) {
|
|
12378
|
+
switch (_c.label) {
|
|
12253
12379
|
case 0:
|
|
12254
12380
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12255
12381
|
return [2 /*return*/, deserializeAws_restJson1GetDashboardEmbedUrlCommandError(output, context)];
|
|
@@ -12260,9 +12386,11 @@ export var deserializeAws_restJson1GetDashboardEmbedUrlCommand = function (outpu
|
|
|
12260
12386
|
RequestId: undefined,
|
|
12261
12387
|
Status: undefined,
|
|
12262
12388
|
};
|
|
12389
|
+
_a = __expectNonNull;
|
|
12390
|
+
_b = __expectObject;
|
|
12263
12391
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12264
12392
|
case 1:
|
|
12265
|
-
data = _a.sent();
|
|
12393
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12266
12394
|
if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
|
|
12267
12395
|
contents.EmbedUrl = __expectString(data.EmbedUrl);
|
|
12268
12396
|
}
|
|
@@ -12403,9 +12531,9 @@ var deserializeAws_restJson1GetDashboardEmbedUrlCommandError = function (output,
|
|
|
12403
12531
|
});
|
|
12404
12532
|
}); };
|
|
12405
12533
|
export var deserializeAws_restJson1GetSessionEmbedUrlCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12406
|
-
var contents, data;
|
|
12407
|
-
return __generator(this, function (
|
|
12408
|
-
switch (
|
|
12534
|
+
var contents, data, _a, _b;
|
|
12535
|
+
return __generator(this, function (_c) {
|
|
12536
|
+
switch (_c.label) {
|
|
12409
12537
|
case 0:
|
|
12410
12538
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12411
12539
|
return [2 /*return*/, deserializeAws_restJson1GetSessionEmbedUrlCommandError(output, context)];
|
|
@@ -12416,9 +12544,11 @@ export var deserializeAws_restJson1GetSessionEmbedUrlCommand = function (output,
|
|
|
12416
12544
|
RequestId: undefined,
|
|
12417
12545
|
Status: undefined,
|
|
12418
12546
|
};
|
|
12547
|
+
_a = __expectNonNull;
|
|
12548
|
+
_b = __expectObject;
|
|
12419
12549
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12420
12550
|
case 1:
|
|
12421
|
-
data = _a.sent();
|
|
12551
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12422
12552
|
if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
|
|
12423
12553
|
contents.EmbedUrl = __expectString(data.EmbedUrl);
|
|
12424
12554
|
}
|
|
@@ -12535,9 +12665,9 @@ var deserializeAws_restJson1GetSessionEmbedUrlCommandError = function (output, c
|
|
|
12535
12665
|
});
|
|
12536
12666
|
}); };
|
|
12537
12667
|
export var deserializeAws_restJson1ListAnalysesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12538
|
-
var contents, data;
|
|
12539
|
-
return __generator(this, function (
|
|
12540
|
-
switch (
|
|
12668
|
+
var contents, data, _a, _b;
|
|
12669
|
+
return __generator(this, function (_c) {
|
|
12670
|
+
switch (_c.label) {
|
|
12541
12671
|
case 0:
|
|
12542
12672
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12543
12673
|
return [2 /*return*/, deserializeAws_restJson1ListAnalysesCommandError(output, context)];
|
|
@@ -12549,9 +12679,11 @@ export var deserializeAws_restJson1ListAnalysesCommand = function (output, conte
|
|
|
12549
12679
|
RequestId: undefined,
|
|
12550
12680
|
Status: undefined,
|
|
12551
12681
|
};
|
|
12682
|
+
_a = __expectNonNull;
|
|
12683
|
+
_b = __expectObject;
|
|
12552
12684
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12553
12685
|
case 1:
|
|
12554
|
-
data = _a.sent();
|
|
12686
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12555
12687
|
if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
|
|
12556
12688
|
contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
|
|
12557
12689
|
}
|
|
@@ -12631,9 +12763,9 @@ var deserializeAws_restJson1ListAnalysesCommandError = function (output, context
|
|
|
12631
12763
|
});
|
|
12632
12764
|
}); };
|
|
12633
12765
|
export var deserializeAws_restJson1ListDashboardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12634
|
-
var contents, data;
|
|
12635
|
-
return __generator(this, function (
|
|
12636
|
-
switch (
|
|
12766
|
+
var contents, data, _a, _b;
|
|
12767
|
+
return __generator(this, function (_c) {
|
|
12768
|
+
switch (_c.label) {
|
|
12637
12769
|
case 0:
|
|
12638
12770
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12639
12771
|
return [2 /*return*/, deserializeAws_restJson1ListDashboardsCommandError(output, context)];
|
|
@@ -12645,9 +12777,11 @@ export var deserializeAws_restJson1ListDashboardsCommand = function (output, con
|
|
|
12645
12777
|
RequestId: undefined,
|
|
12646
12778
|
Status: undefined,
|
|
12647
12779
|
};
|
|
12780
|
+
_a = __expectNonNull;
|
|
12781
|
+
_b = __expectObject;
|
|
12648
12782
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12649
12783
|
case 1:
|
|
12650
|
-
data = _a.sent();
|
|
12784
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12651
12785
|
if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
|
|
12652
12786
|
contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
|
|
12653
12787
|
}
|
|
@@ -12727,9 +12861,9 @@ var deserializeAws_restJson1ListDashboardsCommandError = function (output, conte
|
|
|
12727
12861
|
});
|
|
12728
12862
|
}); };
|
|
12729
12863
|
export var deserializeAws_restJson1ListDashboardVersionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12730
|
-
var contents, data;
|
|
12731
|
-
return __generator(this, function (
|
|
12732
|
-
switch (
|
|
12864
|
+
var contents, data, _a, _b;
|
|
12865
|
+
return __generator(this, function (_c) {
|
|
12866
|
+
switch (_c.label) {
|
|
12733
12867
|
case 0:
|
|
12734
12868
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12735
12869
|
return [2 /*return*/, deserializeAws_restJson1ListDashboardVersionsCommandError(output, context)];
|
|
@@ -12741,9 +12875,11 @@ export var deserializeAws_restJson1ListDashboardVersionsCommand = function (outp
|
|
|
12741
12875
|
RequestId: undefined,
|
|
12742
12876
|
Status: undefined,
|
|
12743
12877
|
};
|
|
12878
|
+
_a = __expectNonNull;
|
|
12879
|
+
_b = __expectObject;
|
|
12744
12880
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12745
12881
|
case 1:
|
|
12746
|
-
data = _a.sent();
|
|
12882
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12747
12883
|
if (data.DashboardVersionSummaryList !== undefined && data.DashboardVersionSummaryList !== null) {
|
|
12748
12884
|
contents.DashboardVersionSummaryList = deserializeAws_restJson1DashboardVersionSummaryList(data.DashboardVersionSummaryList, context);
|
|
12749
12885
|
}
|
|
@@ -12839,9 +12975,9 @@ var deserializeAws_restJson1ListDashboardVersionsCommandError = function (output
|
|
|
12839
12975
|
});
|
|
12840
12976
|
}); };
|
|
12841
12977
|
export var deserializeAws_restJson1ListDataSetsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12842
|
-
var contents, data;
|
|
12843
|
-
return __generator(this, function (
|
|
12844
|
-
switch (
|
|
12978
|
+
var contents, data, _a, _b;
|
|
12979
|
+
return __generator(this, function (_c) {
|
|
12980
|
+
switch (_c.label) {
|
|
12845
12981
|
case 0:
|
|
12846
12982
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12847
12983
|
return [2 /*return*/, deserializeAws_restJson1ListDataSetsCommandError(output, context)];
|
|
@@ -12853,9 +12989,11 @@ export var deserializeAws_restJson1ListDataSetsCommand = function (output, conte
|
|
|
12853
12989
|
RequestId: undefined,
|
|
12854
12990
|
Status: undefined,
|
|
12855
12991
|
};
|
|
12992
|
+
_a = __expectNonNull;
|
|
12993
|
+
_b = __expectObject;
|
|
12856
12994
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12857
12995
|
case 1:
|
|
12858
|
-
data = _a.sent();
|
|
12996
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12859
12997
|
if (data.DataSetSummaries !== undefined && data.DataSetSummaries !== null) {
|
|
12860
12998
|
contents.DataSetSummaries = deserializeAws_restJson1DataSetSummaryList(data.DataSetSummaries, context);
|
|
12861
12999
|
}
|
|
@@ -12943,9 +13081,9 @@ var deserializeAws_restJson1ListDataSetsCommandError = function (output, context
|
|
|
12943
13081
|
});
|
|
12944
13082
|
}); };
|
|
12945
13083
|
export var deserializeAws_restJson1ListDataSourcesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12946
|
-
var contents, data;
|
|
12947
|
-
return __generator(this, function (
|
|
12948
|
-
switch (
|
|
13084
|
+
var contents, data, _a, _b;
|
|
13085
|
+
return __generator(this, function (_c) {
|
|
13086
|
+
switch (_c.label) {
|
|
12949
13087
|
case 0:
|
|
12950
13088
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12951
13089
|
return [2 /*return*/, deserializeAws_restJson1ListDataSourcesCommandError(output, context)];
|
|
@@ -12957,9 +13095,11 @@ export var deserializeAws_restJson1ListDataSourcesCommand = function (output, co
|
|
|
12957
13095
|
RequestId: undefined,
|
|
12958
13096
|
Status: undefined,
|
|
12959
13097
|
};
|
|
13098
|
+
_a = __expectNonNull;
|
|
13099
|
+
_b = __expectObject;
|
|
12960
13100
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
12961
13101
|
case 1:
|
|
12962
|
-
data = _a.sent();
|
|
13102
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12963
13103
|
if (data.DataSources !== undefined && data.DataSources !== null) {
|
|
12964
13104
|
contents.DataSources = deserializeAws_restJson1DataSourceList(data.DataSources, context);
|
|
12965
13105
|
}
|
|
@@ -13047,9 +13187,9 @@ var deserializeAws_restJson1ListDataSourcesCommandError = function (output, cont
|
|
|
13047
13187
|
});
|
|
13048
13188
|
}); };
|
|
13049
13189
|
export var deserializeAws_restJson1ListFolderMembersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13050
|
-
var contents, data;
|
|
13051
|
-
return __generator(this, function (
|
|
13052
|
-
switch (
|
|
13190
|
+
var contents, data, _a, _b;
|
|
13191
|
+
return __generator(this, function (_c) {
|
|
13192
|
+
switch (_c.label) {
|
|
13053
13193
|
case 0:
|
|
13054
13194
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13055
13195
|
return [2 /*return*/, deserializeAws_restJson1ListFolderMembersCommandError(output, context)];
|
|
@@ -13061,9 +13201,11 @@ export var deserializeAws_restJson1ListFolderMembersCommand = function (output,
|
|
|
13061
13201
|
RequestId: undefined,
|
|
13062
13202
|
Status: undefined,
|
|
13063
13203
|
};
|
|
13204
|
+
_a = __expectNonNull;
|
|
13205
|
+
_b = __expectObject;
|
|
13064
13206
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13065
13207
|
case 1:
|
|
13066
|
-
data = _a.sent();
|
|
13208
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13067
13209
|
if (data.FolderMemberList !== undefined && data.FolderMemberList !== null) {
|
|
13068
13210
|
contents.FolderMemberList = deserializeAws_restJson1FolderMemberList(data.FolderMemberList, context);
|
|
13069
13211
|
}
|
|
@@ -13167,9 +13309,9 @@ var deserializeAws_restJson1ListFolderMembersCommandError = function (output, co
|
|
|
13167
13309
|
});
|
|
13168
13310
|
}); };
|
|
13169
13311
|
export var deserializeAws_restJson1ListFoldersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13170
|
-
var contents, data;
|
|
13171
|
-
return __generator(this, function (
|
|
13172
|
-
switch (
|
|
13312
|
+
var contents, data, _a, _b;
|
|
13313
|
+
return __generator(this, function (_c) {
|
|
13314
|
+
switch (_c.label) {
|
|
13173
13315
|
case 0:
|
|
13174
13316
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13175
13317
|
return [2 /*return*/, deserializeAws_restJson1ListFoldersCommandError(output, context)];
|
|
@@ -13181,9 +13323,11 @@ export var deserializeAws_restJson1ListFoldersCommand = function (output, contex
|
|
|
13181
13323
|
RequestId: undefined,
|
|
13182
13324
|
Status: undefined,
|
|
13183
13325
|
};
|
|
13326
|
+
_a = __expectNonNull;
|
|
13327
|
+
_b = __expectObject;
|
|
13184
13328
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13185
13329
|
case 1:
|
|
13186
|
-
data = _a.sent();
|
|
13330
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13187
13331
|
if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
|
|
13188
13332
|
contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
|
|
13189
13333
|
}
|
|
@@ -13287,9 +13431,9 @@ var deserializeAws_restJson1ListFoldersCommandError = function (output, context)
|
|
|
13287
13431
|
});
|
|
13288
13432
|
}); };
|
|
13289
13433
|
export var deserializeAws_restJson1ListGroupMembershipsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13290
|
-
var contents, data;
|
|
13291
|
-
return __generator(this, function (
|
|
13292
|
-
switch (
|
|
13434
|
+
var contents, data, _a, _b;
|
|
13435
|
+
return __generator(this, function (_c) {
|
|
13436
|
+
switch (_c.label) {
|
|
13293
13437
|
case 0:
|
|
13294
13438
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13295
13439
|
return [2 /*return*/, deserializeAws_restJson1ListGroupMembershipsCommandError(output, context)];
|
|
@@ -13301,9 +13445,11 @@ export var deserializeAws_restJson1ListGroupMembershipsCommand = function (outpu
|
|
|
13301
13445
|
RequestId: undefined,
|
|
13302
13446
|
Status: undefined,
|
|
13303
13447
|
};
|
|
13448
|
+
_a = __expectNonNull;
|
|
13449
|
+
_b = __expectObject;
|
|
13304
13450
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13305
13451
|
case 1:
|
|
13306
|
-
data = _a.sent();
|
|
13452
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13307
13453
|
if (data.GroupMemberList !== undefined && data.GroupMemberList !== null) {
|
|
13308
13454
|
contents.GroupMemberList = deserializeAws_restJson1GroupMemberList(data.GroupMemberList, context);
|
|
13309
13455
|
}
|
|
@@ -13415,9 +13561,9 @@ var deserializeAws_restJson1ListGroupMembershipsCommandError = function (output,
|
|
|
13415
13561
|
});
|
|
13416
13562
|
}); };
|
|
13417
13563
|
export var deserializeAws_restJson1ListGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13418
|
-
var contents, data;
|
|
13419
|
-
return __generator(this, function (
|
|
13420
|
-
switch (
|
|
13564
|
+
var contents, data, _a, _b;
|
|
13565
|
+
return __generator(this, function (_c) {
|
|
13566
|
+
switch (_c.label) {
|
|
13421
13567
|
case 0:
|
|
13422
13568
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13423
13569
|
return [2 /*return*/, deserializeAws_restJson1ListGroupsCommandError(output, context)];
|
|
@@ -13429,9 +13575,11 @@ export var deserializeAws_restJson1ListGroupsCommand = function (output, context
|
|
|
13429
13575
|
RequestId: undefined,
|
|
13430
13576
|
Status: undefined,
|
|
13431
13577
|
};
|
|
13578
|
+
_a = __expectNonNull;
|
|
13579
|
+
_b = __expectObject;
|
|
13432
13580
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13433
13581
|
case 1:
|
|
13434
|
-
data = _a.sent();
|
|
13582
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13435
13583
|
if (data.GroupList !== undefined && data.GroupList !== null) {
|
|
13436
13584
|
contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
|
|
13437
13585
|
}
|
|
@@ -13543,9 +13691,9 @@ var deserializeAws_restJson1ListGroupsCommandError = function (output, context)
|
|
|
13543
13691
|
});
|
|
13544
13692
|
}); };
|
|
13545
13693
|
export var deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13546
|
-
var contents, data;
|
|
13547
|
-
return __generator(this, function (
|
|
13548
|
-
switch (
|
|
13694
|
+
var contents, data, _a, _b;
|
|
13695
|
+
return __generator(this, function (_c) {
|
|
13696
|
+
switch (_c.label) {
|
|
13549
13697
|
case 0:
|
|
13550
13698
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13551
13699
|
return [2 /*return*/, deserializeAws_restJson1ListIAMPolicyAssignmentsCommandError(output, context)];
|
|
@@ -13557,9 +13705,11 @@ export var deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = function (o
|
|
|
13557
13705
|
RequestId: undefined,
|
|
13558
13706
|
Status: undefined,
|
|
13559
13707
|
};
|
|
13708
|
+
_a = __expectNonNull;
|
|
13709
|
+
_b = __expectObject;
|
|
13560
13710
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13561
13711
|
case 1:
|
|
13562
|
-
data = _a.sent();
|
|
13712
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13563
13713
|
if (data.IAMPolicyAssignments !== undefined && data.IAMPolicyAssignments !== null) {
|
|
13564
13714
|
contents.IAMPolicyAssignments = deserializeAws_restJson1IAMPolicyAssignmentSummaryList(data.IAMPolicyAssignments, context);
|
|
13565
13715
|
}
|
|
@@ -13655,9 +13805,9 @@ var deserializeAws_restJson1ListIAMPolicyAssignmentsCommandError = function (out
|
|
|
13655
13805
|
});
|
|
13656
13806
|
}); };
|
|
13657
13807
|
export var deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13658
|
-
var contents, data;
|
|
13659
|
-
return __generator(this, function (
|
|
13660
|
-
switch (
|
|
13808
|
+
var contents, data, _a, _b;
|
|
13809
|
+
return __generator(this, function (_c) {
|
|
13810
|
+
switch (_c.label) {
|
|
13661
13811
|
case 0:
|
|
13662
13812
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13663
13813
|
return [2 /*return*/, deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommandError(output, context)];
|
|
@@ -13669,9 +13819,11 @@ export var deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = func
|
|
|
13669
13819
|
RequestId: undefined,
|
|
13670
13820
|
Status: undefined,
|
|
13671
13821
|
};
|
|
13822
|
+
_a = __expectNonNull;
|
|
13823
|
+
_b = __expectObject;
|
|
13672
13824
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13673
13825
|
case 1:
|
|
13674
|
-
data = _a.sent();
|
|
13826
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13675
13827
|
if (data.ActiveAssignments !== undefined && data.ActiveAssignments !== null) {
|
|
13676
13828
|
contents.ActiveAssignments = deserializeAws_restJson1ActiveIAMPolicyAssignmentList(data.ActiveAssignments, context);
|
|
13677
13829
|
}
|
|
@@ -13775,9 +13927,9 @@ var deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommandError = functi
|
|
|
13775
13927
|
});
|
|
13776
13928
|
}); };
|
|
13777
13929
|
export var deserializeAws_restJson1ListIngestionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13778
|
-
var contents, data;
|
|
13779
|
-
return __generator(this, function (
|
|
13780
|
-
switch (
|
|
13930
|
+
var contents, data, _a, _b;
|
|
13931
|
+
return __generator(this, function (_c) {
|
|
13932
|
+
switch (_c.label) {
|
|
13781
13933
|
case 0:
|
|
13782
13934
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13783
13935
|
return [2 /*return*/, deserializeAws_restJson1ListIngestionsCommandError(output, context)];
|
|
@@ -13789,9 +13941,11 @@ export var deserializeAws_restJson1ListIngestionsCommand = function (output, con
|
|
|
13789
13941
|
RequestId: undefined,
|
|
13790
13942
|
Status: undefined,
|
|
13791
13943
|
};
|
|
13944
|
+
_a = __expectNonNull;
|
|
13945
|
+
_b = __expectObject;
|
|
13792
13946
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13793
13947
|
case 1:
|
|
13794
|
-
data = _a.sent();
|
|
13948
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13795
13949
|
if (data.Ingestions !== undefined && data.Ingestions !== null) {
|
|
13796
13950
|
contents.Ingestions = deserializeAws_restJson1Ingestions(data.Ingestions, context);
|
|
13797
13951
|
}
|
|
@@ -13895,9 +14049,9 @@ var deserializeAws_restJson1ListIngestionsCommandError = function (output, conte
|
|
|
13895
14049
|
});
|
|
13896
14050
|
}); };
|
|
13897
14051
|
export var deserializeAws_restJson1ListNamespacesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13898
|
-
var contents, data;
|
|
13899
|
-
return __generator(this, function (
|
|
13900
|
-
switch (
|
|
14052
|
+
var contents, data, _a, _b;
|
|
14053
|
+
return __generator(this, function (_c) {
|
|
14054
|
+
switch (_c.label) {
|
|
13901
14055
|
case 0:
|
|
13902
14056
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
13903
14057
|
return [2 /*return*/, deserializeAws_restJson1ListNamespacesCommandError(output, context)];
|
|
@@ -13909,9 +14063,11 @@ export var deserializeAws_restJson1ListNamespacesCommand = function (output, con
|
|
|
13909
14063
|
RequestId: undefined,
|
|
13910
14064
|
Status: undefined,
|
|
13911
14065
|
};
|
|
14066
|
+
_a = __expectNonNull;
|
|
14067
|
+
_b = __expectObject;
|
|
13912
14068
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
13913
14069
|
case 1:
|
|
13914
|
-
data = _a.sent();
|
|
14070
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
13915
14071
|
if (data.Namespaces !== undefined && data.Namespaces !== null) {
|
|
13916
14072
|
contents.Namespaces = deserializeAws_restJson1Namespaces(data.Namespaces, context);
|
|
13917
14073
|
}
|
|
@@ -14023,9 +14179,9 @@ var deserializeAws_restJson1ListNamespacesCommandError = function (output, conte
|
|
|
14023
14179
|
});
|
|
14024
14180
|
}); };
|
|
14025
14181
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14026
|
-
var contents, data;
|
|
14027
|
-
return __generator(this, function (
|
|
14028
|
-
switch (
|
|
14182
|
+
var contents, data, _a, _b;
|
|
14183
|
+
return __generator(this, function (_c) {
|
|
14184
|
+
switch (_c.label) {
|
|
14029
14185
|
case 0:
|
|
14030
14186
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14031
14187
|
return [2 /*return*/, deserializeAws_restJson1ListTagsForResourceCommandError(output, context)];
|
|
@@ -14036,9 +14192,11 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
14036
14192
|
Status: undefined,
|
|
14037
14193
|
Tags: undefined,
|
|
14038
14194
|
};
|
|
14195
|
+
_a = __expectNonNull;
|
|
14196
|
+
_b = __expectObject;
|
|
14039
14197
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14040
14198
|
case 1:
|
|
14041
|
-
data = _a.sent();
|
|
14199
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14042
14200
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
14043
14201
|
contents.RequestId = __expectString(data.RequestId);
|
|
14044
14202
|
}
|
|
@@ -14123,9 +14281,9 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
14123
14281
|
});
|
|
14124
14282
|
}); };
|
|
14125
14283
|
export var deserializeAws_restJson1ListTemplateAliasesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14126
|
-
var contents, data;
|
|
14127
|
-
return __generator(this, function (
|
|
14128
|
-
switch (
|
|
14284
|
+
var contents, data, _a, _b;
|
|
14285
|
+
return __generator(this, function (_c) {
|
|
14286
|
+
switch (_c.label) {
|
|
14129
14287
|
case 0:
|
|
14130
14288
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14131
14289
|
return [2 /*return*/, deserializeAws_restJson1ListTemplateAliasesCommandError(output, context)];
|
|
@@ -14137,9 +14295,11 @@ export var deserializeAws_restJson1ListTemplateAliasesCommand = function (output
|
|
|
14137
14295
|
Status: undefined,
|
|
14138
14296
|
TemplateAliasList: undefined,
|
|
14139
14297
|
};
|
|
14298
|
+
_a = __expectNonNull;
|
|
14299
|
+
_b = __expectObject;
|
|
14140
14300
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14141
14301
|
case 1:
|
|
14142
|
-
data = _a.sent();
|
|
14302
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14143
14303
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14144
14304
|
contents.NextToken = __expectString(data.NextToken);
|
|
14145
14305
|
}
|
|
@@ -14227,9 +14387,9 @@ var deserializeAws_restJson1ListTemplateAliasesCommandError = function (output,
|
|
|
14227
14387
|
});
|
|
14228
14388
|
}); };
|
|
14229
14389
|
export var deserializeAws_restJson1ListTemplatesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14230
|
-
var contents, data;
|
|
14231
|
-
return __generator(this, function (
|
|
14232
|
-
switch (
|
|
14390
|
+
var contents, data, _a, _b;
|
|
14391
|
+
return __generator(this, function (_c) {
|
|
14392
|
+
switch (_c.label) {
|
|
14233
14393
|
case 0:
|
|
14234
14394
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14235
14395
|
return [2 /*return*/, deserializeAws_restJson1ListTemplatesCommandError(output, context)];
|
|
@@ -14241,9 +14401,11 @@ export var deserializeAws_restJson1ListTemplatesCommand = function (output, cont
|
|
|
14241
14401
|
Status: undefined,
|
|
14242
14402
|
TemplateSummaryList: undefined,
|
|
14243
14403
|
};
|
|
14404
|
+
_a = __expectNonNull;
|
|
14405
|
+
_b = __expectObject;
|
|
14244
14406
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14245
14407
|
case 1:
|
|
14246
|
-
data = _a.sent();
|
|
14408
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14247
14409
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14248
14410
|
contents.NextToken = __expectString(data.NextToken);
|
|
14249
14411
|
}
|
|
@@ -14339,9 +14501,9 @@ var deserializeAws_restJson1ListTemplatesCommandError = function (output, contex
|
|
|
14339
14501
|
});
|
|
14340
14502
|
}); };
|
|
14341
14503
|
export var deserializeAws_restJson1ListTemplateVersionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14342
|
-
var contents, data;
|
|
14343
|
-
return __generator(this, function (
|
|
14344
|
-
switch (
|
|
14504
|
+
var contents, data, _a, _b;
|
|
14505
|
+
return __generator(this, function (_c) {
|
|
14506
|
+
switch (_c.label) {
|
|
14345
14507
|
case 0:
|
|
14346
14508
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14347
14509
|
return [2 /*return*/, deserializeAws_restJson1ListTemplateVersionsCommandError(output, context)];
|
|
@@ -14353,9 +14515,11 @@ export var deserializeAws_restJson1ListTemplateVersionsCommand = function (outpu
|
|
|
14353
14515
|
Status: undefined,
|
|
14354
14516
|
TemplateVersionSummaryList: undefined,
|
|
14355
14517
|
};
|
|
14518
|
+
_a = __expectNonNull;
|
|
14519
|
+
_b = __expectObject;
|
|
14356
14520
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14357
14521
|
case 1:
|
|
14358
|
-
data = _a.sent();
|
|
14522
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14359
14523
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14360
14524
|
contents.NextToken = __expectString(data.NextToken);
|
|
14361
14525
|
}
|
|
@@ -14451,9 +14615,9 @@ var deserializeAws_restJson1ListTemplateVersionsCommandError = function (output,
|
|
|
14451
14615
|
});
|
|
14452
14616
|
}); };
|
|
14453
14617
|
export var deserializeAws_restJson1ListThemeAliasesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14454
|
-
var contents, data;
|
|
14455
|
-
return __generator(this, function (
|
|
14456
|
-
switch (
|
|
14618
|
+
var contents, data, _a, _b;
|
|
14619
|
+
return __generator(this, function (_c) {
|
|
14620
|
+
switch (_c.label) {
|
|
14457
14621
|
case 0:
|
|
14458
14622
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14459
14623
|
return [2 /*return*/, deserializeAws_restJson1ListThemeAliasesCommandError(output, context)];
|
|
@@ -14465,9 +14629,11 @@ export var deserializeAws_restJson1ListThemeAliasesCommand = function (output, c
|
|
|
14465
14629
|
Status: undefined,
|
|
14466
14630
|
ThemeAliasList: undefined,
|
|
14467
14631
|
};
|
|
14632
|
+
_a = __expectNonNull;
|
|
14633
|
+
_b = __expectObject;
|
|
14468
14634
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14469
14635
|
case 1:
|
|
14470
|
-
data = _a.sent();
|
|
14636
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14471
14637
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14472
14638
|
contents.NextToken = __expectString(data.NextToken);
|
|
14473
14639
|
}
|
|
@@ -14571,9 +14737,9 @@ var deserializeAws_restJson1ListThemeAliasesCommandError = function (output, con
|
|
|
14571
14737
|
});
|
|
14572
14738
|
}); };
|
|
14573
14739
|
export var deserializeAws_restJson1ListThemesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14574
|
-
var contents, data;
|
|
14575
|
-
return __generator(this, function (
|
|
14576
|
-
switch (
|
|
14740
|
+
var contents, data, _a, _b;
|
|
14741
|
+
return __generator(this, function (_c) {
|
|
14742
|
+
switch (_c.label) {
|
|
14577
14743
|
case 0:
|
|
14578
14744
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14579
14745
|
return [2 /*return*/, deserializeAws_restJson1ListThemesCommandError(output, context)];
|
|
@@ -14585,9 +14751,11 @@ export var deserializeAws_restJson1ListThemesCommand = function (output, context
|
|
|
14585
14751
|
Status: undefined,
|
|
14586
14752
|
ThemeSummaryList: undefined,
|
|
14587
14753
|
};
|
|
14754
|
+
_a = __expectNonNull;
|
|
14755
|
+
_b = __expectObject;
|
|
14588
14756
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14589
14757
|
case 1:
|
|
14590
|
-
data = _a.sent();
|
|
14758
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14591
14759
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14592
14760
|
contents.NextToken = __expectString(data.NextToken);
|
|
14593
14761
|
}
|
|
@@ -14691,9 +14859,9 @@ var deserializeAws_restJson1ListThemesCommandError = function (output, context)
|
|
|
14691
14859
|
});
|
|
14692
14860
|
}); };
|
|
14693
14861
|
export var deserializeAws_restJson1ListThemeVersionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14694
|
-
var contents, data;
|
|
14695
|
-
return __generator(this, function (
|
|
14696
|
-
switch (
|
|
14862
|
+
var contents, data, _a, _b;
|
|
14863
|
+
return __generator(this, function (_c) {
|
|
14864
|
+
switch (_c.label) {
|
|
14697
14865
|
case 0:
|
|
14698
14866
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14699
14867
|
return [2 /*return*/, deserializeAws_restJson1ListThemeVersionsCommandError(output, context)];
|
|
@@ -14705,9 +14873,11 @@ export var deserializeAws_restJson1ListThemeVersionsCommand = function (output,
|
|
|
14705
14873
|
Status: undefined,
|
|
14706
14874
|
ThemeVersionSummaryList: undefined,
|
|
14707
14875
|
};
|
|
14876
|
+
_a = __expectNonNull;
|
|
14877
|
+
_b = __expectObject;
|
|
14708
14878
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14709
14879
|
case 1:
|
|
14710
|
-
data = _a.sent();
|
|
14880
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14711
14881
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14712
14882
|
contents.NextToken = __expectString(data.NextToken);
|
|
14713
14883
|
}
|
|
@@ -14811,9 +14981,9 @@ var deserializeAws_restJson1ListThemeVersionsCommandError = function (output, co
|
|
|
14811
14981
|
});
|
|
14812
14982
|
}); };
|
|
14813
14983
|
export var deserializeAws_restJson1ListUserGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14814
|
-
var contents, data;
|
|
14815
|
-
return __generator(this, function (
|
|
14816
|
-
switch (
|
|
14984
|
+
var contents, data, _a, _b;
|
|
14985
|
+
return __generator(this, function (_c) {
|
|
14986
|
+
switch (_c.label) {
|
|
14817
14987
|
case 0:
|
|
14818
14988
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14819
14989
|
return [2 /*return*/, deserializeAws_restJson1ListUserGroupsCommandError(output, context)];
|
|
@@ -14825,9 +14995,11 @@ export var deserializeAws_restJson1ListUserGroupsCommand = function (output, con
|
|
|
14825
14995
|
RequestId: undefined,
|
|
14826
14996
|
Status: undefined,
|
|
14827
14997
|
};
|
|
14998
|
+
_a = __expectNonNull;
|
|
14999
|
+
_b = __expectObject;
|
|
14828
15000
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14829
15001
|
case 1:
|
|
14830
|
-
data = _a.sent();
|
|
15002
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14831
15003
|
if (data.GroupList !== undefined && data.GroupList !== null) {
|
|
14832
15004
|
contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
|
|
14833
15005
|
}
|
|
@@ -14931,9 +15103,9 @@ var deserializeAws_restJson1ListUserGroupsCommandError = function (output, conte
|
|
|
14931
15103
|
});
|
|
14932
15104
|
}); };
|
|
14933
15105
|
export var deserializeAws_restJson1ListUsersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14934
|
-
var contents, data;
|
|
14935
|
-
return __generator(this, function (
|
|
14936
|
-
switch (
|
|
15106
|
+
var contents, data, _a, _b;
|
|
15107
|
+
return __generator(this, function (_c) {
|
|
15108
|
+
switch (_c.label) {
|
|
14937
15109
|
case 0:
|
|
14938
15110
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
14939
15111
|
return [2 /*return*/, deserializeAws_restJson1ListUsersCommandError(output, context)];
|
|
@@ -14945,9 +15117,11 @@ export var deserializeAws_restJson1ListUsersCommand = function (output, context)
|
|
|
14945
15117
|
Status: undefined,
|
|
14946
15118
|
UserList: undefined,
|
|
14947
15119
|
};
|
|
15120
|
+
_a = __expectNonNull;
|
|
15121
|
+
_b = __expectObject;
|
|
14948
15122
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
14949
15123
|
case 1:
|
|
14950
|
-
data = _a.sent();
|
|
15124
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
14951
15125
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
14952
15126
|
contents.NextToken = __expectString(data.NextToken);
|
|
14953
15127
|
}
|
|
@@ -15059,9 +15233,9 @@ var deserializeAws_restJson1ListUsersCommandError = function (output, context) {
|
|
|
15059
15233
|
});
|
|
15060
15234
|
}); };
|
|
15061
15235
|
export var deserializeAws_restJson1RegisterUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15062
|
-
var contents, data;
|
|
15063
|
-
return __generator(this, function (
|
|
15064
|
-
switch (
|
|
15236
|
+
var contents, data, _a, _b;
|
|
15237
|
+
return __generator(this, function (_c) {
|
|
15238
|
+
switch (_c.label) {
|
|
15065
15239
|
case 0:
|
|
15066
15240
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15067
15241
|
return [2 /*return*/, deserializeAws_restJson1RegisterUserCommandError(output, context)];
|
|
@@ -15073,9 +15247,11 @@ export var deserializeAws_restJson1RegisterUserCommand = function (output, conte
|
|
|
15073
15247
|
User: undefined,
|
|
15074
15248
|
UserInvitationUrl: undefined,
|
|
15075
15249
|
};
|
|
15250
|
+
_a = __expectNonNull;
|
|
15251
|
+
_b = __expectObject;
|
|
15076
15252
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15077
15253
|
case 1:
|
|
15078
|
-
data = _a.sent();
|
|
15254
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15079
15255
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
15080
15256
|
contents.RequestId = __expectString(data.RequestId);
|
|
15081
15257
|
}
|
|
@@ -15195,9 +15371,9 @@ var deserializeAws_restJson1RegisterUserCommandError = function (output, context
|
|
|
15195
15371
|
});
|
|
15196
15372
|
}); };
|
|
15197
15373
|
export var deserializeAws_restJson1RestoreAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15198
|
-
var contents, data;
|
|
15199
|
-
return __generator(this, function (
|
|
15200
|
-
switch (
|
|
15374
|
+
var contents, data, _a, _b;
|
|
15375
|
+
return __generator(this, function (_c) {
|
|
15376
|
+
switch (_c.label) {
|
|
15201
15377
|
case 0:
|
|
15202
15378
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15203
15379
|
return [2 /*return*/, deserializeAws_restJson1RestoreAnalysisCommandError(output, context)];
|
|
@@ -15209,9 +15385,11 @@ export var deserializeAws_restJson1RestoreAnalysisCommand = function (output, co
|
|
|
15209
15385
|
RequestId: undefined,
|
|
15210
15386
|
Status: undefined,
|
|
15211
15387
|
};
|
|
15388
|
+
_a = __expectNonNull;
|
|
15389
|
+
_b = __expectObject;
|
|
15212
15390
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15213
15391
|
case 1:
|
|
15214
|
-
data = _a.sent();
|
|
15392
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15215
15393
|
if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
|
|
15216
15394
|
contents.AnalysisId = __expectString(data.AnalysisId);
|
|
15217
15395
|
}
|
|
@@ -15307,9 +15485,9 @@ var deserializeAws_restJson1RestoreAnalysisCommandError = function (output, cont
|
|
|
15307
15485
|
});
|
|
15308
15486
|
}); };
|
|
15309
15487
|
export var deserializeAws_restJson1SearchAnalysesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15310
|
-
var contents, data;
|
|
15311
|
-
return __generator(this, function (
|
|
15312
|
-
switch (
|
|
15488
|
+
var contents, data, _a, _b;
|
|
15489
|
+
return __generator(this, function (_c) {
|
|
15490
|
+
switch (_c.label) {
|
|
15313
15491
|
case 0:
|
|
15314
15492
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15315
15493
|
return [2 /*return*/, deserializeAws_restJson1SearchAnalysesCommandError(output, context)];
|
|
@@ -15321,9 +15499,11 @@ export var deserializeAws_restJson1SearchAnalysesCommand = function (output, con
|
|
|
15321
15499
|
RequestId: undefined,
|
|
15322
15500
|
Status: undefined,
|
|
15323
15501
|
};
|
|
15502
|
+
_a = __expectNonNull;
|
|
15503
|
+
_b = __expectObject;
|
|
15324
15504
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15325
15505
|
case 1:
|
|
15326
|
-
data = _a.sent();
|
|
15506
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15327
15507
|
if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
|
|
15328
15508
|
contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
|
|
15329
15509
|
}
|
|
@@ -15419,9 +15599,9 @@ var deserializeAws_restJson1SearchAnalysesCommandError = function (output, conte
|
|
|
15419
15599
|
});
|
|
15420
15600
|
}); };
|
|
15421
15601
|
export var deserializeAws_restJson1SearchDashboardsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15422
|
-
var contents, data;
|
|
15423
|
-
return __generator(this, function (
|
|
15424
|
-
switch (
|
|
15602
|
+
var contents, data, _a, _b;
|
|
15603
|
+
return __generator(this, function (_c) {
|
|
15604
|
+
switch (_c.label) {
|
|
15425
15605
|
case 0:
|
|
15426
15606
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15427
15607
|
return [2 /*return*/, deserializeAws_restJson1SearchDashboardsCommandError(output, context)];
|
|
@@ -15433,9 +15613,11 @@ export var deserializeAws_restJson1SearchDashboardsCommand = function (output, c
|
|
|
15433
15613
|
RequestId: undefined,
|
|
15434
15614
|
Status: undefined,
|
|
15435
15615
|
};
|
|
15616
|
+
_a = __expectNonNull;
|
|
15617
|
+
_b = __expectObject;
|
|
15436
15618
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15437
15619
|
case 1:
|
|
15438
|
-
data = _a.sent();
|
|
15620
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15439
15621
|
if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
|
|
15440
15622
|
contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
|
|
15441
15623
|
}
|
|
@@ -15531,9 +15713,9 @@ var deserializeAws_restJson1SearchDashboardsCommandError = function (output, con
|
|
|
15531
15713
|
});
|
|
15532
15714
|
}); };
|
|
15533
15715
|
export var deserializeAws_restJson1SearchFoldersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15534
|
-
var contents, data;
|
|
15535
|
-
return __generator(this, function (
|
|
15536
|
-
switch (
|
|
15716
|
+
var contents, data, _a, _b;
|
|
15717
|
+
return __generator(this, function (_c) {
|
|
15718
|
+
switch (_c.label) {
|
|
15537
15719
|
case 0:
|
|
15538
15720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15539
15721
|
return [2 /*return*/, deserializeAws_restJson1SearchFoldersCommandError(output, context)];
|
|
@@ -15545,9 +15727,11 @@ export var deserializeAws_restJson1SearchFoldersCommand = function (output, cont
|
|
|
15545
15727
|
RequestId: undefined,
|
|
15546
15728
|
Status: undefined,
|
|
15547
15729
|
};
|
|
15730
|
+
_a = __expectNonNull;
|
|
15731
|
+
_b = __expectObject;
|
|
15548
15732
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15549
15733
|
case 1:
|
|
15550
|
-
data = _a.sent();
|
|
15734
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15551
15735
|
if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
|
|
15552
15736
|
contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
|
|
15553
15737
|
}
|
|
@@ -15651,9 +15835,9 @@ var deserializeAws_restJson1SearchFoldersCommandError = function (output, contex
|
|
|
15651
15835
|
});
|
|
15652
15836
|
}); };
|
|
15653
15837
|
export var deserializeAws_restJson1TagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15654
|
-
var contents, data;
|
|
15655
|
-
return __generator(this, function (
|
|
15656
|
-
switch (
|
|
15838
|
+
var contents, data, _a, _b;
|
|
15839
|
+
return __generator(this, function (_c) {
|
|
15840
|
+
switch (_c.label) {
|
|
15657
15841
|
case 0:
|
|
15658
15842
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15659
15843
|
return [2 /*return*/, deserializeAws_restJson1TagResourceCommandError(output, context)];
|
|
@@ -15663,9 +15847,11 @@ export var deserializeAws_restJson1TagResourceCommand = function (output, contex
|
|
|
15663
15847
|
RequestId: undefined,
|
|
15664
15848
|
Status: undefined,
|
|
15665
15849
|
};
|
|
15850
|
+
_a = __expectNonNull;
|
|
15851
|
+
_b = __expectObject;
|
|
15666
15852
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15667
15853
|
case 1:
|
|
15668
|
-
data = _a.sent();
|
|
15854
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15669
15855
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
15670
15856
|
contents.RequestId = __expectString(data.RequestId);
|
|
15671
15857
|
}
|
|
@@ -15755,9 +15941,9 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
15755
15941
|
});
|
|
15756
15942
|
}); };
|
|
15757
15943
|
export var deserializeAws_restJson1UntagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15758
|
-
var contents, data;
|
|
15759
|
-
return __generator(this, function (
|
|
15760
|
-
switch (
|
|
15944
|
+
var contents, data, _a, _b;
|
|
15945
|
+
return __generator(this, function (_c) {
|
|
15946
|
+
switch (_c.label) {
|
|
15761
15947
|
case 0:
|
|
15762
15948
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15763
15949
|
return [2 /*return*/, deserializeAws_restJson1UntagResourceCommandError(output, context)];
|
|
@@ -15767,9 +15953,11 @@ export var deserializeAws_restJson1UntagResourceCommand = function (output, cont
|
|
|
15767
15953
|
RequestId: undefined,
|
|
15768
15954
|
Status: undefined,
|
|
15769
15955
|
};
|
|
15956
|
+
_a = __expectNonNull;
|
|
15957
|
+
_b = __expectObject;
|
|
15770
15958
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15771
15959
|
case 1:
|
|
15772
|
-
data = _a.sent();
|
|
15960
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15773
15961
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
15774
15962
|
contents.RequestId = __expectString(data.RequestId);
|
|
15775
15963
|
}
|
|
@@ -15851,9 +16039,9 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
15851
16039
|
});
|
|
15852
16040
|
}); };
|
|
15853
16041
|
export var deserializeAws_restJson1UpdateAccountCustomizationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15854
|
-
var contents, data;
|
|
15855
|
-
return __generator(this, function (
|
|
15856
|
-
switch (
|
|
16042
|
+
var contents, data, _a, _b;
|
|
16043
|
+
return __generator(this, function (_c) {
|
|
16044
|
+
switch (_c.label) {
|
|
15857
16045
|
case 0:
|
|
15858
16046
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15859
16047
|
return [2 /*return*/, deserializeAws_restJson1UpdateAccountCustomizationCommandError(output, context)];
|
|
@@ -15867,9 +16055,11 @@ export var deserializeAws_restJson1UpdateAccountCustomizationCommand = function
|
|
|
15867
16055
|
RequestId: undefined,
|
|
15868
16056
|
Status: undefined,
|
|
15869
16057
|
};
|
|
16058
|
+
_a = __expectNonNull;
|
|
16059
|
+
_b = __expectObject;
|
|
15870
16060
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15871
16061
|
case 1:
|
|
15872
|
-
data = _a.sent();
|
|
16062
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15873
16063
|
if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
|
|
15874
16064
|
contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
|
|
15875
16065
|
}
|
|
@@ -15971,9 +16161,9 @@ var deserializeAws_restJson1UpdateAccountCustomizationCommandError = function (o
|
|
|
15971
16161
|
});
|
|
15972
16162
|
}); };
|
|
15973
16163
|
export var deserializeAws_restJson1UpdateAccountSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15974
|
-
var contents, data;
|
|
15975
|
-
return __generator(this, function (
|
|
15976
|
-
switch (
|
|
16164
|
+
var contents, data, _a, _b;
|
|
16165
|
+
return __generator(this, function (_c) {
|
|
16166
|
+
switch (_c.label) {
|
|
15977
16167
|
case 0:
|
|
15978
16168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15979
16169
|
return [2 /*return*/, deserializeAws_restJson1UpdateAccountSettingsCommandError(output, context)];
|
|
@@ -15983,9 +16173,11 @@ export var deserializeAws_restJson1UpdateAccountSettingsCommand = function (outp
|
|
|
15983
16173
|
RequestId: undefined,
|
|
15984
16174
|
Status: undefined,
|
|
15985
16175
|
};
|
|
16176
|
+
_a = __expectNonNull;
|
|
16177
|
+
_b = __expectObject;
|
|
15986
16178
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
15987
16179
|
case 1:
|
|
15988
|
-
data = _a.sent();
|
|
16180
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15989
16181
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
15990
16182
|
contents.RequestId = __expectString(data.RequestId);
|
|
15991
16183
|
}
|
|
@@ -16075,9 +16267,9 @@ var deserializeAws_restJson1UpdateAccountSettingsCommandError = function (output
|
|
|
16075
16267
|
});
|
|
16076
16268
|
}); };
|
|
16077
16269
|
export var deserializeAws_restJson1UpdateAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16078
|
-
var contents, data;
|
|
16079
|
-
return __generator(this, function (
|
|
16080
|
-
switch (
|
|
16270
|
+
var contents, data, _a, _b;
|
|
16271
|
+
return __generator(this, function (_c) {
|
|
16272
|
+
switch (_c.label) {
|
|
16081
16273
|
case 0:
|
|
16082
16274
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16083
16275
|
return [2 /*return*/, deserializeAws_restJson1UpdateAnalysisCommandError(output, context)];
|
|
@@ -16090,9 +16282,11 @@ export var deserializeAws_restJson1UpdateAnalysisCommand = function (output, con
|
|
|
16090
16282
|
Status: undefined,
|
|
16091
16283
|
UpdateStatus: undefined,
|
|
16092
16284
|
};
|
|
16285
|
+
_a = __expectNonNull;
|
|
16286
|
+
_b = __expectObject;
|
|
16093
16287
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16094
16288
|
case 1:
|
|
16095
|
-
data = _a.sent();
|
|
16289
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16096
16290
|
if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
|
|
16097
16291
|
contents.AnalysisId = __expectString(data.AnalysisId);
|
|
16098
16292
|
}
|
|
@@ -16199,9 +16393,9 @@ var deserializeAws_restJson1UpdateAnalysisCommandError = function (output, conte
|
|
|
16199
16393
|
});
|
|
16200
16394
|
}); };
|
|
16201
16395
|
export var deserializeAws_restJson1UpdateAnalysisPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16202
|
-
var contents, data;
|
|
16203
|
-
return __generator(this, function (
|
|
16204
|
-
switch (
|
|
16396
|
+
var contents, data, _a, _b;
|
|
16397
|
+
return __generator(this, function (_c) {
|
|
16398
|
+
switch (_c.label) {
|
|
16205
16399
|
case 0:
|
|
16206
16400
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16207
16401
|
return [2 /*return*/, deserializeAws_restJson1UpdateAnalysisPermissionsCommandError(output, context)];
|
|
@@ -16214,9 +16408,11 @@ export var deserializeAws_restJson1UpdateAnalysisPermissionsCommand = function (
|
|
|
16214
16408
|
RequestId: undefined,
|
|
16215
16409
|
Status: undefined,
|
|
16216
16410
|
};
|
|
16411
|
+
_a = __expectNonNull;
|
|
16412
|
+
_b = __expectObject;
|
|
16217
16413
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16218
16414
|
case 1:
|
|
16219
|
-
data = _a.sent();
|
|
16415
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16220
16416
|
if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
|
|
16221
16417
|
contents.AnalysisArn = __expectString(data.AnalysisArn);
|
|
16222
16418
|
}
|
|
@@ -16315,9 +16511,9 @@ var deserializeAws_restJson1UpdateAnalysisPermissionsCommandError = function (ou
|
|
|
16315
16511
|
});
|
|
16316
16512
|
}); };
|
|
16317
16513
|
export var deserializeAws_restJson1UpdateDashboardCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16318
|
-
var contents, data;
|
|
16319
|
-
return __generator(this, function (
|
|
16320
|
-
switch (
|
|
16514
|
+
var contents, data, _a, _b;
|
|
16515
|
+
return __generator(this, function (_c) {
|
|
16516
|
+
switch (_c.label) {
|
|
16321
16517
|
case 0:
|
|
16322
16518
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16323
16519
|
return [2 /*return*/, deserializeAws_restJson1UpdateDashboardCommandError(output, context)];
|
|
@@ -16331,9 +16527,11 @@ export var deserializeAws_restJson1UpdateDashboardCommand = function (output, co
|
|
|
16331
16527
|
Status: undefined,
|
|
16332
16528
|
VersionArn: undefined,
|
|
16333
16529
|
};
|
|
16530
|
+
_a = __expectNonNull;
|
|
16531
|
+
_b = __expectObject;
|
|
16334
16532
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16335
16533
|
case 1:
|
|
16336
|
-
data = _a.sent();
|
|
16534
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16337
16535
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
16338
16536
|
contents.Arn = __expectString(data.Arn);
|
|
16339
16537
|
}
|
|
@@ -16347,7 +16545,7 @@ export var deserializeAws_restJson1UpdateDashboardCommand = function (output, co
|
|
|
16347
16545
|
contents.RequestId = __expectString(data.RequestId);
|
|
16348
16546
|
}
|
|
16349
16547
|
if (data.Status !== undefined && data.Status !== null) {
|
|
16350
|
-
contents.Status =
|
|
16548
|
+
contents.Status = __expectInt32(data.Status);
|
|
16351
16549
|
}
|
|
16352
16550
|
if (data.VersionArn !== undefined && data.VersionArn !== null) {
|
|
16353
16551
|
contents.VersionArn = __expectString(data.VersionArn);
|
|
@@ -16443,9 +16641,9 @@ var deserializeAws_restJson1UpdateDashboardCommandError = function (output, cont
|
|
|
16443
16641
|
});
|
|
16444
16642
|
}); };
|
|
16445
16643
|
export var deserializeAws_restJson1UpdateDashboardPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16446
|
-
var contents, data;
|
|
16447
|
-
return __generator(this, function (
|
|
16448
|
-
switch (
|
|
16644
|
+
var contents, data, _a, _b;
|
|
16645
|
+
return __generator(this, function (_c) {
|
|
16646
|
+
switch (_c.label) {
|
|
16449
16647
|
case 0:
|
|
16450
16648
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16451
16649
|
return [2 /*return*/, deserializeAws_restJson1UpdateDashboardPermissionsCommandError(output, context)];
|
|
@@ -16458,9 +16656,11 @@ export var deserializeAws_restJson1UpdateDashboardPermissionsCommand = function
|
|
|
16458
16656
|
RequestId: undefined,
|
|
16459
16657
|
Status: undefined,
|
|
16460
16658
|
};
|
|
16659
|
+
_a = __expectNonNull;
|
|
16660
|
+
_b = __expectObject;
|
|
16461
16661
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16462
16662
|
case 1:
|
|
16463
|
-
data = _a.sent();
|
|
16663
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16464
16664
|
if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
|
|
16465
16665
|
contents.DashboardArn = __expectString(data.DashboardArn);
|
|
16466
16666
|
}
|
|
@@ -16559,9 +16759,9 @@ var deserializeAws_restJson1UpdateDashboardPermissionsCommandError = function (o
|
|
|
16559
16759
|
});
|
|
16560
16760
|
}); };
|
|
16561
16761
|
export var deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16562
|
-
var contents, data;
|
|
16563
|
-
return __generator(this, function (
|
|
16564
|
-
switch (
|
|
16762
|
+
var contents, data, _a, _b;
|
|
16763
|
+
return __generator(this, function (_c) {
|
|
16764
|
+
switch (_c.label) {
|
|
16565
16765
|
case 0:
|
|
16566
16766
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16567
16767
|
return [2 /*return*/, deserializeAws_restJson1UpdateDashboardPublishedVersionCommandError(output, context)];
|
|
@@ -16573,9 +16773,11 @@ export var deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = func
|
|
|
16573
16773
|
RequestId: undefined,
|
|
16574
16774
|
Status: undefined,
|
|
16575
16775
|
};
|
|
16776
|
+
_a = __expectNonNull;
|
|
16777
|
+
_b = __expectObject;
|
|
16576
16778
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16577
16779
|
case 1:
|
|
16578
|
-
data = _a.sent();
|
|
16780
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16579
16781
|
if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
|
|
16580
16782
|
contents.DashboardArn = __expectString(data.DashboardArn);
|
|
16581
16783
|
}
|
|
@@ -16671,9 +16873,9 @@ var deserializeAws_restJson1UpdateDashboardPublishedVersionCommandError = functi
|
|
|
16671
16873
|
});
|
|
16672
16874
|
}); };
|
|
16673
16875
|
export var deserializeAws_restJson1UpdateDataSetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16674
|
-
var contents, data;
|
|
16675
|
-
return __generator(this, function (
|
|
16676
|
-
switch (
|
|
16876
|
+
var contents, data, _a, _b;
|
|
16877
|
+
return __generator(this, function (_c) {
|
|
16878
|
+
switch (_c.label) {
|
|
16677
16879
|
case 0:
|
|
16678
16880
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16679
16881
|
return [2 /*return*/, deserializeAws_restJson1UpdateDataSetCommandError(output, context)];
|
|
@@ -16687,9 +16889,11 @@ export var deserializeAws_restJson1UpdateDataSetCommand = function (output, cont
|
|
|
16687
16889
|
RequestId: undefined,
|
|
16688
16890
|
Status: undefined,
|
|
16689
16891
|
};
|
|
16892
|
+
_a = __expectNonNull;
|
|
16893
|
+
_b = __expectObject;
|
|
16690
16894
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16691
16895
|
case 1:
|
|
16692
|
-
data = _a.sent();
|
|
16896
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16693
16897
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
16694
16898
|
contents.Arn = __expectString(data.Arn);
|
|
16695
16899
|
}
|
|
@@ -16807,9 +17011,9 @@ var deserializeAws_restJson1UpdateDataSetCommandError = function (output, contex
|
|
|
16807
17011
|
});
|
|
16808
17012
|
}); };
|
|
16809
17013
|
export var deserializeAws_restJson1UpdateDataSetPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16810
|
-
var contents, data;
|
|
16811
|
-
return __generator(this, function (
|
|
16812
|
-
switch (
|
|
17014
|
+
var contents, data, _a, _b;
|
|
17015
|
+
return __generator(this, function (_c) {
|
|
17016
|
+
switch (_c.label) {
|
|
16813
17017
|
case 0:
|
|
16814
17018
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16815
17019
|
return [2 /*return*/, deserializeAws_restJson1UpdateDataSetPermissionsCommandError(output, context)];
|
|
@@ -16821,9 +17025,11 @@ export var deserializeAws_restJson1UpdateDataSetPermissionsCommand = function (o
|
|
|
16821
17025
|
RequestId: undefined,
|
|
16822
17026
|
Status: undefined,
|
|
16823
17027
|
};
|
|
17028
|
+
_a = __expectNonNull;
|
|
17029
|
+
_b = __expectObject;
|
|
16824
17030
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16825
17031
|
case 1:
|
|
16826
|
-
data = _a.sent();
|
|
17032
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16827
17033
|
if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
|
|
16828
17034
|
contents.DataSetArn = __expectString(data.DataSetArn);
|
|
16829
17035
|
}
|
|
@@ -16919,9 +17125,9 @@ var deserializeAws_restJson1UpdateDataSetPermissionsCommandError = function (out
|
|
|
16919
17125
|
});
|
|
16920
17126
|
}); };
|
|
16921
17127
|
export var deserializeAws_restJson1UpdateDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
16922
|
-
var contents, data;
|
|
16923
|
-
return __generator(this, function (
|
|
16924
|
-
switch (
|
|
17128
|
+
var contents, data, _a, _b;
|
|
17129
|
+
return __generator(this, function (_c) {
|
|
17130
|
+
switch (_c.label) {
|
|
16925
17131
|
case 0:
|
|
16926
17132
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
16927
17133
|
return [2 /*return*/, deserializeAws_restJson1UpdateDataSourceCommandError(output, context)];
|
|
@@ -16934,9 +17140,11 @@ export var deserializeAws_restJson1UpdateDataSourceCommand = function (output, c
|
|
|
16934
17140
|
Status: undefined,
|
|
16935
17141
|
UpdateStatus: undefined,
|
|
16936
17142
|
};
|
|
17143
|
+
_a = __expectNonNull;
|
|
17144
|
+
_b = __expectObject;
|
|
16937
17145
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
16938
17146
|
case 1:
|
|
16939
|
-
data = _a.sent();
|
|
17147
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
16940
17148
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
16941
17149
|
contents.Arn = __expectString(data.Arn);
|
|
16942
17150
|
}
|
|
@@ -17035,9 +17243,9 @@ var deserializeAws_restJson1UpdateDataSourceCommandError = function (output, con
|
|
|
17035
17243
|
});
|
|
17036
17244
|
}); };
|
|
17037
17245
|
export var deserializeAws_restJson1UpdateDataSourcePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17038
|
-
var contents, data;
|
|
17039
|
-
return __generator(this, function (
|
|
17040
|
-
switch (
|
|
17246
|
+
var contents, data, _a, _b;
|
|
17247
|
+
return __generator(this, function (_c) {
|
|
17248
|
+
switch (_c.label) {
|
|
17041
17249
|
case 0:
|
|
17042
17250
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17043
17251
|
return [2 /*return*/, deserializeAws_restJson1UpdateDataSourcePermissionsCommandError(output, context)];
|
|
@@ -17049,9 +17257,11 @@ export var deserializeAws_restJson1UpdateDataSourcePermissionsCommand = function
|
|
|
17049
17257
|
RequestId: undefined,
|
|
17050
17258
|
Status: undefined,
|
|
17051
17259
|
};
|
|
17260
|
+
_a = __expectNonNull;
|
|
17261
|
+
_b = __expectObject;
|
|
17052
17262
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17053
17263
|
case 1:
|
|
17054
|
-
data = _a.sent();
|
|
17264
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17055
17265
|
if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
|
|
17056
17266
|
contents.DataSourceArn = __expectString(data.DataSourceArn);
|
|
17057
17267
|
}
|
|
@@ -17147,9 +17357,9 @@ var deserializeAws_restJson1UpdateDataSourcePermissionsCommandError = function (
|
|
|
17147
17357
|
});
|
|
17148
17358
|
}); };
|
|
17149
17359
|
export var deserializeAws_restJson1UpdateFolderCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17150
|
-
var contents, data;
|
|
17151
|
-
return __generator(this, function (
|
|
17152
|
-
switch (
|
|
17360
|
+
var contents, data, _a, _b;
|
|
17361
|
+
return __generator(this, function (_c) {
|
|
17362
|
+
switch (_c.label) {
|
|
17153
17363
|
case 0:
|
|
17154
17364
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17155
17365
|
return [2 /*return*/, deserializeAws_restJson1UpdateFolderCommandError(output, context)];
|
|
@@ -17161,9 +17371,11 @@ export var deserializeAws_restJson1UpdateFolderCommand = function (output, conte
|
|
|
17161
17371
|
RequestId: undefined,
|
|
17162
17372
|
Status: undefined,
|
|
17163
17373
|
};
|
|
17374
|
+
_a = __expectNonNull;
|
|
17375
|
+
_b = __expectObject;
|
|
17164
17376
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17165
17377
|
case 1:
|
|
17166
|
-
data = _a.sent();
|
|
17378
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17167
17379
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
17168
17380
|
contents.Arn = __expectString(data.Arn);
|
|
17169
17381
|
}
|
|
@@ -17275,9 +17487,9 @@ var deserializeAws_restJson1UpdateFolderCommandError = function (output, context
|
|
|
17275
17487
|
});
|
|
17276
17488
|
}); };
|
|
17277
17489
|
export var deserializeAws_restJson1UpdateFolderPermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17278
|
-
var contents, data;
|
|
17279
|
-
return __generator(this, function (
|
|
17280
|
-
switch (
|
|
17490
|
+
var contents, data, _a, _b;
|
|
17491
|
+
return __generator(this, function (_c) {
|
|
17492
|
+
switch (_c.label) {
|
|
17281
17493
|
case 0:
|
|
17282
17494
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17283
17495
|
return [2 /*return*/, deserializeAws_restJson1UpdateFolderPermissionsCommandError(output, context)];
|
|
@@ -17290,9 +17502,11 @@ export var deserializeAws_restJson1UpdateFolderPermissionsCommand = function (ou
|
|
|
17290
17502
|
RequestId: undefined,
|
|
17291
17503
|
Status: undefined,
|
|
17292
17504
|
};
|
|
17505
|
+
_a = __expectNonNull;
|
|
17506
|
+
_b = __expectObject;
|
|
17293
17507
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17294
17508
|
case 1:
|
|
17295
|
-
data = _a.sent();
|
|
17509
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17296
17510
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
17297
17511
|
contents.Arn = __expectString(data.Arn);
|
|
17298
17512
|
}
|
|
@@ -17306,7 +17520,7 @@ export var deserializeAws_restJson1UpdateFolderPermissionsCommand = function (ou
|
|
|
17306
17520
|
contents.RequestId = __expectString(data.RequestId);
|
|
17307
17521
|
}
|
|
17308
17522
|
if (data.Status !== undefined && data.Status !== null) {
|
|
17309
|
-
contents.Status =
|
|
17523
|
+
contents.Status = __expectInt32(data.Status);
|
|
17310
17524
|
}
|
|
17311
17525
|
return [2 /*return*/, Promise.resolve(contents)];
|
|
17312
17526
|
}
|
|
@@ -17399,9 +17613,9 @@ var deserializeAws_restJson1UpdateFolderPermissionsCommandError = function (outp
|
|
|
17399
17613
|
});
|
|
17400
17614
|
}); };
|
|
17401
17615
|
export var deserializeAws_restJson1UpdateGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17402
|
-
var contents, data;
|
|
17403
|
-
return __generator(this, function (
|
|
17404
|
-
switch (
|
|
17616
|
+
var contents, data, _a, _b;
|
|
17617
|
+
return __generator(this, function (_c) {
|
|
17618
|
+
switch (_c.label) {
|
|
17405
17619
|
case 0:
|
|
17406
17620
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17407
17621
|
return [2 /*return*/, deserializeAws_restJson1UpdateGroupCommandError(output, context)];
|
|
@@ -17412,9 +17626,11 @@ export var deserializeAws_restJson1UpdateGroupCommand = function (output, contex
|
|
|
17412
17626
|
RequestId: undefined,
|
|
17413
17627
|
Status: undefined,
|
|
17414
17628
|
};
|
|
17629
|
+
_a = __expectNonNull;
|
|
17630
|
+
_b = __expectObject;
|
|
17415
17631
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17416
17632
|
case 1:
|
|
17417
|
-
data = _a.sent();
|
|
17633
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17418
17634
|
if (data.Group !== undefined && data.Group !== null) {
|
|
17419
17635
|
contents.Group = deserializeAws_restJson1Group(data.Group, context);
|
|
17420
17636
|
}
|
|
@@ -17515,9 +17731,9 @@ var deserializeAws_restJson1UpdateGroupCommandError = function (output, context)
|
|
|
17515
17731
|
});
|
|
17516
17732
|
}); };
|
|
17517
17733
|
export var deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17518
|
-
var contents, data;
|
|
17519
|
-
return __generator(this, function (
|
|
17520
|
-
switch (
|
|
17734
|
+
var contents, data, _a, _b;
|
|
17735
|
+
return __generator(this, function (_c) {
|
|
17736
|
+
switch (_c.label) {
|
|
17521
17737
|
case 0:
|
|
17522
17738
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17523
17739
|
return [2 /*return*/, deserializeAws_restJson1UpdateIAMPolicyAssignmentCommandError(output, context)];
|
|
@@ -17532,9 +17748,11 @@ export var deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = function (
|
|
|
17532
17748
|
RequestId: undefined,
|
|
17533
17749
|
Status: undefined,
|
|
17534
17750
|
};
|
|
17751
|
+
_a = __expectNonNull;
|
|
17752
|
+
_b = __expectObject;
|
|
17535
17753
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17536
17754
|
case 1:
|
|
17537
|
-
data = _a.sent();
|
|
17755
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17538
17756
|
if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
|
|
17539
17757
|
contents.AssignmentId = __expectString(data.AssignmentId);
|
|
17540
17758
|
}
|
|
@@ -17647,9 +17865,9 @@ var deserializeAws_restJson1UpdateIAMPolicyAssignmentCommandError = function (ou
|
|
|
17647
17865
|
});
|
|
17648
17866
|
}); };
|
|
17649
17867
|
export var deserializeAws_restJson1UpdateTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17650
|
-
var contents, data;
|
|
17651
|
-
return __generator(this, function (
|
|
17652
|
-
switch (
|
|
17868
|
+
var contents, data, _a, _b;
|
|
17869
|
+
return __generator(this, function (_c) {
|
|
17870
|
+
switch (_c.label) {
|
|
17653
17871
|
case 0:
|
|
17654
17872
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17655
17873
|
return [2 /*return*/, deserializeAws_restJson1UpdateTemplateCommandError(output, context)];
|
|
@@ -17663,9 +17881,11 @@ export var deserializeAws_restJson1UpdateTemplateCommand = function (output, con
|
|
|
17663
17881
|
TemplateId: undefined,
|
|
17664
17882
|
VersionArn: undefined,
|
|
17665
17883
|
};
|
|
17884
|
+
_a = __expectNonNull;
|
|
17885
|
+
_b = __expectObject;
|
|
17666
17886
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17667
17887
|
case 1:
|
|
17668
|
-
data = _a.sent();
|
|
17888
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17669
17889
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
17670
17890
|
contents.Arn = __expectString(data.Arn);
|
|
17671
17891
|
}
|
|
@@ -17783,9 +18003,9 @@ var deserializeAws_restJson1UpdateTemplateCommandError = function (output, conte
|
|
|
17783
18003
|
});
|
|
17784
18004
|
}); };
|
|
17785
18005
|
export var deserializeAws_restJson1UpdateTemplateAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17786
|
-
var contents, data;
|
|
17787
|
-
return __generator(this, function (
|
|
17788
|
-
switch (
|
|
18006
|
+
var contents, data, _a, _b;
|
|
18007
|
+
return __generator(this, function (_c) {
|
|
18008
|
+
switch (_c.label) {
|
|
17789
18009
|
case 0:
|
|
17790
18010
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17791
18011
|
return [2 /*return*/, deserializeAws_restJson1UpdateTemplateAliasCommandError(output, context)];
|
|
@@ -17796,9 +18016,11 @@ export var deserializeAws_restJson1UpdateTemplateAliasCommand = function (output
|
|
|
17796
18016
|
Status: undefined,
|
|
17797
18017
|
TemplateAlias: undefined,
|
|
17798
18018
|
};
|
|
18019
|
+
_a = __expectNonNull;
|
|
18020
|
+
_b = __expectObject;
|
|
17799
18021
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17800
18022
|
case 1:
|
|
17801
|
-
data = _a.sent();
|
|
18023
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17802
18024
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
17803
18025
|
contents.RequestId = __expectString(data.RequestId);
|
|
17804
18026
|
}
|
|
@@ -17883,9 +18105,9 @@ var deserializeAws_restJson1UpdateTemplateAliasCommandError = function (output,
|
|
|
17883
18105
|
});
|
|
17884
18106
|
}); };
|
|
17885
18107
|
export var deserializeAws_restJson1UpdateTemplatePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
17886
|
-
var contents, data;
|
|
17887
|
-
return __generator(this, function (
|
|
17888
|
-
switch (
|
|
18108
|
+
var contents, data, _a, _b;
|
|
18109
|
+
return __generator(this, function (_c) {
|
|
18110
|
+
switch (_c.label) {
|
|
17889
18111
|
case 0:
|
|
17890
18112
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
17891
18113
|
return [2 /*return*/, deserializeAws_restJson1UpdateTemplatePermissionsCommandError(output, context)];
|
|
@@ -17898,9 +18120,11 @@ export var deserializeAws_restJson1UpdateTemplatePermissionsCommand = function (
|
|
|
17898
18120
|
TemplateArn: undefined,
|
|
17899
18121
|
TemplateId: undefined,
|
|
17900
18122
|
};
|
|
18123
|
+
_a = __expectNonNull;
|
|
18124
|
+
_b = __expectObject;
|
|
17901
18125
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
17902
18126
|
case 1:
|
|
17903
|
-
data = _a.sent();
|
|
18127
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
17904
18128
|
if (data.Permissions !== undefined && data.Permissions !== null) {
|
|
17905
18129
|
contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
|
|
17906
18130
|
}
|
|
@@ -17999,9 +18223,9 @@ var deserializeAws_restJson1UpdateTemplatePermissionsCommandError = function (ou
|
|
|
17999
18223
|
});
|
|
18000
18224
|
}); };
|
|
18001
18225
|
export var deserializeAws_restJson1UpdateThemeCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
18002
|
-
var contents, data;
|
|
18003
|
-
return __generator(this, function (
|
|
18004
|
-
switch (
|
|
18226
|
+
var contents, data, _a, _b;
|
|
18227
|
+
return __generator(this, function (_c) {
|
|
18228
|
+
switch (_c.label) {
|
|
18005
18229
|
case 0:
|
|
18006
18230
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
18007
18231
|
return [2 /*return*/, deserializeAws_restJson1UpdateThemeCommandError(output, context)];
|
|
@@ -18015,9 +18239,11 @@ export var deserializeAws_restJson1UpdateThemeCommand = function (output, contex
|
|
|
18015
18239
|
ThemeId: undefined,
|
|
18016
18240
|
VersionArn: undefined,
|
|
18017
18241
|
};
|
|
18242
|
+
_a = __expectNonNull;
|
|
18243
|
+
_b = __expectObject;
|
|
18018
18244
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
18019
18245
|
case 1:
|
|
18020
|
-
data = _a.sent();
|
|
18246
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
18021
18247
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
18022
18248
|
contents.Arn = __expectString(data.Arn);
|
|
18023
18249
|
}
|
|
@@ -18135,9 +18361,9 @@ var deserializeAws_restJson1UpdateThemeCommandError = function (output, context)
|
|
|
18135
18361
|
});
|
|
18136
18362
|
}); };
|
|
18137
18363
|
export var deserializeAws_restJson1UpdateThemeAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
18138
|
-
var contents, data;
|
|
18139
|
-
return __generator(this, function (
|
|
18140
|
-
switch (
|
|
18364
|
+
var contents, data, _a, _b;
|
|
18365
|
+
return __generator(this, function (_c) {
|
|
18366
|
+
switch (_c.label) {
|
|
18141
18367
|
case 0:
|
|
18142
18368
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
18143
18369
|
return [2 /*return*/, deserializeAws_restJson1UpdateThemeAliasCommandError(output, context)];
|
|
@@ -18148,9 +18374,11 @@ export var deserializeAws_restJson1UpdateThemeAliasCommand = function (output, c
|
|
|
18148
18374
|
Status: undefined,
|
|
18149
18375
|
ThemeAlias: undefined,
|
|
18150
18376
|
};
|
|
18377
|
+
_a = __expectNonNull;
|
|
18378
|
+
_b = __expectObject;
|
|
18151
18379
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
18152
18380
|
case 1:
|
|
18153
|
-
data = _a.sent();
|
|
18381
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
18154
18382
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
18155
18383
|
contents.RequestId = __expectString(data.RequestId);
|
|
18156
18384
|
}
|
|
@@ -18251,9 +18479,9 @@ var deserializeAws_restJson1UpdateThemeAliasCommandError = function (output, con
|
|
|
18251
18479
|
});
|
|
18252
18480
|
}); };
|
|
18253
18481
|
export var deserializeAws_restJson1UpdateThemePermissionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
18254
|
-
var contents, data;
|
|
18255
|
-
return __generator(this, function (
|
|
18256
|
-
switch (
|
|
18482
|
+
var contents, data, _a, _b;
|
|
18483
|
+
return __generator(this, function (_c) {
|
|
18484
|
+
switch (_c.label) {
|
|
18257
18485
|
case 0:
|
|
18258
18486
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
18259
18487
|
return [2 /*return*/, deserializeAws_restJson1UpdateThemePermissionsCommandError(output, context)];
|
|
@@ -18266,9 +18494,11 @@ export var deserializeAws_restJson1UpdateThemePermissionsCommand = function (out
|
|
|
18266
18494
|
ThemeArn: undefined,
|
|
18267
18495
|
ThemeId: undefined,
|
|
18268
18496
|
};
|
|
18497
|
+
_a = __expectNonNull;
|
|
18498
|
+
_b = __expectObject;
|
|
18269
18499
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
18270
18500
|
case 1:
|
|
18271
|
-
data = _a.sent();
|
|
18501
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
18272
18502
|
if (data.Permissions !== undefined && data.Permissions !== null) {
|
|
18273
18503
|
contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
|
|
18274
18504
|
}
|
|
@@ -18367,9 +18597,9 @@ var deserializeAws_restJson1UpdateThemePermissionsCommandError = function (outpu
|
|
|
18367
18597
|
});
|
|
18368
18598
|
}); };
|
|
18369
18599
|
export var deserializeAws_restJson1UpdateUserCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
18370
|
-
var contents, data;
|
|
18371
|
-
return __generator(this, function (
|
|
18372
|
-
switch (
|
|
18600
|
+
var contents, data, _a, _b;
|
|
18601
|
+
return __generator(this, function (_c) {
|
|
18602
|
+
switch (_c.label) {
|
|
18373
18603
|
case 0:
|
|
18374
18604
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
18375
18605
|
return [2 /*return*/, deserializeAws_restJson1UpdateUserCommandError(output, context)];
|
|
@@ -18380,9 +18610,11 @@ export var deserializeAws_restJson1UpdateUserCommand = function (output, context
|
|
|
18380
18610
|
Status: undefined,
|
|
18381
18611
|
User: undefined,
|
|
18382
18612
|
};
|
|
18613
|
+
_a = __expectNonNull;
|
|
18614
|
+
_b = __expectObject;
|
|
18383
18615
|
return [4 /*yield*/, parseBody(output.body, context)];
|
|
18384
18616
|
case 1:
|
|
18385
|
-
data = _a.sent();
|
|
18617
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
18386
18618
|
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
18387
18619
|
contents.RequestId = __expectString(data.RequestId);
|
|
18388
18620
|
}
|
|
@@ -18878,6 +19110,9 @@ var serializeAws_restJson1AdHocFilteringOption = function (input, context) {
|
|
|
18878
19110
|
var serializeAws_restJson1AmazonElasticsearchParameters = function (input, context) {
|
|
18879
19111
|
return __assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }));
|
|
18880
19112
|
};
|
|
19113
|
+
var serializeAws_restJson1AmazonOpenSearchParameters = function (input, context) {
|
|
19114
|
+
return __assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }));
|
|
19115
|
+
};
|
|
18881
19116
|
var serializeAws_restJson1AnalysisSearchFilter = function (input, context) {
|
|
18882
19117
|
return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
18883
19118
|
};
|
|
@@ -19035,6 +19270,16 @@ var serializeAws_restJson1ColumnTagList = function (input, context) {
|
|
|
19035
19270
|
return serializeAws_restJson1ColumnTag(entry, context);
|
|
19036
19271
|
});
|
|
19037
19272
|
};
|
|
19273
|
+
var serializeAws_restJson1ColumnTagNames = function (input, context) {
|
|
19274
|
+
return input
|
|
19275
|
+
.filter(function (e) { return e != null; })
|
|
19276
|
+
.map(function (entry) {
|
|
19277
|
+
if (entry === null) {
|
|
19278
|
+
return null;
|
|
19279
|
+
}
|
|
19280
|
+
return entry;
|
|
19281
|
+
});
|
|
19282
|
+
};
|
|
19038
19283
|
var serializeAws_restJson1CreateColumnsOperation = function (input, context) {
|
|
19039
19284
|
return __assign({}, (input.Columns !== undefined &&
|
|
19040
19285
|
input.Columns !== null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }));
|
|
@@ -19108,6 +19353,13 @@ var serializeAws_restJson1DataSetReferenceList = function (input, context) {
|
|
|
19108
19353
|
return serializeAws_restJson1DataSetReference(entry, context);
|
|
19109
19354
|
});
|
|
19110
19355
|
};
|
|
19356
|
+
var serializeAws_restJson1DataSetUsageConfiguration = function (input, context) {
|
|
19357
|
+
return __assign(__assign({}, (input.DisableUseAsDirectQuerySource !== undefined &&
|
|
19358
|
+
input.DisableUseAsDirectQuerySource !== null && {
|
|
19359
|
+
DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
|
|
19360
|
+
})), (input.DisableUseAsImportedSource !== undefined &&
|
|
19361
|
+
input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
|
|
19362
|
+
};
|
|
19111
19363
|
var serializeAws_restJson1DataSourceCredentials = function (input, context) {
|
|
19112
19364
|
return __assign(__assign({}, (input.CopySourceArn !== undefined && input.CopySourceArn !== null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair !== undefined &&
|
|
19113
19365
|
input.CredentialPair !== null && {
|
|
@@ -19119,6 +19371,9 @@ var serializeAws_restJson1DataSourceParameters = function (input, context) {
|
|
|
19119
19371
|
AmazonElasticsearchParameters: function (value) { return ({
|
|
19120
19372
|
AmazonElasticsearchParameters: serializeAws_restJson1AmazonElasticsearchParameters(value, context),
|
|
19121
19373
|
}); },
|
|
19374
|
+
AmazonOpenSearchParameters: function (value) { return ({
|
|
19375
|
+
AmazonOpenSearchParameters: serializeAws_restJson1AmazonOpenSearchParameters(value, context),
|
|
19376
|
+
}); },
|
|
19122
19377
|
AthenaParameters: function (value) { return ({ AthenaParameters: serializeAws_restJson1AthenaParameters(value, context) }); },
|
|
19123
19378
|
AuroraParameters: function (value) { return ({ AuroraParameters: serializeAws_restJson1AuroraParameters(value, context) }); },
|
|
19124
19379
|
AuroraPostgreSqlParameters: function (value) { return ({
|
|
@@ -19333,7 +19588,7 @@ var serializeAws_restJson1LogicalTableMap = function (input, context) {
|
|
|
19333
19588
|
}, {});
|
|
19334
19589
|
};
|
|
19335
19590
|
var serializeAws_restJson1LogicalTableSource = function (input, context) {
|
|
19336
|
-
return __assign(__assign({}, (input.JoinInstruction !== undefined &&
|
|
19591
|
+
return __assign(__assign(__assign({}, (input.DataSetArn !== undefined && input.DataSetArn !== null && { DataSetArn: input.DataSetArn })), (input.JoinInstruction !== undefined &&
|
|
19337
19592
|
input.JoinInstruction !== null && {
|
|
19338
19593
|
JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
|
|
19339
19594
|
})), (input.PhysicalTableId !== undefined &&
|
|
@@ -19655,6 +19910,9 @@ var serializeAws_restJson1TransformOperation = function (input, context) {
|
|
|
19655
19910
|
RenameColumnOperation: serializeAws_restJson1RenameColumnOperation(value, context),
|
|
19656
19911
|
}); },
|
|
19657
19912
|
TagColumnOperation: function (value) { return ({ TagColumnOperation: serializeAws_restJson1TagColumnOperation(value, context) }); },
|
|
19913
|
+
UntagColumnOperation: function (value) { return ({
|
|
19914
|
+
UntagColumnOperation: serializeAws_restJson1UntagColumnOperation(value, context),
|
|
19915
|
+
}); },
|
|
19658
19916
|
_: function (name, value) { return ({ name: value }); },
|
|
19659
19917
|
});
|
|
19660
19918
|
};
|
|
@@ -19684,6 +19942,10 @@ var serializeAws_restJson1UIColorPalette = function (input, context) {
|
|
|
19684
19942
|
input.SuccessForeground !== null && { SuccessForeground: input.SuccessForeground })), (input.Warning !== undefined && input.Warning !== null && { Warning: input.Warning })), (input.WarningForeground !== undefined &&
|
|
19685
19943
|
input.WarningForeground !== null && { WarningForeground: input.WarningForeground }));
|
|
19686
19944
|
};
|
|
19945
|
+
var serializeAws_restJson1UntagColumnOperation = function (input, context) {
|
|
19946
|
+
return __assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.TagNames !== undefined &&
|
|
19947
|
+
input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }));
|
|
19948
|
+
};
|
|
19687
19949
|
var serializeAws_restJson1UpdateResourcePermissionList = function (input, context) {
|
|
19688
19950
|
return input
|
|
19689
19951
|
.filter(function (e) { return e != null; })
|
|
@@ -19746,12 +20008,17 @@ var deserializeAws_restJson1AmazonElasticsearchParameters = function (output, co
|
|
|
19746
20008
|
Domain: __expectString(output.Domain),
|
|
19747
20009
|
};
|
|
19748
20010
|
};
|
|
20011
|
+
var deserializeAws_restJson1AmazonOpenSearchParameters = function (output, context) {
|
|
20012
|
+
return {
|
|
20013
|
+
Domain: __expectString(output.Domain),
|
|
20014
|
+
};
|
|
20015
|
+
};
|
|
19749
20016
|
var deserializeAws_restJson1Analysis = function (output, context) {
|
|
19750
20017
|
return {
|
|
19751
20018
|
AnalysisId: __expectString(output.AnalysisId),
|
|
19752
20019
|
Arn: __expectString(output.Arn),
|
|
19753
20020
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
19754
|
-
?
|
|
20021
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19755
20022
|
: undefined,
|
|
19756
20023
|
DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
|
|
19757
20024
|
? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
|
|
@@ -19760,7 +20027,7 @@ var deserializeAws_restJson1Analysis = function (output, context) {
|
|
|
19760
20027
|
? deserializeAws_restJson1AnalysisErrorList(output.Errors, context)
|
|
19761
20028
|
: undefined,
|
|
19762
20029
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
19763
|
-
?
|
|
20030
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
19764
20031
|
: undefined,
|
|
19765
20032
|
Name: __expectString(output.Name),
|
|
19766
20033
|
Sheets: output.Sheets !== undefined && output.Sheets !== null
|
|
@@ -19791,10 +20058,10 @@ var deserializeAws_restJson1AnalysisSummary = function (output, context) {
|
|
|
19791
20058
|
AnalysisId: __expectString(output.AnalysisId),
|
|
19792
20059
|
Arn: __expectString(output.Arn),
|
|
19793
20060
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
19794
|
-
?
|
|
20061
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
19795
20062
|
: undefined,
|
|
19796
20063
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
19797
|
-
?
|
|
20064
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
19798
20065
|
: undefined,
|
|
19799
20066
|
Name: __expectString(output.Name),
|
|
19800
20067
|
Status: __expectString(output.Status),
|
|
@@ -19819,14 +20086,14 @@ var deserializeAws_restJson1AuroraParameters = function (output, context) {
|
|
|
19819
20086
|
return {
|
|
19820
20087
|
Database: __expectString(output.Database),
|
|
19821
20088
|
Host: __expectString(output.Host),
|
|
19822
|
-
Port:
|
|
20089
|
+
Port: __expectInt32(output.Port),
|
|
19823
20090
|
};
|
|
19824
20091
|
};
|
|
19825
20092
|
var deserializeAws_restJson1AuroraPostgreSqlParameters = function (output, context) {
|
|
19826
20093
|
return {
|
|
19827
20094
|
Database: __expectString(output.Database),
|
|
19828
20095
|
Host: __expectString(output.Host),
|
|
19829
|
-
Port:
|
|
20096
|
+
Port: __expectInt32(output.Port),
|
|
19830
20097
|
};
|
|
19831
20098
|
};
|
|
19832
20099
|
var deserializeAws_restJson1AwsIotAnalyticsParameters = function (output, context) {
|
|
@@ -20003,6 +20270,16 @@ var deserializeAws_restJson1ColumnTagList = function (output, context) {
|
|
|
20003
20270
|
return deserializeAws_restJson1ColumnTag(entry, context);
|
|
20004
20271
|
});
|
|
20005
20272
|
};
|
|
20273
|
+
var deserializeAws_restJson1ColumnTagNames = function (output, context) {
|
|
20274
|
+
return (output || [])
|
|
20275
|
+
.filter(function (e) { return e != null; })
|
|
20276
|
+
.map(function (entry) {
|
|
20277
|
+
if (entry === null) {
|
|
20278
|
+
return null;
|
|
20279
|
+
}
|
|
20280
|
+
return __expectString(entry);
|
|
20281
|
+
});
|
|
20282
|
+
};
|
|
20006
20283
|
var deserializeAws_restJson1CreateColumnsOperation = function (output, context) {
|
|
20007
20284
|
return {
|
|
20008
20285
|
Columns: output.Columns !== undefined && output.Columns !== null
|
|
@@ -20024,14 +20301,14 @@ var deserializeAws_restJson1Dashboard = function (output, context) {
|
|
|
20024
20301
|
return {
|
|
20025
20302
|
Arn: __expectString(output.Arn),
|
|
20026
20303
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20027
|
-
?
|
|
20304
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20028
20305
|
: undefined,
|
|
20029
20306
|
DashboardId: __expectString(output.DashboardId),
|
|
20030
20307
|
LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
|
|
20031
|
-
?
|
|
20308
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
|
|
20032
20309
|
: undefined,
|
|
20033
20310
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20034
|
-
?
|
|
20311
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20035
20312
|
: undefined,
|
|
20036
20313
|
Name: __expectString(output.Name),
|
|
20037
20314
|
Version: output.Version !== undefined && output.Version !== null
|
|
@@ -20059,17 +20336,17 @@ var deserializeAws_restJson1DashboardSummary = function (output, context) {
|
|
|
20059
20336
|
return {
|
|
20060
20337
|
Arn: __expectString(output.Arn),
|
|
20061
20338
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20062
|
-
?
|
|
20339
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20063
20340
|
: undefined,
|
|
20064
20341
|
DashboardId: __expectString(output.DashboardId),
|
|
20065
20342
|
LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
|
|
20066
|
-
?
|
|
20343
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
|
|
20067
20344
|
: undefined,
|
|
20068
20345
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20069
|
-
?
|
|
20346
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20070
20347
|
: undefined,
|
|
20071
20348
|
Name: __expectString(output.Name),
|
|
20072
|
-
PublishedVersionNumber:
|
|
20349
|
+
PublishedVersionNumber: __expectLong(output.PublishedVersionNumber),
|
|
20073
20350
|
};
|
|
20074
20351
|
};
|
|
20075
20352
|
var deserializeAws_restJson1DashboardSummaryList = function (output, context) {
|
|
@@ -20086,7 +20363,7 @@ var deserializeAws_restJson1DashboardVersion = function (output, context) {
|
|
|
20086
20363
|
return {
|
|
20087
20364
|
Arn: __expectString(output.Arn),
|
|
20088
20365
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20089
|
-
?
|
|
20366
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20090
20367
|
: undefined,
|
|
20091
20368
|
DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
|
|
20092
20369
|
? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
|
|
@@ -20101,19 +20378,19 @@ var deserializeAws_restJson1DashboardVersion = function (output, context) {
|
|
|
20101
20378
|
SourceEntityArn: __expectString(output.SourceEntityArn),
|
|
20102
20379
|
Status: __expectString(output.Status),
|
|
20103
20380
|
ThemeArn: __expectString(output.ThemeArn),
|
|
20104
|
-
VersionNumber:
|
|
20381
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
20105
20382
|
};
|
|
20106
20383
|
};
|
|
20107
20384
|
var deserializeAws_restJson1DashboardVersionSummary = function (output, context) {
|
|
20108
20385
|
return {
|
|
20109
20386
|
Arn: __expectString(output.Arn),
|
|
20110
20387
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20111
|
-
?
|
|
20388
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20112
20389
|
: undefined,
|
|
20113
20390
|
Description: __expectString(output.Description),
|
|
20114
20391
|
SourceEntityArn: __expectString(output.SourceEntityArn),
|
|
20115
20392
|
Status: __expectString(output.Status),
|
|
20116
|
-
VersionNumber:
|
|
20393
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
20117
20394
|
};
|
|
20118
20395
|
};
|
|
20119
20396
|
var deserializeAws_restJson1DashboardVersionSummaryList = function (output, context) {
|
|
@@ -20146,17 +20423,20 @@ var deserializeAws_restJson1DataSet = function (output, context) {
|
|
|
20146
20423
|
ColumnLevelPermissionRules: output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
|
|
20147
20424
|
? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
|
|
20148
20425
|
: undefined,
|
|
20149
|
-
ConsumedSpiceCapacityInBytes:
|
|
20426
|
+
ConsumedSpiceCapacityInBytes: __expectLong(output.ConsumedSpiceCapacityInBytes),
|
|
20150
20427
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20151
|
-
?
|
|
20428
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20152
20429
|
: undefined,
|
|
20153
20430
|
DataSetId: __expectString(output.DataSetId),
|
|
20431
|
+
DataSetUsageConfiguration: output.DataSetUsageConfiguration !== undefined && output.DataSetUsageConfiguration !== null
|
|
20432
|
+
? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
|
|
20433
|
+
: undefined,
|
|
20154
20434
|
FieldFolders: output.FieldFolders !== undefined && output.FieldFolders !== null
|
|
20155
20435
|
? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
|
|
20156
20436
|
: undefined,
|
|
20157
20437
|
ImportMode: __expectString(output.ImportMode),
|
|
20158
20438
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20159
|
-
?
|
|
20439
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20160
20440
|
: undefined,
|
|
20161
20441
|
LogicalTableMap: output.LogicalTableMap !== undefined && output.LogicalTableMap !== null
|
|
20162
20442
|
? deserializeAws_restJson1LogicalTableMap(output.LogicalTableMap, context)
|
|
@@ -20219,12 +20499,12 @@ var deserializeAws_restJson1DataSetSummary = function (output, context) {
|
|
|
20219
20499
|
Arn: __expectString(output.Arn),
|
|
20220
20500
|
ColumnLevelPermissionRulesApplied: __expectBoolean(output.ColumnLevelPermissionRulesApplied),
|
|
20221
20501
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20222
|
-
?
|
|
20502
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20223
20503
|
: undefined,
|
|
20224
20504
|
DataSetId: __expectString(output.DataSetId),
|
|
20225
20505
|
ImportMode: __expectString(output.ImportMode),
|
|
20226
20506
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20227
|
-
?
|
|
20507
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20228
20508
|
: undefined,
|
|
20229
20509
|
Name: __expectString(output.Name),
|
|
20230
20510
|
RowLevelPermissionDataSet: output.RowLevelPermissionDataSet !== undefined && output.RowLevelPermissionDataSet !== null
|
|
@@ -20243,6 +20523,12 @@ var deserializeAws_restJson1DataSetSummaryList = function (output, context) {
|
|
|
20243
20523
|
return deserializeAws_restJson1DataSetSummary(entry, context);
|
|
20244
20524
|
});
|
|
20245
20525
|
};
|
|
20526
|
+
var deserializeAws_restJson1DataSetUsageConfiguration = function (output, context) {
|
|
20527
|
+
return {
|
|
20528
|
+
DisableUseAsDirectQuerySource: __expectBoolean(output.DisableUseAsDirectQuerySource),
|
|
20529
|
+
DisableUseAsImportedSource: __expectBoolean(output.DisableUseAsImportedSource),
|
|
20530
|
+
};
|
|
20531
|
+
};
|
|
20246
20532
|
var deserializeAws_restJson1DataSource = function (output, context) {
|
|
20247
20533
|
return {
|
|
20248
20534
|
AlternateDataSourceParameters: output.AlternateDataSourceParameters !== undefined && output.AlternateDataSourceParameters !== null
|
|
@@ -20250,17 +20536,17 @@ var deserializeAws_restJson1DataSource = function (output, context) {
|
|
|
20250
20536
|
: undefined,
|
|
20251
20537
|
Arn: __expectString(output.Arn),
|
|
20252
20538
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20253
|
-
?
|
|
20539
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20254
20540
|
: undefined,
|
|
20255
20541
|
DataSourceId: __expectString(output.DataSourceId),
|
|
20256
20542
|
DataSourceParameters: output.DataSourceParameters !== undefined && output.DataSourceParameters !== null
|
|
20257
|
-
? deserializeAws_restJson1DataSourceParameters(output.DataSourceParameters, context)
|
|
20543
|
+
? deserializeAws_restJson1DataSourceParameters(__expectUnion(output.DataSourceParameters), context)
|
|
20258
20544
|
: undefined,
|
|
20259
20545
|
ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
|
|
20260
20546
|
? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context)
|
|
20261
20547
|
: undefined,
|
|
20262
20548
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20263
|
-
?
|
|
20549
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20264
20550
|
: undefined,
|
|
20265
20551
|
Name: __expectString(output.Name),
|
|
20266
20552
|
SslProperties: output.SslProperties !== undefined && output.SslProperties !== null
|
|
@@ -20295,6 +20581,11 @@ var deserializeAws_restJson1DataSourceParameters = function (output, context) {
|
|
|
20295
20581
|
AmazonElasticsearchParameters: deserializeAws_restJson1AmazonElasticsearchParameters(output.AmazonElasticsearchParameters, context),
|
|
20296
20582
|
};
|
|
20297
20583
|
}
|
|
20584
|
+
if (output.AmazonOpenSearchParameters !== undefined && output.AmazonOpenSearchParameters !== null) {
|
|
20585
|
+
return {
|
|
20586
|
+
AmazonOpenSearchParameters: deserializeAws_restJson1AmazonOpenSearchParameters(output.AmazonOpenSearchParameters, context),
|
|
20587
|
+
};
|
|
20588
|
+
}
|
|
20298
20589
|
if (output.AthenaParameters !== undefined && output.AthenaParameters !== null) {
|
|
20299
20590
|
return {
|
|
20300
20591
|
AthenaParameters: deserializeAws_restJson1AthenaParameters(output.AthenaParameters, context),
|
|
@@ -20399,7 +20690,7 @@ var deserializeAws_restJson1DataSourceParametersList = function (output, context
|
|
|
20399
20690
|
if (entry === null) {
|
|
20400
20691
|
return null;
|
|
20401
20692
|
}
|
|
20402
|
-
return deserializeAws_restJson1DataSourceParameters(entry, context);
|
|
20693
|
+
return deserializeAws_restJson1DataSourceParameters(__expectUnion(entry), context);
|
|
20403
20694
|
});
|
|
20404
20695
|
};
|
|
20405
20696
|
var deserializeAws_restJson1ErrorInfo = function (output, context) {
|
|
@@ -20435,7 +20726,7 @@ var deserializeAws_restJson1Folder = function (output, context) {
|
|
|
20435
20726
|
return {
|
|
20436
20727
|
Arn: __expectString(output.Arn),
|
|
20437
20728
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20438
|
-
?
|
|
20729
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20439
20730
|
: undefined,
|
|
20440
20731
|
FolderId: __expectString(output.FolderId),
|
|
20441
20732
|
FolderPath: output.FolderPath !== undefined && output.FolderPath !== null
|
|
@@ -20443,7 +20734,7 @@ var deserializeAws_restJson1Folder = function (output, context) {
|
|
|
20443
20734
|
: undefined,
|
|
20444
20735
|
FolderType: __expectString(output.FolderType),
|
|
20445
20736
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20446
|
-
?
|
|
20737
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20447
20738
|
: undefined,
|
|
20448
20739
|
Name: __expectString(output.Name),
|
|
20449
20740
|
};
|
|
@@ -20478,12 +20769,12 @@ var deserializeAws_restJson1FolderSummary = function (output, context) {
|
|
|
20478
20769
|
return {
|
|
20479
20770
|
Arn: __expectString(output.Arn),
|
|
20480
20771
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20481
|
-
?
|
|
20772
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20482
20773
|
: undefined,
|
|
20483
20774
|
FolderId: __expectString(output.FolderId),
|
|
20484
20775
|
FolderType: __expectString(output.FolderType),
|
|
20485
20776
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
20486
|
-
?
|
|
20777
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
20487
20778
|
: undefined,
|
|
20488
20779
|
Name: __expectString(output.Name),
|
|
20489
20780
|
};
|
|
@@ -20598,15 +20889,15 @@ var deserializeAws_restJson1Ingestion = function (output, context) {
|
|
|
20598
20889
|
return {
|
|
20599
20890
|
Arn: __expectString(output.Arn),
|
|
20600
20891
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
20601
|
-
?
|
|
20892
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
20602
20893
|
: undefined,
|
|
20603
20894
|
ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
|
|
20604
20895
|
? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
|
|
20605
20896
|
: undefined,
|
|
20606
20897
|
IngestionId: __expectString(output.IngestionId),
|
|
20607
|
-
IngestionSizeInBytes:
|
|
20898
|
+
IngestionSizeInBytes: __expectLong(output.IngestionSizeInBytes),
|
|
20608
20899
|
IngestionStatus: __expectString(output.IngestionStatus),
|
|
20609
|
-
IngestionTimeInSeconds:
|
|
20900
|
+
IngestionTimeInSeconds: __expectLong(output.IngestionTimeInSeconds),
|
|
20610
20901
|
QueueInfo: output.QueueInfo !== undefined && output.QueueInfo !== null
|
|
20611
20902
|
? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
|
|
20612
20903
|
: undefined,
|
|
@@ -20690,6 +20981,7 @@ var deserializeAws_restJson1LogicalTableMap = function (output, context) {
|
|
|
20690
20981
|
};
|
|
20691
20982
|
var deserializeAws_restJson1LogicalTableSource = function (output, context) {
|
|
20692
20983
|
return {
|
|
20984
|
+
DataSetArn: __expectString(output.DataSetArn),
|
|
20693
20985
|
JoinInstruction: output.JoinInstruction !== undefined && output.JoinInstruction !== null
|
|
20694
20986
|
? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
|
|
20695
20987
|
: undefined,
|
|
@@ -20711,7 +21003,7 @@ var deserializeAws_restJson1MariaDbParameters = function (output, context) {
|
|
|
20711
21003
|
return {
|
|
20712
21004
|
Database: __expectString(output.Database),
|
|
20713
21005
|
Host: __expectString(output.Host),
|
|
20714
|
-
Port:
|
|
21006
|
+
Port: __expectInt32(output.Port),
|
|
20715
21007
|
};
|
|
20716
21008
|
};
|
|
20717
21009
|
var deserializeAws_restJson1MemberIdArnPair = function (output, context) {
|
|
@@ -20724,7 +21016,7 @@ var deserializeAws_restJson1MySqlParameters = function (output, context) {
|
|
|
20724
21016
|
return {
|
|
20725
21017
|
Database: __expectString(output.Database),
|
|
20726
21018
|
Host: __expectString(output.Host),
|
|
20727
|
-
Port:
|
|
21019
|
+
Port: __expectInt32(output.Port),
|
|
20728
21020
|
};
|
|
20729
21021
|
};
|
|
20730
21022
|
var deserializeAws_restJson1NamespaceError = function (output, context) {
|
|
@@ -20759,7 +21051,7 @@ var deserializeAws_restJson1OracleParameters = function (output, context) {
|
|
|
20759
21051
|
return {
|
|
20760
21052
|
Database: __expectString(output.Database),
|
|
20761
21053
|
Host: __expectString(output.Host),
|
|
20762
|
-
Port:
|
|
21054
|
+
Port: __expectInt32(output.Port),
|
|
20763
21055
|
};
|
|
20764
21056
|
};
|
|
20765
21057
|
var deserializeAws_restJson1OutputColumn = function (output, context) {
|
|
@@ -20814,21 +21106,21 @@ var deserializeAws_restJson1PhysicalTableMap = function (output, context) {
|
|
|
20814
21106
|
if (value === null) {
|
|
20815
21107
|
return acc;
|
|
20816
21108
|
}
|
|
20817
|
-
return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_restJson1PhysicalTable(value, context), _b));
|
|
21109
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_restJson1PhysicalTable(__expectUnion(value), context), _b));
|
|
20818
21110
|
}, {});
|
|
20819
21111
|
};
|
|
20820
21112
|
var deserializeAws_restJson1PostgreSqlParameters = function (output, context) {
|
|
20821
21113
|
return {
|
|
20822
21114
|
Database: __expectString(output.Database),
|
|
20823
21115
|
Host: __expectString(output.Host),
|
|
20824
|
-
Port:
|
|
21116
|
+
Port: __expectInt32(output.Port),
|
|
20825
21117
|
};
|
|
20826
21118
|
};
|
|
20827
21119
|
var deserializeAws_restJson1PrestoParameters = function (output, context) {
|
|
20828
21120
|
return {
|
|
20829
21121
|
Catalog: __expectString(output.Catalog),
|
|
20830
21122
|
Host: __expectString(output.Host),
|
|
20831
|
-
Port:
|
|
21123
|
+
Port: __expectInt32(output.Port),
|
|
20832
21124
|
};
|
|
20833
21125
|
};
|
|
20834
21126
|
var deserializeAws_restJson1PrincipalList = function (output, context) {
|
|
@@ -20875,7 +21167,7 @@ var deserializeAws_restJson1RedshiftParameters = function (output, context) {
|
|
|
20875
21167
|
ClusterId: __expectString(output.ClusterId),
|
|
20876
21168
|
Database: __expectString(output.Database),
|
|
20877
21169
|
Host: __expectString(output.Host),
|
|
20878
|
-
Port:
|
|
21170
|
+
Port: __expectInt32(output.Port),
|
|
20879
21171
|
};
|
|
20880
21172
|
};
|
|
20881
21173
|
var deserializeAws_restJson1RelationalTable = function (output, context) {
|
|
@@ -20915,8 +21207,8 @@ var deserializeAws_restJson1ResourcePermissionList = function (output, context)
|
|
|
20915
21207
|
};
|
|
20916
21208
|
var deserializeAws_restJson1RowInfo = function (output, context) {
|
|
20917
21209
|
return {
|
|
20918
|
-
RowsDropped:
|
|
20919
|
-
RowsIngested:
|
|
21210
|
+
RowsDropped: __expectLong(output.RowsDropped),
|
|
21211
|
+
RowsIngested: __expectLong(output.RowsIngested),
|
|
20920
21212
|
};
|
|
20921
21213
|
};
|
|
20922
21214
|
var deserializeAws_restJson1RowLevelPermissionDataSet = function (output, context) {
|
|
@@ -21013,14 +21305,14 @@ var deserializeAws_restJson1SnowflakeParameters = function (output, context) {
|
|
|
21013
21305
|
var deserializeAws_restJson1SparkParameters = function (output, context) {
|
|
21014
21306
|
return {
|
|
21015
21307
|
Host: __expectString(output.Host),
|
|
21016
|
-
Port:
|
|
21308
|
+
Port: __expectInt32(output.Port),
|
|
21017
21309
|
};
|
|
21018
21310
|
};
|
|
21019
21311
|
var deserializeAws_restJson1SqlServerParameters = function (output, context) {
|
|
21020
21312
|
return {
|
|
21021
21313
|
Database: __expectString(output.Database),
|
|
21022
21314
|
Host: __expectString(output.Host),
|
|
21023
|
-
Port:
|
|
21315
|
+
Port: __expectInt32(output.Port),
|
|
21024
21316
|
};
|
|
21025
21317
|
};
|
|
21026
21318
|
var deserializeAws_restJson1SslProperties = function (output, context) {
|
|
@@ -21056,10 +21348,10 @@ var deserializeAws_restJson1Template = function (output, context) {
|
|
|
21056
21348
|
return {
|
|
21057
21349
|
Arn: __expectString(output.Arn),
|
|
21058
21350
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21059
|
-
?
|
|
21351
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21060
21352
|
: undefined,
|
|
21061
21353
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
21062
|
-
?
|
|
21354
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
21063
21355
|
: undefined,
|
|
21064
21356
|
Name: __expectString(output.Name),
|
|
21065
21357
|
TemplateId: __expectString(output.TemplateId),
|
|
@@ -21072,7 +21364,7 @@ var deserializeAws_restJson1TemplateAlias = function (output, context) {
|
|
|
21072
21364
|
return {
|
|
21073
21365
|
AliasName: __expectString(output.AliasName),
|
|
21074
21366
|
Arn: __expectString(output.Arn),
|
|
21075
|
-
TemplateVersionNumber:
|
|
21367
|
+
TemplateVersionNumber: __expectLong(output.TemplateVersionNumber),
|
|
21076
21368
|
};
|
|
21077
21369
|
};
|
|
21078
21370
|
var deserializeAws_restJson1TemplateAliasList = function (output, context) {
|
|
@@ -21105,12 +21397,12 @@ var deserializeAws_restJson1TemplateSummary = function (output, context) {
|
|
|
21105
21397
|
return {
|
|
21106
21398
|
Arn: __expectString(output.Arn),
|
|
21107
21399
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21108
|
-
?
|
|
21400
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21109
21401
|
: undefined,
|
|
21110
21402
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
21111
|
-
?
|
|
21403
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
21112
21404
|
: undefined,
|
|
21113
|
-
LatestVersionNumber:
|
|
21405
|
+
LatestVersionNumber: __expectLong(output.LatestVersionNumber),
|
|
21114
21406
|
Name: __expectString(output.Name),
|
|
21115
21407
|
TemplateId: __expectString(output.TemplateId),
|
|
21116
21408
|
};
|
|
@@ -21128,7 +21420,7 @@ var deserializeAws_restJson1TemplateSummaryList = function (output, context) {
|
|
|
21128
21420
|
var deserializeAws_restJson1TemplateVersion = function (output, context) {
|
|
21129
21421
|
return {
|
|
21130
21422
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21131
|
-
?
|
|
21423
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21132
21424
|
: undefined,
|
|
21133
21425
|
DataSetConfigurations: output.DataSetConfigurations !== undefined && output.DataSetConfigurations !== null
|
|
21134
21426
|
? deserializeAws_restJson1DataSetConfigurationList(output.DataSetConfigurations, context)
|
|
@@ -21143,18 +21435,18 @@ var deserializeAws_restJson1TemplateVersion = function (output, context) {
|
|
|
21143
21435
|
SourceEntityArn: __expectString(output.SourceEntityArn),
|
|
21144
21436
|
Status: __expectString(output.Status),
|
|
21145
21437
|
ThemeArn: __expectString(output.ThemeArn),
|
|
21146
|
-
VersionNumber:
|
|
21438
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
21147
21439
|
};
|
|
21148
21440
|
};
|
|
21149
21441
|
var deserializeAws_restJson1TemplateVersionSummary = function (output, context) {
|
|
21150
21442
|
return {
|
|
21151
21443
|
Arn: __expectString(output.Arn),
|
|
21152
21444
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21153
|
-
?
|
|
21445
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21154
21446
|
: undefined,
|
|
21155
21447
|
Description: __expectString(output.Description),
|
|
21156
21448
|
Status: __expectString(output.Status),
|
|
21157
|
-
VersionNumber:
|
|
21449
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
21158
21450
|
};
|
|
21159
21451
|
};
|
|
21160
21452
|
var deserializeAws_restJson1TemplateVersionSummaryList = function (output, context) {
|
|
@@ -21171,17 +21463,17 @@ var deserializeAws_restJson1TeradataParameters = function (output, context) {
|
|
|
21171
21463
|
return {
|
|
21172
21464
|
Database: __expectString(output.Database),
|
|
21173
21465
|
Host: __expectString(output.Host),
|
|
21174
|
-
Port:
|
|
21466
|
+
Port: __expectInt32(output.Port),
|
|
21175
21467
|
};
|
|
21176
21468
|
};
|
|
21177
21469
|
var deserializeAws_restJson1Theme = function (output, context) {
|
|
21178
21470
|
return {
|
|
21179
21471
|
Arn: __expectString(output.Arn),
|
|
21180
21472
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21181
|
-
?
|
|
21473
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21182
21474
|
: undefined,
|
|
21183
21475
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
21184
|
-
?
|
|
21476
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
21185
21477
|
: undefined,
|
|
21186
21478
|
Name: __expectString(output.Name),
|
|
21187
21479
|
ThemeId: __expectString(output.ThemeId),
|
|
@@ -21195,7 +21487,7 @@ var deserializeAws_restJson1ThemeAlias = function (output, context) {
|
|
|
21195
21487
|
return {
|
|
21196
21488
|
AliasName: __expectString(output.AliasName),
|
|
21197
21489
|
Arn: __expectString(output.Arn),
|
|
21198
|
-
ThemeVersionNumber:
|
|
21490
|
+
ThemeVersionNumber: __expectLong(output.ThemeVersionNumber),
|
|
21199
21491
|
};
|
|
21200
21492
|
};
|
|
21201
21493
|
var deserializeAws_restJson1ThemeAliasList = function (output, context) {
|
|
@@ -21241,12 +21533,12 @@ var deserializeAws_restJson1ThemeSummary = function (output, context) {
|
|
|
21241
21533
|
return {
|
|
21242
21534
|
Arn: __expectString(output.Arn),
|
|
21243
21535
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21244
|
-
?
|
|
21536
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21245
21537
|
: undefined,
|
|
21246
21538
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
21247
|
-
?
|
|
21539
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
21248
21540
|
: undefined,
|
|
21249
|
-
LatestVersionNumber:
|
|
21541
|
+
LatestVersionNumber: __expectLong(output.LatestVersionNumber),
|
|
21250
21542
|
Name: __expectString(output.Name),
|
|
21251
21543
|
ThemeId: __expectString(output.ThemeId),
|
|
21252
21544
|
};
|
|
@@ -21269,25 +21561,25 @@ var deserializeAws_restJson1ThemeVersion = function (output, context) {
|
|
|
21269
21561
|
? deserializeAws_restJson1ThemeConfiguration(output.Configuration, context)
|
|
21270
21562
|
: undefined,
|
|
21271
21563
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21272
|
-
?
|
|
21564
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21273
21565
|
: undefined,
|
|
21274
21566
|
Description: __expectString(output.Description),
|
|
21275
21567
|
Errors: output.Errors !== undefined && output.Errors !== null
|
|
21276
21568
|
? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
|
|
21277
21569
|
: undefined,
|
|
21278
21570
|
Status: __expectString(output.Status),
|
|
21279
|
-
VersionNumber:
|
|
21571
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
21280
21572
|
};
|
|
21281
21573
|
};
|
|
21282
21574
|
var deserializeAws_restJson1ThemeVersionSummary = function (output, context) {
|
|
21283
21575
|
return {
|
|
21284
21576
|
Arn: __expectString(output.Arn),
|
|
21285
21577
|
CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
21286
|
-
?
|
|
21578
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
21287
21579
|
: undefined,
|
|
21288
21580
|
Description: __expectString(output.Description),
|
|
21289
21581
|
Status: __expectString(output.Status),
|
|
21290
|
-
VersionNumber:
|
|
21582
|
+
VersionNumber: __expectLong(output.VersionNumber),
|
|
21291
21583
|
};
|
|
21292
21584
|
};
|
|
21293
21585
|
var deserializeAws_restJson1ThemeVersionSummaryList = function (output, context) {
|
|
@@ -21348,6 +21640,11 @@ var deserializeAws_restJson1TransformOperation = function (output, context) {
|
|
|
21348
21640
|
TagColumnOperation: deserializeAws_restJson1TagColumnOperation(output.TagColumnOperation, context),
|
|
21349
21641
|
};
|
|
21350
21642
|
}
|
|
21643
|
+
if (output.UntagColumnOperation !== undefined && output.UntagColumnOperation !== null) {
|
|
21644
|
+
return {
|
|
21645
|
+
UntagColumnOperation: deserializeAws_restJson1UntagColumnOperation(output.UntagColumnOperation, context),
|
|
21646
|
+
};
|
|
21647
|
+
}
|
|
21351
21648
|
return { $unknown: Object.entries(output)[0] };
|
|
21352
21649
|
};
|
|
21353
21650
|
var deserializeAws_restJson1TransformOperationList = function (output, context) {
|
|
@@ -21357,12 +21654,12 @@ var deserializeAws_restJson1TransformOperationList = function (output, context)
|
|
|
21357
21654
|
if (entry === null) {
|
|
21358
21655
|
return null;
|
|
21359
21656
|
}
|
|
21360
|
-
return deserializeAws_restJson1TransformOperation(entry, context);
|
|
21657
|
+
return deserializeAws_restJson1TransformOperation(__expectUnion(entry), context);
|
|
21361
21658
|
});
|
|
21362
21659
|
};
|
|
21363
21660
|
var deserializeAws_restJson1TwitterParameters = function (output, context) {
|
|
21364
21661
|
return {
|
|
21365
|
-
MaxRows:
|
|
21662
|
+
MaxRows: __expectInt32(output.MaxRows),
|
|
21366
21663
|
Query: __expectString(output.Query),
|
|
21367
21664
|
};
|
|
21368
21665
|
};
|
|
@@ -21386,12 +21683,20 @@ var deserializeAws_restJson1UIColorPalette = function (output, context) {
|
|
|
21386
21683
|
WarningForeground: __expectString(output.WarningForeground),
|
|
21387
21684
|
};
|
|
21388
21685
|
};
|
|
21686
|
+
var deserializeAws_restJson1UntagColumnOperation = function (output, context) {
|
|
21687
|
+
return {
|
|
21688
|
+
ColumnName: __expectString(output.ColumnName),
|
|
21689
|
+
TagNames: output.TagNames !== undefined && output.TagNames !== null
|
|
21690
|
+
? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
|
|
21691
|
+
: undefined,
|
|
21692
|
+
};
|
|
21693
|
+
};
|
|
21389
21694
|
var deserializeAws_restJson1UploadSettings = function (output, context) {
|
|
21390
21695
|
return {
|
|
21391
21696
|
ContainsHeader: __expectBoolean(output.ContainsHeader),
|
|
21392
21697
|
Delimiter: __expectString(output.Delimiter),
|
|
21393
21698
|
Format: __expectString(output.Format),
|
|
21394
|
-
StartFromRow:
|
|
21699
|
+
StartFromRow: __expectInt32(output.StartFromRow),
|
|
21395
21700
|
TextQualifier: __expectString(output.TextQualifier),
|
|
21396
21701
|
};
|
|
21397
21702
|
};
|