@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeTopicRequest, DescribeTopicResponse } from "../models/
|
|
3
|
+
import { DescribeTopicRequest, DescribeTopicResponse } from "../models/models_4";
|
|
4
4
|
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeTopicPermissionsRequest } from "../models/
|
|
4
|
-
import { DescribeTopicPermissionsResponse } from "../models/models_4";
|
|
3
|
+
import { DescribeTopicPermissionsRequest, DescribeTopicPermissionsResponse } from "../models/models_4";
|
|
5
4
|
import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListBrandsRequest, ListBrandsResponse } 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 ListBrandsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListBrandsCommandInput extends ListBrandsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListBrandsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListBrandsCommandOutput extends ListBrandsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListBrandsCommand_base: {
|
|
25
|
+
new (input: ListBrandsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBrandsCommandInput, ListBrandsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListBrandsCommandInput): import("@smithy/smithy-client").CommandImpl<ListBrandsCommandInput, ListBrandsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all brands in an Amazon QuickSight account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, ListBrandsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, ListBrandsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // ListBrandsRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListBrandsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListBrandsResponse
|
|
45
|
+
* // NextToken: "STRING_VALUE",
|
|
46
|
+
* // Brands: [ // BrandSummaryList
|
|
47
|
+
* // { // BrandSummary
|
|
48
|
+
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // BrandId: "STRING_VALUE",
|
|
50
|
+
* // BrandName: "STRING_VALUE",
|
|
51
|
+
* // Description: "STRING_VALUE",
|
|
52
|
+
* // BrandStatus: "CREATE_IN_PROGRESS" || "CREATE_SUCCEEDED" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
|
|
53
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListBrandsCommandInput - {@link ListBrandsCommandInput}
|
|
62
|
+
* @returns {@link ListBrandsCommandOutput}
|
|
63
|
+
* @see {@link ListBrandsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListBrandsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
69
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
70
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
71
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An internal service exception.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
77
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>Access is throttled.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link QuickSightServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListBrandsCommand extends ListBrandsCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListBrandsRequest;
|
|
92
|
+
output: ListBrandsResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListBrandsCommandInput;
|
|
96
|
+
output: ListBrandsCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListCustomPermissionsRequest, ListCustomPermissionsResponse } 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 ListCustomPermissionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCustomPermissionsCommandInput extends ListCustomPermissionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCustomPermissionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCustomPermissionsCommandOutput extends ListCustomPermissionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListCustomPermissionsCommand_base: {
|
|
25
|
+
new (input: ListCustomPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCustomPermissionsCommandInput, ListCustomPermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListCustomPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCustomPermissionsCommandInput, ListCustomPermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of all the custom permissions profiles.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, ListCustomPermissionsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, ListCustomPermissionsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // ListCustomPermissionsRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListCustomPermissionsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListCustomPermissionsResponse
|
|
45
|
+
* // Status: Number("int"),
|
|
46
|
+
* // CustomPermissionsList: [ // CustomPermissionsList
|
|
47
|
+
* // { // CustomPermissions
|
|
48
|
+
* // Arn: "STRING_VALUE",
|
|
49
|
+
* // CustomPermissionsName: "STRING_VALUE",
|
|
50
|
+
* // Capabilities: { // Capabilities
|
|
51
|
+
* // ExportToCsv: "DENY",
|
|
52
|
+
* // ExportToExcel: "DENY",
|
|
53
|
+
* // CreateAndUpdateThemes: "DENY",
|
|
54
|
+
* // AddOrRunAnomalyDetectionForAnalyses: "DENY",
|
|
55
|
+
* // ShareAnalyses: "DENY",
|
|
56
|
+
* // CreateAndUpdateDatasets: "DENY",
|
|
57
|
+
* // ShareDatasets: "DENY",
|
|
58
|
+
* // SubscribeDashboardEmailReports: "DENY",
|
|
59
|
+
* // CreateAndUpdateDashboardEmailReports: "DENY",
|
|
60
|
+
* // ShareDashboards: "DENY",
|
|
61
|
+
* // CreateAndUpdateThresholdAlerts: "DENY",
|
|
62
|
+
* // RenameSharedFolders: "DENY",
|
|
63
|
+
* // CreateSharedFolders: "DENY",
|
|
64
|
+
* // CreateAndUpdateDataSources: "DENY",
|
|
65
|
+
* // ShareDataSources: "DENY",
|
|
66
|
+
* // ViewAccountSPICECapacity: "DENY",
|
|
67
|
+
* // CreateSPICEDataset: "DENY",
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // NextToken: "STRING_VALUE",
|
|
72
|
+
* // RequestId: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListCustomPermissionsCommandInput - {@link ListCustomPermissionsCommandInput}
|
|
78
|
+
* @returns {@link ListCustomPermissionsCommandOutput}
|
|
79
|
+
* @see {@link ListCustomPermissionsCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListCustomPermissionsCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
85
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
86
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
87
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
90
|
+
* <p>An internal failure occurred.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
93
|
+
* <p>One or more parameters has a value that isn't valid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link PreconditionNotMetException} (client fault)
|
|
96
|
+
* <p>One or more preconditions aren't met.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
+
* <p>One or more resources can't be found.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ResourceUnavailableException} (server fault)
|
|
102
|
+
* <p>This resource is currently unavailable.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
105
|
+
* <p>Access is throttled.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link QuickSightServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ListCustomPermissionsCommand extends ListCustomPermissionsCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: ListCustomPermissionsRequest;
|
|
117
|
+
output: ListCustomPermissionsResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: ListCustomPermissionsCommandInput;
|
|
121
|
+
output: ListCustomPermissionsCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateBrandAssignmentRequest, UpdateBrandAssignmentResponse } 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 UpdateBrandAssignmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateBrandAssignmentCommandInput extends UpdateBrandAssignmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateBrandAssignmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateBrandAssignmentCommandOutput extends UpdateBrandAssignmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateBrandAssignmentCommand_base: {
|
|
25
|
+
new (input: UpdateBrandAssignmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandAssignmentCommandInput, UpdateBrandAssignmentCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateBrandAssignmentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandAssignmentCommandInput, UpdateBrandAssignmentCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a brand assignment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QuickSightClient, UpdateBrandAssignmentCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, UpdateBrandAssignmentCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // UpdateBrandAssignmentRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* BrandArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateBrandAssignmentCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // UpdateBrandAssignmentResponse
|
|
44
|
+
* // RequestId: "STRING_VALUE",
|
|
45
|
+
* // BrandArn: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UpdateBrandAssignmentCommandInput - {@link UpdateBrandAssignmentCommandInput}
|
|
51
|
+
* @returns {@link UpdateBrandAssignmentCommandOutput}
|
|
52
|
+
* @see {@link UpdateBrandAssignmentCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UpdateBrandAssignmentCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
58
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
59
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
60
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>An internal service exception.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
69
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>One or more resources can't be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>Access is throttled.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link QuickSightServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class UpdateBrandAssignmentCommand extends UpdateBrandAssignmentCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: UpdateBrandAssignmentRequest;
|
|
87
|
+
output: UpdateBrandAssignmentResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: UpdateBrandAssignmentCommandInput;
|
|
91
|
+
output: UpdateBrandAssignmentCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateBrandRequest, UpdateBrandResponse } 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 UpdateBrandCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateBrandCommandInput extends UpdateBrandRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateBrandCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateBrandCommandOutput extends UpdateBrandResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateBrandCommand_base: {
|
|
25
|
+
new (input: UpdateBrandCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandCommandInput, UpdateBrandCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateBrandCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateBrandCommandInput, UpdateBrandCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates 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, UpdateBrandCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
35
|
+
* // const { QuickSightClient, UpdateBrandCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
36
|
+
* const client = new QuickSightClient(config);
|
|
37
|
+
* const input = { // UpdateBrandRequest
|
|
38
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
39
|
+
* BrandId: "STRING_VALUE", // required
|
|
40
|
+
* BrandDefinition: { // BrandDefinition
|
|
41
|
+
* BrandName: "STRING_VALUE", // required
|
|
42
|
+
* Description: "STRING_VALUE",
|
|
43
|
+
* ApplicationTheme: { // ApplicationTheme
|
|
44
|
+
* BrandColorPalette: { // BrandColorPalette
|
|
45
|
+
* Primary: { // Palette
|
|
46
|
+
* Foreground: "STRING_VALUE",
|
|
47
|
+
* Background: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* Secondary: {
|
|
50
|
+
* Foreground: "STRING_VALUE",
|
|
51
|
+
* Background: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* Accent: {
|
|
54
|
+
* Foreground: "STRING_VALUE",
|
|
55
|
+
* Background: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* Measure: {
|
|
58
|
+
* Foreground: "STRING_VALUE",
|
|
59
|
+
* Background: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* Dimension: {
|
|
62
|
+
* Foreground: "STRING_VALUE",
|
|
63
|
+
* Background: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* Success: "<Palette>",
|
|
66
|
+
* Info: "<Palette>",
|
|
67
|
+
* Warning: "<Palette>",
|
|
68
|
+
* Danger: "<Palette>",
|
|
69
|
+
* },
|
|
70
|
+
* BrandElementStyle: { // BrandElementStyle
|
|
71
|
+
* NavbarStyle: { // NavbarStyle
|
|
72
|
+
* GlobalNavbar: "<Palette>",
|
|
73
|
+
* ContextualNavbar: "<Palette>",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* LogoConfiguration: { // LogoConfiguration
|
|
78
|
+
* AltText: "STRING_VALUE", // required
|
|
79
|
+
* LogoSet: { // LogoSetConfiguration
|
|
80
|
+
* Primary: { // ImageSetConfiguration
|
|
81
|
+
* Original: { // ImageConfiguration
|
|
82
|
+
* Source: { // ImageSource Union: only one key present
|
|
83
|
+
* PublicUrl: "STRING_VALUE",
|
|
84
|
+
* S3Uri: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* Favicon: {
|
|
89
|
+
* Original: {
|
|
90
|
+
* Source: {// Union: only one key present
|
|
91
|
+
* PublicUrl: "STRING_VALUE",
|
|
92
|
+
* S3Uri: "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* };
|
|
100
|
+
* const command = new UpdateBrandCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* // { // UpdateBrandResponse
|
|
103
|
+
* // RequestId: "STRING_VALUE",
|
|
104
|
+
* // BrandDetail: { // BrandDetail
|
|
105
|
+
* // BrandId: "STRING_VALUE", // required
|
|
106
|
+
* // Arn: "STRING_VALUE",
|
|
107
|
+
* // BrandStatus: "CREATE_IN_PROGRESS" || "CREATE_SUCCEEDED" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
|
|
108
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
109
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
110
|
+
* // VersionId: "STRING_VALUE",
|
|
111
|
+
* // VersionStatus: "CREATE_IN_PROGRESS" || "CREATE_SUCCEEDED" || "CREATE_FAILED",
|
|
112
|
+
* // Errors: [ // ErrorList
|
|
113
|
+
* // "STRING_VALUE",
|
|
114
|
+
* // ],
|
|
115
|
+
* // Logo: { // Logo
|
|
116
|
+
* // AltText: "STRING_VALUE", // required
|
|
117
|
+
* // LogoSet: { // LogoSet
|
|
118
|
+
* // Primary: { // ImageSet
|
|
119
|
+
* // Original: { // Image
|
|
120
|
+
* // Source: { // ImageSource Union: only one key present
|
|
121
|
+
* // PublicUrl: "STRING_VALUE",
|
|
122
|
+
* // S3Uri: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // GeneratedImageUrl: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // Height64: {
|
|
127
|
+
* // Source: {// Union: only one key present
|
|
128
|
+
* // PublicUrl: "STRING_VALUE",
|
|
129
|
+
* // S3Uri: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // GeneratedImageUrl: "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // Height32: {
|
|
134
|
+
* // Source: {// Union: only one key present
|
|
135
|
+
* // PublicUrl: "STRING_VALUE",
|
|
136
|
+
* // S3Uri: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // GeneratedImageUrl: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
141
|
+
* // Favicon: {
|
|
142
|
+
* // Original: {
|
|
143
|
+
* // Source: {// Union: only one key present
|
|
144
|
+
* // PublicUrl: "STRING_VALUE",
|
|
145
|
+
* // S3Uri: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // GeneratedImageUrl: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // Height64: {
|
|
150
|
+
* // Source: {// Union: only one key present
|
|
151
|
+
* // PublicUrl: "STRING_VALUE",
|
|
152
|
+
* // S3Uri: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // GeneratedImageUrl: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // Height32: "<Image>",
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
161
|
+
* // BrandDefinition: { // BrandDefinition
|
|
162
|
+
* // BrandName: "STRING_VALUE", // required
|
|
163
|
+
* // Description: "STRING_VALUE",
|
|
164
|
+
* // ApplicationTheme: { // ApplicationTheme
|
|
165
|
+
* // BrandColorPalette: { // BrandColorPalette
|
|
166
|
+
* // Primary: { // Palette
|
|
167
|
+
* // Foreground: "STRING_VALUE",
|
|
168
|
+
* // Background: "STRING_VALUE",
|
|
169
|
+
* // },
|
|
170
|
+
* // Secondary: {
|
|
171
|
+
* // Foreground: "STRING_VALUE",
|
|
172
|
+
* // Background: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // Accent: {
|
|
175
|
+
* // Foreground: "STRING_VALUE",
|
|
176
|
+
* // Background: "STRING_VALUE",
|
|
177
|
+
* // },
|
|
178
|
+
* // Measure: {
|
|
179
|
+
* // Foreground: "STRING_VALUE",
|
|
180
|
+
* // Background: "STRING_VALUE",
|
|
181
|
+
* // },
|
|
182
|
+
* // Dimension: {
|
|
183
|
+
* // Foreground: "STRING_VALUE",
|
|
184
|
+
* // Background: "STRING_VALUE",
|
|
185
|
+
* // },
|
|
186
|
+
* // Success: "<Palette>",
|
|
187
|
+
* // Info: "<Palette>",
|
|
188
|
+
* // Warning: "<Palette>",
|
|
189
|
+
* // Danger: "<Palette>",
|
|
190
|
+
* // },
|
|
191
|
+
* // BrandElementStyle: { // BrandElementStyle
|
|
192
|
+
* // NavbarStyle: { // NavbarStyle
|
|
193
|
+
* // GlobalNavbar: "<Palette>",
|
|
194
|
+
* // ContextualNavbar: "<Palette>",
|
|
195
|
+
* // },
|
|
196
|
+
* // },
|
|
197
|
+
* // },
|
|
198
|
+
* // LogoConfiguration: { // LogoConfiguration
|
|
199
|
+
* // AltText: "STRING_VALUE", // required
|
|
200
|
+
* // LogoSet: { // LogoSetConfiguration
|
|
201
|
+
* // Primary: { // ImageSetConfiguration
|
|
202
|
+
* // Original: { // ImageConfiguration
|
|
203
|
+
* // Source: "<ImageSource>",
|
|
204
|
+
* // },
|
|
205
|
+
* // },
|
|
206
|
+
* // Favicon: {
|
|
207
|
+
* // Original: {
|
|
208
|
+
* // Source: "<ImageSource>",
|
|
209
|
+
* // },
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // };
|
|
215
|
+
*
|
|
216
|
+
* ```
|
|
217
|
+
*
|
|
218
|
+
* @param UpdateBrandCommandInput - {@link UpdateBrandCommandInput}
|
|
219
|
+
* @returns {@link UpdateBrandCommandOutput}
|
|
220
|
+
* @see {@link UpdateBrandCommandInput} for command's `input` shape.
|
|
221
|
+
* @see {@link UpdateBrandCommandOutput} for command's `response` shape.
|
|
222
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
223
|
+
*
|
|
224
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
225
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
226
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
227
|
+
* account is authorized to use the Amazon QuickSight service, that your policies have the
|
|
228
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
229
|
+
*
|
|
230
|
+
* @throws {@link ConflictException} (client fault)
|
|
231
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link InternalServerException} (server fault)
|
|
234
|
+
* <p>An internal service exception.</p>
|
|
235
|
+
*
|
|
236
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
237
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
238
|
+
*
|
|
239
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
240
|
+
* <p>One or more resources can't be found.</p>
|
|
241
|
+
*
|
|
242
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
243
|
+
* <p>Access is throttled.</p>
|
|
244
|
+
*
|
|
245
|
+
* @throws {@link QuickSightServiceException}
|
|
246
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
247
|
+
*
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export declare class UpdateBrandCommand extends UpdateBrandCommand_base {
|
|
251
|
+
/** @internal type navigation helper, not in runtime. */
|
|
252
|
+
protected static __types: {
|
|
253
|
+
api: {
|
|
254
|
+
input: UpdateBrandRequest;
|
|
255
|
+
output: UpdateBrandResponse;
|
|
256
|
+
};
|
|
257
|
+
sdk: {
|
|
258
|
+
input: UpdateBrandCommandInput;
|
|
259
|
+
output: UpdateBrandCommandOutput;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
}
|