@aws-sdk/client-quicksight 3.1161.0 → 3.1163.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.
Files changed (33) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +58 -2
  3. package/dist-es/QuickSight.js +4 -0
  4. package/dist-es/commands/DescribeResourcePermissionsCommand.js +4 -0
  5. package/dist-es/commands/UpdateResourcePermissionsCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +4 -0
  8. package/dist-es/runtimeConfig.js +2 -1
  9. package/dist-es/schemas/schemas_0.js +34 -0
  10. package/dist-types/QuickSight.d.ts +14 -0
  11. package/dist-types/QuickSightClient.d.ts +4 -2
  12. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +94 -0
  13. package/dist-types/commands/ListSpacesCommand.d.ts +2 -1
  14. package/dist-types/commands/UpdateResourcePermissionsCommand.d.ts +101 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/enums.d.ts +12 -0
  17. package/dist-types/models/models_3.d.ts +2 -2
  18. package/dist-types/models/models_4.d.ts +39 -92
  19. package/dist-types/models/models_5.d.ts +171 -2
  20. package/dist-types/runtimeConfig.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +6 -0
  22. package/dist-types/ts3.4/QuickSight.d.ts +34 -0
  23. package/dist-types/ts3.4/QuickSightClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +42 -0
  25. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +2 -1
  26. package/dist-types/ts3.4/commands/UpdateResourcePermissionsCommand.d.ts +42 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  29. package/dist-types/ts3.4/models/models_4.d.ts +10 -20
  30. package/dist-types/ts3.4/models/models_5.d.ts +32 -1
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  33. package/package.json +3 -3
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeResourcePermissionsRequest, DescribeResourcePermissionsResponse } from "../models/models_4";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeResourcePermissionsCommand}.
11
+ */
12
+ export interface DescribeResourcePermissionsCommandInput extends DescribeResourcePermissionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeResourcePermissionsCommand}.
18
+ */
19
+ export interface DescribeResourcePermissionsCommandOutput extends DescribeResourcePermissionsResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeResourcePermissionsCommand_base: {
22
+ new (input: DescribeResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<DescribeResourcePermissionsCommandInput, DescribeResourcePermissionsCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<DescribeResourcePermissionsCommandInput, DescribeResourcePermissionsCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the service role configuration for your Amazon Quick Sight account.</p>
28
+ * <p>Call this operation in the Amazon Web Services Region where your Amazon Quick Sight account is
29
+ * registered (the home Region).</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { QuickSightClient, DescribeResourcePermissionsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
34
+ * // const { QuickSightClient, DescribeResourcePermissionsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
35
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
36
+ * const config = {}; // type is QuickSightClientConfig
37
+ * const client = new QuickSightClient(config);
38
+ * const input = { // DescribeResourcePermissionsRequest
39
+ * AwsAccountId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DescribeResourcePermissionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DescribeResourcePermissionsResponse
44
+ * // RoleType: "QUICKSIGHT_MANAGED" || "CUSTOMER_MANAGED",
45
+ * // CustomerManagedRoleArn: "STRING_VALUE",
46
+ * // RequestId: "STRING_VALUE",
47
+ * // Status: Number("int"),
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param DescribeResourcePermissionsCommandInput - {@link DescribeResourcePermissionsCommandInput}
53
+ * @returns {@link DescribeResourcePermissionsCommandOutput}
54
+ * @see {@link DescribeResourcePermissionsCommandInput} for command's `input` shape.
55
+ * @see {@link DescribeResourcePermissionsCommandOutput} 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 Quick Sight service, that your policies have the
62
+ * correct permissions, and that you are using the correct credentials.</p>
63
+ *
64
+ * @throws {@link InternalFailureException} (server fault)
65
+ * <p>An internal failure occurred.</p>
66
+ *
67
+ * @throws {@link InvalidParameterValueException} (client fault)
68
+ * <p>One or more parameters has a value that isn't valid.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>One or more resources can't be found.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>Access is throttled.</p>
75
+ *
76
+ * @throws {@link QuickSightServiceException}
77
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DescribeResourcePermissionsCommand extends DescribeResourcePermissionsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DescribeResourcePermissionsRequest;
87
+ output: DescribeResourcePermissionsResponse;
88
+ };
89
+ sdk: {
90
+ input: DescribeResourcePermissionsCommandInput;
91
+ output: DescribeResourcePermissionsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListSpacesRequest, ListSpacesResponse } from "../models/models_4";
2
+ import type { ListSpacesRequest } from "../models/models_4";
3
+ import type { ListSpacesResponse } from "../models/models_5";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -0,0 +1,101 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateResourcePermissionsRequest, UpdateResourcePermissionsResponse } from "../models/models_5";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateResourcePermissionsCommand}.
11
+ */
12
+ export interface UpdateResourcePermissionsCommandInput extends UpdateResourcePermissionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateResourcePermissionsCommand}.
18
+ */
19
+ export interface UpdateResourcePermissionsCommandOutput extends UpdateResourcePermissionsResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateResourcePermissionsCommand_base: {
22
+ new (input: UpdateResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourcePermissionsCommandInput, UpdateResourcePermissionsCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateResourcePermissionsCommandInput, UpdateResourcePermissionsCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the service role configuration that Amazon Quick Sight uses to access resources in your
28
+ * Amazon Web Services account. To use this operation, you must have the
29
+ * <code>quicksight:UpdateResourcePermissions</code> and <code>iam:PassRole</code>
30
+ * permissions.</p>
31
+ * <p>Call this operation in the Amazon Web Services Region where your Amazon Quick Sight account is
32
+ * registered (the home Region). You can switch from a role managed by Amazon Quick Sight to a
33
+ * customer-managed role, or replace one customer-managed role with another. You can't use
34
+ * this operation to switch back to a role managed by Amazon Quick Sight.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { QuickSightClient, UpdateResourcePermissionsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
39
+ * // const { QuickSightClient, UpdateResourcePermissionsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
40
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
41
+ * const config = {}; // type is QuickSightClientConfig
42
+ * const client = new QuickSightClient(config);
43
+ * const input = { // UpdateResourcePermissionsRequest
44
+ * AwsAccountId: "STRING_VALUE", // required
45
+ * RoleType: "QUICKSIGHT_MANAGED" || "CUSTOMER_MANAGED", // required
46
+ * CustomerManagedRoleArn: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new UpdateResourcePermissionsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateResourcePermissionsResponse
51
+ * // RoleType: "QUICKSIGHT_MANAGED" || "CUSTOMER_MANAGED",
52
+ * // CustomerManagedRoleArn: "STRING_VALUE",
53
+ * // RequestId: "STRING_VALUE",
54
+ * // Status: Number("int"),
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateResourcePermissionsCommandInput - {@link UpdateResourcePermissionsCommandInput}
60
+ * @returns {@link UpdateResourcePermissionsCommandOutput}
61
+ * @see {@link UpdateResourcePermissionsCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateResourcePermissionsCommandOutput} for command's `response` shape.
63
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have access to this item. The provided credentials couldn't be
67
+ * validated. You might not be authorized to carry out the request. Make sure that your
68
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
69
+ * correct permissions, and that you are using the correct credentials.</p>
70
+ *
71
+ * @throws {@link InternalFailureException} (server fault)
72
+ * <p>An internal failure occurred.</p>
73
+ *
74
+ * @throws {@link InvalidParameterValueException} (client fault)
75
+ * <p>One or more parameters has a value that isn't valid.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>One or more resources can't be found.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>Access is throttled.</p>
82
+ *
83
+ * @throws {@link QuickSightServiceException}
84
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class UpdateResourcePermissionsCommand extends UpdateResourcePermissionsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: UpdateResourcePermissionsRequest;
94
+ output: UpdateResourcePermissionsResponse;
95
+ };
96
+ sdk: {
97
+ input: UpdateResourcePermissionsCommandInput;
98
+ output: UpdateResourcePermissionsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -132,6 +132,7 @@ export * from "./DescribeOAuthClientApplicationCommand";
132
132
  export * from "./DescribeQPersonalizationConfigurationCommand";
133
133
  export * from "./DescribeQuickSightQSearchConfigurationCommand";
134
134
  export * from "./DescribeRefreshScheduleCommand";
135
+ export * from "./DescribeResourcePermissionsCommand";
135
136
  export * from "./DescribeRoleCustomPermissionCommand";
136
137
  export * from "./DescribeSelfUpgradeConfigurationCommand";
137
138
  export * from "./DescribeSpaceCommand";
@@ -276,6 +277,7 @@ export * from "./UpdatePublicSharingSettingsCommand";
276
277
  export * from "./UpdateQPersonalizationConfigurationCommand";
277
278
  export * from "./UpdateQuickSightQSearchConfigurationCommand";
278
279
  export * from "./UpdateRefreshScheduleCommand";
280
+ export * from "./UpdateResourcePermissionsCommand";
279
281
  export * from "./UpdateRoleCustomPermissionCommand";
280
282
  export * from "./UpdateSPICECapacityConfigurationCommand";
281
283
  export * from "./UpdateSelfUpgradeCommand";
@@ -3984,6 +3984,18 @@ export declare const QSearchStatus: {
3984
3984
  * @public
3985
3985
  */
3986
3986
  export type QSearchStatus = (typeof QSearchStatus)[keyof typeof QSearchStatus];
3987
+ /**
3988
+ * @public
3989
+ * @enum
3990
+ */
3991
+ export declare const ServiceRoleType: {
3992
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
3993
+ readonly QUICKSIGHT_MANAGED: "QUICKSIGHT_MANAGED";
3994
+ };
3995
+ /**
3996
+ * @public
3997
+ */
3998
+ export type ServiceRoleType = (typeof ServiceRoleType)[keyof typeof ServiceRoleType];
3987
3999
  /**
3988
4000
  * @public
3989
4001
  * @enum
@@ -2069,7 +2069,7 @@ export interface OAuthClientCredentials {
2069
2069
  */
2070
2070
  export interface OneDriveClientCredentials {
2071
2071
  /**
2072
- * <p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the OneDrive certificate credentials. This field is required.</p>
2072
+ * <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the OneDrive certificate credentials. This field is required.</p>
2073
2073
  * @public
2074
2074
  */
2075
2075
  KmsKeyArn: string | undefined;
@@ -2106,7 +2106,7 @@ export interface ServiceAccountCredentials {
2106
2106
  */
2107
2107
  export interface SharePointClientCredentials {
2108
2108
  /**
2109
- * <p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the SharePoint certificate credentials. This field is required.</p>
2109
+ * <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the SharePoint certificate credentials. This field is required.</p>
2110
2110
  * @public
2111
2111
  */
2112
2112
  KmsKeyArn: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AssetBundleExportFormat, AssetBundleExportJobStatus, AssetBundleImportFailureAction, AssetBundleImportJobStatus, AssignmentStatus, AutomationJobStatus, DashboardsQAStatus, DataSetStatus, DataSourceType, DlpAction, DlpProviderType, DlpSettingStatus, EmbeddingIdentityType, FilterOperator, FlowPublishState, FolderFilterAttribute, FolderType, GeneratedAnswerStatus, GroupFilterAttribute, GroupFilterOperator, IdentityStore, IdentityType, IncludeFolderMembers, IngestionErrorType, IngestionRequestSource, IngestionRequestType, IngestionStatus, KbIngestionStatus, KnowledgeBaseSearchFilterName, KnowledgeBaseSearchOperator, KnowledgeBaseSortByField, NamespaceErrorType, NamespaceStatus, NetworkInterfaceStatus, OAuthClientAuthenticationType, PersonalizationMode, QDataKeyType, QSearchStatus, ResourceStatus, ResourceType, Role, SelfUpgradeRequestStatus, SelfUpgradeStatus, SharingModel, SnapshotJobStatus, SortOrder, SpaceQuickSightResourceType, TemplateErrorType, ThemeErrorType, ThemeType, TopicRefreshStatus, UserRole, VPCConnectionAvailabilityStatus, VPCConnectionResourceStatus } from "./enums";
2
+ import type { AssetBundleExportFormat, AssetBundleExportJobStatus, AssetBundleImportFailureAction, AssetBundleImportJobStatus, AssignmentStatus, AutomationJobStatus, DashboardsQAStatus, DataSetStatus, DataSourceType, DlpAction, DlpProviderType, DlpSettingStatus, EmbeddingIdentityType, FilterOperator, FlowPublishState, FolderFilterAttribute, FolderType, GeneratedAnswerStatus, GroupFilterAttribute, GroupFilterOperator, IdentityStore, IdentityType, IncludeFolderMembers, IngestionErrorType, IngestionRequestSource, IngestionRequestType, IngestionStatus, KbIngestionStatus, KnowledgeBaseSearchFilterName, KnowledgeBaseSearchOperator, KnowledgeBaseSortByField, NamespaceErrorType, NamespaceStatus, NetworkInterfaceStatus, OAuthClientAuthenticationType, PersonalizationMode, QDataKeyType, QSearchStatus, ResourceStatus, ResourceType, Role, SelfUpgradeRequestStatus, SelfUpgradeStatus, ServiceRoleType, SharingModel, SnapshotJobStatus, SortOrder, SpaceQuickSightResourceType, TemplateErrorType, ThemeErrorType, ThemeType, TopicRefreshStatus, UserRole, VPCConnectionAvailabilityStatus, VPCConnectionResourceStatus } from "./enums";
3
3
  import type { AccessControlConfiguration, AccountCustomization, AccountInfo, AccountSettings, ActionConnector, ActionConnectorSummary, ActiveIAMPolicyAssignment, Agent, AgentSummary, AmazonQInQuickSightConsoleConfigurations, AmazonQInQuickSightDashboardConfigurations, Analysis, Entity, Sheet } from "./models_0";
4
4
  import type { _Parameters, AnalysisSummary, AnonymousUserEmbeddingExperienceConfiguration, AnonymousUserSnapshotJobResult, ApprovalPolicy, AppSummary, AssetBundleCloudFormationOverridePropertyConfiguration, AssetBundleExportJobError, AssetBundleExportJobSummary, AssetBundleExportJobValidationStrategy, AssetBundleExportJobWarning, AssetBundleImportJobError, AssetBundleImportJobOverrideParameters, AssetBundleImportJobOverridePermissions, AssetBundleImportJobOverrideTags, AssetBundleImportJobOverrideValidationStrategy, AssetBundleImportJobSummary, AssetBundleImportJobWarning, AssetBundleImportSourceDescription, AuthorizedTargetsByService, BookmarksConfigurations, BrandDefinition, BrandDetail, BrandSummary, DashboardVisualId, DataSetRefreshProperties, LinkSharingConfiguration, ResourcePermission, SharedViewConfigurations, SnapshotFile, SnapshotJobResultFileGroup, SnapshotS3DestinationConfiguration, VpcConnectionProperties } from "./models_2";
5
5
  import type { CustomInstructions, CustomPermissions, Dashboard, DashboardCustomizationSummaryConfigurations, DashboardSummary, DashboardVersionSummary, DataSet, DataSetConfiguration, DataSetSummary, DataSource, Group, GroupMember, KnowledgeBaseConfiguration, MediaExtractionConfiguration, Permission, ProfileLimitValue, ProviderConfig, RefreshSchedule, TemplateAlias, ThemeAlias, ThemeConfiguration, TopicConfiguration, TopicDetails, TopicRefreshSchedule, TopicV2Details } from "./models_3";
@@ -3265,6 +3265,44 @@ export interface DescribeRefreshScheduleResponse {
3265
3265
  */
3266
3266
  Arn?: string | undefined;
3267
3267
  }
3268
+ /**
3269
+ * @public
3270
+ */
3271
+ export interface DescribeResourcePermissionsRequest {
3272
+ /**
3273
+ * <p>The ID of the Amazon Web Services account whose service role configuration you want to
3274
+ * describe.</p>
3275
+ * @public
3276
+ */
3277
+ AwsAccountId: string | undefined;
3278
+ }
3279
+ /**
3280
+ * @public
3281
+ */
3282
+ export interface DescribeResourcePermissionsResponse {
3283
+ /**
3284
+ * <p>The type of service role that Amazon Quick Sight uses for your account.</p>
3285
+ * @public
3286
+ */
3287
+ RoleType?: ServiceRoleType | undefined;
3288
+ /**
3289
+ * <p>The ARN of the customer-managed role that Amazon Quick Sight uses for your account. Amazon Quick Sight
3290
+ * returns this value only when <code>RoleType</code> is
3291
+ * <code>CUSTOMER_MANAGED</code>.</p>
3292
+ * @public
3293
+ */
3294
+ CustomerManagedRoleArn?: string | undefined;
3295
+ /**
3296
+ * <p>The Amazon Web Services request ID for this operation.</p>
3297
+ * @public
3298
+ */
3299
+ RequestId?: string | undefined;
3300
+ /**
3301
+ * <p>The HTTP status of the request.</p>
3302
+ * @public
3303
+ */
3304
+ Status?: number | undefined;
3305
+ }
3268
3306
  /**
3269
3307
  * @public
3270
3308
  */
@@ -7862,94 +7900,3 @@ export interface ListSpacesRequest {
7862
7900
  */
7863
7901
  MaxResults?: number | undefined;
7864
7902
  }
7865
- /**
7866
- * <p>A summary of an Amazon QuickSight space.</p>
7867
- * @public
7868
- */
7869
- export interface SpaceSummary {
7870
- /**
7871
- * <p>The ID of the space.</p>
7872
- * @public
7873
- */
7874
- spaceId: string | undefined;
7875
- /**
7876
- * <p>The ARN of the space.</p>
7877
- * @public
7878
- */
7879
- spaceArn?: string | undefined;
7880
- /**
7881
- * <p>The display name of the space.</p>
7882
- * @public
7883
- */
7884
- name?: string | undefined;
7885
- /**
7886
- * <p>The description of the space.</p>
7887
- * @public
7888
- */
7889
- description?: string | undefined;
7890
- /**
7891
- * <p>The date and time that the space was last updated.</p>
7892
- * @public
7893
- */
7894
- updatedAt?: Date | undefined;
7895
- /**
7896
- * <p>The total consumed source size in bytes.</p>
7897
- * @public
7898
- */
7899
- consumedSourceSize?: number | undefined;
7900
- /**
7901
- * <p>The number of consumed source documents.</p>
7902
- * @public
7903
- */
7904
- consumedSourceDocCount?: number | undefined;
7905
- /**
7906
- * <p>The date and time that the space was created.</p>
7907
- * @public
7908
- */
7909
- createdAt?: Date | undefined;
7910
- /**
7911
- * <p>The user who created the space.</p>
7912
- * @public
7913
- */
7914
- createdBy?: string | undefined;
7915
- /**
7916
- * <p>The ARN of the user who created the space.</p>
7917
- * @public
7918
- */
7919
- createdByArn?: string | undefined;
7920
- /**
7921
- * <p>The number of resources in the space.</p>
7922
- * @public
7923
- */
7924
- resourcesCount?: number | undefined;
7925
- }
7926
- /**
7927
- * @public
7928
- */
7929
- export interface ListSpacesResponse {
7930
- /**
7931
- * <p>The ID of the space.</p>
7932
- * @public
7933
- */
7934
- spaceId: string | undefined;
7935
- /**
7936
- * <p>The ARN of the space.</p>
7937
- * @public
7938
- */
7939
- spaceArn?: string | undefined;
7940
- /**
7941
- * <p>A list of space summaries.</p>
7942
- * @public
7943
- */
7944
- SpaceSummaries: SpaceSummary[] | undefined;
7945
- /**
7946
- * <p>The token for the next set of results, or null if there are no more results.</p>
7947
- * @public
7948
- */
7949
- NextToken?: string | undefined;
7950
- /**
7951
- * <p>The Amazon Web Services request ID for this operation.</p>
7952
- * @public
7953
- */
7954
- RequestId?: string | undefined;
7955
- }
@@ -1,9 +1,100 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AgentStatus, AppVisibility, AssetBundleExportFormat, AssetBundleImportFailureAction, AssetType, AssignmentStatus, CrossDatasetTypes, DashboardsQAStatus, DataSetImportMode, DataSourceType, DlpAction, DlpProviderType, FieldName, FilterNullOption, FilterOperator, GovernedAction, HierarchyFilterMatchOperator, IdentityType, IncludeFolderMembers, IncludeGeneratedAnswer, IncludeQuickSightQIndex, PersonalizationMode, PurchaseMode, QAResultType, QSearchStatus, ResourceStatus, ResourceType, Role, SearchAppsFilterName, SearchFilterOperator, SelfUpgradeAdminAction, SelfUpgradeStatus, ServiceType, SpaceQuickSightResourceType, SpaceQuickSightSearchFilterName, SpaceSearchOperator, ThemeType, TopicFilterAttribute, TopicFilterOperator, TopicUserExperienceVersion, TopicV2PublishOption, UserIndexCapacitySortBy, UserIndexCapacitySortOrder, UserRole, VisualRole, VPCConnectionAvailabilityStatus, VPCConnectionResourceStatus, WidgetStatus } from "./enums";
2
+ import type { AgentStatus, AppVisibility, AssetBundleExportFormat, AssetBundleImportFailureAction, AssetType, AssignmentStatus, CrossDatasetTypes, DashboardsQAStatus, DataSetImportMode, DataSourceType, DlpAction, DlpProviderType, FieldName, FilterNullOption, FilterOperator, GovernedAction, HierarchyFilterMatchOperator, IdentityType, IncludeFolderMembers, IncludeGeneratedAnswer, IncludeQuickSightQIndex, PersonalizationMode, PurchaseMode, QAResultType, QSearchStatus, ResourceStatus, ResourceType, Role, SearchAppsFilterName, SearchFilterOperator, SelfUpgradeAdminAction, SelfUpgradeStatus, ServiceRoleType, ServiceType, SpaceQuickSightResourceType, SpaceQuickSightSearchFilterName, SpaceSearchOperator, ThemeType, TopicFilterAttribute, TopicFilterOperator, TopicUserExperienceVersion, TopicV2PublishOption, UserIndexCapacitySortBy, UserIndexCapacitySortOrder, UserRole, VisualRole, VPCConnectionAvailabilityStatus, VPCConnectionResourceStatus, WidgetStatus } from "./enums";
3
3
  import type { AccessControlConfiguration, AccountCustomization, ActionConnectorSearchFilter, ActionConnectorSummary, AgentSearchFilter, AgentSummary, AnalysisDefaults, AnalysisError, AssetOptions, CalculatedField, CategoryFilter, ColumnConfiguration, ColumnIdentifier, DataSetIdentifierDeclaration, DefaultFilterControlConfiguration, FilterScopeConfiguration, HierarchyFilterLevel, NestedFilter, NumericEqualityFilter, NumericRangeFilter, ParameterDeclaration, QueryExecutionOptions, RelativeDatesFilter, TimeEqualityFilter, TimeRangeFilter, TopBottomFilter } from "./models_0";
4
4
  import type { _Parameters, AnalysisSearchFilter, AnalysisSourceEntity, AnalysisSummary, ApplicableTo, ApprovalPolicy, AppSummary, AssetBundleCloudFormationOverridePropertyConfiguration, AssetBundleExportJobValidationStrategy, AssetBundleImportJobOverrideParameters, AssetBundleImportJobOverridePermissions, AssetBundleImportJobOverrideTags, AssetBundleImportJobOverrideValidationStrategy, AssetBundleImportSource, AuthConfig, BrandDefinition, BrandDetail, Capabilities, CapacityBytesRangeFilter, ColumnGroup, ColumnLevelPermissionRule, CustomPromptInput, DashboardPublishOptions, DashboardSourceEntity, DataSetRefreshProperties, DataSourceParameters, Governance, LinkSharingConfiguration, ResourcePermission, SheetDefinition, SslProperties, StaticFile, Tag, TooltipSheetDefinition, TopicIdentifierDeclaration, TopicIR, TopicTemplate, ValidationStrategy, VpcConnectionProperties } from "./models_2";
5
5
  import type { CustomInstructions, DashboardError, DashboardSearchFilter, DashboardSummary, DashboardVisualResult, DataPrepConfiguration, DataSetConfiguration, DatasetParameter, DataSetSearchFilter, DataSetSummary, DataSetUsageConfiguration, DataSourceCredentials, DataSourceSearchFilter, DataSourceSummary, FieldFolder, Group, KnowledgeBaseConfiguration, LogicalTable, MediaExtractionConfiguration, PerformanceConfiguration, Permission, PhysicalTable, ProfileLimitValue, ProviderConfig, RefreshSchedule, RowLevelPermissionDataSet, RowLevelPermissionTagConfiguration, SemanticModelConfiguration, TemplateAlias, TemplateSourceEntity, ThemeAlias, ThemeConfiguration, TopicConfiguration, TopicDetails, TopicRefreshSchedule, TopicV2Details } from "./models_3";
6
- import type { FailedKeyRegistrationEntry, FailedSpaceResourceOperation, FailedToUpdateAssociation, FlowSummary, FolderSearchFilter, FolderSummary, GeneratedAnswerResult, GroupSearchFilter, KnowledgeBaseSearchFilter, KnowledgeBaseSortBy, KnowledgeBaseSummary, NetworkInterface, RegisteredCustomerManagedKey, SelfUpgradeRequestDetail, SessionTag, SnapshotConfiguration, SpaceQuickSightResourceDetails, SpaceSummary, TemplateError, User } from "./models_4";
6
+ import type { FailedKeyRegistrationEntry, FailedSpaceResourceOperation, FailedToUpdateAssociation, FlowSummary, FolderSearchFilter, FolderSummary, GeneratedAnswerResult, GroupSearchFilter, KnowledgeBaseSearchFilter, KnowledgeBaseSortBy, KnowledgeBaseSummary, NetworkInterface, RegisteredCustomerManagedKey, SelfUpgradeRequestDetail, SessionTag, SnapshotConfiguration, SpaceQuickSightResourceDetails, TemplateError, User } from "./models_4";
7
+ /**
8
+ * <p>A summary of an Amazon QuickSight space.</p>
9
+ * @public
10
+ */
11
+ export interface SpaceSummary {
12
+ /**
13
+ * <p>The ID of the space.</p>
14
+ * @public
15
+ */
16
+ spaceId: string | undefined;
17
+ /**
18
+ * <p>The ARN of the space.</p>
19
+ * @public
20
+ */
21
+ spaceArn?: string | undefined;
22
+ /**
23
+ * <p>The display name of the space.</p>
24
+ * @public
25
+ */
26
+ name?: string | undefined;
27
+ /**
28
+ * <p>The description of the space.</p>
29
+ * @public
30
+ */
31
+ description?: string | undefined;
32
+ /**
33
+ * <p>The date and time that the space was last updated.</p>
34
+ * @public
35
+ */
36
+ updatedAt?: Date | undefined;
37
+ /**
38
+ * <p>The total consumed source size in bytes.</p>
39
+ * @public
40
+ */
41
+ consumedSourceSize?: number | undefined;
42
+ /**
43
+ * <p>The number of consumed source documents.</p>
44
+ * @public
45
+ */
46
+ consumedSourceDocCount?: number | undefined;
47
+ /**
48
+ * <p>The date and time that the space was created.</p>
49
+ * @public
50
+ */
51
+ createdAt?: Date | undefined;
52
+ /**
53
+ * <p>The user who created the space.</p>
54
+ * @public
55
+ */
56
+ createdBy?: string | undefined;
57
+ /**
58
+ * <p>The ARN of the user who created the space.</p>
59
+ * @public
60
+ */
61
+ createdByArn?: string | undefined;
62
+ /**
63
+ * <p>The number of resources in the space.</p>
64
+ * @public
65
+ */
66
+ resourcesCount?: number | undefined;
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export interface ListSpacesResponse {
72
+ /**
73
+ * <p>The ID of the space.</p>
74
+ * @public
75
+ */
76
+ spaceId: string | undefined;
77
+ /**
78
+ * <p>The ARN of the space.</p>
79
+ * @public
80
+ */
81
+ spaceArn?: string | undefined;
82
+ /**
83
+ * <p>A list of space summaries.</p>
84
+ * @public
85
+ */
86
+ SpaceSummaries: SpaceSummary[] | undefined;
87
+ /**
88
+ * <p>The token for the next set of results, or null if there are no more results.</p>
89
+ * @public
90
+ */
91
+ NextToken?: string | undefined;
92
+ /**
93
+ * <p>The Amazon Web Services request ID for this operation.</p>
94
+ * @public
95
+ */
96
+ RequestId?: string | undefined;
97
+ }
7
98
  /**
8
99
  * @public
9
100
  */
@@ -5085,6 +5176,84 @@ export interface UpdateRefreshScheduleResponse {
5085
5176
  */
5086
5177
  Arn?: string | undefined;
5087
5178
  }
5179
+ /**
5180
+ * @public
5181
+ */
5182
+ export interface UpdateResourcePermissionsRequest {
5183
+ /**
5184
+ * <p>The ID of the Amazon Web Services account whose service role configuration you want to
5185
+ * update.</p>
5186
+ * @public
5187
+ */
5188
+ AwsAccountId: string | undefined;
5189
+ /**
5190
+ * <p>The type of service role that you want Amazon Quick Sight to use. The only supported value for this
5191
+ * operation is <code>CUSTOMER_MANAGED</code>. Requests that specify
5192
+ * <code>QUICKSIGHT_MANAGED</code> are rejected.</p>
5193
+ * @public
5194
+ */
5195
+ RoleType: ServiceRoleType | undefined;
5196
+ /**
5197
+ * <p>The ARN of the customer-managed role that you want Amazon Quick Sight to use. To use this
5198
+ * operation, you must have the
5199
+ * <code>iam:PassRole</code> permission for the role.</p>
5200
+ * <p>Configure the role as follows:</p>
5201
+ * <ul>
5202
+ * <li>
5203
+ * <p>The role must belong to the Amazon Web Services account specified by
5204
+ * <code>AwsAccountId</code>.</p>
5205
+ * </li>
5206
+ * <li>
5207
+ * <p>Configure the role trust policy to allow the Amazon Quick Sight service principal to call
5208
+ * <code>sts:AssumeRole</code>.</p>
5209
+ * </li>
5210
+ * <li>
5211
+ * <p>Attach a permissions policy that allows access to the resources that you want
5212
+ * Amazon Quick Sight to use.</p>
5213
+ * </li>
5214
+ * <li>
5215
+ * <p>To use features that rely on session tags, configure the role trust policy to
5216
+ * allow the Amazon Quick Sight service principal to call <code>sts:TagSession</code>.</p>
5217
+ * </li>
5218
+ * </ul>
5219
+ * <p>If the role doesn't exist or its trust policy doesn't allow
5220
+ * <code>sts:AssumeRole</code>, the request returns an
5221
+ * <code>AccessDeniedException</code>.</p>
5222
+ * <p>When you call this operation, Amazon Quick Sight attempts to assume the role with session tags
5223
+ * and records whether the attempt succeeds. If you later add or remove
5224
+ * <code>sts:TagSession</code> from the trust policy, call this operation again with the
5225
+ * same role ARN to refresh the stored capability.</p>
5226
+ * @public
5227
+ */
5228
+ CustomerManagedRoleArn: string | undefined;
5229
+ }
5230
+ /**
5231
+ * @public
5232
+ */
5233
+ export interface UpdateResourcePermissionsResponse {
5234
+ /**
5235
+ * <p>The type of service role that Amazon Quick Sight uses for your account after the update.
5236
+ * This value is <code>CUSTOMER_MANAGED</code>.</p>
5237
+ * @public
5238
+ */
5239
+ RoleType?: ServiceRoleType | undefined;
5240
+ /**
5241
+ * <p>The ARN of the customer-managed role that Amazon Quick Sight uses for your account after
5242
+ * the update.</p>
5243
+ * @public
5244
+ */
5245
+ CustomerManagedRoleArn?: string | undefined;
5246
+ /**
5247
+ * <p>The Amazon Web Services request ID for this operation.</p>
5248
+ * @public
5249
+ */
5250
+ RequestId?: string | undefined;
5251
+ /**
5252
+ * <p>The HTTP status of the request.</p>
5253
+ * @public
5254
+ */
5255
+ Status?: number | undefined;
5256
+ }
5088
5257
  /**
5089
5258
  * @public
5090
5259
  */
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: QuickSightClientConfig) => {
44
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
45
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
46
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
47
+ defaultSocketTimeout: number | undefined;
47
48
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
49
  maxAttempts: number | import("@smithy/types").Provider<number>;
49
50
  region: string | import("@smithy/types").Provider<string>;
@@ -669,6 +669,8 @@ export declare var DescribeQuickSightQSearchConfigurationRequest$: StaticStructu
669
669
  export declare var DescribeQuickSightQSearchConfigurationResponse$: StaticStructureSchema;
670
670
  export declare var DescribeRefreshScheduleRequest$: StaticStructureSchema;
671
671
  export declare var DescribeRefreshScheduleResponse$: StaticStructureSchema;
672
+ export declare var DescribeResourcePermissionsRequest$: StaticStructureSchema;
673
+ export declare var DescribeResourcePermissionsResponse$: StaticStructureSchema;
672
674
  export declare var DescribeRoleCustomPermissionRequest$: StaticStructureSchema;
673
675
  export declare var DescribeRoleCustomPermissionResponse$: StaticStructureSchema;
674
676
  export declare var DescribeSelfUpgradeConfigurationRequest$: StaticStructureSchema;
@@ -1669,6 +1671,8 @@ export declare var UpdateQuickSightQSearchConfigurationRequest$: StaticStructure
1669
1671
  export declare var UpdateQuickSightQSearchConfigurationResponse$: StaticStructureSchema;
1670
1672
  export declare var UpdateRefreshScheduleRequest$: StaticStructureSchema;
1671
1673
  export declare var UpdateRefreshScheduleResponse$: StaticStructureSchema;
1674
+ export declare var UpdateResourcePermissionsRequest$: StaticStructureSchema;
1675
+ export declare var UpdateResourcePermissionsResponse$: StaticStructureSchema;
1672
1676
  export declare var UpdateRoleCustomPermissionRequest$: StaticStructureSchema;
1673
1677
  export declare var UpdateRoleCustomPermissionResponse$: StaticStructureSchema;
1674
1678
  export declare var UpdateSelfUpgradeConfigurationRequest$: StaticStructureSchema;
@@ -1911,6 +1915,7 @@ export declare var DescribeOAuthClientApplication$: StaticOperationSchema;
1911
1915
  export declare var DescribeQPersonalizationConfiguration$: StaticOperationSchema;
1912
1916
  export declare var DescribeQuickSightQSearchConfiguration$: StaticOperationSchema;
1913
1917
  export declare var DescribeRefreshSchedule$: StaticOperationSchema;
1918
+ export declare var DescribeResourcePermissions$: StaticOperationSchema;
1914
1919
  export declare var DescribeRoleCustomPermission$: StaticOperationSchema;
1915
1920
  export declare var DescribeSelfUpgradeConfiguration$: StaticOperationSchema;
1916
1921
  export declare var DescribeSpace$: StaticOperationSchema;
@@ -2055,6 +2060,7 @@ export declare var UpdatePublicSharingSettings$: StaticOperationSchema;
2055
2060
  export declare var UpdateQPersonalizationConfiguration$: StaticOperationSchema;
2056
2061
  export declare var UpdateQuickSightQSearchConfiguration$: StaticOperationSchema;
2057
2062
  export declare var UpdateRefreshSchedule$: StaticOperationSchema;
2063
+ export declare var UpdateResourcePermissions$: StaticOperationSchema;
2058
2064
  export declare var UpdateRoleCustomPermission$: StaticOperationSchema;
2059
2065
  export declare var UpdateSelfUpgrade$: StaticOperationSchema;
2060
2066
  export declare var UpdateSelfUpgradeConfiguration$: StaticOperationSchema;