@aws-sdk/client-quicksight 3.92.0 → 3.94.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/QuickSight.js +15 -0
- package/dist-cjs/commands/UpdatePublicSharingSettingsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +13 -1
- package/dist-cjs/protocols/Aws_restJson1.js +93 -3
- package/dist-es/QuickSight.js +15 -0
- package/dist-es/commands/UpdatePublicSharingSettingsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +117 -0
- package/dist-types/QuickSight.d.ts +11 -2
- package/dist-types/QuickSightClient.d.ts +3 -2
- package/dist-types/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +1 -1
- package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublicSharingSettingsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/models/models_1.d.ts +33 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/QuickSight.d.ts +1 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdatePublicSharingSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +20 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-quicksight:** API UpdatePublicSharingSettings enables IAM admins to enable/disable account level setting for public access of dashboards. When enabled, owners/co-owners for dashboards can enable public access on their dashboards. These dashboards can only be accessed through share link or embedding. ([389837a](https://github.com/aws/aws-sdk-js-v3/commit/389837a2e6670d39c719d23ac4c9dc1877903f6f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-quicksight
|
package/dist-cjs/QuickSight.js
CHANGED
|
@@ -111,6 +111,7 @@ const UpdateFolderPermissionsCommand_1 = require("./commands/UpdateFolderPermiss
|
|
|
111
111
|
const UpdateGroupCommand_1 = require("./commands/UpdateGroupCommand");
|
|
112
112
|
const UpdateIAMPolicyAssignmentCommand_1 = require("./commands/UpdateIAMPolicyAssignmentCommand");
|
|
113
113
|
const UpdateIpRestrictionCommand_1 = require("./commands/UpdateIpRestrictionCommand");
|
|
114
|
+
const UpdatePublicSharingSettingsCommand_1 = require("./commands/UpdatePublicSharingSettingsCommand");
|
|
114
115
|
const UpdateTemplateAliasCommand_1 = require("./commands/UpdateTemplateAliasCommand");
|
|
115
116
|
const UpdateTemplateCommand_1 = require("./commands/UpdateTemplateCommand");
|
|
116
117
|
const UpdateTemplatePermissionsCommand_1 = require("./commands/UpdateTemplatePermissionsCommand");
|
|
@@ -1660,6 +1661,20 @@ class QuickSight extends QuickSightClient_1.QuickSightClient {
|
|
|
1660
1661
|
return this.send(command, optionsOrCb);
|
|
1661
1662
|
}
|
|
1662
1663
|
}
|
|
1664
|
+
updatePublicSharingSettings(args, optionsOrCb, cb) {
|
|
1665
|
+
const command = new UpdatePublicSharingSettingsCommand_1.UpdatePublicSharingSettingsCommand(args);
|
|
1666
|
+
if (typeof optionsOrCb === "function") {
|
|
1667
|
+
this.send(command, optionsOrCb);
|
|
1668
|
+
}
|
|
1669
|
+
else if (typeof cb === "function") {
|
|
1670
|
+
if (typeof optionsOrCb !== "object")
|
|
1671
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1672
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1673
|
+
}
|
|
1674
|
+
else {
|
|
1675
|
+
return this.send(command, optionsOrCb);
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1663
1678
|
updateTemplate(args, optionsOrCb, cb) {
|
|
1664
1679
|
const command = new UpdateTemplateCommand_1.UpdateTemplateCommand(args);
|
|
1665
1680
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePublicSharingSettingsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdatePublicSharingSettingsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "QuickSightClient";
|
|
18
|
+
const commandName = "UpdatePublicSharingSettingsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdatePublicSharingSettingsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdatePublicSharingSettingsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdatePublicSharingSettingsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdatePublicSharingSettingsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdatePublicSharingSettingsCommand = UpdatePublicSharingSettingsCommand;
|
|
@@ -111,6 +111,7 @@ tslib_1.__exportStar(require("./UpdateFolderPermissionsCommand"), exports);
|
|
|
111
111
|
tslib_1.__exportStar(require("./UpdateGroupCommand"), exports);
|
|
112
112
|
tslib_1.__exportStar(require("./UpdateIAMPolicyAssignmentCommand"), exports);
|
|
113
113
|
tslib_1.__exportStar(require("./UpdateIpRestrictionCommand"), exports);
|
|
114
|
+
tslib_1.__exportStar(require("./UpdatePublicSharingSettingsCommand"), exports);
|
|
114
115
|
tslib_1.__exportStar(require("./UpdateTemplateAliasCommand"), exports);
|
|
115
116
|
tslib_1.__exportStar(require("./UpdateTemplateCommand"), exports);
|
|
116
117
|
tslib_1.__exportStar(require("./UpdateTemplatePermissionsCommand"), exports);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListGroupsResponse = exports.ListGroupsRequest = exports.ListGroupMembershipsResponse = exports.ListGroupMembershipsRequest = exports.ListFoldersResponse = exports.ListFoldersRequest = exports.ListFolderMembersResponse = exports.ListFolderMembersRequest = exports.ListDataSourcesResponse = exports.ListDataSourcesRequest = exports.ListDataSetsResponse = exports.ListDataSetsRequest = exports.ListDashboardVersionsResponse = exports.ListDashboardVersionsRequest = exports.ListDashboardsResponse = exports.ListDashboardsRequest = exports.ListAnalysesResponse = exports.ListAnalysesRequest = exports.IAMPolicyAssignmentSummary = exports.GroupSearchFilter = exports.GroupFilterOperator = exports.GroupFilterAttribute = exports.GetSessionEmbedUrlResponse = exports.GetSessionEmbedUrlRequest = exports.IdentityTypeNotSupportedException = exports.GetDashboardEmbedUrlResponse = exports.GetDashboardEmbedUrlRequest = exports.QuickSightUserNotFoundException = exports.GenerateEmbedUrlForRegisteredUserResponse = exports.GenerateEmbedUrlForRegisteredUserRequest = exports.RegisteredUserEmbeddingExperienceConfiguration = exports.RegisteredUserQuickSightConsoleEmbeddingConfiguration = exports.RegisteredUserQSearchBarEmbeddingConfiguration = exports.RegisteredUserDashboardEmbeddingConfiguration = exports.UnsupportedPricingPlanException = exports.SessionLifetimeInMinutesInvalidException = exports.GenerateEmbedUrlForAnonymousUserResponse = exports.GenerateEmbedUrlForAnonymousUserRequest = exports.SessionTag = exports.FolderSummary = exports.FolderSearchFilter = exports.MemberIdArnPair = exports.FolderFilterAttribute = exports.EmbeddingIdentityType = exports.DomainNotWhitelistedException = exports.DescribeUserResponse = exports.User = exports.UserRole = exports.IdentityType = exports.DescribeUserRequest = void 0;
|
|
4
4
|
exports.UpdateAccountSettingsResponse = exports.UpdateAccountSettingsRequest = exports.UpdateAccountCustomizationResponse = exports.UpdateAccountCustomizationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SearchGroupsResponse = exports.SearchGroupsRequest = exports.SearchFoldersResponse = exports.SearchFoldersRequest = exports.SearchDashboardsResponse = exports.SearchDashboardsRequest = exports.SearchAnalysesResponse = exports.SearchAnalysesRequest = exports.RestoreAnalysisResponse = exports.RestoreAnalysisRequest = exports.RegisterUserResponse = exports.RegisterUserRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListUserGroupsResponse = exports.ListUserGroupsRequest = exports.ListThemeVersionsResponse = exports.ThemeVersionSummary = exports.ListThemeVersionsRequest = exports.ListThemesResponse = exports.ThemeSummary = exports.ListThemesRequest = exports.ListThemeAliasesResponse = exports.ListThemeAliasesRequest = exports.ListTemplateVersionsResponse = exports.TemplateVersionSummary = exports.ListTemplateVersionsRequest = exports.ListTemplatesResponse = exports.TemplateSummary = exports.ListTemplatesRequest = exports.ListTemplateAliasesResponse = exports.ListTemplateAliasesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListNamespacesResponse = exports.ListNamespacesRequest = exports.ListIngestionsResponse = exports.ListIngestionsRequest = exports.ListIAMPolicyAssignmentsForUserResponse = exports.ListIAMPolicyAssignmentsForUserRequest = exports.ListIAMPolicyAssignmentsResponse = exports.ListIAMPolicyAssignmentsRequest = void 0;
|
|
5
|
-
exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateThemePermissionsResponse = exports.UpdateThemePermissionsRequest = exports.UpdateThemeAliasResponse = exports.UpdateThemeAliasRequest = exports.UpdateThemeResponse = exports.UpdateThemeRequest = exports.UpdateTemplatePermissionsResponse = exports.UpdateTemplatePermissionsRequest = exports.UpdateTemplateAliasResponse = exports.UpdateTemplateAliasRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateIpRestrictionResponse = exports.UpdateIpRestrictionRequest = exports.UpdateIAMPolicyAssignmentResponse = exports.UpdateIAMPolicyAssignmentRequest = exports.UpdateGroupResponse = exports.UpdateGroupRequest = exports.UpdateFolderPermissionsResponse = exports.UpdateFolderPermissionsRequest = exports.UpdateFolderResponse = exports.UpdateFolderRequest = exports.UpdateDataSourcePermissionsResponse = exports.UpdateDataSourcePermissionsRequest = exports.UpdateDataSourceResponse = exports.UpdateDataSourceRequest = exports.UpdateDataSetPermissionsResponse = exports.UpdateDataSetPermissionsRequest = exports.UpdateDataSetResponse = exports.UpdateDataSetRequest = exports.UpdateDashboardPublishedVersionResponse = exports.UpdateDashboardPublishedVersionRequest = exports.UpdateDashboardPermissionsResponse = exports.UpdateDashboardPermissionsRequest = exports.UpdateDashboardResponse = exports.UpdateDashboardRequest = exports.UpdateAnalysisPermissionsResponse = exports.UpdateAnalysisPermissionsRequest = exports.UpdateAnalysisResponse = exports.UpdateAnalysisRequest = void 0;
|
|
5
|
+
exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateThemePermissionsResponse = exports.UpdateThemePermissionsRequest = exports.UpdateThemeAliasResponse = exports.UpdateThemeAliasRequest = exports.UpdateThemeResponse = exports.UpdateThemeRequest = exports.UpdateTemplatePermissionsResponse = exports.UpdateTemplatePermissionsRequest = exports.UpdateTemplateAliasResponse = exports.UpdateTemplateAliasRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdatePublicSharingSettingsResponse = exports.UpdatePublicSharingSettingsRequest = exports.UpdateIpRestrictionResponse = exports.UpdateIpRestrictionRequest = exports.UpdateIAMPolicyAssignmentResponse = exports.UpdateIAMPolicyAssignmentRequest = exports.UpdateGroupResponse = exports.UpdateGroupRequest = exports.UpdateFolderPermissionsResponse = exports.UpdateFolderPermissionsRequest = exports.UpdateFolderResponse = exports.UpdateFolderRequest = exports.UpdateDataSourcePermissionsResponse = exports.UpdateDataSourcePermissionsRequest = exports.UpdateDataSourceResponse = exports.UpdateDataSourceRequest = exports.UpdateDataSetPermissionsResponse = exports.UpdateDataSetPermissionsRequest = exports.UpdateDataSetResponse = exports.UpdateDataSetRequest = exports.UpdateDashboardPublishedVersionResponse = exports.UpdateDashboardPublishedVersionRequest = exports.UpdateDashboardPermissionsResponse = exports.UpdateDashboardPermissionsRequest = exports.UpdateDashboardResponse = exports.UpdateDashboardRequest = exports.UpdateAnalysisPermissionsResponse = exports.UpdateAnalysisPermissionsRequest = exports.UpdateAnalysisResponse = exports.UpdateAnalysisRequest = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("./models_0");
|
|
8
8
|
const QuickSightServiceException_1 = require("./QuickSightServiceException");
|
|
@@ -840,6 +840,18 @@ var UpdateIpRestrictionResponse;
|
|
|
840
840
|
...obj,
|
|
841
841
|
});
|
|
842
842
|
})(UpdateIpRestrictionResponse = exports.UpdateIpRestrictionResponse || (exports.UpdateIpRestrictionResponse = {}));
|
|
843
|
+
var UpdatePublicSharingSettingsRequest;
|
|
844
|
+
(function (UpdatePublicSharingSettingsRequest) {
|
|
845
|
+
UpdatePublicSharingSettingsRequest.filterSensitiveLog = (obj) => ({
|
|
846
|
+
...obj,
|
|
847
|
+
});
|
|
848
|
+
})(UpdatePublicSharingSettingsRequest = exports.UpdatePublicSharingSettingsRequest || (exports.UpdatePublicSharingSettingsRequest = {}));
|
|
849
|
+
var UpdatePublicSharingSettingsResponse;
|
|
850
|
+
(function (UpdatePublicSharingSettingsResponse) {
|
|
851
|
+
UpdatePublicSharingSettingsResponse.filterSensitiveLog = (obj) => ({
|
|
852
|
+
...obj,
|
|
853
|
+
});
|
|
854
|
+
})(UpdatePublicSharingSettingsResponse = exports.UpdatePublicSharingSettingsResponse || (exports.UpdatePublicSharingSettingsResponse = {}));
|
|
843
855
|
var UpdateTemplateRequest;
|
|
844
856
|
(function (UpdateTemplateRequest) {
|
|
845
857
|
UpdateTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DescribeGroupMembershipCommand = exports.serializeAws_restJson1DescribeGroupCommand = exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.serializeAws_restJson1DescribeFolderPermissionsCommand = exports.serializeAws_restJson1DescribeFolderCommand = exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.serializeAws_restJson1DescribeDataSourceCommand = exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = exports.serializeAws_restJson1DescribeDataSetCommand = exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = exports.serializeAws_restJson1DescribeDashboardCommand = exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.serializeAws_restJson1DescribeAnalysisCommand = exports.serializeAws_restJson1DescribeAccountSettingsCommand = exports.serializeAws_restJson1DescribeAccountCustomizationCommand = exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteThemeAliasCommand = exports.serializeAws_restJson1DeleteThemeCommand = exports.serializeAws_restJson1DeleteTemplateAliasCommand = exports.serializeAws_restJson1DeleteTemplateCommand = exports.serializeAws_restJson1DeleteNamespaceCommand = exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DeleteGroupMembershipCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1DeleteFolderMembershipCommand = exports.serializeAws_restJson1DeleteFolderCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteDashboardCommand = exports.serializeAws_restJson1DeleteAnalysisCommand = exports.serializeAws_restJson1DeleteAccountCustomizationCommand = exports.serializeAws_restJson1CreateThemeAliasCommand = exports.serializeAws_restJson1CreateThemeCommand = exports.serializeAws_restJson1CreateTemplateAliasCommand = exports.serializeAws_restJson1CreateTemplateCommand = exports.serializeAws_restJson1CreateNamespaceCommand = exports.serializeAws_restJson1CreateIngestionCommand = exports.serializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1CreateGroupMembershipCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1CreateFolderMembershipCommand = exports.serializeAws_restJson1CreateFolderCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CreateDashboardCommand = exports.serializeAws_restJson1CreateAnalysisCommand = exports.serializeAws_restJson1CreateAccountCustomizationCommand = exports.serializeAws_restJson1CancelIngestionCommand = void 0;
|
|
4
4
|
exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = exports.serializeAws_restJson1UpdateDashboardCommand = exports.serializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.serializeAws_restJson1UpdateAnalysisCommand = exports.serializeAws_restJson1UpdateAccountSettingsCommand = exports.serializeAws_restJson1UpdateAccountCustomizationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchGroupsCommand = exports.serializeAws_restJson1SearchFoldersCommand = exports.serializeAws_restJson1SearchDashboardsCommand = exports.serializeAws_restJson1SearchAnalysesCommand = exports.serializeAws_restJson1RestoreAnalysisCommand = exports.serializeAws_restJson1RegisterUserCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserGroupsCommand = exports.serializeAws_restJson1ListThemeVersionsCommand = exports.serializeAws_restJson1ListThemesCommand = exports.serializeAws_restJson1ListThemeAliasesCommand = exports.serializeAws_restJson1ListTemplateVersionsCommand = exports.serializeAws_restJson1ListTemplatesCommand = exports.serializeAws_restJson1ListTemplateAliasesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNamespacesCommand = exports.serializeAws_restJson1ListIngestionsCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.serializeAws_restJson1ListGroupsCommand = exports.serializeAws_restJson1ListGroupMembershipsCommand = exports.serializeAws_restJson1ListFoldersCommand = exports.serializeAws_restJson1ListFolderMembersCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDashboardVersionsCommand = exports.serializeAws_restJson1ListDashboardsCommand = exports.serializeAws_restJson1ListAnalysesCommand = exports.serializeAws_restJson1GetSessionEmbedUrlCommand = exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeThemePermissionsCommand = exports.serializeAws_restJson1DescribeThemeAliasCommand = exports.serializeAws_restJson1DescribeThemeCommand = exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = exports.serializeAws_restJson1DescribeTemplateAliasCommand = exports.serializeAws_restJson1DescribeTemplateCommand = exports.serializeAws_restJson1DescribeNamespaceCommand = exports.serializeAws_restJson1DescribeIpRestrictionCommand = exports.serializeAws_restJson1DescribeIngestionCommand = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_restJson1DeleteThemeAliasCommand = exports.deserializeAws_restJson1DeleteThemeCommand = exports.deserializeAws_restJson1DeleteTemplateAliasCommand = exports.deserializeAws_restJson1DeleteTemplateCommand = exports.deserializeAws_restJson1DeleteNamespaceCommand = exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DeleteGroupMembershipCommand = exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1DeleteFolderMembershipCommand = exports.deserializeAws_restJson1DeleteFolderCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteDashboardCommand = exports.deserializeAws_restJson1DeleteAnalysisCommand = exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = exports.deserializeAws_restJson1CreateThemeAliasCommand = exports.deserializeAws_restJson1CreateThemeCommand = exports.deserializeAws_restJson1CreateTemplateAliasCommand = exports.deserializeAws_restJson1CreateTemplateCommand = exports.deserializeAws_restJson1CreateNamespaceCommand = exports.deserializeAws_restJson1CreateIngestionCommand = exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1CreateGroupMembershipCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1CreateFolderMembershipCommand = exports.deserializeAws_restJson1CreateFolderCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CreateDashboardCommand = exports.deserializeAws_restJson1CreateAnalysisCommand = exports.deserializeAws_restJson1CreateAccountCustomizationCommand = exports.deserializeAws_restJson1CancelIngestionCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdateThemePermissionsCommand = exports.serializeAws_restJson1UpdateThemeAliasCommand = exports.serializeAws_restJson1UpdateThemeCommand = exports.serializeAws_restJson1UpdateTemplatePermissionsCommand = exports.serializeAws_restJson1UpdateTemplateAliasCommand = exports.serializeAws_restJson1UpdateTemplateCommand = exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.serializeAws_restJson1UpdateIpRestrictionCommand = exports.serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UpdateFolderPermissionsCommand = exports.serializeAws_restJson1UpdateFolderCommand = exports.serializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateDataSetPermissionsCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateDashboardPublishedVersionCommand = void 0;
|
|
6
|
+
exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNamespacesCommand = exports.deserializeAws_restJson1ListIngestionsCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.deserializeAws_restJson1ListGroupsCommand = exports.deserializeAws_restJson1ListGroupMembershipsCommand = exports.deserializeAws_restJson1ListFoldersCommand = exports.deserializeAws_restJson1ListFolderMembersCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDashboardVersionsCommand = exports.deserializeAws_restJson1ListDashboardsCommand = exports.deserializeAws_restJson1ListAnalysesCommand = exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeThemePermissionsCommand = exports.deserializeAws_restJson1DescribeThemeAliasCommand = exports.deserializeAws_restJson1DescribeThemeCommand = exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = exports.deserializeAws_restJson1DescribeTemplateAliasCommand = exports.deserializeAws_restJson1DescribeTemplateCommand = exports.deserializeAws_restJson1DescribeNamespaceCommand = exports.deserializeAws_restJson1DescribeIpRestrictionCommand = exports.deserializeAws_restJson1DescribeIngestionCommand = exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DescribeGroupMembershipCommand = exports.deserializeAws_restJson1DescribeGroupCommand = exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderCommand = exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.deserializeAws_restJson1DescribeDataSourceCommand = exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = exports.deserializeAws_restJson1DescribeDataSetCommand = exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = exports.deserializeAws_restJson1DescribeDashboardCommand = exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.deserializeAws_restJson1DescribeAnalysisCommand = exports.deserializeAws_restJson1DescribeAccountSettingsCommand = exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.deserializeAws_restJson1DeleteUserCommand = void 0;
|
|
7
|
+
exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = void 0;
|
|
8
8
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
@@ -4794,6 +4794,39 @@ const serializeAws_restJson1UpdateIpRestrictionCommand = async (input, context)
|
|
|
4794
4794
|
});
|
|
4795
4795
|
};
|
|
4796
4796
|
exports.serializeAws_restJson1UpdateIpRestrictionCommand = serializeAws_restJson1UpdateIpRestrictionCommand;
|
|
4797
|
+
const serializeAws_restJson1UpdatePublicSharingSettingsCommand = async (input, context) => {
|
|
4798
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4799
|
+
const headers = {
|
|
4800
|
+
"content-type": "application/json",
|
|
4801
|
+
};
|
|
4802
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
4803
|
+
"/accounts/{AwsAccountId}/public-sharing-settings";
|
|
4804
|
+
if (input.AwsAccountId !== undefined) {
|
|
4805
|
+
const labelValue = input.AwsAccountId;
|
|
4806
|
+
if (labelValue.length <= 0) {
|
|
4807
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
4808
|
+
}
|
|
4809
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
4810
|
+
}
|
|
4811
|
+
else {
|
|
4812
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
4813
|
+
}
|
|
4814
|
+
let body;
|
|
4815
|
+
body = JSON.stringify({
|
|
4816
|
+
...(input.PublicSharingEnabled !== undefined &&
|
|
4817
|
+
input.PublicSharingEnabled !== null && { PublicSharingEnabled: input.PublicSharingEnabled }),
|
|
4818
|
+
});
|
|
4819
|
+
return new protocol_http_1.HttpRequest({
|
|
4820
|
+
protocol,
|
|
4821
|
+
hostname,
|
|
4822
|
+
port,
|
|
4823
|
+
method: "PUT",
|
|
4824
|
+
headers,
|
|
4825
|
+
path: resolvedPath,
|
|
4826
|
+
body,
|
|
4827
|
+
});
|
|
4828
|
+
};
|
|
4829
|
+
exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = serializeAws_restJson1UpdatePublicSharingSettingsCommand;
|
|
4797
4830
|
const serializeAws_restJson1UpdateTemplateCommand = async (input, context) => {
|
|
4798
4831
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4799
4832
|
const headers = {
|
|
@@ -12421,6 +12454,62 @@ const deserializeAws_restJson1UpdateIpRestrictionCommandError = async (output, c
|
|
|
12421
12454
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
12422
12455
|
}
|
|
12423
12456
|
};
|
|
12457
|
+
const deserializeAws_restJson1UpdatePublicSharingSettingsCommand = async (output, context) => {
|
|
12458
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12459
|
+
return deserializeAws_restJson1UpdatePublicSharingSettingsCommandError(output, context);
|
|
12460
|
+
}
|
|
12461
|
+
const contents = {
|
|
12462
|
+
$metadata: deserializeMetadata(output),
|
|
12463
|
+
RequestId: undefined,
|
|
12464
|
+
Status: undefined,
|
|
12465
|
+
};
|
|
12466
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
12467
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
12468
|
+
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
12469
|
+
}
|
|
12470
|
+
if (contents.Status === undefined) {
|
|
12471
|
+
contents.Status = output.statusCode;
|
|
12472
|
+
}
|
|
12473
|
+
return Promise.resolve(contents);
|
|
12474
|
+
};
|
|
12475
|
+
exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = deserializeAws_restJson1UpdatePublicSharingSettingsCommand;
|
|
12476
|
+
const deserializeAws_restJson1UpdatePublicSharingSettingsCommandError = async (output, context) => {
|
|
12477
|
+
const parsedOutput = {
|
|
12478
|
+
...output,
|
|
12479
|
+
body: await parseBody(output.body, context),
|
|
12480
|
+
};
|
|
12481
|
+
let response;
|
|
12482
|
+
let errorCode = "UnknownError";
|
|
12483
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12484
|
+
switch (errorCode) {
|
|
12485
|
+
case "AccessDeniedException":
|
|
12486
|
+
case "com.amazonaws.quicksight#AccessDeniedException":
|
|
12487
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
12488
|
+
case "InternalFailureException":
|
|
12489
|
+
case "com.amazonaws.quicksight#InternalFailureException":
|
|
12490
|
+
throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
|
|
12491
|
+
case "InvalidParameterValueException":
|
|
12492
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException":
|
|
12493
|
+
throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
12494
|
+
case "ResourceNotFoundException":
|
|
12495
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException":
|
|
12496
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
12497
|
+
case "ThrottlingException":
|
|
12498
|
+
case "com.amazonaws.quicksight#ThrottlingException":
|
|
12499
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
12500
|
+
case "UnsupportedPricingPlanException":
|
|
12501
|
+
case "com.amazonaws.quicksight#UnsupportedPricingPlanException":
|
|
12502
|
+
throw await deserializeAws_restJson1UnsupportedPricingPlanExceptionResponse(parsedOutput, context);
|
|
12503
|
+
default:
|
|
12504
|
+
const parsedBody = parsedOutput.body;
|
|
12505
|
+
response = new QuickSightServiceException_1.QuickSightServiceException({
|
|
12506
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
12507
|
+
$fault: "client",
|
|
12508
|
+
$metadata: deserializeMetadata(output),
|
|
12509
|
+
});
|
|
12510
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
12511
|
+
}
|
|
12512
|
+
};
|
|
12424
12513
|
const deserializeAws_restJson1UpdateTemplateCommand = async (output, context) => {
|
|
12425
12514
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12426
12515
|
return deserializeAws_restJson1UpdateTemplateCommandError(output, context);
|
|
@@ -14428,6 +14517,7 @@ const deserializeAws_restJson1AccountSettings = (output, context) => {
|
|
|
14428
14517
|
DefaultNamespace: (0, smithy_client_1.expectString)(output.DefaultNamespace),
|
|
14429
14518
|
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
14430
14519
|
NotificationEmail: (0, smithy_client_1.expectString)(output.NotificationEmail),
|
|
14520
|
+
PublicSharingEnabled: (0, smithy_client_1.expectBoolean)(output.PublicSharingEnabled),
|
|
14431
14521
|
};
|
|
14432
14522
|
};
|
|
14433
14523
|
const deserializeAws_restJson1ActionList = (output, context) => {
|
package/dist-es/QuickSight.js
CHANGED
|
@@ -109,6 +109,7 @@ import { UpdateFolderPermissionsCommand, } from "./commands/UpdateFolderPermissi
|
|
|
109
109
|
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
110
110
|
import { UpdateIAMPolicyAssignmentCommand, } from "./commands/UpdateIAMPolicyAssignmentCommand";
|
|
111
111
|
import { UpdateIpRestrictionCommand, } from "./commands/UpdateIpRestrictionCommand";
|
|
112
|
+
import { UpdatePublicSharingSettingsCommand, } from "./commands/UpdatePublicSharingSettingsCommand";
|
|
112
113
|
import { UpdateTemplateAliasCommand, } from "./commands/UpdateTemplateAliasCommand";
|
|
113
114
|
import { UpdateTemplateCommand, } from "./commands/UpdateTemplateCommand";
|
|
114
115
|
import { UpdateTemplatePermissionsCommand, } from "./commands/UpdateTemplatePermissionsCommand";
|
|
@@ -1662,6 +1663,20 @@ var QuickSight = (function (_super) {
|
|
|
1662
1663
|
return this.send(command, optionsOrCb);
|
|
1663
1664
|
}
|
|
1664
1665
|
};
|
|
1666
|
+
QuickSight.prototype.updatePublicSharingSettings = function (args, optionsOrCb, cb) {
|
|
1667
|
+
var command = new UpdatePublicSharingSettingsCommand(args);
|
|
1668
|
+
if (typeof optionsOrCb === "function") {
|
|
1669
|
+
this.send(command, optionsOrCb);
|
|
1670
|
+
}
|
|
1671
|
+
else if (typeof cb === "function") {
|
|
1672
|
+
if (typeof optionsOrCb !== "object")
|
|
1673
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1674
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1675
|
+
}
|
|
1676
|
+
else {
|
|
1677
|
+
return this.send(command, optionsOrCb);
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1665
1680
|
QuickSight.prototype.updateTemplate = function (args, optionsOrCb, cb) {
|
|
1666
1681
|
var command = new UpdateTemplateCommand(args);
|
|
1667
1682
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdatePublicSharingSettingsRequest, UpdatePublicSharingSettingsResponse } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdatePublicSharingSettingsCommand, serializeAws_restJson1UpdatePublicSharingSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdatePublicSharingSettingsCommand = (function (_super) {
|
|
7
|
+
__extends(UpdatePublicSharingSettingsCommand, _super);
|
|
8
|
+
function UpdatePublicSharingSettingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdatePublicSharingSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "QuickSightClient";
|
|
18
|
+
var commandName = "UpdatePublicSharingSettingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdatePublicSharingSettingsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdatePublicSharingSettingsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdatePublicSharingSettingsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdatePublicSharingSettingsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdatePublicSharingSettingsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdatePublicSharingSettingsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdatePublicSharingSettingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdatePublicSharingSettingsCommand };
|
|
@@ -108,6 +108,7 @@ export * from "./UpdateFolderPermissionsCommand";
|
|
|
108
108
|
export * from "./UpdateGroupCommand";
|
|
109
109
|
export * from "./UpdateIAMPolicyAssignmentCommand";
|
|
110
110
|
export * from "./UpdateIpRestrictionCommand";
|
|
111
|
+
export * from "./UpdatePublicSharingSettingsCommand";
|
|
111
112
|
export * from "./UpdateTemplateAliasCommand";
|
|
112
113
|
export * from "./UpdateTemplateCommand";
|
|
113
114
|
export * from "./UpdateTemplatePermissionsCommand";
|
|
@@ -587,6 +587,14 @@ export var UpdateIpRestrictionResponse;
|
|
|
587
587
|
(function (UpdateIpRestrictionResponse) {
|
|
588
588
|
UpdateIpRestrictionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
589
589
|
})(UpdateIpRestrictionResponse || (UpdateIpRestrictionResponse = {}));
|
|
590
|
+
export var UpdatePublicSharingSettingsRequest;
|
|
591
|
+
(function (UpdatePublicSharingSettingsRequest) {
|
|
592
|
+
UpdatePublicSharingSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
593
|
+
})(UpdatePublicSharingSettingsRequest || (UpdatePublicSharingSettingsRequest = {}));
|
|
594
|
+
export var UpdatePublicSharingSettingsResponse;
|
|
595
|
+
(function (UpdatePublicSharingSettingsResponse) {
|
|
596
|
+
UpdatePublicSharingSettingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
597
|
+
})(UpdatePublicSharingSettingsResponse || (UpdatePublicSharingSettingsResponse = {}));
|
|
590
598
|
export var UpdateTemplateRequest;
|
|
591
599
|
(function (UpdateTemplateRequest) {
|
|
592
600
|
UpdateTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -5048,6 +5048,42 @@ export var serializeAws_restJson1UpdateIpRestrictionCommand = function (input, c
|
|
|
5048
5048
|
}
|
|
5049
5049
|
});
|
|
5050
5050
|
}); };
|
|
5051
|
+
export var serializeAws_restJson1UpdatePublicSharingSettingsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5052
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
5053
|
+
return __generator(this, function (_c) {
|
|
5054
|
+
switch (_c.label) {
|
|
5055
|
+
case 0: return [4, context.endpoint()];
|
|
5056
|
+
case 1:
|
|
5057
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
5058
|
+
headers = {
|
|
5059
|
+
"content-type": "application/json",
|
|
5060
|
+
};
|
|
5061
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
5062
|
+
"/accounts/{AwsAccountId}/public-sharing-settings";
|
|
5063
|
+
if (input.AwsAccountId !== undefined) {
|
|
5064
|
+
labelValue = input.AwsAccountId;
|
|
5065
|
+
if (labelValue.length <= 0) {
|
|
5066
|
+
throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
|
|
5067
|
+
}
|
|
5068
|
+
resolvedPath = resolvedPath.replace("{AwsAccountId}", __extendedEncodeURIComponent(labelValue));
|
|
5069
|
+
}
|
|
5070
|
+
else {
|
|
5071
|
+
throw new Error("No value provided for input HTTP label: AwsAccountId.");
|
|
5072
|
+
}
|
|
5073
|
+
body = JSON.stringify(__assign({}, (input.PublicSharingEnabled !== undefined &&
|
|
5074
|
+
input.PublicSharingEnabled !== null && { PublicSharingEnabled: input.PublicSharingEnabled })));
|
|
5075
|
+
return [2, new __HttpRequest({
|
|
5076
|
+
protocol: protocol,
|
|
5077
|
+
hostname: hostname,
|
|
5078
|
+
port: port,
|
|
5079
|
+
method: "PUT",
|
|
5080
|
+
headers: headers,
|
|
5081
|
+
path: resolvedPath,
|
|
5082
|
+
body: body,
|
|
5083
|
+
})];
|
|
5084
|
+
}
|
|
5085
|
+
});
|
|
5086
|
+
}); };
|
|
5051
5087
|
export var serializeAws_restJson1UpdateTemplateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5052
5088
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
|
|
5053
5089
|
return __generator(this, function (_c) {
|
|
@@ -15397,6 +15433,86 @@ var deserializeAws_restJson1UpdateIpRestrictionCommandError = function (output,
|
|
|
15397
15433
|
}
|
|
15398
15434
|
});
|
|
15399
15435
|
}); };
|
|
15436
|
+
export var deserializeAws_restJson1UpdatePublicSharingSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15437
|
+
var contents, data, _a, _b;
|
|
15438
|
+
return __generator(this, function (_c) {
|
|
15439
|
+
switch (_c.label) {
|
|
15440
|
+
case 0:
|
|
15441
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
15442
|
+
return [2, deserializeAws_restJson1UpdatePublicSharingSettingsCommandError(output, context)];
|
|
15443
|
+
}
|
|
15444
|
+
contents = {
|
|
15445
|
+
$metadata: deserializeMetadata(output),
|
|
15446
|
+
RequestId: undefined,
|
|
15447
|
+
Status: undefined,
|
|
15448
|
+
};
|
|
15449
|
+
_a = __expectNonNull;
|
|
15450
|
+
_b = __expectObject;
|
|
15451
|
+
return [4, parseBody(output.body, context)];
|
|
15452
|
+
case 1:
|
|
15453
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
15454
|
+
if (data.RequestId !== undefined && data.RequestId !== null) {
|
|
15455
|
+
contents.RequestId = __expectString(data.RequestId);
|
|
15456
|
+
}
|
|
15457
|
+
if (contents.Status === undefined) {
|
|
15458
|
+
contents.Status = output.statusCode;
|
|
15459
|
+
}
|
|
15460
|
+
return [2, Promise.resolve(contents)];
|
|
15461
|
+
}
|
|
15462
|
+
});
|
|
15463
|
+
}); };
|
|
15464
|
+
var deserializeAws_restJson1UpdatePublicSharingSettingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15465
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
15466
|
+
var _c;
|
|
15467
|
+
return __generator(this, function (_d) {
|
|
15468
|
+
switch (_d.label) {
|
|
15469
|
+
case 0:
|
|
15470
|
+
_a = [__assign({}, output)];
|
|
15471
|
+
_c = {};
|
|
15472
|
+
return [4, parseBody(output.body, context)];
|
|
15473
|
+
case 1:
|
|
15474
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
15475
|
+
errorCode = "UnknownError";
|
|
15476
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
15477
|
+
_b = errorCode;
|
|
15478
|
+
switch (_b) {
|
|
15479
|
+
case "AccessDeniedException": return [3, 2];
|
|
15480
|
+
case "com.amazonaws.quicksight#AccessDeniedException": return [3, 2];
|
|
15481
|
+
case "InternalFailureException": return [3, 4];
|
|
15482
|
+
case "com.amazonaws.quicksight#InternalFailureException": return [3, 4];
|
|
15483
|
+
case "InvalidParameterValueException": return [3, 6];
|
|
15484
|
+
case "com.amazonaws.quicksight#InvalidParameterValueException": return [3, 6];
|
|
15485
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
15486
|
+
case "com.amazonaws.quicksight#ResourceNotFoundException": return [3, 8];
|
|
15487
|
+
case "ThrottlingException": return [3, 10];
|
|
15488
|
+
case "com.amazonaws.quicksight#ThrottlingException": return [3, 10];
|
|
15489
|
+
case "UnsupportedPricingPlanException": return [3, 12];
|
|
15490
|
+
case "com.amazonaws.quicksight#UnsupportedPricingPlanException": return [3, 12];
|
|
15491
|
+
}
|
|
15492
|
+
return [3, 14];
|
|
15493
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
15494
|
+
case 3: throw _d.sent();
|
|
15495
|
+
case 4: return [4, deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context)];
|
|
15496
|
+
case 5: throw _d.sent();
|
|
15497
|
+
case 6: return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
15498
|
+
case 7: throw _d.sent();
|
|
15499
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
15500
|
+
case 9: throw _d.sent();
|
|
15501
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
15502
|
+
case 11: throw _d.sent();
|
|
15503
|
+
case 12: return [4, deserializeAws_restJson1UnsupportedPricingPlanExceptionResponse(parsedOutput, context)];
|
|
15504
|
+
case 13: throw _d.sent();
|
|
15505
|
+
case 14:
|
|
15506
|
+
parsedBody = parsedOutput.body;
|
|
15507
|
+
response = new __BaseException({
|
|
15508
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
15509
|
+
$fault: "client",
|
|
15510
|
+
$metadata: deserializeMetadata(output),
|
|
15511
|
+
});
|
|
15512
|
+
throw __decorateServiceException(response, parsedBody);
|
|
15513
|
+
}
|
|
15514
|
+
});
|
|
15515
|
+
}); };
|
|
15400
15516
|
export var deserializeAws_restJson1UpdateTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15401
15517
|
var contents, data, _a, _b;
|
|
15402
15518
|
return __generator(this, function (_c) {
|
|
@@ -17260,6 +17376,7 @@ var deserializeAws_restJson1AccountSettings = function (output, context) {
|
|
|
17260
17376
|
DefaultNamespace: __expectString(output.DefaultNamespace),
|
|
17261
17377
|
Edition: __expectString(output.Edition),
|
|
17262
17378
|
NotificationEmail: __expectString(output.NotificationEmail),
|
|
17379
|
+
PublicSharingEnabled: __expectBoolean(output.PublicSharingEnabled),
|
|
17263
17380
|
};
|
|
17264
17381
|
};
|
|
17265
17382
|
var deserializeAws_restJson1ActionList = function (output, context) {
|
|
@@ -109,6 +109,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
109
109
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
110
110
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "./commands/UpdateIAMPolicyAssignmentCommand";
|
|
111
111
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "./commands/UpdateIpRestrictionCommand";
|
|
112
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "./commands/UpdatePublicSharingSettingsCommand";
|
|
112
113
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "./commands/UpdateTemplateAliasCommand";
|
|
113
114
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
114
115
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "./commands/UpdateTemplatePermissionsCommand";
|
|
@@ -639,7 +640,7 @@ export declare class QuickSight extends QuickSightClient {
|
|
|
639
640
|
* that can be customized using the <code>
|
|
640
641
|
* <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes">SessionLifetimeInMinutes</a>
|
|
641
642
|
* </code> parameter.</p>
|
|
642
|
-
* <p>The resulting user session is valid for 15 minutes (
|
|
643
|
+
* <p>The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours. </p>
|
|
643
644
|
* </li>
|
|
644
645
|
* <li>
|
|
645
646
|
* <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p>
|
|
@@ -664,7 +665,7 @@ export declare class QuickSight extends QuickSightClient {
|
|
|
664
665
|
* that can be customized using the <code>
|
|
665
666
|
* <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes">SessionLifetimeInMinutes</a>
|
|
666
667
|
* </code> parameter.</p>
|
|
667
|
-
* <p>The resulting user session is valid for 15 minutes (
|
|
668
|
+
* <p>The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.</p>
|
|
668
669
|
* </li>
|
|
669
670
|
* <li>
|
|
670
671
|
* <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p>
|
|
@@ -1059,6 +1060,14 @@ export declare class QuickSight extends QuickSightClient {
|
|
|
1059
1060
|
updateIpRestriction(args: UpdateIpRestrictionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIpRestrictionCommandOutput>;
|
|
1060
1061
|
updateIpRestriction(args: UpdateIpRestrictionCommandInput, cb: (err: any, data?: UpdateIpRestrictionCommandOutput) => void): void;
|
|
1061
1062
|
updateIpRestriction(args: UpdateIpRestrictionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIpRestrictionCommandOutput) => void): void;
|
|
1063
|
+
/**
|
|
1064
|
+
* <p>Use the UpdatePublicSharingSettings operation to enable or disable the public sharing settings of an Amazon QuickSight dashboard.</p>
|
|
1065
|
+
* <p>To use this operation, enable session capacity pricing on your Amazon QuickSight account.</p>
|
|
1066
|
+
* <p>Before you can enable public sharing on your account, you need to allow public sharing permissions to an administrative user in the IAM console. For more information on using IAM with Amazon QuickSight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html">Using Amazon QuickSight with IAM</a>.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
updatePublicSharingSettings(args: UpdatePublicSharingSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePublicSharingSettingsCommandOutput>;
|
|
1069
|
+
updatePublicSharingSettings(args: UpdatePublicSharingSettingsCommandInput, cb: (err: any, data?: UpdatePublicSharingSettingsCommandOutput) => void): void;
|
|
1070
|
+
updatePublicSharingSettings(args: UpdatePublicSharingSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePublicSharingSettingsCommandOutput) => void): void;
|
|
1062
1071
|
/**
|
|
1063
1072
|
* <p>Updates a template from an existing Amazon QuickSight analysis or another template.</p>
|
|
1064
1073
|
*/
|
|
@@ -116,6 +116,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
116
116
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
117
117
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "./commands/UpdateIAMPolicyAssignmentCommand";
|
|
118
118
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "./commands/UpdateIpRestrictionCommand";
|
|
119
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "./commands/UpdatePublicSharingSettingsCommand";
|
|
119
120
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "./commands/UpdateTemplateAliasCommand";
|
|
120
121
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
121
122
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "./commands/UpdateTemplatePermissionsCommand";
|
|
@@ -123,8 +124,8 @@ import { UpdateThemeAliasCommandInput, UpdateThemeAliasCommandOutput } from "./c
|
|
|
123
124
|
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
|
|
124
125
|
import { UpdateThemePermissionsCommandInput, UpdateThemePermissionsCommandOutput } from "./commands/UpdateThemePermissionsCommand";
|
|
125
126
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
126
|
-
export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
|
|
127
|
-
export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
|
|
127
|
+
export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdatePublicSharingSettingsCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
|
|
128
|
+
export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdatePublicSharingSettingsCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
|
|
128
129
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
129
130
|
/**
|
|
130
131
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -18,7 +18,7 @@ export interface GenerateEmbedUrlForAnonymousUserCommandOutput extends GenerateE
|
|
|
18
18
|
* that can be customized using the <code>
|
|
19
19
|
* <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes">SessionLifetimeInMinutes</a>
|
|
20
20
|
* </code> parameter.</p>
|
|
21
|
-
* <p>The resulting user session is valid for 15 minutes (
|
|
21
|
+
* <p>The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours. </p>
|
|
22
22
|
* </li>
|
|
23
23
|
* <li>
|
|
24
24
|
* <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p>
|
|
@@ -18,7 +18,7 @@ export interface GenerateEmbedUrlForRegisteredUserCommandOutput extends Generate
|
|
|
18
18
|
* that can be customized using the <code>
|
|
19
19
|
* <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes">SessionLifetimeInMinutes</a>
|
|
20
20
|
* </code> parameter.</p>
|
|
21
|
-
* <p>The resulting user session is valid for 15 minutes (
|
|
21
|
+
* <p>The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.</p>
|
|
22
22
|
* </li>
|
|
23
23
|
* <li>
|
|
24
24
|
* <p>You are charged only when the URL is used or there is interaction with Amazon QuickSight.</p>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UpdatePublicSharingSettingsRequest, UpdatePublicSharingSettingsResponse } from "../models/models_1";
|
|
4
|
+
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
|
+
export interface UpdatePublicSharingSettingsCommandInput extends UpdatePublicSharingSettingsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdatePublicSharingSettingsCommandOutput extends UpdatePublicSharingSettingsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Use the UpdatePublicSharingSettings operation to enable or disable the public sharing settings of an Amazon QuickSight dashboard.</p>
|
|
11
|
+
* <p>To use this operation, enable session capacity pricing on your Amazon QuickSight account.</p>
|
|
12
|
+
* <p>Before you can enable public sharing on your account, you need to allow public sharing permissions to an administrative user in the IAM console. For more information on using IAM with Amazon QuickSight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html">Using Amazon QuickSight with IAM</a>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { QuickSightClient, UpdatePublicSharingSettingsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
17
|
+
* // const { QuickSightClient, UpdatePublicSharingSettingsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
18
|
+
* const client = new QuickSightClient(config);
|
|
19
|
+
* const command = new UpdatePublicSharingSettingsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdatePublicSharingSettingsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdatePublicSharingSettingsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdatePublicSharingSettingsCommand extends $Command<UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput, QuickSightClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdatePublicSharingSettingsCommandInput;
|
|
30
|
+
constructor(input: UpdatePublicSharingSettingsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -108,6 +108,7 @@ export * from "./UpdateFolderPermissionsCommand";
|
|
|
108
108
|
export * from "./UpdateGroupCommand";
|
|
109
109
|
export * from "./UpdateIAMPolicyAssignmentCommand";
|
|
110
110
|
export * from "./UpdateIpRestrictionCommand";
|
|
111
|
+
export * from "./UpdatePublicSharingSettingsCommand";
|
|
111
112
|
export * from "./UpdateTemplateAliasCommand";
|
|
112
113
|
export * from "./UpdateTemplateCommand";
|
|
113
114
|
export * from "./UpdateTemplatePermissionsCommand";
|
|
@@ -65,6 +65,10 @@ export interface AccountSettings {
|
|
|
65
65
|
* <p>The main notification email for your Amazon QuickSight subscription.</p>
|
|
66
66
|
*/
|
|
67
67
|
NotificationEmail?: string;
|
|
68
|
+
/**
|
|
69
|
+
* <p>A boolean that indicates whether or not public sharing is enabled on an Amazon QuickSight account. For more information about enabling public sharing, see <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdatePublicSharingSettings.html">UpdatePublicSharingSettings</a>.</p>
|
|
70
|
+
*/
|
|
71
|
+
PublicSharingEnabled?: boolean;
|
|
68
72
|
}
|
|
69
73
|
export declare namespace AccountSettings {
|
|
70
74
|
/**
|
|
@@ -291,7 +291,7 @@ export interface GenerateEmbedUrlForAnonymousUserRequest {
|
|
|
291
291
|
*/
|
|
292
292
|
SessionTags?: SessionTag[];
|
|
293
293
|
/**
|
|
294
|
-
* <p>The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose <code>Dashboard</code> embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.</p>
|
|
294
|
+
* <p>The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose <code>Dashboard</code> embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. Currently, you can pass up to 25 dashboard ARNs in each API call.</p>
|
|
295
295
|
*/
|
|
296
296
|
AuthorizedResourceArns: string[] | undefined;
|
|
297
297
|
/**
|
|
@@ -3496,6 +3496,38 @@ export declare namespace UpdateIpRestrictionResponse {
|
|
|
3496
3496
|
*/
|
|
3497
3497
|
const filterSensitiveLog: (obj: UpdateIpRestrictionResponse) => any;
|
|
3498
3498
|
}
|
|
3499
|
+
export interface UpdatePublicSharingSettingsRequest {
|
|
3500
|
+
/**
|
|
3501
|
+
* <p>The Amazon Web Services account ID associated with your Amazon QuickSight subscription.</p>
|
|
3502
|
+
*/
|
|
3503
|
+
AwsAccountId: string | undefined;
|
|
3504
|
+
/**
|
|
3505
|
+
* <p>A boolean that indicates whether or not public sharing is enabled on a Amazon QuickSight account.</p>
|
|
3506
|
+
*/
|
|
3507
|
+
PublicSharingEnabled?: boolean;
|
|
3508
|
+
}
|
|
3509
|
+
export declare namespace UpdatePublicSharingSettingsRequest {
|
|
3510
|
+
/**
|
|
3511
|
+
* @internal
|
|
3512
|
+
*/
|
|
3513
|
+
const filterSensitiveLog: (obj: UpdatePublicSharingSettingsRequest) => any;
|
|
3514
|
+
}
|
|
3515
|
+
export interface UpdatePublicSharingSettingsResponse {
|
|
3516
|
+
/**
|
|
3517
|
+
* <p>The Amazon Web Services request ID for this operation.</p>
|
|
3518
|
+
*/
|
|
3519
|
+
RequestId?: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* <p>The HTTP status of the request.</p>
|
|
3522
|
+
*/
|
|
3523
|
+
Status?: number;
|
|
3524
|
+
}
|
|
3525
|
+
export declare namespace UpdatePublicSharingSettingsResponse {
|
|
3526
|
+
/**
|
|
3527
|
+
* @internal
|
|
3528
|
+
*/
|
|
3529
|
+
const filterSensitiveLog: (obj: UpdatePublicSharingSettingsResponse) => any;
|
|
3530
|
+
}
|
|
3499
3531
|
export interface UpdateTemplateRequest {
|
|
3500
3532
|
/**
|
|
3501
3533
|
* <p>The ID of the Amazon Web Services account that contains the template that you're updating.</p>
|
|
@@ -110,6 +110,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
110
110
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "../commands/UpdateGroupCommand";
|
|
111
111
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "../commands/UpdateIAMPolicyAssignmentCommand";
|
|
112
112
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "../commands/UpdateIpRestrictionCommand";
|
|
113
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "../commands/UpdatePublicSharingSettingsCommand";
|
|
113
114
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "../commands/UpdateTemplateAliasCommand";
|
|
114
115
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "../commands/UpdateTemplateCommand";
|
|
115
116
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "../commands/UpdateTemplatePermissionsCommand";
|
|
@@ -227,6 +228,7 @@ export declare const serializeAws_restJson1UpdateFolderPermissionsCommand: (inpu
|
|
|
227
228
|
export declare const serializeAws_restJson1UpdateGroupCommand: (input: UpdateGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
228
229
|
export declare const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand: (input: UpdateIAMPolicyAssignmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
229
230
|
export declare const serializeAws_restJson1UpdateIpRestrictionCommand: (input: UpdateIpRestrictionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
231
|
+
export declare const serializeAws_restJson1UpdatePublicSharingSettingsCommand: (input: UpdatePublicSharingSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
230
232
|
export declare const serializeAws_restJson1UpdateTemplateCommand: (input: UpdateTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
231
233
|
export declare const serializeAws_restJson1UpdateTemplateAliasCommand: (input: UpdateTemplateAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
232
234
|
export declare const serializeAws_restJson1UpdateTemplatePermissionsCommand: (input: UpdateTemplatePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -344,6 +346,7 @@ export declare const deserializeAws_restJson1UpdateFolderPermissionsCommand: (ou
|
|
|
344
346
|
export declare const deserializeAws_restJson1UpdateGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGroupCommandOutput>;
|
|
345
347
|
export declare const deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIAMPolicyAssignmentCommandOutput>;
|
|
346
348
|
export declare const deserializeAws_restJson1UpdateIpRestrictionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIpRestrictionCommandOutput>;
|
|
349
|
+
export declare const deserializeAws_restJson1UpdatePublicSharingSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePublicSharingSettingsCommandOutput>;
|
|
347
350
|
export declare const deserializeAws_restJson1UpdateTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateCommandOutput>;
|
|
348
351
|
export declare const deserializeAws_restJson1UpdateTemplateAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateAliasCommandOutput>;
|
|
349
352
|
export declare const deserializeAws_restJson1UpdateTemplatePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplatePermissionsCommandOutput>;
|
|
@@ -109,6 +109,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
109
109
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
110
110
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "./commands/UpdateIAMPolicyAssignmentCommand";
|
|
111
111
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "./commands/UpdateIpRestrictionCommand";
|
|
112
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "./commands/UpdatePublicSharingSettingsCommand";
|
|
112
113
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "./commands/UpdateTemplateAliasCommand";
|
|
113
114
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
114
115
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "./commands/UpdateTemplatePermissionsCommand";
|
|
@@ -116,6 +116,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
116
116
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
117
117
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "./commands/UpdateIAMPolicyAssignmentCommand";
|
|
118
118
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "./commands/UpdateIpRestrictionCommand";
|
|
119
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "./commands/UpdatePublicSharingSettingsCommand";
|
|
119
120
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "./commands/UpdateTemplateAliasCommand";
|
|
120
121
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
121
122
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "./commands/UpdateTemplatePermissionsCommand";
|
|
@@ -123,8 +124,8 @@ import { UpdateThemeAliasCommandInput, UpdateThemeAliasCommandOutput } from "./c
|
|
|
123
124
|
import { UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
|
|
124
125
|
import { UpdateThemePermissionsCommandInput, UpdateThemePermissionsCommandOutput } from "./commands/UpdateThemePermissionsCommand";
|
|
125
126
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
126
|
-
export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
|
|
127
|
-
export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
|
|
127
|
+
export declare type ServiceInputTypes = CancelIngestionCommandInput | CreateAccountCustomizationCommandInput | CreateAnalysisCommandInput | CreateDashboardCommandInput | CreateDataSetCommandInput | CreateDataSourceCommandInput | CreateFolderCommandInput | CreateFolderMembershipCommandInput | CreateGroupCommandInput | CreateGroupMembershipCommandInput | CreateIAMPolicyAssignmentCommandInput | CreateIngestionCommandInput | CreateNamespaceCommandInput | CreateTemplateAliasCommandInput | CreateTemplateCommandInput | CreateThemeAliasCommandInput | CreateThemeCommandInput | DeleteAccountCustomizationCommandInput | DeleteAnalysisCommandInput | DeleteDashboardCommandInput | DeleteDataSetCommandInput | DeleteDataSourceCommandInput | DeleteFolderCommandInput | DeleteFolderMembershipCommandInput | DeleteGroupCommandInput | DeleteGroupMembershipCommandInput | DeleteIAMPolicyAssignmentCommandInput | DeleteNamespaceCommandInput | DeleteTemplateAliasCommandInput | DeleteTemplateCommandInput | DeleteThemeAliasCommandInput | DeleteThemeCommandInput | DeleteUserByPrincipalIdCommandInput | DeleteUserCommandInput | DescribeAccountCustomizationCommandInput | DescribeAccountSettingsCommandInput | DescribeAnalysisCommandInput | DescribeAnalysisPermissionsCommandInput | DescribeDashboardCommandInput | DescribeDashboardPermissionsCommandInput | DescribeDataSetCommandInput | DescribeDataSetPermissionsCommandInput | DescribeDataSourceCommandInput | DescribeDataSourcePermissionsCommandInput | DescribeFolderCommandInput | DescribeFolderPermissionsCommandInput | DescribeFolderResolvedPermissionsCommandInput | DescribeGroupCommandInput | DescribeGroupMembershipCommandInput | DescribeIAMPolicyAssignmentCommandInput | DescribeIngestionCommandInput | DescribeIpRestrictionCommandInput | DescribeNamespaceCommandInput | DescribeTemplateAliasCommandInput | DescribeTemplateCommandInput | DescribeTemplatePermissionsCommandInput | DescribeThemeAliasCommandInput | DescribeThemeCommandInput | DescribeThemePermissionsCommandInput | DescribeUserCommandInput | GenerateEmbedUrlForAnonymousUserCommandInput | GenerateEmbedUrlForRegisteredUserCommandInput | GetDashboardEmbedUrlCommandInput | GetSessionEmbedUrlCommandInput | ListAnalysesCommandInput | ListDashboardVersionsCommandInput | ListDashboardsCommandInput | ListDataSetsCommandInput | ListDataSourcesCommandInput | ListFolderMembersCommandInput | ListFoldersCommandInput | ListGroupMembershipsCommandInput | ListGroupsCommandInput | ListIAMPolicyAssignmentsCommandInput | ListIAMPolicyAssignmentsForUserCommandInput | ListIngestionsCommandInput | ListNamespacesCommandInput | ListTagsForResourceCommandInput | ListTemplateAliasesCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | ListThemeAliasesCommandInput | ListThemeVersionsCommandInput | ListThemesCommandInput | ListUserGroupsCommandInput | ListUsersCommandInput | RegisterUserCommandInput | RestoreAnalysisCommandInput | SearchAnalysesCommandInput | SearchDashboardsCommandInput | SearchFoldersCommandInput | SearchGroupsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountCustomizationCommandInput | UpdateAccountSettingsCommandInput | UpdateAnalysisCommandInput | UpdateAnalysisPermissionsCommandInput | UpdateDashboardCommandInput | UpdateDashboardPermissionsCommandInput | UpdateDashboardPublishedVersionCommandInput | UpdateDataSetCommandInput | UpdateDataSetPermissionsCommandInput | UpdateDataSourceCommandInput | UpdateDataSourcePermissionsCommandInput | UpdateFolderCommandInput | UpdateFolderPermissionsCommandInput | UpdateGroupCommandInput | UpdateIAMPolicyAssignmentCommandInput | UpdateIpRestrictionCommandInput | UpdatePublicSharingSettingsCommandInput | UpdateTemplateAliasCommandInput | UpdateTemplateCommandInput | UpdateTemplatePermissionsCommandInput | UpdateThemeAliasCommandInput | UpdateThemeCommandInput | UpdateThemePermissionsCommandInput | UpdateUserCommandInput;
|
|
128
|
+
export declare type ServiceOutputTypes = CancelIngestionCommandOutput | CreateAccountCustomizationCommandOutput | CreateAnalysisCommandOutput | CreateDashboardCommandOutput | CreateDataSetCommandOutput | CreateDataSourceCommandOutput | CreateFolderCommandOutput | CreateFolderMembershipCommandOutput | CreateGroupCommandOutput | CreateGroupMembershipCommandOutput | CreateIAMPolicyAssignmentCommandOutput | CreateIngestionCommandOutput | CreateNamespaceCommandOutput | CreateTemplateAliasCommandOutput | CreateTemplateCommandOutput | CreateThemeAliasCommandOutput | CreateThemeCommandOutput | DeleteAccountCustomizationCommandOutput | DeleteAnalysisCommandOutput | DeleteDashboardCommandOutput | DeleteDataSetCommandOutput | DeleteDataSourceCommandOutput | DeleteFolderCommandOutput | DeleteFolderMembershipCommandOutput | DeleteGroupCommandOutput | DeleteGroupMembershipCommandOutput | DeleteIAMPolicyAssignmentCommandOutput | DeleteNamespaceCommandOutput | DeleteTemplateAliasCommandOutput | DeleteTemplateCommandOutput | DeleteThemeAliasCommandOutput | DeleteThemeCommandOutput | DeleteUserByPrincipalIdCommandOutput | DeleteUserCommandOutput | DescribeAccountCustomizationCommandOutput | DescribeAccountSettingsCommandOutput | DescribeAnalysisCommandOutput | DescribeAnalysisPermissionsCommandOutput | DescribeDashboardCommandOutput | DescribeDashboardPermissionsCommandOutput | DescribeDataSetCommandOutput | DescribeDataSetPermissionsCommandOutput | DescribeDataSourceCommandOutput | DescribeDataSourcePermissionsCommandOutput | DescribeFolderCommandOutput | DescribeFolderPermissionsCommandOutput | DescribeFolderResolvedPermissionsCommandOutput | DescribeGroupCommandOutput | DescribeGroupMembershipCommandOutput | DescribeIAMPolicyAssignmentCommandOutput | DescribeIngestionCommandOutput | DescribeIpRestrictionCommandOutput | DescribeNamespaceCommandOutput | DescribeTemplateAliasCommandOutput | DescribeTemplateCommandOutput | DescribeTemplatePermissionsCommandOutput | DescribeThemeAliasCommandOutput | DescribeThemeCommandOutput | DescribeThemePermissionsCommandOutput | DescribeUserCommandOutput | GenerateEmbedUrlForAnonymousUserCommandOutput | GenerateEmbedUrlForRegisteredUserCommandOutput | GetDashboardEmbedUrlCommandOutput | GetSessionEmbedUrlCommandOutput | ListAnalysesCommandOutput | ListDashboardVersionsCommandOutput | ListDashboardsCommandOutput | ListDataSetsCommandOutput | ListDataSourcesCommandOutput | ListFolderMembersCommandOutput | ListFoldersCommandOutput | ListGroupMembershipsCommandOutput | ListGroupsCommandOutput | ListIAMPolicyAssignmentsCommandOutput | ListIAMPolicyAssignmentsForUserCommandOutput | ListIngestionsCommandOutput | ListNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateAliasesCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | ListThemeAliasesCommandOutput | ListThemeVersionsCommandOutput | ListThemesCommandOutput | ListUserGroupsCommandOutput | ListUsersCommandOutput | RegisterUserCommandOutput | RestoreAnalysisCommandOutput | SearchAnalysesCommandOutput | SearchDashboardsCommandOutput | SearchFoldersCommandOutput | SearchGroupsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountCustomizationCommandOutput | UpdateAccountSettingsCommandOutput | UpdateAnalysisCommandOutput | UpdateAnalysisPermissionsCommandOutput | UpdateDashboardCommandOutput | UpdateDashboardPermissionsCommandOutput | UpdateDashboardPublishedVersionCommandOutput | UpdateDataSetCommandOutput | UpdateDataSetPermissionsCommandOutput | UpdateDataSourceCommandOutput | UpdateDataSourcePermissionsCommandOutput | UpdateFolderCommandOutput | UpdateFolderPermissionsCommandOutput | UpdateGroupCommandOutput | UpdateIAMPolicyAssignmentCommandOutput | UpdateIpRestrictionCommandOutput | UpdatePublicSharingSettingsCommandOutput | UpdateTemplateAliasCommandOutput | UpdateTemplateCommandOutput | UpdateTemplatePermissionsCommandOutput | UpdateThemeAliasCommandOutput | UpdateThemeCommandOutput | UpdateThemePermissionsCommandOutput | UpdateUserCommandOutput;
|
|
128
129
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
129
130
|
|
|
130
131
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UpdatePublicSharingSettingsRequest, UpdatePublicSharingSettingsResponse } from "../models/models_1";
|
|
4
|
+
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
|
+
export interface UpdatePublicSharingSettingsCommandInput extends UpdatePublicSharingSettingsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdatePublicSharingSettingsCommandOutput extends UpdatePublicSharingSettingsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdatePublicSharingSettingsCommand extends $Command<UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput, QuickSightClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdatePublicSharingSettingsCommandInput;
|
|
12
|
+
constructor(input: UpdatePublicSharingSettingsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -108,6 +108,7 @@ export * from "./UpdateFolderPermissionsCommand";
|
|
|
108
108
|
export * from "./UpdateGroupCommand";
|
|
109
109
|
export * from "./UpdateIAMPolicyAssignmentCommand";
|
|
110
110
|
export * from "./UpdateIpRestrictionCommand";
|
|
111
|
+
export * from "./UpdatePublicSharingSettingsCommand";
|
|
111
112
|
export * from "./UpdateTemplateAliasCommand";
|
|
112
113
|
export * from "./UpdateTemplateCommand";
|
|
113
114
|
export * from "./UpdateTemplatePermissionsCommand";
|
|
@@ -1778,6 +1778,26 @@ export declare namespace UpdateIpRestrictionResponse {
|
|
|
1778
1778
|
|
|
1779
1779
|
const filterSensitiveLog: (obj: UpdateIpRestrictionResponse) => any;
|
|
1780
1780
|
}
|
|
1781
|
+
export interface UpdatePublicSharingSettingsRequest {
|
|
1782
|
+
|
|
1783
|
+
AwsAccountId: string | undefined;
|
|
1784
|
+
|
|
1785
|
+
PublicSharingEnabled?: boolean;
|
|
1786
|
+
}
|
|
1787
|
+
export declare namespace UpdatePublicSharingSettingsRequest {
|
|
1788
|
+
|
|
1789
|
+
const filterSensitiveLog: (obj: UpdatePublicSharingSettingsRequest) => any;
|
|
1790
|
+
}
|
|
1791
|
+
export interface UpdatePublicSharingSettingsResponse {
|
|
1792
|
+
|
|
1793
|
+
RequestId?: string;
|
|
1794
|
+
|
|
1795
|
+
Status?: number;
|
|
1796
|
+
}
|
|
1797
|
+
export declare namespace UpdatePublicSharingSettingsResponse {
|
|
1798
|
+
|
|
1799
|
+
const filterSensitiveLog: (obj: UpdatePublicSharingSettingsResponse) => any;
|
|
1800
|
+
}
|
|
1781
1801
|
export interface UpdateTemplateRequest {
|
|
1782
1802
|
|
|
1783
1803
|
AwsAccountId: string | undefined;
|
|
@@ -110,6 +110,7 @@ import { UpdateFolderPermissionsCommandInput, UpdateFolderPermissionsCommandOutp
|
|
|
110
110
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "../commands/UpdateGroupCommand";
|
|
111
111
|
import { UpdateIAMPolicyAssignmentCommandInput, UpdateIAMPolicyAssignmentCommandOutput } from "../commands/UpdateIAMPolicyAssignmentCommand";
|
|
112
112
|
import { UpdateIpRestrictionCommandInput, UpdateIpRestrictionCommandOutput } from "../commands/UpdateIpRestrictionCommand";
|
|
113
|
+
import { UpdatePublicSharingSettingsCommandInput, UpdatePublicSharingSettingsCommandOutput } from "../commands/UpdatePublicSharingSettingsCommand";
|
|
113
114
|
import { UpdateTemplateAliasCommandInput, UpdateTemplateAliasCommandOutput } from "../commands/UpdateTemplateAliasCommand";
|
|
114
115
|
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "../commands/UpdateTemplateCommand";
|
|
115
116
|
import { UpdateTemplatePermissionsCommandInput, UpdateTemplatePermissionsCommandOutput } from "../commands/UpdateTemplatePermissionsCommand";
|
|
@@ -227,6 +228,7 @@ export declare const serializeAws_restJson1UpdateFolderPermissionsCommand: (inpu
|
|
|
227
228
|
export declare const serializeAws_restJson1UpdateGroupCommand: (input: UpdateGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
228
229
|
export declare const serializeAws_restJson1UpdateIAMPolicyAssignmentCommand: (input: UpdateIAMPolicyAssignmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
229
230
|
export declare const serializeAws_restJson1UpdateIpRestrictionCommand: (input: UpdateIpRestrictionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
231
|
+
export declare const serializeAws_restJson1UpdatePublicSharingSettingsCommand: (input: UpdatePublicSharingSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
230
232
|
export declare const serializeAws_restJson1UpdateTemplateCommand: (input: UpdateTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
231
233
|
export declare const serializeAws_restJson1UpdateTemplateAliasCommand: (input: UpdateTemplateAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
232
234
|
export declare const serializeAws_restJson1UpdateTemplatePermissionsCommand: (input: UpdateTemplatePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -344,6 +346,7 @@ export declare const deserializeAws_restJson1UpdateFolderPermissionsCommand: (ou
|
|
|
344
346
|
export declare const deserializeAws_restJson1UpdateGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGroupCommandOutput>;
|
|
345
347
|
export declare const deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIAMPolicyAssignmentCommandOutput>;
|
|
346
348
|
export declare const deserializeAws_restJson1UpdateIpRestrictionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIpRestrictionCommandOutput>;
|
|
349
|
+
export declare const deserializeAws_restJson1UpdatePublicSharingSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePublicSharingSettingsCommandOutput>;
|
|
347
350
|
export declare const deserializeAws_restJson1UpdateTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateCommandOutput>;
|
|
348
351
|
export declare const deserializeAws_restJson1UpdateTemplateAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateAliasCommandOutput>;
|
|
349
352
|
export declare const deserializeAws_restJson1UpdateTemplatePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplatePermissionsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-quicksight",
|
|
3
3
|
"description": "AWS SDK for JavaScript Quicksight Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.94.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.94.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.94.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|