@aws-sdk/client-quicksight 3.200.0 → 3.201.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 +11 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restJson1.js +127 -131
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -13,7 +13,7 @@ const QuickSightServiceException_1 = require("../models/QuickSightServiceExcepti
|
|
|
13
13
|
const serializeAws_restJson1CancelIngestionCommand = async (input, context) => {
|
|
14
14
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
15
15
|
const headers = {};
|
|
16
|
-
let resolvedPath = `${
|
|
16
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
17
17
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
|
|
18
18
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
19
19
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -35,7 +35,7 @@ const serializeAws_restJson1CreateAccountCustomizationCommand = async (input, co
|
|
|
35
35
|
const headers = {
|
|
36
36
|
"content-type": "application/json",
|
|
37
37
|
};
|
|
38
|
-
let resolvedPath = `${
|
|
38
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/customizations";
|
|
39
39
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
40
40
|
const query = map({
|
|
41
41
|
namespace: [, input.Namespace],
|
|
@@ -64,7 +64,7 @@ const serializeAws_restJson1CreateAccountSubscriptionCommand = async (input, con
|
|
|
64
64
|
const headers = {
|
|
65
65
|
"content-type": "application/json",
|
|
66
66
|
};
|
|
67
|
-
let resolvedPath = `${
|
|
67
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
|
|
68
68
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
69
69
|
let body;
|
|
70
70
|
body = JSON.stringify({
|
|
@@ -99,7 +99,7 @@ const serializeAws_restJson1CreateAnalysisCommand = async (input, context) => {
|
|
|
99
99
|
const headers = {
|
|
100
100
|
"content-type": "application/json",
|
|
101
101
|
};
|
|
102
|
-
let resolvedPath = `${
|
|
102
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
103
103
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}";
|
|
104
104
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
105
105
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -132,7 +132,7 @@ const serializeAws_restJson1CreateDashboardCommand = async (input, context) => {
|
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/json",
|
|
134
134
|
};
|
|
135
|
-
let resolvedPath = `${
|
|
135
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
136
136
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}";
|
|
137
137
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
138
138
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -169,7 +169,7 @@ const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
|
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/json",
|
|
171
171
|
};
|
|
172
|
-
let resolvedPath = `${
|
|
172
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/data-sets";
|
|
173
173
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
174
174
|
let body;
|
|
175
175
|
body = JSON.stringify({
|
|
@@ -221,7 +221,7 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
|
|
|
221
221
|
const headers = {
|
|
222
222
|
"content-type": "application/json",
|
|
223
223
|
};
|
|
224
|
-
let resolvedPath = `${
|
|
224
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/data-sources";
|
|
225
225
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
226
226
|
let body;
|
|
227
227
|
body = JSON.stringify({
|
|
@@ -261,7 +261,7 @@ const serializeAws_restJson1CreateFolderCommand = async (input, context) => {
|
|
|
261
261
|
const headers = {
|
|
262
262
|
"content-type": "application/json",
|
|
263
263
|
};
|
|
264
|
-
let resolvedPath = `${
|
|
264
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
265
265
|
"/accounts/{AwsAccountId}/folders/{FolderId}";
|
|
266
266
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
267
267
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -289,7 +289,7 @@ exports.serializeAws_restJson1CreateFolderCommand = serializeAws_restJson1Create
|
|
|
289
289
|
const serializeAws_restJson1CreateFolderMembershipCommand = async (input, context) => {
|
|
290
290
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
291
291
|
const headers = {};
|
|
292
|
-
let resolvedPath = `${
|
|
292
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
293
293
|
"/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}";
|
|
294
294
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
295
295
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -312,7 +312,7 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
|
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/json",
|
|
314
314
|
};
|
|
315
|
-
let resolvedPath = `${
|
|
315
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
316
316
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups";
|
|
317
317
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
318
318
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -335,7 +335,7 @@ exports.serializeAws_restJson1CreateGroupCommand = serializeAws_restJson1CreateG
|
|
|
335
335
|
const serializeAws_restJson1CreateGroupMembershipCommand = async (input, context) => {
|
|
336
336
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
337
337
|
const headers = {};
|
|
338
|
-
let resolvedPath = `${
|
|
338
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
339
339
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
|
|
340
340
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MemberName", () => input.MemberName, "{MemberName}", false);
|
|
341
341
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
@@ -358,7 +358,7 @@ const serializeAws_restJson1CreateIAMPolicyAssignmentCommand = async (input, con
|
|
|
358
358
|
const headers = {
|
|
359
359
|
"content-type": "application/json",
|
|
360
360
|
};
|
|
361
|
-
let resolvedPath = `${
|
|
361
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
362
362
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
|
|
363
363
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
364
364
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -385,7 +385,7 @@ const serializeAws_restJson1CreateIngestionCommand = async (input, context) => {
|
|
|
385
385
|
const headers = {
|
|
386
386
|
"content-type": "application/json",
|
|
387
387
|
};
|
|
388
|
-
let resolvedPath = `${
|
|
388
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
389
389
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
|
|
390
390
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
391
391
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "IngestionId", () => input.IngestionId, "{IngestionId}", false);
|
|
@@ -410,7 +410,7 @@ const serializeAws_restJson1CreateNamespaceCommand = async (input, context) => {
|
|
|
410
410
|
const headers = {
|
|
411
411
|
"content-type": "application/json",
|
|
412
412
|
};
|
|
413
|
-
let resolvedPath = `${
|
|
413
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}";
|
|
414
414
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
415
415
|
let body;
|
|
416
416
|
body = JSON.stringify({
|
|
@@ -434,7 +434,7 @@ const serializeAws_restJson1CreateTemplateCommand = async (input, context) => {
|
|
|
434
434
|
const headers = {
|
|
435
435
|
"content-type": "application/json",
|
|
436
436
|
};
|
|
437
|
-
let resolvedPath = `${
|
|
437
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
438
438
|
"/accounts/{AwsAccountId}/templates/{TemplateId}";
|
|
439
439
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
440
440
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -466,7 +466,7 @@ const serializeAws_restJson1CreateTemplateAliasCommand = async (input, context)
|
|
|
466
466
|
const headers = {
|
|
467
467
|
"content-type": "application/json",
|
|
468
468
|
};
|
|
469
|
-
let resolvedPath = `${
|
|
469
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
470
470
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
|
|
471
471
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
472
472
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -491,7 +491,7 @@ const serializeAws_restJson1CreateThemeCommand = async (input, context) => {
|
|
|
491
491
|
const headers = {
|
|
492
492
|
"content-type": "application/json",
|
|
493
493
|
};
|
|
494
|
-
let resolvedPath = `${
|
|
494
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/themes/{ThemeId}";
|
|
495
495
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
496
496
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
497
497
|
let body;
|
|
@@ -523,7 +523,7 @@ const serializeAws_restJson1CreateThemeAliasCommand = async (input, context) =>
|
|
|
523
523
|
const headers = {
|
|
524
524
|
"content-type": "application/json",
|
|
525
525
|
};
|
|
526
|
-
let resolvedPath = `${
|
|
526
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
527
527
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
|
|
528
528
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
529
529
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -546,7 +546,7 @@ exports.serializeAws_restJson1CreateThemeAliasCommand = serializeAws_restJson1Cr
|
|
|
546
546
|
const serializeAws_restJson1DeleteAccountCustomizationCommand = async (input, context) => {
|
|
547
547
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
548
548
|
const headers = {};
|
|
549
|
-
let resolvedPath = `${
|
|
549
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/customizations";
|
|
550
550
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
551
551
|
const query = map({
|
|
552
552
|
namespace: [, input.Namespace],
|
|
@@ -567,7 +567,7 @@ exports.serializeAws_restJson1DeleteAccountCustomizationCommand = serializeAws_r
|
|
|
567
567
|
const serializeAws_restJson1DeleteAnalysisCommand = async (input, context) => {
|
|
568
568
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
569
569
|
const headers = {};
|
|
570
|
-
let resolvedPath = `${
|
|
570
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
571
571
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}";
|
|
572
572
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
573
573
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -597,7 +597,7 @@ exports.serializeAws_restJson1DeleteAnalysisCommand = serializeAws_restJson1Dele
|
|
|
597
597
|
const serializeAws_restJson1DeleteDashboardCommand = async (input, context) => {
|
|
598
598
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
599
599
|
const headers = {};
|
|
600
|
-
let resolvedPath = `${
|
|
600
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
601
601
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}";
|
|
602
602
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
603
603
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -620,7 +620,7 @@ exports.serializeAws_restJson1DeleteDashboardCommand = serializeAws_restJson1Del
|
|
|
620
620
|
const serializeAws_restJson1DeleteDataSetCommand = async (input, context) => {
|
|
621
621
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
622
622
|
const headers = {};
|
|
623
|
-
let resolvedPath = `${
|
|
623
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
624
624
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}";
|
|
625
625
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
626
626
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -639,7 +639,7 @@ exports.serializeAws_restJson1DeleteDataSetCommand = serializeAws_restJson1Delet
|
|
|
639
639
|
const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) => {
|
|
640
640
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
641
641
|
const headers = {};
|
|
642
|
-
let resolvedPath = `${
|
|
642
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
643
643
|
"/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
|
|
644
644
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
645
645
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSourceId", () => input.DataSourceId, "{DataSourceId}", false);
|
|
@@ -658,7 +658,7 @@ exports.serializeAws_restJson1DeleteDataSourceCommand = serializeAws_restJson1De
|
|
|
658
658
|
const serializeAws_restJson1DeleteFolderCommand = async (input, context) => {
|
|
659
659
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
660
660
|
const headers = {};
|
|
661
|
-
let resolvedPath = `${
|
|
661
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
662
662
|
"/accounts/{AwsAccountId}/folders/{FolderId}";
|
|
663
663
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
664
664
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -677,7 +677,7 @@ exports.serializeAws_restJson1DeleteFolderCommand = serializeAws_restJson1Delete
|
|
|
677
677
|
const serializeAws_restJson1DeleteFolderMembershipCommand = async (input, context) => {
|
|
678
678
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
679
679
|
const headers = {};
|
|
680
|
-
let resolvedPath = `${
|
|
680
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
681
681
|
"/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}";
|
|
682
682
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
683
683
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -698,7 +698,7 @@ exports.serializeAws_restJson1DeleteFolderMembershipCommand = serializeAws_restJ
|
|
|
698
698
|
const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
|
|
699
699
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
700
700
|
const headers = {};
|
|
701
|
-
let resolvedPath = `${
|
|
701
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
702
702
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
|
|
703
703
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
704
704
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -718,7 +718,7 @@ exports.serializeAws_restJson1DeleteGroupCommand = serializeAws_restJson1DeleteG
|
|
|
718
718
|
const serializeAws_restJson1DeleteGroupMembershipCommand = async (input, context) => {
|
|
719
719
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
720
720
|
const headers = {};
|
|
721
|
-
let resolvedPath = `${
|
|
721
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
722
722
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
|
|
723
723
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MemberName", () => input.MemberName, "{MemberName}", false);
|
|
724
724
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
@@ -739,7 +739,7 @@ exports.serializeAws_restJson1DeleteGroupMembershipCommand = serializeAws_restJs
|
|
|
739
739
|
const serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = async (input, context) => {
|
|
740
740
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
741
741
|
const headers = {};
|
|
742
|
-
let resolvedPath = `${
|
|
742
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
743
743
|
"/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}";
|
|
744
744
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
745
745
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AssignmentName", () => input.AssignmentName, "{AssignmentName}", false);
|
|
@@ -759,7 +759,7 @@ exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = serializeAws_re
|
|
|
759
759
|
const serializeAws_restJson1DeleteNamespaceCommand = async (input, context) => {
|
|
760
760
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
761
761
|
const headers = {};
|
|
762
|
-
let resolvedPath = `${
|
|
762
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
763
763
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}";
|
|
764
764
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
765
765
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -778,7 +778,7 @@ exports.serializeAws_restJson1DeleteNamespaceCommand = serializeAws_restJson1Del
|
|
|
778
778
|
const serializeAws_restJson1DeleteTemplateCommand = async (input, context) => {
|
|
779
779
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
780
780
|
const headers = {};
|
|
781
|
-
let resolvedPath = `${
|
|
781
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
782
782
|
"/accounts/{AwsAccountId}/templates/{TemplateId}";
|
|
783
783
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
784
784
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -801,7 +801,7 @@ exports.serializeAws_restJson1DeleteTemplateCommand = serializeAws_restJson1Dele
|
|
|
801
801
|
const serializeAws_restJson1DeleteTemplateAliasCommand = async (input, context) => {
|
|
802
802
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
803
803
|
const headers = {};
|
|
804
|
-
let resolvedPath = `${
|
|
804
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
805
805
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
|
|
806
806
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
807
807
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -821,7 +821,7 @@ exports.serializeAws_restJson1DeleteTemplateAliasCommand = serializeAws_restJson
|
|
|
821
821
|
const serializeAws_restJson1DeleteThemeCommand = async (input, context) => {
|
|
822
822
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
823
823
|
const headers = {};
|
|
824
|
-
let resolvedPath = `${
|
|
824
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/themes/{ThemeId}";
|
|
825
825
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
826
826
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
827
827
|
const query = map({
|
|
@@ -843,7 +843,7 @@ exports.serializeAws_restJson1DeleteThemeCommand = serializeAws_restJson1DeleteT
|
|
|
843
843
|
const serializeAws_restJson1DeleteThemeAliasCommand = async (input, context) => {
|
|
844
844
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
845
845
|
const headers = {};
|
|
846
|
-
let resolvedPath = `${
|
|
846
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
847
847
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
|
|
848
848
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
849
849
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -863,7 +863,7 @@ exports.serializeAws_restJson1DeleteThemeAliasCommand = serializeAws_restJson1De
|
|
|
863
863
|
const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
|
|
864
864
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
865
865
|
const headers = {};
|
|
866
|
-
let resolvedPath = `${
|
|
866
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
867
867
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
|
|
868
868
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
869
869
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -883,7 +883,7 @@ exports.serializeAws_restJson1DeleteUserCommand = serializeAws_restJson1DeleteUs
|
|
|
883
883
|
const serializeAws_restJson1DeleteUserByPrincipalIdCommand = async (input, context) => {
|
|
884
884
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
885
885
|
const headers = {};
|
|
886
|
-
let resolvedPath = `${
|
|
886
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
887
887
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}";
|
|
888
888
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PrincipalId", () => input.PrincipalId, "{PrincipalId}", false);
|
|
889
889
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -903,7 +903,7 @@ exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = serializeAws_rest
|
|
|
903
903
|
const serializeAws_restJson1DescribeAccountCustomizationCommand = async (input, context) => {
|
|
904
904
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
905
905
|
const headers = {};
|
|
906
|
-
let resolvedPath = `${
|
|
906
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/customizations";
|
|
907
907
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
908
908
|
const query = map({
|
|
909
909
|
namespace: [, input.Namespace],
|
|
@@ -925,7 +925,7 @@ exports.serializeAws_restJson1DescribeAccountCustomizationCommand = serializeAws
|
|
|
925
925
|
const serializeAws_restJson1DescribeAccountSettingsCommand = async (input, context) => {
|
|
926
926
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
927
927
|
const headers = {};
|
|
928
|
-
let resolvedPath = `${
|
|
928
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/settings";
|
|
929
929
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
930
930
|
let body;
|
|
931
931
|
return new protocol_http_1.HttpRequest({
|
|
@@ -942,7 +942,7 @@ exports.serializeAws_restJson1DescribeAccountSettingsCommand = serializeAws_rest
|
|
|
942
942
|
const serializeAws_restJson1DescribeAccountSubscriptionCommand = async (input, context) => {
|
|
943
943
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
944
944
|
const headers = {};
|
|
945
|
-
let resolvedPath = `${
|
|
945
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
|
|
946
946
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
947
947
|
let body;
|
|
948
948
|
return new protocol_http_1.HttpRequest({
|
|
@@ -959,7 +959,7 @@ exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = serializeAws_
|
|
|
959
959
|
const serializeAws_restJson1DescribeAnalysisCommand = async (input, context) => {
|
|
960
960
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
961
961
|
const headers = {};
|
|
962
|
-
let resolvedPath = `${
|
|
962
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
963
963
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}";
|
|
964
964
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
965
965
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -978,7 +978,7 @@ exports.serializeAws_restJson1DescribeAnalysisCommand = serializeAws_restJson1De
|
|
|
978
978
|
const serializeAws_restJson1DescribeAnalysisPermissionsCommand = async (input, context) => {
|
|
979
979
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
980
980
|
const headers = {};
|
|
981
|
-
let resolvedPath = `${
|
|
981
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
982
982
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions";
|
|
983
983
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
984
984
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -997,7 +997,7 @@ exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = serializeAws_
|
|
|
997
997
|
const serializeAws_restJson1DescribeDashboardCommand = async (input, context) => {
|
|
998
998
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
999
999
|
const headers = {};
|
|
1000
|
-
let resolvedPath = `${
|
|
1000
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1001
1001
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}";
|
|
1002
1002
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1003
1003
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -1021,7 +1021,7 @@ exports.serializeAws_restJson1DescribeDashboardCommand = serializeAws_restJson1D
|
|
|
1021
1021
|
const serializeAws_restJson1DescribeDashboardPermissionsCommand = async (input, context) => {
|
|
1022
1022
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1023
1023
|
const headers = {};
|
|
1024
|
-
let resolvedPath = `${
|
|
1024
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1025
1025
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions";
|
|
1026
1026
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1027
1027
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -1040,7 +1040,7 @@ exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = serializeAws
|
|
|
1040
1040
|
const serializeAws_restJson1DescribeDataSetCommand = async (input, context) => {
|
|
1041
1041
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1042
1042
|
const headers = {};
|
|
1043
|
-
let resolvedPath = `${
|
|
1043
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1044
1044
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}";
|
|
1045
1045
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1046
1046
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -1059,7 +1059,7 @@ exports.serializeAws_restJson1DescribeDataSetCommand = serializeAws_restJson1Des
|
|
|
1059
1059
|
const serializeAws_restJson1DescribeDataSetPermissionsCommand = async (input, context) => {
|
|
1060
1060
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1061
1061
|
const headers = {};
|
|
1062
|
-
let resolvedPath = `${
|
|
1062
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1063
1063
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions";
|
|
1064
1064
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1065
1065
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -1078,7 +1078,7 @@ exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = serializeAws_r
|
|
|
1078
1078
|
const serializeAws_restJson1DescribeDataSourceCommand = async (input, context) => {
|
|
1079
1079
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1080
1080
|
const headers = {};
|
|
1081
|
-
let resolvedPath = `${
|
|
1081
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1082
1082
|
"/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
|
|
1083
1083
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1084
1084
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSourceId", () => input.DataSourceId, "{DataSourceId}", false);
|
|
@@ -1097,7 +1097,7 @@ exports.serializeAws_restJson1DescribeDataSourceCommand = serializeAws_restJson1
|
|
|
1097
1097
|
const serializeAws_restJson1DescribeDataSourcePermissionsCommand = async (input, context) => {
|
|
1098
1098
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1099
1099
|
const headers = {};
|
|
1100
|
-
let resolvedPath = `${
|
|
1100
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1101
1101
|
"/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions";
|
|
1102
1102
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1103
1103
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSourceId", () => input.DataSourceId, "{DataSourceId}", false);
|
|
@@ -1116,7 +1116,7 @@ exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = serializeAw
|
|
|
1116
1116
|
const serializeAws_restJson1DescribeFolderCommand = async (input, context) => {
|
|
1117
1117
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1118
1118
|
const headers = {};
|
|
1119
|
-
let resolvedPath = `${
|
|
1119
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1120
1120
|
"/accounts/{AwsAccountId}/folders/{FolderId}";
|
|
1121
1121
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1122
1122
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -1135,7 +1135,7 @@ exports.serializeAws_restJson1DescribeFolderCommand = serializeAws_restJson1Desc
|
|
|
1135
1135
|
const serializeAws_restJson1DescribeFolderPermissionsCommand = async (input, context) => {
|
|
1136
1136
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1137
1137
|
const headers = {};
|
|
1138
|
-
let resolvedPath = `${
|
|
1138
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1139
1139
|
"/accounts/{AwsAccountId}/folders/{FolderId}/permissions";
|
|
1140
1140
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1141
1141
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -1154,7 +1154,7 @@ exports.serializeAws_restJson1DescribeFolderPermissionsCommand = serializeAws_re
|
|
|
1154
1154
|
const serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = async (input, context) => {
|
|
1155
1155
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1156
1156
|
const headers = {};
|
|
1157
|
-
let resolvedPath = `${
|
|
1157
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1158
1158
|
"/accounts/{AwsAccountId}/folders/{FolderId}/resolved-permissions";
|
|
1159
1159
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1160
1160
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -1173,7 +1173,7 @@ exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = seriali
|
|
|
1173
1173
|
const serializeAws_restJson1DescribeGroupCommand = async (input, context) => {
|
|
1174
1174
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1175
1175
|
const headers = {};
|
|
1176
|
-
let resolvedPath = `${
|
|
1176
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1177
1177
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
|
|
1178
1178
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
1179
1179
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -1193,7 +1193,7 @@ exports.serializeAws_restJson1DescribeGroupCommand = serializeAws_restJson1Descr
|
|
|
1193
1193
|
const serializeAws_restJson1DescribeGroupMembershipCommand = async (input, context) => {
|
|
1194
1194
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1195
1195
|
const headers = {};
|
|
1196
|
-
let resolvedPath = `${
|
|
1196
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1197
1197
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}";
|
|
1198
1198
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MemberName", () => input.MemberName, "{MemberName}", false);
|
|
1199
1199
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
@@ -1214,7 +1214,7 @@ exports.serializeAws_restJson1DescribeGroupMembershipCommand = serializeAws_rest
|
|
|
1214
1214
|
const serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = async (input, context) => {
|
|
1215
1215
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1216
1216
|
const headers = {};
|
|
1217
|
-
let resolvedPath = `${
|
|
1217
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1218
1218
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}";
|
|
1219
1219
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1220
1220
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AssignmentName", () => input.AssignmentName, "{AssignmentName}", false);
|
|
@@ -1234,7 +1234,7 @@ exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = serializeAws_
|
|
|
1234
1234
|
const serializeAws_restJson1DescribeIngestionCommand = async (input, context) => {
|
|
1235
1235
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1236
1236
|
const headers = {};
|
|
1237
|
-
let resolvedPath = `${
|
|
1237
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1238
1238
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}";
|
|
1239
1239
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1240
1240
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -1254,7 +1254,7 @@ exports.serializeAws_restJson1DescribeIngestionCommand = serializeAws_restJson1D
|
|
|
1254
1254
|
const serializeAws_restJson1DescribeIpRestrictionCommand = async (input, context) => {
|
|
1255
1255
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1256
1256
|
const headers = {};
|
|
1257
|
-
let resolvedPath = `${
|
|
1257
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/ip-restriction";
|
|
1258
1258
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1259
1259
|
let body;
|
|
1260
1260
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1271,7 +1271,7 @@ exports.serializeAws_restJson1DescribeIpRestrictionCommand = serializeAws_restJs
|
|
|
1271
1271
|
const serializeAws_restJson1DescribeNamespaceCommand = async (input, context) => {
|
|
1272
1272
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1273
1273
|
const headers = {};
|
|
1274
|
-
let resolvedPath = `${
|
|
1274
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1275
1275
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}";
|
|
1276
1276
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1277
1277
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -1290,7 +1290,7 @@ exports.serializeAws_restJson1DescribeNamespaceCommand = serializeAws_restJson1D
|
|
|
1290
1290
|
const serializeAws_restJson1DescribeTemplateCommand = async (input, context) => {
|
|
1291
1291
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1292
1292
|
const headers = {};
|
|
1293
|
-
let resolvedPath = `${
|
|
1293
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1294
1294
|
"/accounts/{AwsAccountId}/templates/{TemplateId}";
|
|
1295
1295
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1296
1296
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -1314,7 +1314,7 @@ exports.serializeAws_restJson1DescribeTemplateCommand = serializeAws_restJson1De
|
|
|
1314
1314
|
const serializeAws_restJson1DescribeTemplateAliasCommand = async (input, context) => {
|
|
1315
1315
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1316
1316
|
const headers = {};
|
|
1317
|
-
let resolvedPath = `${
|
|
1317
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1318
1318
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
|
|
1319
1319
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1320
1320
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -1334,7 +1334,7 @@ exports.serializeAws_restJson1DescribeTemplateAliasCommand = serializeAws_restJs
|
|
|
1334
1334
|
const serializeAws_restJson1DescribeTemplatePermissionsCommand = async (input, context) => {
|
|
1335
1335
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1336
1336
|
const headers = {};
|
|
1337
|
-
let resolvedPath = `${
|
|
1337
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1338
1338
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/permissions";
|
|
1339
1339
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1340
1340
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -1353,7 +1353,7 @@ exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = serializeAws_
|
|
|
1353
1353
|
const serializeAws_restJson1DescribeThemeCommand = async (input, context) => {
|
|
1354
1354
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1355
1355
|
const headers = {};
|
|
1356
|
-
let resolvedPath = `${
|
|
1356
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/themes/{ThemeId}";
|
|
1357
1357
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1358
1358
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
1359
1359
|
const query = map({
|
|
@@ -1376,7 +1376,7 @@ exports.serializeAws_restJson1DescribeThemeCommand = serializeAws_restJson1Descr
|
|
|
1376
1376
|
const serializeAws_restJson1DescribeThemeAliasCommand = async (input, context) => {
|
|
1377
1377
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1378
1378
|
const headers = {};
|
|
1379
|
-
let resolvedPath = `${
|
|
1379
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1380
1380
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
|
|
1381
1381
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1382
1382
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -1396,7 +1396,7 @@ exports.serializeAws_restJson1DescribeThemeAliasCommand = serializeAws_restJson1
|
|
|
1396
1396
|
const serializeAws_restJson1DescribeThemePermissionsCommand = async (input, context) => {
|
|
1397
1397
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1398
1398
|
const headers = {};
|
|
1399
|
-
let resolvedPath = `${
|
|
1399
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1400
1400
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/permissions";
|
|
1401
1401
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1402
1402
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -1415,7 +1415,7 @@ exports.serializeAws_restJson1DescribeThemePermissionsCommand = serializeAws_res
|
|
|
1415
1415
|
const serializeAws_restJson1DescribeUserCommand = async (input, context) => {
|
|
1416
1416
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1417
1417
|
const headers = {};
|
|
1418
|
-
let resolvedPath = `${
|
|
1418
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1419
1419
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
|
|
1420
1420
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
1421
1421
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -1437,7 +1437,7 @@ const serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = async (inp
|
|
|
1437
1437
|
const headers = {
|
|
1438
1438
|
"content-type": "application/json",
|
|
1439
1439
|
};
|
|
1440
|
-
let resolvedPath = `${
|
|
1440
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1441
1441
|
"/accounts/{AwsAccountId}/embed-url/anonymous-user";
|
|
1442
1442
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1443
1443
|
let body;
|
|
@@ -1471,7 +1471,7 @@ const serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = async (in
|
|
|
1471
1471
|
const headers = {
|
|
1472
1472
|
"content-type": "application/json",
|
|
1473
1473
|
};
|
|
1474
|
-
let resolvedPath = `${
|
|
1474
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1475
1475
|
"/accounts/{AwsAccountId}/embed-url/registered-user";
|
|
1476
1476
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1477
1477
|
let body;
|
|
@@ -1499,7 +1499,7 @@ exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = seriali
|
|
|
1499
1499
|
const serializeAws_restJson1GetDashboardEmbedUrlCommand = async (input, context) => {
|
|
1500
1500
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1501
1501
|
const headers = {};
|
|
1502
|
-
let resolvedPath = `${
|
|
1502
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1503
1503
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url";
|
|
1504
1504
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1505
1505
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -1538,7 +1538,7 @@ exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = serializeAws_restJso
|
|
|
1538
1538
|
const serializeAws_restJson1GetSessionEmbedUrlCommand = async (input, context) => {
|
|
1539
1539
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1540
1540
|
const headers = {};
|
|
1541
|
-
let resolvedPath = `${
|
|
1541
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1542
1542
|
"/accounts/{AwsAccountId}/session-embed-url";
|
|
1543
1543
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1544
1544
|
const query = map({
|
|
@@ -1565,7 +1565,7 @@ exports.serializeAws_restJson1GetSessionEmbedUrlCommand = serializeAws_restJson1
|
|
|
1565
1565
|
const serializeAws_restJson1ListAnalysesCommand = async (input, context) => {
|
|
1566
1566
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1567
1567
|
const headers = {};
|
|
1568
|
-
let resolvedPath = `${
|
|
1568
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/analyses";
|
|
1569
1569
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1570
1570
|
const query = map({
|
|
1571
1571
|
"next-token": [, input.NextToken],
|
|
@@ -1587,7 +1587,7 @@ exports.serializeAws_restJson1ListAnalysesCommand = serializeAws_restJson1ListAn
|
|
|
1587
1587
|
const serializeAws_restJson1ListDashboardsCommand = async (input, context) => {
|
|
1588
1588
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1589
1589
|
const headers = {};
|
|
1590
|
-
let resolvedPath = `${
|
|
1590
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/dashboards";
|
|
1591
1591
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1592
1592
|
const query = map({
|
|
1593
1593
|
"next-token": [, input.NextToken],
|
|
@@ -1609,7 +1609,7 @@ exports.serializeAws_restJson1ListDashboardsCommand = serializeAws_restJson1List
|
|
|
1609
1609
|
const serializeAws_restJson1ListDashboardVersionsCommand = async (input, context) => {
|
|
1610
1610
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1611
1611
|
const headers = {};
|
|
1612
|
-
let resolvedPath = `${
|
|
1612
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1613
1613
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions";
|
|
1614
1614
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1615
1615
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -1633,7 +1633,7 @@ exports.serializeAws_restJson1ListDashboardVersionsCommand = serializeAws_restJs
|
|
|
1633
1633
|
const serializeAws_restJson1ListDataSetsCommand = async (input, context) => {
|
|
1634
1634
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1635
1635
|
const headers = {};
|
|
1636
|
-
let resolvedPath = `${
|
|
1636
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/data-sets";
|
|
1637
1637
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1638
1638
|
const query = map({
|
|
1639
1639
|
"next-token": [, input.NextToken],
|
|
@@ -1655,7 +1655,7 @@ exports.serializeAws_restJson1ListDataSetsCommand = serializeAws_restJson1ListDa
|
|
|
1655
1655
|
const serializeAws_restJson1ListDataSourcesCommand = async (input, context) => {
|
|
1656
1656
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1657
1657
|
const headers = {};
|
|
1658
|
-
let resolvedPath = `${
|
|
1658
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/data-sources";
|
|
1659
1659
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1660
1660
|
const query = map({
|
|
1661
1661
|
"next-token": [, input.NextToken],
|
|
@@ -1677,7 +1677,7 @@ exports.serializeAws_restJson1ListDataSourcesCommand = serializeAws_restJson1Lis
|
|
|
1677
1677
|
const serializeAws_restJson1ListFolderMembersCommand = async (input, context) => {
|
|
1678
1678
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1679
1679
|
const headers = {};
|
|
1680
|
-
let resolvedPath = `${
|
|
1680
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1681
1681
|
"/accounts/{AwsAccountId}/folders/{FolderId}/members";
|
|
1682
1682
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1683
1683
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -1701,7 +1701,7 @@ exports.serializeAws_restJson1ListFolderMembersCommand = serializeAws_restJson1L
|
|
|
1701
1701
|
const serializeAws_restJson1ListFoldersCommand = async (input, context) => {
|
|
1702
1702
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1703
1703
|
const headers = {};
|
|
1704
|
-
let resolvedPath = `${
|
|
1704
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/folders";
|
|
1705
1705
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1706
1706
|
const query = map({
|
|
1707
1707
|
"next-token": [, input.NextToken],
|
|
@@ -1723,7 +1723,7 @@ exports.serializeAws_restJson1ListFoldersCommand = serializeAws_restJson1ListFol
|
|
|
1723
1723
|
const serializeAws_restJson1ListGroupMembershipsCommand = async (input, context) => {
|
|
1724
1724
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1725
1725
|
const headers = {};
|
|
1726
|
-
let resolvedPath = `${
|
|
1726
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1727
1727
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members";
|
|
1728
1728
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
1729
1729
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -1748,7 +1748,7 @@ exports.serializeAws_restJson1ListGroupMembershipsCommand = serializeAws_restJso
|
|
|
1748
1748
|
const serializeAws_restJson1ListGroupsCommand = async (input, context) => {
|
|
1749
1749
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1750
1750
|
const headers = {};
|
|
1751
|
-
let resolvedPath = `${
|
|
1751
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1752
1752
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups";
|
|
1753
1753
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1754
1754
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -1774,7 +1774,7 @@ const serializeAws_restJson1ListIAMPolicyAssignmentsCommand = async (input, cont
|
|
|
1774
1774
|
const headers = {
|
|
1775
1775
|
"content-type": "application/json",
|
|
1776
1776
|
};
|
|
1777
|
-
let resolvedPath = `${
|
|
1777
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1778
1778
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
|
|
1779
1779
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1780
1780
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -1801,7 +1801,7 @@ exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = serializeAws_res
|
|
|
1801
1801
|
const serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = async (input, context) => {
|
|
1802
1802
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1803
1803
|
const headers = {};
|
|
1804
|
-
let resolvedPath = `${
|
|
1804
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1805
1805
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments";
|
|
1806
1806
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1807
1807
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
@@ -1826,7 +1826,7 @@ exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = serialize
|
|
|
1826
1826
|
const serializeAws_restJson1ListIngestionsCommand = async (input, context) => {
|
|
1827
1827
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1828
1828
|
const headers = {};
|
|
1829
|
-
let resolvedPath = `${
|
|
1829
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1830
1830
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions";
|
|
1831
1831
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
1832
1832
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -1850,7 +1850,7 @@ exports.serializeAws_restJson1ListIngestionsCommand = serializeAws_restJson1List
|
|
|
1850
1850
|
const serializeAws_restJson1ListNamespacesCommand = async (input, context) => {
|
|
1851
1851
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1852
1852
|
const headers = {};
|
|
1853
|
-
let resolvedPath = `${
|
|
1853
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/namespaces";
|
|
1854
1854
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1855
1855
|
const query = map({
|
|
1856
1856
|
"next-token": [, input.NextToken],
|
|
@@ -1872,7 +1872,7 @@ exports.serializeAws_restJson1ListNamespacesCommand = serializeAws_restJson1List
|
|
|
1872
1872
|
const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
1873
1873
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1874
1874
|
const headers = {};
|
|
1875
|
-
let resolvedPath = `${
|
|
1875
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/tags";
|
|
1876
1876
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1877
1877
|
let body;
|
|
1878
1878
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1889,7 +1889,7 @@ exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson
|
|
|
1889
1889
|
const serializeAws_restJson1ListTemplateAliasesCommand = async (input, context) => {
|
|
1890
1890
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1891
1891
|
const headers = {};
|
|
1892
|
-
let resolvedPath = `${
|
|
1892
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1893
1893
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases";
|
|
1894
1894
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1895
1895
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -1913,7 +1913,7 @@ exports.serializeAws_restJson1ListTemplateAliasesCommand = serializeAws_restJson
|
|
|
1913
1913
|
const serializeAws_restJson1ListTemplatesCommand = async (input, context) => {
|
|
1914
1914
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1915
1915
|
const headers = {};
|
|
1916
|
-
let resolvedPath = `${
|
|
1916
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/templates";
|
|
1917
1917
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1918
1918
|
const query = map({
|
|
1919
1919
|
"next-token": [, input.NextToken],
|
|
@@ -1935,7 +1935,7 @@ exports.serializeAws_restJson1ListTemplatesCommand = serializeAws_restJson1ListT
|
|
|
1935
1935
|
const serializeAws_restJson1ListTemplateVersionsCommand = async (input, context) => {
|
|
1936
1936
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1937
1937
|
const headers = {};
|
|
1938
|
-
let resolvedPath = `${
|
|
1938
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1939
1939
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/versions";
|
|
1940
1940
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1941
1941
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -1959,7 +1959,7 @@ exports.serializeAws_restJson1ListTemplateVersionsCommand = serializeAws_restJso
|
|
|
1959
1959
|
const serializeAws_restJson1ListThemeAliasesCommand = async (input, context) => {
|
|
1960
1960
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1961
1961
|
const headers = {};
|
|
1962
|
-
let resolvedPath = `${
|
|
1962
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1963
1963
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases";
|
|
1964
1964
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1965
1965
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -1983,7 +1983,7 @@ exports.serializeAws_restJson1ListThemeAliasesCommand = serializeAws_restJson1Li
|
|
|
1983
1983
|
const serializeAws_restJson1ListThemesCommand = async (input, context) => {
|
|
1984
1984
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1985
1985
|
const headers = {};
|
|
1986
|
-
let resolvedPath = `${
|
|
1986
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/themes";
|
|
1987
1987
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
1988
1988
|
const query = map({
|
|
1989
1989
|
"next-token": [, input.NextToken],
|
|
@@ -2006,7 +2006,7 @@ exports.serializeAws_restJson1ListThemesCommand = serializeAws_restJson1ListThem
|
|
|
2006
2006
|
const serializeAws_restJson1ListThemeVersionsCommand = async (input, context) => {
|
|
2007
2007
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2008
2008
|
const headers = {};
|
|
2009
|
-
let resolvedPath = `${
|
|
2009
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2010
2010
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/versions";
|
|
2011
2011
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2012
2012
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -2030,7 +2030,7 @@ exports.serializeAws_restJson1ListThemeVersionsCommand = serializeAws_restJson1L
|
|
|
2030
2030
|
const serializeAws_restJson1ListUserGroupsCommand = async (input, context) => {
|
|
2031
2031
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2032
2032
|
const headers = {};
|
|
2033
|
-
let resolvedPath = `${
|
|
2033
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2034
2034
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups";
|
|
2035
2035
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
2036
2036
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -2055,7 +2055,7 @@ exports.serializeAws_restJson1ListUserGroupsCommand = serializeAws_restJson1List
|
|
|
2055
2055
|
const serializeAws_restJson1ListUsersCommand = async (input, context) => {
|
|
2056
2056
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2057
2057
|
const headers = {};
|
|
2058
|
-
let resolvedPath = `${
|
|
2058
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2059
2059
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users";
|
|
2060
2060
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2061
2061
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -2081,7 +2081,7 @@ const serializeAws_restJson1RegisterUserCommand = async (input, context) => {
|
|
|
2081
2081
|
const headers = {
|
|
2082
2082
|
"content-type": "application/json",
|
|
2083
2083
|
};
|
|
2084
|
-
let resolvedPath = `${
|
|
2084
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2085
2085
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users";
|
|
2086
2086
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2087
2087
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -2116,7 +2116,7 @@ exports.serializeAws_restJson1RegisterUserCommand = serializeAws_restJson1Regist
|
|
|
2116
2116
|
const serializeAws_restJson1RestoreAnalysisCommand = async (input, context) => {
|
|
2117
2117
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2118
2118
|
const headers = {};
|
|
2119
|
-
let resolvedPath = `${
|
|
2119
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2120
2120
|
"/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}";
|
|
2121
2121
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2122
2122
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -2137,7 +2137,7 @@ const serializeAws_restJson1SearchAnalysesCommand = async (input, context) => {
|
|
|
2137
2137
|
const headers = {
|
|
2138
2138
|
"content-type": "application/json",
|
|
2139
2139
|
};
|
|
2140
|
-
let resolvedPath = `${
|
|
2140
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/search/analyses";
|
|
2141
2141
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2142
2142
|
let body;
|
|
2143
2143
|
body = JSON.stringify({
|
|
@@ -2161,7 +2161,7 @@ const serializeAws_restJson1SearchDashboardsCommand = async (input, context) =>
|
|
|
2161
2161
|
const headers = {
|
|
2162
2162
|
"content-type": "application/json",
|
|
2163
2163
|
};
|
|
2164
|
-
let resolvedPath = `${
|
|
2164
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2165
2165
|
"/accounts/{AwsAccountId}/search/dashboards";
|
|
2166
2166
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2167
2167
|
let body;
|
|
@@ -2186,7 +2186,7 @@ const serializeAws_restJson1SearchFoldersCommand = async (input, context) => {
|
|
|
2186
2186
|
const headers = {
|
|
2187
2187
|
"content-type": "application/json",
|
|
2188
2188
|
};
|
|
2189
|
-
let resolvedPath = `${
|
|
2189
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/search/folders";
|
|
2190
2190
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2191
2191
|
let body;
|
|
2192
2192
|
body = JSON.stringify({
|
|
@@ -2210,7 +2210,7 @@ const serializeAws_restJson1SearchGroupsCommand = async (input, context) => {
|
|
|
2210
2210
|
const headers = {
|
|
2211
2211
|
"content-type": "application/json",
|
|
2212
2212
|
};
|
|
2213
|
-
let resolvedPath = `${
|
|
2213
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2214
2214
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search";
|
|
2215
2215
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2216
2216
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
|
|
@@ -2239,7 +2239,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
2239
2239
|
const headers = {
|
|
2240
2240
|
"content-type": "application/json",
|
|
2241
2241
|
};
|
|
2242
|
-
let resolvedPath = `${
|
|
2242
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/tags";
|
|
2243
2243
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
2244
2244
|
let body;
|
|
2245
2245
|
body = JSON.stringify({
|
|
@@ -2259,7 +2259,7 @@ exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagReso
|
|
|
2259
2259
|
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
2260
2260
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2261
2261
|
const headers = {};
|
|
2262
|
-
let resolvedPath = `${
|
|
2262
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/tags";
|
|
2263
2263
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
2264
2264
|
const query = map({
|
|
2265
2265
|
keys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
|
|
@@ -2282,7 +2282,7 @@ const serializeAws_restJson1UpdateAccountCustomizationCommand = async (input, co
|
|
|
2282
2282
|
const headers = {
|
|
2283
2283
|
"content-type": "application/json",
|
|
2284
2284
|
};
|
|
2285
|
-
let resolvedPath = `${
|
|
2285
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/customizations";
|
|
2286
2286
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2287
2287
|
const query = map({
|
|
2288
2288
|
namespace: [, input.Namespace],
|
|
@@ -2310,7 +2310,7 @@ const serializeAws_restJson1UpdateAccountSettingsCommand = async (input, context
|
|
|
2310
2310
|
const headers = {
|
|
2311
2311
|
"content-type": "application/json",
|
|
2312
2312
|
};
|
|
2313
|
-
let resolvedPath = `${
|
|
2313
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/settings";
|
|
2314
2314
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2315
2315
|
let body;
|
|
2316
2316
|
body = JSON.stringify({
|
|
@@ -2333,7 +2333,7 @@ const serializeAws_restJson1UpdateAnalysisCommand = async (input, context) => {
|
|
|
2333
2333
|
const headers = {
|
|
2334
2334
|
"content-type": "application/json",
|
|
2335
2335
|
};
|
|
2336
|
-
let resolvedPath = `${
|
|
2336
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2337
2337
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}";
|
|
2338
2338
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2339
2339
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -2362,7 +2362,7 @@ const serializeAws_restJson1UpdateAnalysisPermissionsCommand = async (input, con
|
|
|
2362
2362
|
const headers = {
|
|
2363
2363
|
"content-type": "application/json",
|
|
2364
2364
|
};
|
|
2365
|
-
let resolvedPath = `${
|
|
2365
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2366
2366
|
"/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions";
|
|
2367
2367
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2368
2368
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AnalysisId", () => input.AnalysisId, "{AnalysisId}", false);
|
|
@@ -2391,7 +2391,7 @@ const serializeAws_restJson1UpdateDashboardCommand = async (input, context) => {
|
|
|
2391
2391
|
const headers = {
|
|
2392
2392
|
"content-type": "application/json",
|
|
2393
2393
|
};
|
|
2394
|
-
let resolvedPath = `${
|
|
2394
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2395
2395
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}";
|
|
2396
2396
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2397
2397
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -2424,7 +2424,7 @@ const serializeAws_restJson1UpdateDashboardPermissionsCommand = async (input, co
|
|
|
2424
2424
|
const headers = {
|
|
2425
2425
|
"content-type": "application/json",
|
|
2426
2426
|
};
|
|
2427
|
-
let resolvedPath = `${
|
|
2427
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2428
2428
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions";
|
|
2429
2429
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2430
2430
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -2457,7 +2457,7 @@ exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = serializeAws_r
|
|
|
2457
2457
|
const serializeAws_restJson1UpdateDashboardPublishedVersionCommand = async (input, context) => {
|
|
2458
2458
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2459
2459
|
const headers = {};
|
|
2460
|
-
let resolvedPath = `${
|
|
2460
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2461
2461
|
"/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}";
|
|
2462
2462
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2463
2463
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
|
|
@@ -2479,7 +2479,7 @@ const serializeAws_restJson1UpdateDataSetCommand = async (input, context) => {
|
|
|
2479
2479
|
const headers = {
|
|
2480
2480
|
"content-type": "application/json",
|
|
2481
2481
|
};
|
|
2482
|
-
let resolvedPath = `${
|
|
2482
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2483
2483
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}";
|
|
2484
2484
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2485
2485
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -2528,7 +2528,7 @@ const serializeAws_restJson1UpdateDataSetPermissionsCommand = async (input, cont
|
|
|
2528
2528
|
const headers = {
|
|
2529
2529
|
"content-type": "application/json",
|
|
2530
2530
|
};
|
|
2531
|
-
let resolvedPath = `${
|
|
2531
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2532
2532
|
"/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions";
|
|
2533
2533
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2534
2534
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSetId", () => input.DataSetId, "{DataSetId}", false);
|
|
@@ -2557,7 +2557,7 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
|
|
|
2557
2557
|
const headers = {
|
|
2558
2558
|
"content-type": "application/json",
|
|
2559
2559
|
};
|
|
2560
|
-
let resolvedPath = `${
|
|
2560
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2561
2561
|
"/accounts/{AwsAccountId}/data-sources/{DataSourceId}";
|
|
2562
2562
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2563
2563
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSourceId", () => input.DataSourceId, "{DataSourceId}", false);
|
|
@@ -2593,7 +2593,7 @@ const serializeAws_restJson1UpdateDataSourcePermissionsCommand = async (input, c
|
|
|
2593
2593
|
const headers = {
|
|
2594
2594
|
"content-type": "application/json",
|
|
2595
2595
|
};
|
|
2596
|
-
let resolvedPath = `${
|
|
2596
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2597
2597
|
"/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions";
|
|
2598
2598
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2599
2599
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DataSourceId", () => input.DataSourceId, "{DataSourceId}", false);
|
|
@@ -2622,7 +2622,7 @@ const serializeAws_restJson1UpdateFolderCommand = async (input, context) => {
|
|
|
2622
2622
|
const headers = {
|
|
2623
2623
|
"content-type": "application/json",
|
|
2624
2624
|
};
|
|
2625
|
-
let resolvedPath = `${
|
|
2625
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2626
2626
|
"/accounts/{AwsAccountId}/folders/{FolderId}";
|
|
2627
2627
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2628
2628
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -2646,7 +2646,7 @@ const serializeAws_restJson1UpdateFolderPermissionsCommand = async (input, conte
|
|
|
2646
2646
|
const headers = {
|
|
2647
2647
|
"content-type": "application/json",
|
|
2648
2648
|
};
|
|
2649
|
-
let resolvedPath = `${
|
|
2649
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2650
2650
|
"/accounts/{AwsAccountId}/folders/{FolderId}/permissions";
|
|
2651
2651
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2652
2652
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FolderId", () => input.FolderId, "{FolderId}", false);
|
|
@@ -2675,7 +2675,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
|
|
|
2675
2675
|
const headers = {
|
|
2676
2676
|
"content-type": "application/json",
|
|
2677
2677
|
};
|
|
2678
|
-
let resolvedPath = `${
|
|
2678
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2679
2679
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}";
|
|
2680
2680
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "GroupName", () => input.GroupName, "{GroupName}", false);
|
|
2681
2681
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -2700,7 +2700,7 @@ const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async (input, con
|
|
|
2700
2700
|
const headers = {
|
|
2701
2701
|
"content-type": "application/json",
|
|
2702
2702
|
};
|
|
2703
|
-
let resolvedPath = `${
|
|
2703
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2704
2704
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}";
|
|
2705
2705
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2706
2706
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AssignmentName", () => input.AssignmentName, "{AssignmentName}", false);
|
|
@@ -2727,7 +2727,7 @@ const serializeAws_restJson1UpdateIpRestrictionCommand = async (input, context)
|
|
|
2727
2727
|
const headers = {
|
|
2728
2728
|
"content-type": "application/json",
|
|
2729
2729
|
};
|
|
2730
|
-
let resolvedPath = `${
|
|
2730
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/ip-restriction";
|
|
2731
2731
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2732
2732
|
let body;
|
|
2733
2733
|
body = JSON.stringify({
|
|
@@ -2752,7 +2752,7 @@ const serializeAws_restJson1UpdatePublicSharingSettingsCommand = async (input, c
|
|
|
2752
2752
|
const headers = {
|
|
2753
2753
|
"content-type": "application/json",
|
|
2754
2754
|
};
|
|
2755
|
-
let resolvedPath = `${
|
|
2755
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2756
2756
|
"/accounts/{AwsAccountId}/public-sharing-settings";
|
|
2757
2757
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2758
2758
|
let body;
|
|
@@ -2775,7 +2775,7 @@ const serializeAws_restJson1UpdateTemplateCommand = async (input, context) => {
|
|
|
2775
2775
|
const headers = {
|
|
2776
2776
|
"content-type": "application/json",
|
|
2777
2777
|
};
|
|
2778
|
-
let resolvedPath = `${
|
|
2778
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2779
2779
|
"/accounts/{AwsAccountId}/templates/{TemplateId}";
|
|
2780
2780
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2781
2781
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -2803,7 +2803,7 @@ const serializeAws_restJson1UpdateTemplateAliasCommand = async (input, context)
|
|
|
2803
2803
|
const headers = {
|
|
2804
2804
|
"content-type": "application/json",
|
|
2805
2805
|
};
|
|
2806
|
-
let resolvedPath = `${
|
|
2806
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2807
2807
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}";
|
|
2808
2808
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2809
2809
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -2828,7 +2828,7 @@ const serializeAws_restJson1UpdateTemplatePermissionsCommand = async (input, con
|
|
|
2828
2828
|
const headers = {
|
|
2829
2829
|
"content-type": "application/json",
|
|
2830
2830
|
};
|
|
2831
|
-
let resolvedPath = `${
|
|
2831
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2832
2832
|
"/accounts/{AwsAccountId}/templates/{TemplateId}/permissions";
|
|
2833
2833
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2834
2834
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
@@ -2857,7 +2857,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
|
|
|
2857
2857
|
const headers = {
|
|
2858
2858
|
"content-type": "application/json",
|
|
2859
2859
|
};
|
|
2860
|
-
let resolvedPath = `${
|
|
2860
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/themes/{ThemeId}";
|
|
2861
2861
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2862
2862
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
2863
2863
|
let body;
|
|
@@ -2885,7 +2885,7 @@ const serializeAws_restJson1UpdateThemeAliasCommand = async (input, context) =>
|
|
|
2885
2885
|
const headers = {
|
|
2886
2886
|
"content-type": "application/json",
|
|
2887
2887
|
};
|
|
2888
|
-
let resolvedPath = `${
|
|
2888
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2889
2889
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}";
|
|
2890
2890
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2891
2891
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -2910,7 +2910,7 @@ const serializeAws_restJson1UpdateThemePermissionsCommand = async (input, contex
|
|
|
2910
2910
|
const headers = {
|
|
2911
2911
|
"content-type": "application/json",
|
|
2912
2912
|
};
|
|
2913
|
-
let resolvedPath = `${
|
|
2913
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2914
2914
|
"/accounts/{AwsAccountId}/themes/{ThemeId}/permissions";
|
|
2915
2915
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
2916
2916
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ThemeId", () => input.ThemeId, "{ThemeId}", false);
|
|
@@ -2939,7 +2939,7 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
|
|
|
2939
2939
|
const headers = {
|
|
2940
2940
|
"content-type": "application/json",
|
|
2941
2941
|
};
|
|
2942
|
-
let resolvedPath = `${
|
|
2942
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2943
2943
|
"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
|
|
2944
2944
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
|
|
2945
2945
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
|
|
@@ -13323,15 +13323,12 @@ const deserializeAws_restJson1VpcConnectionProperties = (output, context) => {
|
|
|
13323
13323
|
VpcConnectionArn: (0, smithy_client_1.expectString)(output.VpcConnectionArn),
|
|
13324
13324
|
};
|
|
13325
13325
|
};
|
|
13326
|
-
const deserializeMetadata = (output) => {
|
|
13327
|
-
|
|
13328
|
-
|
|
13329
|
-
|
|
13330
|
-
|
|
13331
|
-
|
|
13332
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
13333
|
-
});
|
|
13334
|
-
};
|
|
13326
|
+
const deserializeMetadata = (output) => ({
|
|
13327
|
+
httpStatusCode: output.statusCode,
|
|
13328
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
13329
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
13330
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
13331
|
+
});
|
|
13335
13332
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
13336
13333
|
if (streamBody instanceof Uint8Array) {
|
|
13337
13334
|
return Promise.resolve(streamBody);
|
|
@@ -13351,9 +13348,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
13351
13348
|
return {};
|
|
13352
13349
|
});
|
|
13353
13350
|
const parseErrorBody = async (errorBody, context) => {
|
|
13354
|
-
var _a;
|
|
13355
13351
|
const value = await parseBody(errorBody, context);
|
|
13356
|
-
value.message =
|
|
13352
|
+
value.message = value.message ?? value.Message;
|
|
13357
13353
|
return value;
|
|
13358
13354
|
};
|
|
13359
13355
|
const loadRestJsonErrorCode = (output, data) => {
|