@aws-sdk/client-finspace 3.345.0 → 3.346.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 (158) hide show
  1. package/README.md +208 -0
  2. package/dist-cjs/Finspace.js +52 -0
  3. package/dist-cjs/commands/CreateKxChangesetCommand.js +46 -0
  4. package/dist-cjs/commands/CreateKxClusterCommand.js +46 -0
  5. package/dist-cjs/commands/CreateKxDatabaseCommand.js +46 -0
  6. package/dist-cjs/commands/CreateKxEnvironmentCommand.js +46 -0
  7. package/dist-cjs/commands/CreateKxUserCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteKxClusterCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteKxDatabaseCommand.js +46 -0
  10. package/dist-cjs/commands/DeleteKxEnvironmentCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteKxUserCommand.js +46 -0
  12. package/dist-cjs/commands/GetKxChangesetCommand.js +46 -0
  13. package/dist-cjs/commands/GetKxClusterCommand.js +46 -0
  14. package/dist-cjs/commands/GetKxConnectionStringCommand.js +47 -0
  15. package/dist-cjs/commands/GetKxDatabaseCommand.js +46 -0
  16. package/dist-cjs/commands/GetKxEnvironmentCommand.js +46 -0
  17. package/dist-cjs/commands/GetKxUserCommand.js +46 -0
  18. package/dist-cjs/commands/ListKxChangesetsCommand.js +46 -0
  19. package/dist-cjs/commands/ListKxClusterNodesCommand.js +46 -0
  20. package/dist-cjs/commands/ListKxClustersCommand.js +46 -0
  21. package/dist-cjs/commands/ListKxDatabasesCommand.js +46 -0
  22. package/dist-cjs/commands/ListKxEnvironmentsCommand.js +46 -0
  23. package/dist-cjs/commands/ListKxUsersCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateKxClusterDatabasesCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateKxDatabaseCommand.js +46 -0
  26. package/dist-cjs/commands/UpdateKxEnvironmentCommand.js +46 -0
  27. package/dist-cjs/commands/UpdateKxEnvironmentNetworkCommand.js +46 -0
  28. package/dist-cjs/commands/UpdateKxUserCommand.js +46 -0
  29. package/dist-cjs/commands/index.js +26 -0
  30. package/dist-cjs/endpoint/ruleset.js +3 -3
  31. package/dist-cjs/index.js +1 -0
  32. package/dist-cjs/models/models_0.js +98 -1
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListKxChangesetsPaginator.js +29 -0
  35. package/dist-cjs/pagination/ListKxClusterNodesPaginator.js +29 -0
  36. package/dist-cjs/pagination/ListKxDatabasesPaginator.js +29 -0
  37. package/dist-cjs/pagination/ListKxEnvironmentsPaginator.js +29 -0
  38. package/dist-cjs/pagination/index.js +8 -0
  39. package/dist-cjs/protocols/Aws_restJson1.js +2270 -125
  40. package/dist-es/Finspace.js +52 -0
  41. package/dist-es/commands/CreateKxChangesetCommand.js +42 -0
  42. package/dist-es/commands/CreateKxClusterCommand.js +42 -0
  43. package/dist-es/commands/CreateKxDatabaseCommand.js +42 -0
  44. package/dist-es/commands/CreateKxEnvironmentCommand.js +42 -0
  45. package/dist-es/commands/CreateKxUserCommand.js +42 -0
  46. package/dist-es/commands/DeleteKxClusterCommand.js +42 -0
  47. package/dist-es/commands/DeleteKxDatabaseCommand.js +42 -0
  48. package/dist-es/commands/DeleteKxEnvironmentCommand.js +42 -0
  49. package/dist-es/commands/DeleteKxUserCommand.js +42 -0
  50. package/dist-es/commands/GetKxChangesetCommand.js +42 -0
  51. package/dist-es/commands/GetKxClusterCommand.js +42 -0
  52. package/dist-es/commands/GetKxConnectionStringCommand.js +43 -0
  53. package/dist-es/commands/GetKxDatabaseCommand.js +42 -0
  54. package/dist-es/commands/GetKxEnvironmentCommand.js +42 -0
  55. package/dist-es/commands/GetKxUserCommand.js +42 -0
  56. package/dist-es/commands/ListKxChangesetsCommand.js +42 -0
  57. package/dist-es/commands/ListKxClusterNodesCommand.js +42 -0
  58. package/dist-es/commands/ListKxClustersCommand.js +42 -0
  59. package/dist-es/commands/ListKxDatabasesCommand.js +42 -0
  60. package/dist-es/commands/ListKxEnvironmentsCommand.js +42 -0
  61. package/dist-es/commands/ListKxUsersCommand.js +42 -0
  62. package/dist-es/commands/UpdateKxClusterDatabasesCommand.js +42 -0
  63. package/dist-es/commands/UpdateKxDatabaseCommand.js +42 -0
  64. package/dist-es/commands/UpdateKxEnvironmentCommand.js +42 -0
  65. package/dist-es/commands/UpdateKxEnvironmentNetworkCommand.js +42 -0
  66. package/dist-es/commands/UpdateKxUserCommand.js +42 -0
  67. package/dist-es/commands/index.js +26 -0
  68. package/dist-es/endpoint/ruleset.js +3 -3
  69. package/dist-es/index.js +1 -0
  70. package/dist-es/models/models_0.js +94 -0
  71. package/dist-es/pagination/Interfaces.js +1 -0
  72. package/dist-es/pagination/ListKxChangesetsPaginator.js +25 -0
  73. package/dist-es/pagination/ListKxClusterNodesPaginator.js +25 -0
  74. package/dist-es/pagination/ListKxDatabasesPaginator.js +25 -0
  75. package/dist-es/pagination/ListKxEnvironmentsPaginator.js +25 -0
  76. package/dist-es/pagination/index.js +5 -0
  77. package/dist-es/protocols/Aws_restJson1.js +2192 -100
  78. package/dist-types/Finspace.d.ts +182 -0
  79. package/dist-types/FinspaceClient.d.ts +28 -2
  80. package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateKxChangesetCommand.d.ts +122 -0
  82. package/dist-types/commands/CreateKxClusterCommand.d.ts +233 -0
  83. package/dist-types/commands/CreateKxDatabaseCommand.d.ts +109 -0
  84. package/dist-types/commands/CreateKxEnvironmentCommand.d.ts +108 -0
  85. package/dist-types/commands/CreateKxUserCommand.d.ts +107 -0
  86. package/dist-types/commands/DeleteKxClusterCommand.d.ts +95 -0
  87. package/dist-types/commands/DeleteKxDatabaseCommand.d.ts +92 -0
  88. package/dist-types/commands/DeleteKxEnvironmentCommand.d.ts +87 -0
  89. package/dist-types/commands/DeleteKxUserCommand.d.ts +88 -0
  90. package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -2
  91. package/dist-types/commands/GetKxChangesetCommand.d.ts +108 -0
  92. package/dist-types/commands/GetKxClusterCommand.d.ts +164 -0
  93. package/dist-types/commands/GetKxConnectionStringCommand.d.ts +91 -0
  94. package/dist-types/commands/GetKxDatabaseCommand.d.ts +99 -0
  95. package/dist-types/commands/GetKxEnvironmentCommand.d.ts +112 -0
  96. package/dist-types/commands/GetKxUserCommand.d.ts +93 -0
  97. package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -2
  98. package/dist-types/commands/ListKxChangesetsCommand.d.ts +101 -0
  99. package/dist-types/commands/ListKxClusterNodesCommand.d.ts +102 -0
  100. package/dist-types/commands/ListKxClustersCommand.d.ts +114 -0
  101. package/dist-types/commands/ListKxDatabasesCommand.d.ts +98 -0
  102. package/dist-types/commands/ListKxEnvironmentsCommand.d.ts +112 -0
  103. package/dist-types/commands/ListKxUsersCommand.d.ts +100 -0
  104. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -3
  105. package/dist-types/commands/UpdateKxClusterDatabasesCommand.d.ts +107 -0
  106. package/dist-types/commands/UpdateKxDatabaseCommand.d.ts +98 -0
  107. package/dist-types/commands/UpdateKxEnvironmentCommand.d.ts +120 -0
  108. package/dist-types/commands/UpdateKxEnvironmentNetworkCommand.d.ts +129 -0
  109. package/dist-types/commands/UpdateKxUserCommand.d.ts +101 -0
  110. package/dist-types/commands/index.d.ts +26 -0
  111. package/dist-types/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +2390 -105
  113. package/dist-types/pagination/Interfaces.d.ts +8 -0
  114. package/dist-types/pagination/ListKxChangesetsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListKxClusterNodesPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListKxDatabasesPaginator.d.ts +7 -0
  117. package/dist-types/pagination/ListKxEnvironmentsPaginator.d.ts +7 -0
  118. package/dist-types/pagination/index.d.ts +5 -0
  119. package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
  120. package/dist-types/ts3.4/Finspace.d.ts +442 -0
  121. package/dist-types/ts3.4/FinspaceClient.d.ts +158 -2
  122. package/dist-types/ts3.4/commands/CreateKxChangesetCommand.d.ts +39 -0
  123. package/dist-types/ts3.4/commands/CreateKxClusterCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/CreateKxDatabaseCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/CreateKxEnvironmentCommand.d.ts +39 -0
  126. package/dist-types/ts3.4/commands/CreateKxUserCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/DeleteKxClusterCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/DeleteKxDatabaseCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/DeleteKxEnvironmentCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/DeleteKxUserCommand.d.ts +35 -0
  131. package/dist-types/ts3.4/commands/GetKxChangesetCommand.d.ts +38 -0
  132. package/dist-types/ts3.4/commands/GetKxClusterCommand.d.ts +35 -0
  133. package/dist-types/ts3.4/commands/GetKxConnectionStringCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/GetKxDatabaseCommand.d.ts +38 -0
  135. package/dist-types/ts3.4/commands/GetKxEnvironmentCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/GetKxUserCommand.d.ts +35 -0
  137. package/dist-types/ts3.4/commands/ListKxChangesetsCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/ListKxClusterNodesCommand.d.ts +39 -0
  139. package/dist-types/ts3.4/commands/ListKxClustersCommand.d.ts +38 -0
  140. package/dist-types/ts3.4/commands/ListKxDatabasesCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/ListKxEnvironmentsCommand.d.ts +39 -0
  142. package/dist-types/ts3.4/commands/ListKxUsersCommand.d.ts +35 -0
  143. package/dist-types/ts3.4/commands/UpdateKxClusterDatabasesCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/UpdateKxDatabaseCommand.d.ts +38 -0
  145. package/dist-types/ts3.4/commands/UpdateKxEnvironmentCommand.d.ts +39 -0
  146. package/dist-types/ts3.4/commands/UpdateKxEnvironmentNetworkCommand.d.ts +42 -0
  147. package/dist-types/ts3.4/commands/UpdateKxUserCommand.d.ts +35 -0
  148. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  149. package/dist-types/ts3.4/index.d.ts +1 -0
  150. package/dist-types/ts3.4/models/models_0.d.ts +575 -3
  151. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  152. package/dist-types/ts3.4/pagination/ListKxChangesetsPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/ListKxClusterNodesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListKxDatabasesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListKxEnvironmentsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  157. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
  158. package/package.json +4 -2
@@ -0,0 +1,112 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
5
+ import { ListKxEnvironmentsRequest, ListKxEnvironmentsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListKxEnvironmentsCommand}.
14
+ */
15
+ export interface ListKxEnvironmentsCommandInput extends ListKxEnvironmentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListKxEnvironmentsCommand}.
21
+ */
22
+ export interface ListKxEnvironmentsCommandOutput extends ListKxEnvironmentsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of kdb environments created in an account.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { FinspaceClient, ListKxEnvironmentsCommand } from "@aws-sdk/client-finspace"; // ES Modules import
31
+ * // const { FinspaceClient, ListKxEnvironmentsCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
32
+ * const client = new FinspaceClient(config);
33
+ * const input = { // ListKxEnvironmentsRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListKxEnvironmentsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListKxEnvironmentsResponse
40
+ * // environments: [ // KxEnvironmentList
41
+ * // { // KxEnvironment
42
+ * // name: "STRING_VALUE",
43
+ * // environmentId: "STRING_VALUE",
44
+ * // awsAccountId: "STRING_VALUE",
45
+ * // status: "CREATE_REQUESTED" || "CREATING" || "CREATED" || "DELETE_REQUESTED" || "DELETING" || "DELETED" || "FAILED_CREATION" || "RETRY_DELETION" || "FAILED_DELETION" || "UPDATE_NETWORK_REQUESTED" || "UPDATING_NETWORK" || "FAILED_UPDATING_NETWORK" || "SUSPENDED",
46
+ * // tgwStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED",
47
+ * // dnsStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED",
48
+ * // errorMessage: "STRING_VALUE",
49
+ * // description: "STRING_VALUE",
50
+ * // environmentArn: "STRING_VALUE",
51
+ * // kmsKeyId: "STRING_VALUE",
52
+ * // dedicatedServiceAccountId: "STRING_VALUE",
53
+ * // transitGatewayConfiguration: { // TransitGatewayConfiguration
54
+ * // transitGatewayID: "STRING_VALUE", // required
55
+ * // routableCIDRSpace: "STRING_VALUE", // required
56
+ * // },
57
+ * // customDNSConfiguration: [ // CustomDNSConfiguration
58
+ * // { // CustomDNSServer
59
+ * // customDNSServerName: "STRING_VALUE", // required
60
+ * // customDNSServerIP: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // creationTimestamp: new Date("TIMESTAMP"),
64
+ * // updateTimestamp: new Date("TIMESTAMP"),
65
+ * // availabilityZoneIds: [ // AvailabilityZoneIds
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // certificateAuthorityArn: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // nextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListKxEnvironmentsCommandInput - {@link ListKxEnvironmentsCommandInput}
77
+ * @returns {@link ListKxEnvironmentsCommandOutput}
78
+ * @see {@link ListKxEnvironmentsCommandInput} for command's `input` shape.
79
+ * @see {@link ListKxEnvironmentsCommandOutput} for command's `response` shape.
80
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>The request processing has failed because of an unknown error, exception or
84
+ * failure.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
88
+ *
89
+ * @throws {@link FinspaceServiceException}
90
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
91
+ *
92
+ */
93
+ export declare class ListKxEnvironmentsCommand extends $Command<ListKxEnvironmentsCommandInput, ListKxEnvironmentsCommandOutput, FinspaceClientResolvedConfig> {
94
+ readonly input: ListKxEnvironmentsCommandInput;
95
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
+ /**
97
+ * @public
98
+ */
99
+ constructor(input: ListKxEnvironmentsCommandInput);
100
+ /**
101
+ * @internal
102
+ */
103
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKxEnvironmentsCommandInput, ListKxEnvironmentsCommandOutput>;
104
+ /**
105
+ * @internal
106
+ */
107
+ private serialize;
108
+ /**
109
+ * @internal
110
+ */
111
+ private deserialize;
112
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
5
+ import { ListKxUsersRequest, ListKxUsersResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListKxUsersCommand}.
14
+ */
15
+ export interface ListKxUsersCommandInput extends ListKxUsersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListKxUsersCommand}.
21
+ */
22
+ export interface ListKxUsersCommandOutput extends ListKxUsersResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists all the users in a kdb environment.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { FinspaceClient, ListKxUsersCommand } from "@aws-sdk/client-finspace"; // ES Modules import
31
+ * // const { FinspaceClient, ListKxUsersCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
32
+ * const client = new FinspaceClient(config);
33
+ * const input = { // ListKxUsersRequest
34
+ * environmentId: "STRING_VALUE", // required
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
38
+ * const command = new ListKxUsersCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListKxUsersResponse
41
+ * // users: [ // KxUserList
42
+ * // { // KxUser
43
+ * // userArn: "STRING_VALUE",
44
+ * // userName: "STRING_VALUE",
45
+ * // iamRole: "STRING_VALUE",
46
+ * // createTimestamp: new Date("TIMESTAMP"),
47
+ * // updateTimestamp: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListKxUsersCommandInput - {@link ListKxUsersCommandInput}
56
+ * @returns {@link ListKxUsersCommandOutput}
57
+ * @see {@link ListKxUsersCommandInput} for command's `input` shape.
58
+ * @see {@link ListKxUsersCommandOutput} for command's `response` shape.
59
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The request processing has failed because of an unknown error, exception or
66
+ * failure.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>One or more resources can't be found.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link FinspaceServiceException}
78
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
79
+ *
80
+ */
81
+ export declare class ListKxUsersCommand extends $Command<ListKxUsersCommandInput, ListKxUsersCommandOutput, FinspaceClientResolvedConfig> {
82
+ readonly input: ListKxUsersCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ListKxUsersCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKxUsersCommandInput, ListKxUsersCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -34,7 +34,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
34
34
  * environmentId: "STRING_VALUE", // required
35
35
  * name: "STRING_VALUE",
36
36
  * description: "STRING_VALUE",
37
- * federationMode: "STRING_VALUE",
37
+ * federationMode: "FEDERATED" || "LOCAL",
38
38
  * federationParameters: { // FederationParameters
39
39
  * samlMetadataDocument: "STRING_VALUE",
40
40
  * samlMetadataURL: "STRING_VALUE",
@@ -53,14 +53,14 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
53
53
  * // name: "STRING_VALUE",
54
54
  * // environmentId: "STRING_VALUE",
55
55
  * // awsAccountId: "STRING_VALUE",
56
- * // status: "STRING_VALUE",
56
+ * // status: "CREATE_REQUESTED" || "CREATING" || "CREATED" || "DELETE_REQUESTED" || "DELETING" || "DELETED" || "FAILED_CREATION" || "RETRY_DELETION" || "FAILED_DELETION" || "UPDATE_NETWORK_REQUESTED" || "UPDATING_NETWORK" || "FAILED_UPDATING_NETWORK" || "SUSPENDED",
57
57
  * // environmentUrl: "STRING_VALUE",
58
58
  * // description: "STRING_VALUE",
59
59
  * // environmentArn: "STRING_VALUE",
60
60
  * // sageMakerStudioDomainUrl: "STRING_VALUE",
61
61
  * // kmsKeyId: "STRING_VALUE",
62
62
  * // dedicatedServiceAccountId: "STRING_VALUE",
63
- * // federationMode: "STRING_VALUE",
63
+ * // federationMode: "FEDERATED" || "LOCAL",
64
64
  * // federationParameters: { // FederationParameters
65
65
  * // samlMetadataDocument: "STRING_VALUE",
66
66
  * // samlMetadataURL: "STRING_VALUE",
@@ -0,0 +1,107 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
5
+ import { UpdateKxClusterDatabasesRequest, UpdateKxClusterDatabasesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateKxClusterDatabasesCommand}.
14
+ */
15
+ export interface UpdateKxClusterDatabasesCommandInput extends UpdateKxClusterDatabasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateKxClusterDatabasesCommand}.
21
+ */
22
+ export interface UpdateKxClusterDatabasesCommandOutput extends UpdateKxClusterDatabasesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the databases mounted on a kdb cluster, which includes the <code>changesetId</code> and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one. </p>
27
+ * <p>Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { FinspaceClient, UpdateKxClusterDatabasesCommand } from "@aws-sdk/client-finspace"; // ES Modules import
32
+ * // const { FinspaceClient, UpdateKxClusterDatabasesCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
33
+ * const client = new FinspaceClient(config);
34
+ * const input = { // UpdateKxClusterDatabasesRequest
35
+ * environmentId: "STRING_VALUE", // required
36
+ * clusterName: "STRING_VALUE", // required
37
+ * clientToken: "STRING_VALUE",
38
+ * databases: [ // KxDatabaseConfigurations // required
39
+ * { // KxDatabaseConfiguration
40
+ * databaseName: "STRING_VALUE", // required
41
+ * cacheConfigurations: [ // KxDatabaseCacheConfigurations
42
+ * { // KxDatabaseCacheConfiguration
43
+ * cacheType: "STRING_VALUE", // required
44
+ * dbPaths: [ // DbPaths // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * changesetId: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * };
53
+ * const command = new UpdateKxClusterDatabasesCommand(input);
54
+ * const response = await client.send(command);
55
+ * // {};
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateKxClusterDatabasesCommandInput - {@link UpdateKxClusterDatabasesCommandInput}
60
+ * @returns {@link UpdateKxClusterDatabasesCommandOutput}
61
+ * @see {@link UpdateKxClusterDatabasesCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateKxClusterDatabasesCommandOutput} for command's `response` shape.
63
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request processing has failed because of an unknown error, exception or
70
+ * failure.</p>
71
+ *
72
+ * @throws {@link LimitExceededException} (client fault)
73
+ * <p>A service limit or quota is exceeded.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>One or more resources can't be found.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
83
+ *
84
+ * @throws {@link FinspaceServiceException}
85
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
86
+ *
87
+ */
88
+ export declare class UpdateKxClusterDatabasesCommand extends $Command<UpdateKxClusterDatabasesCommandInput, UpdateKxClusterDatabasesCommandOutput, FinspaceClientResolvedConfig> {
89
+ readonly input: UpdateKxClusterDatabasesCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: UpdateKxClusterDatabasesCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKxClusterDatabasesCommandInput, UpdateKxClusterDatabasesCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,98 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
5
+ import { UpdateKxDatabaseRequest, UpdateKxDatabaseResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateKxDatabaseCommand}.
14
+ */
15
+ export interface UpdateKxDatabaseCommandInput extends UpdateKxDatabaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateKxDatabaseCommand}.
21
+ */
22
+ export interface UpdateKxDatabaseCommandOutput extends UpdateKxDatabaseResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates information for the given kdb database.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { FinspaceClient, UpdateKxDatabaseCommand } from "@aws-sdk/client-finspace"; // ES Modules import
31
+ * // const { FinspaceClient, UpdateKxDatabaseCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
32
+ * const client = new FinspaceClient(config);
33
+ * const input = { // UpdateKxDatabaseRequest
34
+ * environmentId: "STRING_VALUE", // required
35
+ * databaseName: "STRING_VALUE", // required
36
+ * description: "STRING_VALUE",
37
+ * clientToken: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new UpdateKxDatabaseCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // UpdateKxDatabaseResponse
42
+ * // databaseName: "STRING_VALUE",
43
+ * // environmentId: "STRING_VALUE",
44
+ * // description: "STRING_VALUE",
45
+ * // lastModifiedTimestamp: new Date("TIMESTAMP"),
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateKxDatabaseCommandInput - {@link UpdateKxDatabaseCommandInput}
51
+ * @returns {@link UpdateKxDatabaseCommandOutput}
52
+ * @see {@link UpdateKxDatabaseCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateKxDatabaseCommandOutput} for command's `response` shape.
54
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>There was a conflict with this action, and it could not be completed.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>The request processing has failed because of an unknown error, exception or
64
+ * failure.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>One or more resources can't be found.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
74
+ *
75
+ * @throws {@link FinspaceServiceException}
76
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
77
+ *
78
+ */
79
+ export declare class UpdateKxDatabaseCommand extends $Command<UpdateKxDatabaseCommandInput, UpdateKxDatabaseCommandOutput, FinspaceClientResolvedConfig> {
80
+ readonly input: UpdateKxDatabaseCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: UpdateKxDatabaseCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKxDatabaseCommandInput, UpdateKxDatabaseCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,120 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
5
+ import { UpdateKxEnvironmentRequest, UpdateKxEnvironmentResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateKxEnvironmentCommand}.
14
+ */
15
+ export interface UpdateKxEnvironmentCommandInput extends UpdateKxEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateKxEnvironmentCommand}.
21
+ */
22
+ export interface UpdateKxEnvironmentCommandOutput extends UpdateKxEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates information for the given kdb environment.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { FinspaceClient, UpdateKxEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
31
+ * // const { FinspaceClient, UpdateKxEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
32
+ * const client = new FinspaceClient(config);
33
+ * const input = { // UpdateKxEnvironmentRequest
34
+ * environmentId: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE",
36
+ * description: "STRING_VALUE",
37
+ * clientToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new UpdateKxEnvironmentCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // UpdateKxEnvironmentResponse
42
+ * // name: "STRING_VALUE",
43
+ * // environmentId: "STRING_VALUE",
44
+ * // awsAccountId: "STRING_VALUE",
45
+ * // status: "CREATE_REQUESTED" || "CREATING" || "CREATED" || "DELETE_REQUESTED" || "DELETING" || "DELETED" || "FAILED_CREATION" || "RETRY_DELETION" || "FAILED_DELETION" || "UPDATE_NETWORK_REQUESTED" || "UPDATING_NETWORK" || "FAILED_UPDATING_NETWORK" || "SUSPENDED",
46
+ * // tgwStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED",
47
+ * // dnsStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED",
48
+ * // errorMessage: "STRING_VALUE",
49
+ * // description: "STRING_VALUE",
50
+ * // environmentArn: "STRING_VALUE",
51
+ * // kmsKeyId: "STRING_VALUE",
52
+ * // dedicatedServiceAccountId: "STRING_VALUE",
53
+ * // transitGatewayConfiguration: { // TransitGatewayConfiguration
54
+ * // transitGatewayID: "STRING_VALUE", // required
55
+ * // routableCIDRSpace: "STRING_VALUE", // required
56
+ * // },
57
+ * // customDNSConfiguration: [ // CustomDNSConfiguration
58
+ * // { // CustomDNSServer
59
+ * // customDNSServerName: "STRING_VALUE", // required
60
+ * // customDNSServerIP: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // creationTimestamp: new Date("TIMESTAMP"),
64
+ * // updateTimestamp: new Date("TIMESTAMP"),
65
+ * // availabilityZoneIds: [ // AvailabilityZoneIds
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param UpdateKxEnvironmentCommandInput - {@link UpdateKxEnvironmentCommandInput}
73
+ * @returns {@link UpdateKxEnvironmentCommandOutput}
74
+ * @see {@link UpdateKxEnvironmentCommandInput} for command's `input` shape.
75
+ * @see {@link UpdateKxEnvironmentCommandOutput} for command's `response` shape.
76
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You do not have sufficient access to perform this action.</p>
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>There was a conflict with this action, and it could not be completed.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>The request processing has failed because of an unknown error, exception or
86
+ * failure.</p>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>One or more resources can't be found.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was denied due to request throttling.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
96
+ *
97
+ * @throws {@link FinspaceServiceException}
98
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
99
+ *
100
+ */
101
+ export declare class UpdateKxEnvironmentCommand extends $Command<UpdateKxEnvironmentCommandInput, UpdateKxEnvironmentCommandOutput, FinspaceClientResolvedConfig> {
102
+ readonly input: UpdateKxEnvironmentCommandInput;
103
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
104
+ /**
105
+ * @public
106
+ */
107
+ constructor(input: UpdateKxEnvironmentCommandInput);
108
+ /**
109
+ * @internal
110
+ */
111
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKxEnvironmentCommandInput, UpdateKxEnvironmentCommandOutput>;
112
+ /**
113
+ * @internal
114
+ */
115
+ private serialize;
116
+ /**
117
+ * @internal
118
+ */
119
+ private deserialize;
120
+ }