@aws-sdk/client-quicksight 3.1057.0 → 3.1058.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 (170) hide show
  1. package/README.md +161 -7
  2. package/dist-cjs/index.js +364 -5
  3. package/dist-cjs/schemas/schemas_0.js +870 -258
  4. package/dist-es/QuickSight.js +44 -0
  5. package/dist-es/commands/CreateAgentCommand.js +16 -0
  6. package/dist-es/commands/CreateFlowCommand.js +16 -0
  7. package/dist-es/commands/CreateSpaceCommand.js +16 -0
  8. package/dist-es/commands/DeleteAgentCommand.js +16 -0
  9. package/dist-es/commands/DeleteFlowCommand.js +16 -0
  10. package/dist-es/commands/DeleteSpaceCommand.js +16 -0
  11. package/dist-es/commands/DescribeAgentCommand.js +16 -0
  12. package/dist-es/commands/DescribeAgentPermissionsCommand.js +16 -0
  13. package/dist-es/commands/DescribeFlowCommand.js +16 -0
  14. package/dist-es/commands/DescribeSpaceCommand.js +16 -0
  15. package/dist-es/commands/DescribeSpacePermissionsCommand.js +16 -0
  16. package/dist-es/commands/ListAgentsCommand.js +16 -0
  17. package/dist-es/commands/ListSpaceResourcesCommand.js +16 -0
  18. package/dist-es/commands/ListSpacesCommand.js +16 -0
  19. package/dist-es/commands/SearchAgentsCommand.js +16 -0
  20. package/dist-es/commands/SearchSpacesCommand.js +16 -0
  21. package/dist-es/commands/UpdateAgentCommand.js +16 -0
  22. package/dist-es/commands/UpdateAgentPermissionsCommand.js +16 -0
  23. package/dist-es/commands/UpdateFlowCommand.js +16 -0
  24. package/dist-es/commands/UpdateSpaceCommand.js +16 -0
  25. package/dist-es/commands/UpdateSpacePermissionsCommand.js +16 -0
  26. package/dist-es/commands/UpdateSpaceResourcesCommand.js +16 -0
  27. package/dist-es/commands/index.js +22 -0
  28. package/dist-es/models/enums.js +49 -5
  29. package/dist-es/schemas/schemas_0.js +832 -222
  30. package/dist-types/QuickSight.d.ts +154 -0
  31. package/dist-types/QuickSightClient.d.ts +24 -2
  32. package/dist-types/commands/CreateAgentCommand.d.ts +136 -0
  33. package/dist-types/commands/CreateFlowCommand.d.ts +119 -0
  34. package/dist-types/commands/CreateSpaceCommand.d.ts +105 -0
  35. package/dist-types/commands/DeleteAgentCommand.d.ts +98 -0
  36. package/dist-types/commands/DeleteFlowCommand.d.ts +99 -0
  37. package/dist-types/commands/DeleteSpaceCommand.d.ts +97 -0
  38. package/dist-types/commands/DescribeAgentCommand.d.ts +132 -0
  39. package/dist-types/commands/DescribeAgentPermissionsCommand.d.ts +108 -0
  40. package/dist-types/commands/DescribeDataSourcePermissionsCommand.d.ts +2 -1
  41. package/dist-types/commands/DescribeDefaultQBusinessApplicationCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeFlowCommand.d.ts +115 -0
  43. package/dist-types/commands/DescribeFolderCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeFolderPermissionsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeFolderResolvedPermissionsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeGroupCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeIngestionCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeIpRestrictionCommand.d.ts +1 -2
  51. package/dist-types/commands/DescribeSpaceCommand.d.ts +123 -0
  52. package/dist-types/commands/DescribeSpacePermissionsCommand.d.ts +105 -0
  53. package/dist-types/commands/ListAgentsCommand.d.ts +117 -0
  54. package/dist-types/commands/ListSpaceResourcesCommand.d.ts +107 -0
  55. package/dist-types/commands/ListSpacesCommand.d.ts +114 -0
  56. package/dist-types/commands/SearchAgentsCommand.d.ts +118 -0
  57. package/dist-types/commands/SearchSpacesCommand.d.ts +121 -0
  58. package/dist-types/commands/UpdateAgentCommand.d.ts +168 -0
  59. package/dist-types/commands/UpdateAgentPermissionsCommand.d.ts +136 -0
  60. package/dist-types/commands/UpdateBrandAssignmentCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateBrandPublishedVersionCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateCustomPermissionsCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateDashboardCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateDashboardLinksCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateDashboardPermissionsCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateDashboardPublishedVersionCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateDashboardsQAConfigurationCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateDataSetCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateDataSetPermissionsCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateDataSourcePermissionsCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateDefaultQBusinessApplicationCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateFlowCommand.d.ts +108 -0
  74. package/dist-types/commands/UpdateFlowPermissionsCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateFolderCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateFolderPermissionsCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateIdentityPropagationConfigCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateIpRestrictionCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateKeyRegistrationCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateOAuthClientApplicationCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdatePublicSharingSettingsCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateQPersonalizationConfigurationCommand.d.ts +1 -1
  85. package/dist-types/commands/UpdateQuickSightQSearchConfigurationCommand.d.ts +1 -1
  86. package/dist-types/commands/UpdateRefreshScheduleCommand.d.ts +1 -1
  87. package/dist-types/commands/UpdateRoleCustomPermissionCommand.d.ts +1 -2
  88. package/dist-types/commands/UpdateSpaceCommand.d.ts +102 -0
  89. package/dist-types/commands/UpdateSpacePermissionsCommand.d.ts +133 -0
  90. package/dist-types/commands/UpdateSpaceResourcesCommand.d.ts +131 -0
  91. package/dist-types/commands/index.d.ts +22 -0
  92. package/dist-types/models/enums.d.ts +113 -13
  93. package/dist-types/models/models_0.d.ts +200 -87
  94. package/dist-types/models/models_1.d.ts +88 -66
  95. package/dist-types/models/models_2.d.ts +254 -215
  96. package/dist-types/models/models_3.d.ts +577 -619
  97. package/dist-types/models/models_4.d.ts +3874 -4006
  98. package/dist-types/models/models_5.d.ts +1755 -4
  99. package/dist-types/schemas/schemas_0.d.ts +85 -0
  100. package/dist-types/ts3.4/QuickSight.d.ts +374 -0
  101. package/dist-types/ts3.4/QuickSightClient.d.ts +132 -0
  102. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +49 -0
  103. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +49 -0
  104. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +49 -0
  105. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +49 -0
  106. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +49 -0
  107. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +49 -0
  108. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +52 -0
  109. package/dist-types/ts3.4/commands/DescribeAgentPermissionsCommand.d.ts +53 -0
  110. package/dist-types/ts3.4/commands/DescribeDataSourcePermissionsCommand.d.ts +2 -4
  111. package/dist-types/ts3.4/commands/DescribeDefaultQBusinessApplicationCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +49 -0
  113. package/dist-types/ts3.4/commands/DescribeFolderCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeFolderPermissionsCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeFolderResolvedPermissionsCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DescribeIngestionCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DescribeIpRestrictionCommand.d.ts +4 -2
  121. package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +52 -0
  122. package/dist-types/ts3.4/commands/DescribeSpacePermissionsCommand.d.ts +53 -0
  123. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +49 -0
  124. package/dist-types/ts3.4/commands/ListSpaceResourcesCommand.d.ts +53 -0
  125. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +49 -0
  126. package/dist-types/ts3.4/commands/SearchAgentsCommand.d.ts +49 -0
  127. package/dist-types/ts3.4/commands/SearchSpacesCommand.d.ts +49 -0
  128. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +49 -0
  129. package/dist-types/ts3.4/commands/UpdateAgentPermissionsCommand.d.ts +53 -0
  130. package/dist-types/ts3.4/commands/UpdateBrandAssignmentCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateBrandPublishedVersionCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateCustomPermissionsCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateDashboardLinksCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/UpdateDashboardPermissionsCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/UpdateDashboardPublishedVersionCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateDashboardsQAConfigurationCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateDataSetCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateDataSetPermissionsCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateDataSourcePermissionsCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateDefaultQBusinessApplicationCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +49 -0
  144. package/dist-types/ts3.4/commands/UpdateFlowPermissionsCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/UpdateFolderPermissionsCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/UpdateIdentityPropagationConfigCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/UpdateIpRestrictionCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/UpdateKeyRegistrationCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/UpdateOAuthClientApplicationCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/UpdatePublicSharingSettingsCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/UpdateQPersonalizationConfigurationCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/UpdateQuickSightQSearchConfigurationCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/UpdateRefreshScheduleCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/UpdateRoleCustomPermissionCommand.d.ts +4 -2
  158. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +49 -0
  159. package/dist-types/ts3.4/commands/UpdateSpacePermissionsCommand.d.ts +53 -0
  160. package/dist-types/ts3.4/commands/UpdateSpaceResourcesCommand.d.ts +53 -0
  161. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  162. package/dist-types/ts3.4/models/enums.d.ts +64 -7
  163. package/dist-types/ts3.4/models/models_0.d.ts +47 -19
  164. package/dist-types/ts3.4/models/models_1.d.ts +21 -20
  165. package/dist-types/ts3.4/models/models_2.d.ts +78 -53
  166. package/dist-types/ts3.4/models/models_3.d.ts +134 -151
  167. package/dist-types/ts3.4/models/models_4.d.ts +368 -360
  168. package/dist-types/ts3.4/models/models_5.d.ts +428 -1
  169. package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
  170. package/package.json +2 -2
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateFlowRequest, UpdateFlowResponse } from "../models/models_5";
4
+ import type { 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 UpdateFlowCommand}.
14
+ */
15
+ export interface UpdateFlowCommandInput extends UpdateFlowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateFlowCommand}.
21
+ */
22
+ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateFlowCommand_base: {
25
+ new (input: UpdateFlowCommandInput): import("@smithy/core/client").CommandImpl<UpdateFlowCommandInput, UpdateFlowCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateFlowCommandInput): import("@smithy/core/client").CommandImpl<UpdateFlowCommandInput, UpdateFlowCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates an existing flow. Supply only the fields you want to change. Updates both DRAFT and PUBLISHED versions. When <code>FlowDefinition</code> is provided, all existing steps are replaced with the new definition.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { QuickSightClient, UpdateFlowCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
37
+ * // const { QuickSightClient, UpdateFlowCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
38
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
39
+ * const config = {}; // type is QuickSightClientConfig
40
+ * const client = new QuickSightClient(config);
41
+ * const input = { // UpdateFlowRequest
42
+ * AwsAccountId: "STRING_VALUE", // required
43
+ * FlowId: "STRING_VALUE", // required
44
+ * Name: "STRING_VALUE",
45
+ * Description: "STRING_VALUE",
46
+ * FlowDefinition: "DOCUMENT_VALUE",
47
+ * ClientToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new UpdateFlowCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateFlowResponse
52
+ * // Arn: "STRING_VALUE", // required
53
+ * // FlowId: "STRING_VALUE", // required
54
+ * // RequestId: "STRING_VALUE",
55
+ * // Status: Number("int"),
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateFlowCommandInput - {@link UpdateFlowCommandInput}
61
+ * @returns {@link UpdateFlowCommandOutput}
62
+ * @see {@link UpdateFlowCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateFlowCommandOutput} for command's `response` shape.
64
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have access to this item. The provided credentials couldn't be
68
+ * validated. You might not be authorized to carry out the request. Make sure that your
69
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
70
+ * correct permissions, and that you are using the correct credentials.</p>
71
+ *
72
+ * @throws {@link ConflictException} (client fault)
73
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
74
+ *
75
+ * @throws {@link InternalFailureException} (server fault)
76
+ * <p>An internal failure occurred.</p>
77
+ *
78
+ * @throws {@link InvalidParameterValueException} (client fault)
79
+ * <p>One or more parameters has a value that isn't valid.</p>
80
+ *
81
+ * @throws {@link LimitExceededException} (client fault)
82
+ * <p>A limit is exceeded.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>One or more resources can't be found.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>Access is throttled.</p>
89
+ *
90
+ * @throws {@link QuickSightServiceException}
91
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class UpdateFlowCommand extends UpdateFlowCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: UpdateFlowRequest;
101
+ output: UpdateFlowResponse;
102
+ };
103
+ sdk: {
104
+ input: UpdateFlowCommandInput;
105
+ output: UpdateFlowCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateFlowPermissionsInput, UpdateFlowPermissionsOutput } from "../models/models_4";
3
+ import type { UpdateFlowPermissionsInput, UpdateFlowPermissionsOutput } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateFolderRequest, UpdateFolderResponse } from "../models/models_4";
3
+ import type { UpdateFolderRequest, UpdateFolderResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateFolderPermissionsRequest, UpdateFolderPermissionsResponse } from "../models/models_4";
3
+ import type { UpdateFolderPermissionsRequest, UpdateFolderPermissionsResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateGroupRequest, UpdateGroupResponse } from "../models/models_4";
3
+ import type { UpdateGroupRequest, UpdateGroupResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateIAMPolicyAssignmentRequest, UpdateIAMPolicyAssignmentResponse } from "../models/models_4";
3
+ import type { UpdateIAMPolicyAssignmentRequest, UpdateIAMPolicyAssignmentResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateIdentityPropagationConfigRequest, UpdateIdentityPropagationConfigResponse } from "../models/models_4";
3
+ import type { UpdateIdentityPropagationConfigRequest, UpdateIdentityPropagationConfigResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateIpRestrictionRequest, UpdateIpRestrictionResponse } from "../models/models_4";
3
+ import type { UpdateIpRestrictionRequest, UpdateIpRestrictionResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateKeyRegistrationRequest, UpdateKeyRegistrationResponse } from "../models/models_4";
3
+ import type { UpdateKeyRegistrationRequest, UpdateKeyRegistrationResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateOAuthClientApplicationRequest, UpdateOAuthClientApplicationResponse } from "../models/models_4";
3
+ import type { UpdateOAuthClientApplicationRequest, UpdateOAuthClientApplicationResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdatePublicSharingSettingsRequest, UpdatePublicSharingSettingsResponse } from "../models/models_4";
3
+ import type { UpdatePublicSharingSettingsRequest, UpdatePublicSharingSettingsResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateQPersonalizationConfigurationRequest, UpdateQPersonalizationConfigurationResponse } from "../models/models_4";
3
+ import type { UpdateQPersonalizationConfigurationRequest, UpdateQPersonalizationConfigurationResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateQuickSightQSearchConfigurationRequest, UpdateQuickSightQSearchConfigurationResponse } from "../models/models_4";
3
+ import type { UpdateQuickSightQSearchConfigurationRequest, UpdateQuickSightQSearchConfigurationResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateRefreshScheduleRequest, UpdateRefreshScheduleResponse } from "../models/models_4";
3
+ import type { UpdateRefreshScheduleRequest, UpdateRefreshScheduleResponse } from "../models/models_5";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateRoleCustomPermissionRequest } from "../models/models_4";
4
- import type { UpdateRoleCustomPermissionResponse } from "../models/models_5";
3
+ import type { UpdateRoleCustomPermissionRequest, UpdateRoleCustomPermissionResponse } from "../models/models_5";
5
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
5
  /**
7
6
  * @public
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateSpaceRequest, UpdateSpaceResponse } from "../models/models_5";
4
+ import type { 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 UpdateSpaceCommand}.
14
+ */
15
+ export interface UpdateSpaceCommandInput extends UpdateSpaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSpaceCommand}.
21
+ */
22
+ export interface UpdateSpaceCommandOutput extends UpdateSpaceResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateSpaceCommand_base: {
25
+ new (input: UpdateSpaceCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpaceCommandInput, UpdateSpaceCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateSpaceCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpaceCommandInput, UpdateSpaceCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates the metadata of an Amazon QuickSight space.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { QuickSightClient, UpdateSpaceCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
37
+ * // const { QuickSightClient, UpdateSpaceCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
38
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
39
+ * const config = {}; // type is QuickSightClientConfig
40
+ * const client = new QuickSightClient(config);
41
+ * const input = { // UpdateSpaceRequest
42
+ * AwsAccountId: "STRING_VALUE", // required
43
+ * SpaceId: "STRING_VALUE", // required
44
+ * Name: "STRING_VALUE",
45
+ * Description: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateSpaceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateSpaceResponse
50
+ * // spaceId: "STRING_VALUE", // required
51
+ * // spaceArn: "STRING_VALUE",
52
+ * // RequestId: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateSpaceCommandInput - {@link UpdateSpaceCommandInput}
58
+ * @returns {@link UpdateSpaceCommandOutput}
59
+ * @see {@link UpdateSpaceCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateSpaceCommandOutput} for command's `response` shape.
61
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You don't have access to this item. The provided credentials couldn't be
65
+ * validated. You might not be authorized to carry out the request. Make sure that your
66
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
67
+ * correct permissions, and that you are using the correct credentials.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
71
+ *
72
+ * @throws {@link InternalFailureException} (server fault)
73
+ * <p>An internal failure occurred.</p>
74
+ *
75
+ * @throws {@link InvalidParameterValueException} (client fault)
76
+ * <p>One or more parameters has a value that isn't valid.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>One or more resources can't be found.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>Access is throttled.</p>
83
+ *
84
+ * @throws {@link QuickSightServiceException}
85
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class UpdateSpaceCommand extends UpdateSpaceCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: UpdateSpaceRequest;
95
+ output: UpdateSpaceResponse;
96
+ };
97
+ sdk: {
98
+ input: UpdateSpaceCommandInput;
99
+ output: UpdateSpaceCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateSpacePermissionsRequest, UpdateSpacePermissionsResponse } from "../models/models_5";
4
+ import type { 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 UpdateSpacePermissionsCommand}.
14
+ */
15
+ export interface UpdateSpacePermissionsCommandInput extends UpdateSpacePermissionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSpacePermissionsCommand}.
21
+ */
22
+ export interface UpdateSpacePermissionsCommandOutput extends UpdateSpacePermissionsResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateSpacePermissionsCommand_base: {
25
+ new (input: UpdateSpacePermissionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpacePermissionsCommandInput, UpdateSpacePermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateSpacePermissionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpacePermissionsCommandInput, UpdateSpacePermissionsCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates the permissions for an Amazon QuickSight space.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { QuickSightClient, UpdateSpacePermissionsCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
37
+ * // const { QuickSightClient, UpdateSpacePermissionsCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
38
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
39
+ * const config = {}; // type is QuickSightClientConfig
40
+ * const client = new QuickSightClient(config);
41
+ * const input = { // UpdateSpacePermissionsRequest
42
+ * AwsAccountId: "STRING_VALUE", // required
43
+ * SpaceId: "STRING_VALUE", // required
44
+ * GrantPermissions: [ // ResourcePermissionList
45
+ * { // ResourcePermission
46
+ * Principal: "STRING_VALUE", // required
47
+ * Actions: [ // ActionList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * RevokePermissions: [
53
+ * {
54
+ * Principal: "STRING_VALUE", // required
55
+ * Actions: [ // required
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * ],
60
+ * };
61
+ * const command = new UpdateSpacePermissionsCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // UpdateSpacePermissionsResponse
64
+ * // spaceId: "STRING_VALUE", // required
65
+ * // spaceArn: "STRING_VALUE",
66
+ * // permissions: [ // ResourcePermissionList
67
+ * // { // ResourcePermission
68
+ * // Principal: "STRING_VALUE", // required
69
+ * // Actions: [ // ActionList // required
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // },
73
+ * // ],
74
+ * // requestId: "STRING_VALUE",
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param UpdateSpacePermissionsCommandInput - {@link UpdateSpacePermissionsCommandInput}
80
+ * @returns {@link UpdateSpacePermissionsCommandOutput}
81
+ * @see {@link UpdateSpacePermissionsCommandInput} for command's `input` shape.
82
+ * @see {@link UpdateSpacePermissionsCommandOutput} for command's `response` shape.
83
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
84
+ *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * <p>You don't have access to this item. The provided credentials couldn't be
87
+ * validated. You might not be authorized to carry out the request. Make sure that your
88
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
89
+ * correct permissions, and that you are using the correct credentials.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
93
+ *
94
+ * @throws {@link InternalFailureException} (server fault)
95
+ * <p>An internal failure occurred.</p>
96
+ *
97
+ * @throws {@link InvalidParameterValueException} (client fault)
98
+ * <p>One or more parameters has a value that isn't valid.</p>
99
+ *
100
+ * @throws {@link LimitExceededException} (client fault)
101
+ * <p>A limit is exceeded.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>One or more resources can't be found.</p>
105
+ *
106
+ * @throws {@link ThrottlingException} (client fault)
107
+ * <p>Access is throttled.</p>
108
+ *
109
+ * @throws {@link UnsupportedUserEditionException} (client fault)
110
+ * <p>This error indicates that you are calling an operation on an Amazon Quick Suite
111
+ * subscription where the edition doesn't include support for that operation. Amazon
112
+ * Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and
113
+ * capability is available in every edition.</p>
114
+ *
115
+ * @throws {@link QuickSightServiceException}
116
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
117
+ *
118
+ *
119
+ * @public
120
+ */
121
+ export declare class UpdateSpacePermissionsCommand extends UpdateSpacePermissionsCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: UpdateSpacePermissionsRequest;
126
+ output: UpdateSpacePermissionsResponse;
127
+ };
128
+ sdk: {
129
+ input: UpdateSpacePermissionsCommandInput;
130
+ output: UpdateSpacePermissionsCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -0,0 +1,131 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateSpaceResourcesRequest, UpdateSpaceResourcesResponse } from "../models/models_5";
4
+ import type { 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 UpdateSpaceResourcesCommand}.
14
+ */
15
+ export interface UpdateSpaceResourcesCommandInput extends UpdateSpaceResourcesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSpaceResourcesCommand}.
21
+ */
22
+ export interface UpdateSpaceResourcesCommandOutput extends UpdateSpaceResourcesResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateSpaceResourcesCommand_base: {
25
+ new (input: UpdateSpaceResourcesCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpaceResourcesCommandInput, UpdateSpaceResourcesCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateSpaceResourcesCommandInput): import("@smithy/core/client").CommandImpl<UpdateSpaceResourcesCommandInput, UpdateSpaceResourcesCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Adds or removes resources from an Amazon QuickSight space.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { QuickSightClient, UpdateSpaceResourcesCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
37
+ * // const { QuickSightClient, UpdateSpaceResourcesCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
38
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
39
+ * const config = {}; // type is QuickSightClientConfig
40
+ * const client = new QuickSightClient(config);
41
+ * const input = { // UpdateSpaceResourcesRequest
42
+ * AwsAccountId: "STRING_VALUE", // required
43
+ * SpaceId: "STRING_VALUE", // required
44
+ * AddResources: [ // SpaceResourceOperations
45
+ * { // SpaceResourceOperation
46
+ * ResourceType: "TOPIC" || "DASHBOARD" || "KNOWLEDGE_BASE" || "SPACE" || "ACTION_CONNECTOR" || "DATA_SET" || "ARTIFACT", // required
47
+ * ResourceDetails: { // SpaceQuickSightResourceDetails Union: only one key present
48
+ * resourceArn: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * ],
52
+ * RemoveResources: [
53
+ * {
54
+ * ResourceType: "TOPIC" || "DASHBOARD" || "KNOWLEDGE_BASE" || "SPACE" || "ACTION_CONNECTOR" || "DATA_SET" || "ARTIFACT", // required
55
+ * ResourceDetails: {// Union: only one key present
56
+ * resourceArn: "STRING_VALUE",
57
+ * },
58
+ * },
59
+ * ],
60
+ * };
61
+ * const command = new UpdateSpaceResourcesCommand(input);
62
+ * const response = await client.send(command);
63
+ * // { // UpdateSpaceResourcesResponse
64
+ * // spaceId: "STRING_VALUE", // required
65
+ * // spaceArn: "STRING_VALUE",
66
+ * // FailedResourceOperations: [ // FailedSpaceResourceOperations
67
+ * // { // FailedSpaceResourceOperation
68
+ * // ResourceType: "TOPIC" || "DASHBOARD" || "KNOWLEDGE_BASE" || "SPACE" || "ACTION_CONNECTOR" || "DATA_SET" || "ARTIFACT", // required
69
+ * // ResourceDetails: { // SpaceQuickSightResourceDetails Union: only one key present
70
+ * // resourceArn: "STRING_VALUE",
71
+ * // },
72
+ * // ErrorMessage: "STRING_VALUE", // required
73
+ * // },
74
+ * // ],
75
+ * // RequestId: "STRING_VALUE",
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param UpdateSpaceResourcesCommandInput - {@link UpdateSpaceResourcesCommandInput}
81
+ * @returns {@link UpdateSpaceResourcesCommandOutput}
82
+ * @see {@link UpdateSpaceResourcesCommandInput} for command's `input` shape.
83
+ * @see {@link UpdateSpaceResourcesCommandOutput} for command's `response` shape.
84
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>You don't have access to this item. The provided credentials couldn't be
88
+ * validated. You might not be authorized to carry out the request. Make sure that your
89
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
90
+ * correct permissions, and that you are using the correct credentials.</p>
91
+ *
92
+ * @throws {@link ConflictException} (client fault)
93
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
94
+ *
95
+ * @throws {@link InternalFailureException} (server fault)
96
+ * <p>An internal failure occurred.</p>
97
+ *
98
+ * @throws {@link InvalidParameterValueException} (client fault)
99
+ * <p>One or more parameters has a value that isn't valid.</p>
100
+ *
101
+ * @throws {@link LimitExceededException} (client fault)
102
+ * <p>A limit is exceeded.</p>
103
+ *
104
+ * @throws {@link ResourceExistsException} (client fault)
105
+ * <p>The resource specified already exists. </p>
106
+ *
107
+ * @throws {@link ResourceNotFoundException} (client fault)
108
+ * <p>One or more resources can't be found.</p>
109
+ *
110
+ * @throws {@link ThrottlingException} (client fault)
111
+ * <p>Access is throttled.</p>
112
+ *
113
+ * @throws {@link QuickSightServiceException}
114
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class UpdateSpaceResourcesCommand extends UpdateSpaceResourcesCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: UpdateSpaceResourcesRequest;
124
+ output: UpdateSpaceResourcesResponse;
125
+ };
126
+ sdk: {
127
+ input: UpdateSpaceResourcesCommandInput;
128
+ output: UpdateSpaceResourcesCommandOutput;
129
+ };
130
+ };
131
+ }