@aws-sdk/client-quicksight 3.687.0 → 3.692.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/README.md +143 -7
- package/dist-cjs/index.js +1116 -216
- package/dist-es/QuickSight.js +34 -0
- package/dist-es/commands/CreateBrandCommand.js +22 -0
- package/dist-es/commands/CreateCustomPermissionsCommand.js +22 -0
- package/dist-es/commands/DeleteBrandAssignmentCommand.js +22 -0
- package/dist-es/commands/DeleteBrandCommand.js +22 -0
- package/dist-es/commands/DeleteCustomPermissionsCommand.js +22 -0
- package/dist-es/commands/DeleteUserCustomPermissionCommand.js +22 -0
- package/dist-es/commands/DescribeBrandAssignmentCommand.js +22 -0
- package/dist-es/commands/DescribeBrandCommand.js +22 -0
- package/dist-es/commands/DescribeBrandPublishedVersionCommand.js +22 -0
- package/dist-es/commands/DescribeCustomPermissionsCommand.js +22 -0
- package/dist-es/commands/DescribeTemplateDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeTopicCommand.js +1 -1
- package/dist-es/commands/ListBrandsCommand.js +22 -0
- package/dist-es/commands/ListCustomPermissionsCommand.js +22 -0
- package/dist-es/commands/UpdateBrandAssignmentCommand.js +22 -0
- package/dist-es/commands/UpdateBrandCommand.js +22 -0
- package/dist-es/commands/UpdateBrandPublishedVersionCommand.js +22 -0
- package/dist-es/commands/UpdateCustomPermissionsCommand.js +22 -0
- package/dist-es/commands/UpdateUserCustomPermissionCommand.js +22 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/models/models_2.js +52 -107
- package/dist-es/models/models_3.js +108 -29
- package/dist-es/models/models_4.js +30 -16
- package/dist-es/pagination/ListBrandsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomPermissionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -6
- package/dist-types/QuickSight.d.ts +119 -0
- package/dist-types/QuickSightClient.d.ts +19 -2
- package/dist-types/commands/CreateBrandCommand.d.ts +268 -0
- package/dist-types/commands/CreateCustomPermissionsCommand.d.ts +132 -0
- package/dist-types/commands/DeleteBrandAssignmentCommand.d.ts +92 -0
- package/dist-types/commands/DeleteBrandCommand.d.ts +93 -0
- package/dist-types/commands/DeleteCustomPermissionsCommand.d.ts +104 -0
- package/dist-types/commands/DeleteUserCustomPermissionCommand.d.ts +101 -0
- package/dist-types/commands/DescribeBrandAssignmentCommand.d.ts +93 -0
- package/dist-types/commands/DescribeBrandCommand.d.ts +204 -0
- package/dist-types/commands/DescribeBrandPublishedVersionCommand.d.ts +203 -0
- package/dist-types/commands/DescribeCustomPermissionsCommand.d.ts +120 -0
- package/dist-types/commands/DescribeIngestionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpRestrictionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNamespaceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQPersonalizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRefreshScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRoleCustomPermissionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplateAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThemeAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThemeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTopicCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTopicPermissionsCommand.d.ts +1 -2
- package/dist-types/commands/ListBrandsCommand.d.ts +99 -0
- package/dist-types/commands/ListCustomPermissionsCommand.d.ts +124 -0
- package/dist-types/commands/UpdateBrandAssignmentCommand.d.ts +94 -0
- package/dist-types/commands/UpdateBrandCommand.d.ts +262 -0
- package/dist-types/commands/UpdateBrandPublishedVersionCommand.d.ts +95 -0
- package/dist-types/commands/UpdateCustomPermissionsCommand.d.ts +120 -0
- package/dist-types/commands/UpdateUserCustomPermissionCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/models/models_0.d.ts +525 -525
- package/dist-types/models/models_1.d.ts +743 -743
- package/dist-types/models/models_2.d.ts +1717 -1782
- package/dist-types/models/models_3.d.ts +4176 -4314
- package/dist-types/models/models_4.d.ts +2044 -678
- package/dist-types/pagination/ListBrandsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomPermissionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +153 -0
- package/dist-types/ts3.4/QuickSight.d.ts +289 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CreateBrandCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCustomPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBrandAssignmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBrandCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteCustomPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserCustomPermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeBrandAssignmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeBrandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeBrandPublishedVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCustomPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeIngestionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpRestrictionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeKeyRegistrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeQPersonalizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRefreshScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRoleCustomPermissionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplateDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTopicPermissionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListBrandsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCustomPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateBrandAssignmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateBrandCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateBrandPublishedVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCustomPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateUserCustomPermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +565 -525
- package/dist-types/ts3.4/models/models_1.d.ts +763 -743
- package/dist-types/ts3.4/models/models_2.d.ts +717 -814
- package/dist-types/ts3.4/models/models_3.d.ts +1079 -949
- package/dist-types/ts3.4/models/models_4.d.ts +1014 -676
- package/dist-types/ts3.4/pagination/ListBrandsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomPermissionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +204 -0
- package/package.json +35 -35
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateBrandPublishedVersionRequest, UpdateBrandPublishedVersionResponse } from "../models/models_4";
|
|
4
|
+
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateBrandPublishedVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateBrandPublishedVersionCommandInput extends UpdateBrandPublishedVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateBrandPublishedVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateBrandPublishedVersionCommandOutput extends UpdateBrandPublishedVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateBrandPublishedVersionCommand_base: {
|
|
25
|
+
new (input: UpdateBrandPublishedVersionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandPublishedVersionCommandInput, UpdateBrandPublishedVersionCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateBrandPublishedVersionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandPublishedVersionCommandInput, UpdateBrandPublishedVersionCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the published version of a brand.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, UpdateBrandPublishedVersionCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, UpdateBrandPublishedVersionCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // UpdateBrandPublishedVersionRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* BrandId: "STRING_VALUE", // required
|
|
40
|
+
* VersionId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateBrandPublishedVersionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateBrandPublishedVersionResponse
|
|
45
|
+
* // RequestId: "STRING_VALUE",
|
|
46
|
+
* // VersionId: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateBrandPublishedVersionCommandInput - {@link UpdateBrandPublishedVersionCommandInput}
|
|
52
|
+
* @returns {@link UpdateBrandPublishedVersionCommandOutput}
|
|
53
|
+
* @see {@link UpdateBrandPublishedVersionCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateBrandPublishedVersionCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
59
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
60
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
61
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal service exception.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
70
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>One or more resources can't be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>Access is throttled.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link QuickSightServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class UpdateBrandPublishedVersionCommand extends UpdateBrandPublishedVersionCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: UpdateBrandPublishedVersionRequest;
|
|
88
|
+
output: UpdateBrandPublishedVersionResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: UpdateBrandPublishedVersionCommandInput;
|
|
92
|
+
output: UpdateBrandPublishedVersionCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateCustomPermissionsRequest, UpdateCustomPermissionsResponse } from "../models/models_4";
|
|
4
|
+
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCustomPermissionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCustomPermissionsCommandInput extends UpdateCustomPermissionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCustomPermissionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCustomPermissionsCommandOutput extends UpdateCustomPermissionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCustomPermissionsCommand_base: {
|
|
25
|
+
new (input: UpdateCustomPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomPermissionsCommandInput, UpdateCustomPermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateCustomPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCustomPermissionsCommandInput, UpdateCustomPermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a custom permissions profile.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, UpdateCustomPermissionsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, UpdateCustomPermissionsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // UpdateCustomPermissionsRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* CustomPermissionsName: "STRING_VALUE", // required
|
|
40
|
+
* Capabilities: { // Capabilities
|
|
41
|
+
* ExportToCsv: "DENY",
|
|
42
|
+
* ExportToExcel: "DENY",
|
|
43
|
+
* CreateAndUpdateThemes: "DENY",
|
|
44
|
+
* AddOrRunAnomalyDetectionForAnalyses: "DENY",
|
|
45
|
+
* ShareAnalyses: "DENY",
|
|
46
|
+
* CreateAndUpdateDatasets: "DENY",
|
|
47
|
+
* ShareDatasets: "DENY",
|
|
48
|
+
* SubscribeDashboardEmailReports: "DENY",
|
|
49
|
+
* CreateAndUpdateDashboardEmailReports: "DENY",
|
|
50
|
+
* ShareDashboards: "DENY",
|
|
51
|
+
* CreateAndUpdateThresholdAlerts: "DENY",
|
|
52
|
+
* RenameSharedFolders: "DENY",
|
|
53
|
+
* CreateSharedFolders: "DENY",
|
|
54
|
+
* CreateAndUpdateDataSources: "DENY",
|
|
55
|
+
* ShareDataSources: "DENY",
|
|
56
|
+
* ViewAccountSPICECapacity: "DENY",
|
|
57
|
+
* CreateSPICEDataset: "DENY",
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new UpdateCustomPermissionsCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // UpdateCustomPermissionsResponse
|
|
63
|
+
* // Status: Number("int"),
|
|
64
|
+
* // Arn: "STRING_VALUE",
|
|
65
|
+
* // RequestId: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param UpdateCustomPermissionsCommandInput - {@link UpdateCustomPermissionsCommandInput}
|
|
71
|
+
* @returns {@link UpdateCustomPermissionsCommandOutput}
|
|
72
|
+
* @see {@link UpdateCustomPermissionsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link UpdateCustomPermissionsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
78
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
79
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
80
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
86
|
+
* <p>An internal failure occurred.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
89
|
+
* <p>One or more parameters has a value that isn't valid.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PreconditionNotMetException} (client fault)
|
|
92
|
+
* <p>One or more preconditions aren't met.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>One or more resources can't be found.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceUnavailableException} (server fault)
|
|
98
|
+
* <p>This resource is currently unavailable.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>Access is throttled.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link QuickSightServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class UpdateCustomPermissionsCommand extends UpdateCustomPermissionsCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: UpdateCustomPermissionsRequest;
|
|
113
|
+
output: UpdateCustomPermissionsResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: UpdateCustomPermissionsCommandInput;
|
|
117
|
+
output: UpdateCustomPermissionsCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateUserCustomPermissionRequest, UpdateUserCustomPermissionResponse } from "../models/models_4";
|
|
4
|
+
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateUserCustomPermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateUserCustomPermissionCommandInput extends UpdateUserCustomPermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateUserCustomPermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateUserCustomPermissionCommandOutput extends UpdateUserCustomPermissionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateUserCustomPermissionCommand_base: {
|
|
25
|
+
new (input: UpdateUserCustomPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserCustomPermissionCommandInput, UpdateUserCustomPermissionCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateUserCustomPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateUserCustomPermissionCommandInput, UpdateUserCustomPermissionCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a custom permissions profile for a user.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, UpdateUserCustomPermissionCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, UpdateUserCustomPermissionCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // UpdateUserCustomPermissionRequest
|
|
38
|
+
* UserName: "STRING_VALUE", // required
|
|
39
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
40
|
+
* Namespace: "STRING_VALUE", // required
|
|
41
|
+
* CustomPermissionsName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateUserCustomPermissionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateUserCustomPermissionResponse
|
|
46
|
+
* // RequestId: "STRING_VALUE",
|
|
47
|
+
* // Status: Number("int"),
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UpdateUserCustomPermissionCommandInput - {@link UpdateUserCustomPermissionCommandInput}
|
|
53
|
+
* @returns {@link UpdateUserCustomPermissionCommandOutput}
|
|
54
|
+
* @see {@link UpdateUserCustomPermissionCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UpdateUserCustomPermissionCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
60
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
61
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
62
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
68
|
+
* <p>An internal failure occurred.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
71
|
+
* <p>One or more parameters has a value that isn't valid.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link PreconditionNotMetException} (client fault)
|
|
74
|
+
* <p>One or more preconditions aren't met.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>One or more resources can't be found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceUnavailableException} (server fault)
|
|
80
|
+
* <p>This resource is currently unavailable.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>Access is throttled.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link QuickSightServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class UpdateUserCustomPermissionCommand extends UpdateUserCustomPermissionCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: UpdateUserCustomPermissionRequest;
|
|
95
|
+
output: UpdateUserCustomPermissionResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: UpdateUserCustomPermissionCommandInput;
|
|
99
|
+
output: UpdateUserCustomPermissionCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -4,6 +4,8 @@ export * from "./CancelIngestionCommand";
|
|
|
4
4
|
export * from "./CreateAccountCustomizationCommand";
|
|
5
5
|
export * from "./CreateAccountSubscriptionCommand";
|
|
6
6
|
export * from "./CreateAnalysisCommand";
|
|
7
|
+
export * from "./CreateBrandCommand";
|
|
8
|
+
export * from "./CreateCustomPermissionsCommand";
|
|
7
9
|
export * from "./CreateDashboardCommand";
|
|
8
10
|
export * from "./CreateDataSetCommand";
|
|
9
11
|
export * from "./CreateDataSourceCommand";
|
|
@@ -26,6 +28,9 @@ export * from "./CreateVPCConnectionCommand";
|
|
|
26
28
|
export * from "./DeleteAccountCustomizationCommand";
|
|
27
29
|
export * from "./DeleteAccountSubscriptionCommand";
|
|
28
30
|
export * from "./DeleteAnalysisCommand";
|
|
31
|
+
export * from "./DeleteBrandAssignmentCommand";
|
|
32
|
+
export * from "./DeleteBrandCommand";
|
|
33
|
+
export * from "./DeleteCustomPermissionsCommand";
|
|
29
34
|
export * from "./DeleteDashboardCommand";
|
|
30
35
|
export * from "./DeleteDataSetCommand";
|
|
31
36
|
export * from "./DeleteDataSetRefreshPropertiesCommand";
|
|
@@ -48,6 +53,7 @@ export * from "./DeleteTopicCommand";
|
|
|
48
53
|
export * from "./DeleteTopicRefreshScheduleCommand";
|
|
49
54
|
export * from "./DeleteUserByPrincipalIdCommand";
|
|
50
55
|
export * from "./DeleteUserCommand";
|
|
56
|
+
export * from "./DeleteUserCustomPermissionCommand";
|
|
51
57
|
export * from "./DeleteVPCConnectionCommand";
|
|
52
58
|
export * from "./DescribeAccountCustomizationCommand";
|
|
53
59
|
export * from "./DescribeAccountSettingsCommand";
|
|
@@ -57,6 +63,10 @@ export * from "./DescribeAnalysisDefinitionCommand";
|
|
|
57
63
|
export * from "./DescribeAnalysisPermissionsCommand";
|
|
58
64
|
export * from "./DescribeAssetBundleExportJobCommand";
|
|
59
65
|
export * from "./DescribeAssetBundleImportJobCommand";
|
|
66
|
+
export * from "./DescribeBrandAssignmentCommand";
|
|
67
|
+
export * from "./DescribeBrandCommand";
|
|
68
|
+
export * from "./DescribeBrandPublishedVersionCommand";
|
|
69
|
+
export * from "./DescribeCustomPermissionsCommand";
|
|
60
70
|
export * from "./DescribeDashboardCommand";
|
|
61
71
|
export * from "./DescribeDashboardDefinitionCommand";
|
|
62
72
|
export * from "./DescribeDashboardPermissionsCommand";
|
|
@@ -100,6 +110,8 @@ export * from "./GetSessionEmbedUrlCommand";
|
|
|
100
110
|
export * from "./ListAnalysesCommand";
|
|
101
111
|
export * from "./ListAssetBundleExportJobsCommand";
|
|
102
112
|
export * from "./ListAssetBundleImportJobsCommand";
|
|
113
|
+
export * from "./ListBrandsCommand";
|
|
114
|
+
export * from "./ListCustomPermissionsCommand";
|
|
103
115
|
export * from "./ListDashboardVersionsCommand";
|
|
104
116
|
export * from "./ListDashboardsCommand";
|
|
105
117
|
export * from "./ListDataSetsCommand";
|
|
@@ -148,6 +160,10 @@ export * from "./UpdateAccountCustomizationCommand";
|
|
|
148
160
|
export * from "./UpdateAccountSettingsCommand";
|
|
149
161
|
export * from "./UpdateAnalysisCommand";
|
|
150
162
|
export * from "./UpdateAnalysisPermissionsCommand";
|
|
163
|
+
export * from "./UpdateBrandAssignmentCommand";
|
|
164
|
+
export * from "./UpdateBrandCommand";
|
|
165
|
+
export * from "./UpdateBrandPublishedVersionCommand";
|
|
166
|
+
export * from "./UpdateCustomPermissionsCommand";
|
|
151
167
|
export * from "./UpdateDashboardCommand";
|
|
152
168
|
export * from "./UpdateDashboardLinksCommand";
|
|
153
169
|
export * from "./UpdateDashboardPermissionsCommand";
|
|
@@ -178,4 +194,5 @@ export * from "./UpdateTopicCommand";
|
|
|
178
194
|
export * from "./UpdateTopicPermissionsCommand";
|
|
179
195
|
export * from "./UpdateTopicRefreshScheduleCommand";
|
|
180
196
|
export * from "./UpdateUserCommand";
|
|
197
|
+
export * from "./UpdateUserCustomPermissionCommand";
|
|
181
198
|
export * from "./UpdateVPCConnectionCommand";
|