@aws-sdk/client-finspace 3.395.0 → 3.396.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +9 -1
- package/dist-cjs/protocols/Aws_restJson1.js +11 -3
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +11 -3
- package/dist-types/commands/GetKxEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/ListKxEnvironmentsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateKxClusterDatabasesCommand.d.ts +6 -0
- package/dist-types/commands/UpdateKxEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateKxEnvironmentNetworkCommand.d.ts +32 -0
- package/dist-types/models/models_0.d.ts +168 -11
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://finspace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://finspace-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://finspace.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://finspace.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetKxConnectionStringResponseFilterSensitiveLog = exports.CreateEnvironmentRequestFilterSensitiveLog = exports.SuperuserParametersFilterSensitiveLog = exports.InvalidRequestException = exports.TgwStatus = exports.DnsStatus = exports.EnvironmentStatus = exports.ResourceAlreadyExistsException = exports.KxClusterStatus = exports.IPAddressType = exports.KxSavedownStorageType = exports.KxClusterType = exports.KxAzMode = exports.ResourceNotFoundException = exports.ChangesetStatus = exports.ErrorDetails = exports.ChangeType = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.LimitExceededException = exports.InternalServerException = exports.FederationMode = exports.AutoScalingMetric = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.GetKxConnectionStringResponseFilterSensitiveLog = exports.CreateEnvironmentRequestFilterSensitiveLog = exports.SuperuserParametersFilterSensitiveLog = exports.KxDeploymentStrategy = exports.InvalidRequestException = exports.RuleAction = exports.TgwStatus = exports.DnsStatus = exports.EnvironmentStatus = exports.ResourceAlreadyExistsException = exports.KxClusterStatus = exports.IPAddressType = exports.KxSavedownStorageType = exports.KxClusterType = exports.KxAzMode = exports.ResourceNotFoundException = exports.ChangesetStatus = exports.ErrorDetails = exports.ChangeType = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.LimitExceededException = exports.InternalServerException = exports.FederationMode = exports.AutoScalingMetric = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const FinspaceServiceException_1 = require("./FinspaceServiceException");
|
|
6
6
|
class AccessDeniedException extends FinspaceServiceException_1.FinspaceServiceException {
|
|
@@ -202,6 +202,10 @@ exports.TgwStatus = {
|
|
|
202
202
|
UPDATE_REQUESTED: "UPDATE_REQUESTED",
|
|
203
203
|
UPDATING: "UPDATING",
|
|
204
204
|
};
|
|
205
|
+
exports.RuleAction = {
|
|
206
|
+
ALLOW: "allow",
|
|
207
|
+
DENY: "deny",
|
|
208
|
+
};
|
|
205
209
|
class InvalidRequestException extends FinspaceServiceException_1.FinspaceServiceException {
|
|
206
210
|
constructor(opts) {
|
|
207
211
|
super({
|
|
@@ -215,6 +219,10 @@ class InvalidRequestException extends FinspaceServiceException_1.FinspaceService
|
|
|
215
219
|
}
|
|
216
220
|
}
|
|
217
221
|
exports.InvalidRequestException = InvalidRequestException;
|
|
222
|
+
exports.KxDeploymentStrategy = {
|
|
223
|
+
NO_RESTART: "NO_RESTART",
|
|
224
|
+
ROLLING: "ROLLING",
|
|
225
|
+
};
|
|
218
226
|
const SuperuserParametersFilterSensitiveLog = (obj) => ({
|
|
219
227
|
...obj,
|
|
220
228
|
...(obj.emailAddress && { emailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -665,8 +665,9 @@ const se_UpdateKxClusterDatabasesCommand = async (input, context) => {
|
|
|
665
665
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
666
666
|
let body;
|
|
667
667
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
668
|
-
clientToken: [],
|
|
668
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
669
669
|
databases: (_) => (0, smithy_client_1._json)(_),
|
|
670
|
+
deploymentConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
670
671
|
}));
|
|
671
672
|
return new protocol_http_1.HttpRequest({
|
|
672
673
|
protocol,
|
|
@@ -2230,6 +2231,9 @@ const de_UpdateKxClusterDatabasesCommandError = async (output, context) => {
|
|
|
2230
2231
|
case "AccessDeniedException":
|
|
2231
2232
|
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2232
2233
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2234
|
+
case "ConflictException":
|
|
2235
|
+
case "com.amazonaws.finspace#ConflictException":
|
|
2236
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2233
2237
|
case "InternalServerException":
|
|
2234
2238
|
case "com.amazonaws.finspace#InternalServerException":
|
|
2235
2239
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2493,7 +2497,9 @@ const throwDefaultError = (0, smithy_client_1.withBaseException)(FinspaceService
|
|
|
2493
2497
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2494
2498
|
const contents = (0, smithy_client_1.map)({});
|
|
2495
2499
|
const data = parsedOutput.body;
|
|
2496
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2500
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2501
|
+
message: smithy_client_1.expectString,
|
|
2502
|
+
});
|
|
2497
2503
|
Object.assign(contents, doc);
|
|
2498
2504
|
const exception = new models_0_1.AccessDeniedException({
|
|
2499
2505
|
$metadata: deserializeMetadata(parsedOutput),
|
|
@@ -2596,7 +2602,9 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2596
2602
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2597
2603
|
const contents = (0, smithy_client_1.map)({});
|
|
2598
2604
|
const data = parsedOutput.body;
|
|
2599
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
2605
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2606
|
+
message: smithy_client_1.expectString,
|
|
2607
|
+
});
|
|
2600
2608
|
Object.assign(contents, doc);
|
|
2601
2609
|
const exception = new models_0_1.ThrottlingException({
|
|
2602
2610
|
$metadata: deserializeMetadata(parsedOutput),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://finspace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://finspace-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://finspace.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://finspace.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -190,6 +190,10 @@ export const TgwStatus = {
|
|
|
190
190
|
UPDATE_REQUESTED: "UPDATE_REQUESTED",
|
|
191
191
|
UPDATING: "UPDATING",
|
|
192
192
|
};
|
|
193
|
+
export const RuleAction = {
|
|
194
|
+
ALLOW: "allow",
|
|
195
|
+
DENY: "deny",
|
|
196
|
+
};
|
|
193
197
|
export class InvalidRequestException extends __BaseException {
|
|
194
198
|
constructor(opts) {
|
|
195
199
|
super({
|
|
@@ -202,6 +206,10 @@ export class InvalidRequestException extends __BaseException {
|
|
|
202
206
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
203
207
|
}
|
|
204
208
|
}
|
|
209
|
+
export const KxDeploymentStrategy = {
|
|
210
|
+
NO_RESTART: "NO_RESTART",
|
|
211
|
+
ROLLING: "ROLLING",
|
|
212
|
+
};
|
|
205
213
|
export const SuperuserParametersFilterSensitiveLog = (obj) => ({
|
|
206
214
|
...obj,
|
|
207
215
|
...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }),
|
|
@@ -632,8 +632,9 @@ export const se_UpdateKxClusterDatabasesCommand = async (input, context) => {
|
|
|
632
632
|
resolvedPath = __resolvedPath(resolvedPath, input, "clusterName", () => input.clusterName, "{clusterName}", false);
|
|
633
633
|
let body;
|
|
634
634
|
body = JSON.stringify(take(input, {
|
|
635
|
-
clientToken: [],
|
|
635
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
636
636
|
databases: (_) => _json(_),
|
|
637
|
+
deploymentConfiguration: (_) => _json(_),
|
|
637
638
|
}));
|
|
638
639
|
return new __HttpRequest({
|
|
639
640
|
protocol,
|
|
@@ -2162,6 +2163,9 @@ const de_UpdateKxClusterDatabasesCommandError = async (output, context) => {
|
|
|
2162
2163
|
case "AccessDeniedException":
|
|
2163
2164
|
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2164
2165
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2166
|
+
case "ConflictException":
|
|
2167
|
+
case "com.amazonaws.finspace#ConflictException":
|
|
2168
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2165
2169
|
case "InternalServerException":
|
|
2166
2170
|
case "com.amazonaws.finspace#InternalServerException":
|
|
2167
2171
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2421,7 +2425,9 @@ const throwDefaultError = withBaseException(__BaseException);
|
|
|
2421
2425
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2422
2426
|
const contents = map({});
|
|
2423
2427
|
const data = parsedOutput.body;
|
|
2424
|
-
const doc = take(data, {
|
|
2428
|
+
const doc = take(data, {
|
|
2429
|
+
message: __expectString,
|
|
2430
|
+
});
|
|
2425
2431
|
Object.assign(contents, doc);
|
|
2426
2432
|
const exception = new AccessDeniedException({
|
|
2427
2433
|
$metadata: deserializeMetadata(parsedOutput),
|
|
@@ -2524,7 +2530,9 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2524
2530
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2525
2531
|
const contents = map({});
|
|
2526
2532
|
const data = parsedOutput.body;
|
|
2527
|
-
const doc = take(data, {
|
|
2533
|
+
const doc = take(data, {
|
|
2534
|
+
message: __expectString,
|
|
2535
|
+
});
|
|
2528
2536
|
Object.assign(contents, doc);
|
|
2529
2537
|
const exception = new ThrottlingException({
|
|
2530
2538
|
$metadata: deserializeMetadata(parsedOutput),
|
|
@@ -50,6 +50,22 @@ export interface GetKxEnvironmentCommandOutput extends GetKxEnvironmentResponse,
|
|
|
50
50
|
* // transitGatewayConfiguration: { // TransitGatewayConfiguration
|
|
51
51
|
* // transitGatewayID: "STRING_VALUE", // required
|
|
52
52
|
* // routableCIDRSpace: "STRING_VALUE", // required
|
|
53
|
+
* // attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration
|
|
54
|
+
* // { // NetworkACLEntry
|
|
55
|
+
* // ruleNumber: Number("int"), // required
|
|
56
|
+
* // protocol: "STRING_VALUE", // required
|
|
57
|
+
* // ruleAction: "allow" || "deny", // required
|
|
58
|
+
* // portRange: { // PortRange
|
|
59
|
+
* // from: Number("int"), // required
|
|
60
|
+
* // to: Number("int"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // icmpTypeCode: { // IcmpTypeCode
|
|
63
|
+
* // type: Number("int"), // required
|
|
64
|
+
* // code: Number("int"), // required
|
|
65
|
+
* // },
|
|
66
|
+
* // cidrBlock: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
53
69
|
* // },
|
|
54
70
|
* // customDNSConfiguration: [ // CustomDNSConfiguration
|
|
55
71
|
* // { // CustomDNSServer
|
|
@@ -53,6 +53,22 @@ export interface ListKxEnvironmentsCommandOutput extends ListKxEnvironmentsRespo
|
|
|
53
53
|
* // transitGatewayConfiguration: { // TransitGatewayConfiguration
|
|
54
54
|
* // transitGatewayID: "STRING_VALUE", // required
|
|
55
55
|
* // routableCIDRSpace: "STRING_VALUE", // required
|
|
56
|
+
* // attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration
|
|
57
|
+
* // { // NetworkACLEntry
|
|
58
|
+
* // ruleNumber: Number("int"), // required
|
|
59
|
+
* // protocol: "STRING_VALUE", // required
|
|
60
|
+
* // ruleAction: "allow" || "deny", // required
|
|
61
|
+
* // portRange: { // PortRange
|
|
62
|
+
* // from: Number("int"), // required
|
|
63
|
+
* // to: Number("int"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // icmpTypeCode: { // IcmpTypeCode
|
|
66
|
+
* // type: Number("int"), // required
|
|
67
|
+
* // code: Number("int"), // required
|
|
68
|
+
* // },
|
|
69
|
+
* // cidrBlock: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
56
72
|
* // },
|
|
57
73
|
* // customDNSConfiguration: [ // CustomDNSConfiguration
|
|
58
74
|
* // { // CustomDNSServer
|
|
@@ -49,6 +49,9 @@ export interface UpdateKxClusterDatabasesCommandOutput extends UpdateKxClusterDa
|
|
|
49
49
|
* changesetId: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
52
|
+
* deploymentConfiguration: { // KxDeploymentConfiguration
|
|
53
|
+
* deploymentStrategy: "NO_RESTART" || "ROLLING", // required
|
|
54
|
+
* },
|
|
52
55
|
* };
|
|
53
56
|
* const command = new UpdateKxClusterDatabasesCommand(input);
|
|
54
57
|
* const response = await client.send(command);
|
|
@@ -65,6 +68,9 @@ export interface UpdateKxClusterDatabasesCommandOutput extends UpdateKxClusterDa
|
|
|
65
68
|
* @throws {@link AccessDeniedException} (client fault)
|
|
66
69
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
70
|
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
73
|
+
*
|
|
68
74
|
* @throws {@link InternalServerException} (server fault)
|
|
69
75
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
70
76
|
* failure.</p>
|
|
@@ -53,6 +53,22 @@ export interface UpdateKxEnvironmentCommandOutput extends UpdateKxEnvironmentRes
|
|
|
53
53
|
* // transitGatewayConfiguration: { // TransitGatewayConfiguration
|
|
54
54
|
* // transitGatewayID: "STRING_VALUE", // required
|
|
55
55
|
* // routableCIDRSpace: "STRING_VALUE", // required
|
|
56
|
+
* // attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration
|
|
57
|
+
* // { // NetworkACLEntry
|
|
58
|
+
* // ruleNumber: Number("int"), // required
|
|
59
|
+
* // protocol: "STRING_VALUE", // required
|
|
60
|
+
* // ruleAction: "allow" || "deny", // required
|
|
61
|
+
* // portRange: { // PortRange
|
|
62
|
+
* // from: Number("int"), // required
|
|
63
|
+
* // to: Number("int"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // icmpTypeCode: { // IcmpTypeCode
|
|
66
|
+
* // type: Number("int"), // required
|
|
67
|
+
* // code: Number("int"), // required
|
|
68
|
+
* // },
|
|
69
|
+
* // cidrBlock: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
56
72
|
* // },
|
|
57
73
|
* // customDNSConfiguration: [ // CustomDNSConfiguration
|
|
58
74
|
* // { // CustomDNSServer
|
|
@@ -36,6 +36,22 @@ export interface UpdateKxEnvironmentNetworkCommandOutput extends UpdateKxEnviron
|
|
|
36
36
|
* transitGatewayConfiguration: { // TransitGatewayConfiguration
|
|
37
37
|
* transitGatewayID: "STRING_VALUE", // required
|
|
38
38
|
* routableCIDRSpace: "STRING_VALUE", // required
|
|
39
|
+
* attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration
|
|
40
|
+
* { // NetworkACLEntry
|
|
41
|
+
* ruleNumber: Number("int"), // required
|
|
42
|
+
* protocol: "STRING_VALUE", // required
|
|
43
|
+
* ruleAction: "allow" || "deny", // required
|
|
44
|
+
* portRange: { // PortRange
|
|
45
|
+
* from: Number("int"), // required
|
|
46
|
+
* to: Number("int"), // required
|
|
47
|
+
* },
|
|
48
|
+
* icmpTypeCode: { // IcmpTypeCode
|
|
49
|
+
* type: Number("int"), // required
|
|
50
|
+
* code: Number("int"), // required
|
|
51
|
+
* },
|
|
52
|
+
* cidrBlock: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
39
55
|
* },
|
|
40
56
|
* customDNSConfiguration: [ // CustomDNSConfiguration
|
|
41
57
|
* { // CustomDNSServer
|
|
@@ -62,6 +78,22 @@ export interface UpdateKxEnvironmentNetworkCommandOutput extends UpdateKxEnviron
|
|
|
62
78
|
* // transitGatewayConfiguration: { // TransitGatewayConfiguration
|
|
63
79
|
* // transitGatewayID: "STRING_VALUE", // required
|
|
64
80
|
* // routableCIDRSpace: "STRING_VALUE", // required
|
|
81
|
+
* // attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration
|
|
82
|
+
* // { // NetworkACLEntry
|
|
83
|
+
* // ruleNumber: Number("int"), // required
|
|
84
|
+
* // protocol: "STRING_VALUE", // required
|
|
85
|
+
* // ruleAction: "allow" || "deny", // required
|
|
86
|
+
* // portRange: { // PortRange
|
|
87
|
+
* // from: Number("int"), // required
|
|
88
|
+
* // to: Number("int"), // required
|
|
89
|
+
* // },
|
|
90
|
+
* // icmpTypeCode: { // IcmpTypeCode
|
|
91
|
+
* // type: Number("int"), // required
|
|
92
|
+
* // code: Number("int"), // required
|
|
93
|
+
* // },
|
|
94
|
+
* // cidrBlock: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
65
97
|
* // },
|
|
66
98
|
* // customDNSConfiguration: [ // CustomDNSConfiguration
|
|
67
99
|
* // { // CustomDNSServer
|
|
@@ -543,7 +543,7 @@ export interface KxCacheStorageConfiguration {
|
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* @public
|
|
546
|
-
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances
|
|
546
|
+
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.</p>
|
|
547
547
|
*/
|
|
548
548
|
export interface CapacityConfiguration {
|
|
549
549
|
/**
|
|
@@ -708,7 +708,7 @@ export interface KxSavedownStorageConfiguration {
|
|
|
708
708
|
type: KxSavedownStorageType | string | undefined;
|
|
709
709
|
/**
|
|
710
710
|
* @public
|
|
711
|
-
* <p>The size of temporary storage in
|
|
711
|
+
* <p>The size of temporary storage in gibibytes.</p>
|
|
712
712
|
*/
|
|
713
713
|
size: number | undefined;
|
|
714
714
|
}
|
|
@@ -811,7 +811,7 @@ export interface CreateKxClusterRequest {
|
|
|
811
811
|
clusterDescription?: string;
|
|
812
812
|
/**
|
|
813
813
|
* @public
|
|
814
|
-
* <p>A structure for the metadata of a cluster. It includes information
|
|
814
|
+
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.</p>
|
|
815
815
|
*/
|
|
816
816
|
capacityConfiguration: CapacityConfiguration | undefined;
|
|
817
817
|
/**
|
|
@@ -984,7 +984,7 @@ export interface CreateKxClusterResponse {
|
|
|
984
984
|
clusterDescription?: string;
|
|
985
985
|
/**
|
|
986
986
|
* @public
|
|
987
|
-
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances
|
|
987
|
+
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.</p>
|
|
988
988
|
*/
|
|
989
989
|
capacityConfiguration?: CapacityConfiguration;
|
|
990
990
|
/**
|
|
@@ -1272,7 +1272,7 @@ export interface CreateKxUserResponse {
|
|
|
1272
1272
|
/**
|
|
1273
1273
|
* @public
|
|
1274
1274
|
* <p> The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and
|
|
1275
|
-
* how to use ARNs in policies, see <a href="IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
1275
|
+
* how to use ARNs in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
1276
1276
|
* <i>IAM User Guide</i>. </p>
|
|
1277
1277
|
*/
|
|
1278
1278
|
userArn?: string;
|
|
@@ -1658,7 +1658,7 @@ export interface GetKxClusterResponse {
|
|
|
1658
1658
|
clusterDescription?: string;
|
|
1659
1659
|
/**
|
|
1660
1660
|
* @public
|
|
1661
|
-
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, number of instances
|
|
1661
|
+
* <p>A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.</p>
|
|
1662
1662
|
*/
|
|
1663
1663
|
capacityConfiguration?: CapacityConfiguration;
|
|
1664
1664
|
/**
|
|
@@ -1741,7 +1741,7 @@ export interface GetKxConnectionStringRequest {
|
|
|
1741
1741
|
/**
|
|
1742
1742
|
* @public
|
|
1743
1743
|
* <p> The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and
|
|
1744
|
-
* how to use ARNs in policies, see <a href="IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
1744
|
+
* how to use ARNs in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
1745
1745
|
* <i>IAM User Guide</i>. </p>
|
|
1746
1746
|
*/
|
|
1747
1747
|
userArn: string | undefined;
|
|
@@ -1892,6 +1892,112 @@ export declare const TgwStatus: {
|
|
|
1892
1892
|
* @public
|
|
1893
1893
|
*/
|
|
1894
1894
|
export type TgwStatus = (typeof TgwStatus)[keyof typeof TgwStatus];
|
|
1895
|
+
/**
|
|
1896
|
+
* @public
|
|
1897
|
+
* <p>
|
|
1898
|
+
* Defines the ICMP protocol that consists of the ICMP type and code.
|
|
1899
|
+
* </p>
|
|
1900
|
+
*/
|
|
1901
|
+
export interface IcmpTypeCode {
|
|
1902
|
+
/**
|
|
1903
|
+
* @public
|
|
1904
|
+
* <p>The ICMP type. A value of <i>-1</i> means all types.
|
|
1905
|
+
* </p>
|
|
1906
|
+
*/
|
|
1907
|
+
type: number | undefined;
|
|
1908
|
+
/**
|
|
1909
|
+
* @public
|
|
1910
|
+
* <p>
|
|
1911
|
+
* The ICMP code. A value of <i>-1</i> means all codes for the specified ICMP type.
|
|
1912
|
+
* </p>
|
|
1913
|
+
*/
|
|
1914
|
+
code: number | undefined;
|
|
1915
|
+
}
|
|
1916
|
+
/**
|
|
1917
|
+
* @public
|
|
1918
|
+
* <p>
|
|
1919
|
+
* The range of ports the rule applies to.
|
|
1920
|
+
* </p>
|
|
1921
|
+
*/
|
|
1922
|
+
export interface PortRange {
|
|
1923
|
+
/**
|
|
1924
|
+
* @public
|
|
1925
|
+
* <p>
|
|
1926
|
+
* The first port in the range.
|
|
1927
|
+
* </p>
|
|
1928
|
+
*/
|
|
1929
|
+
from: number | undefined;
|
|
1930
|
+
/**
|
|
1931
|
+
* @public
|
|
1932
|
+
* <p>
|
|
1933
|
+
* The last port in the range.
|
|
1934
|
+
* </p>
|
|
1935
|
+
*/
|
|
1936
|
+
to: number | undefined;
|
|
1937
|
+
}
|
|
1938
|
+
/**
|
|
1939
|
+
* @public
|
|
1940
|
+
* @enum
|
|
1941
|
+
*/
|
|
1942
|
+
export declare const RuleAction: {
|
|
1943
|
+
readonly ALLOW: "allow";
|
|
1944
|
+
readonly DENY: "deny";
|
|
1945
|
+
};
|
|
1946
|
+
/**
|
|
1947
|
+
* @public
|
|
1948
|
+
*/
|
|
1949
|
+
export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
|
|
1950
|
+
/**
|
|
1951
|
+
* @public
|
|
1952
|
+
* <p>
|
|
1953
|
+
* The network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets. The entry is a set of numbered ingress and egress rules that determine whether a packet should be allowed in or out of a subnet associated with the ACL. We process the entries in the ACL according to the rule numbers, in ascending order.
|
|
1954
|
+
* </p>
|
|
1955
|
+
*/
|
|
1956
|
+
export interface NetworkACLEntry {
|
|
1957
|
+
/**
|
|
1958
|
+
* @public
|
|
1959
|
+
* <p>
|
|
1960
|
+
* The rule number for the entry. For example <i>100</i>. All the network ACL entries are processed in ascending order by rule number.
|
|
1961
|
+
*
|
|
1962
|
+
* </p>
|
|
1963
|
+
*/
|
|
1964
|
+
ruleNumber: number | undefined;
|
|
1965
|
+
/**
|
|
1966
|
+
* @public
|
|
1967
|
+
* <p>
|
|
1968
|
+
* The protocol number. A value of <i>-1</i> means all the protocols.
|
|
1969
|
+
* </p>
|
|
1970
|
+
*/
|
|
1971
|
+
protocol: string | undefined;
|
|
1972
|
+
/**
|
|
1973
|
+
* @public
|
|
1974
|
+
* <p>
|
|
1975
|
+
* Indicates whether to allow or deny the traffic that matches the rule.
|
|
1976
|
+
* </p>
|
|
1977
|
+
*/
|
|
1978
|
+
ruleAction: RuleAction | string | undefined;
|
|
1979
|
+
/**
|
|
1980
|
+
* @public
|
|
1981
|
+
* <p>
|
|
1982
|
+
* The range of ports the rule applies to.
|
|
1983
|
+
* </p>
|
|
1984
|
+
*/
|
|
1985
|
+
portRange?: PortRange;
|
|
1986
|
+
/**
|
|
1987
|
+
* @public
|
|
1988
|
+
* <p>
|
|
1989
|
+
* Defines the ICMP protocol that consists of the ICMP type and code.
|
|
1990
|
+
* </p>
|
|
1991
|
+
*/
|
|
1992
|
+
icmpTypeCode?: IcmpTypeCode;
|
|
1993
|
+
/**
|
|
1994
|
+
* @public
|
|
1995
|
+
* <p>
|
|
1996
|
+
* The IPv4 network range to allow or deny, in CIDR notation. For example, <code>172.16.0.0/24</code>. We modify the specified CIDR block to its canonical form. For example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.
|
|
1997
|
+
* </p>
|
|
1998
|
+
*/
|
|
1999
|
+
cidrBlock: string | undefined;
|
|
2000
|
+
}
|
|
1895
2001
|
/**
|
|
1896
2002
|
* @public
|
|
1897
2003
|
* <p>The structure of the transit gateway and network configuration that is used to connect the kdb environment to an internal network.</p>
|
|
@@ -1907,6 +2013,14 @@ export interface TransitGatewayConfiguration {
|
|
|
1907
2013
|
* <p>The routing CIDR on behalf of kdb environment. It could be any "/26 range in the 100.64.0.0 CIDR space. After providing, it will be added to the customer's transit gateway routing table so that the traffics could be routed to kdb network.</p>
|
|
1908
2014
|
*/
|
|
1909
2015
|
routableCIDRSpace: string | undefined;
|
|
2016
|
+
/**
|
|
2017
|
+
* @public
|
|
2018
|
+
* <p>
|
|
2019
|
+
* The rules that define how you manage the outbound traffic from kdb network to your internal network.
|
|
2020
|
+
*
|
|
2021
|
+
* </p>
|
|
2022
|
+
*/
|
|
2023
|
+
attachmentNetworkAclConfiguration?: NetworkACLEntry[];
|
|
1910
2024
|
}
|
|
1911
2025
|
/**
|
|
1912
2026
|
* @public
|
|
@@ -2026,7 +2140,7 @@ export interface GetKxUserResponse {
|
|
|
2026
2140
|
/**
|
|
2027
2141
|
* @public
|
|
2028
2142
|
* <p> The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and
|
|
2029
|
-
* how to use ARNs in policies, see <a href="IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
2143
|
+
* how to use ARNs in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
2030
2144
|
* <i>IAM User Guide</i>. </p>
|
|
2031
2145
|
*/
|
|
2032
2146
|
userArn?: string;
|
|
@@ -2348,7 +2462,7 @@ export interface KxCluster {
|
|
|
2348
2462
|
executionRole?: string;
|
|
2349
2463
|
/**
|
|
2350
2464
|
* @public
|
|
2351
|
-
* <p>The number of availability zones assigned per cluster. This can be one of the following
|
|
2465
|
+
* <p>The number of availability zones assigned per cluster. This can be one of the following:</p>
|
|
2352
2466
|
* <ul>
|
|
2353
2467
|
* <li>
|
|
2354
2468
|
* <p>
|
|
@@ -2628,7 +2742,7 @@ export interface KxUser {
|
|
|
2628
2742
|
/**
|
|
2629
2743
|
* @public
|
|
2630
2744
|
* <p> The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and
|
|
2631
|
-
* how to use ARNs in policies, see <a href="IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
2745
|
+
* how to use ARNs in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
2632
2746
|
* <i>IAM User Guide</i>. </p>
|
|
2633
2747
|
*/
|
|
2634
2748
|
userArn?: string;
|
|
@@ -2791,6 +2905,42 @@ export interface UpdateEnvironmentResponse {
|
|
|
2791
2905
|
*/
|
|
2792
2906
|
environment?: Environment;
|
|
2793
2907
|
}
|
|
2908
|
+
/**
|
|
2909
|
+
* @public
|
|
2910
|
+
* @enum
|
|
2911
|
+
*/
|
|
2912
|
+
export declare const KxDeploymentStrategy: {
|
|
2913
|
+
readonly NO_RESTART: "NO_RESTART";
|
|
2914
|
+
readonly ROLLING: "ROLLING";
|
|
2915
|
+
};
|
|
2916
|
+
/**
|
|
2917
|
+
* @public
|
|
2918
|
+
*/
|
|
2919
|
+
export type KxDeploymentStrategy = (typeof KxDeploymentStrategy)[keyof typeof KxDeploymentStrategy];
|
|
2920
|
+
/**
|
|
2921
|
+
* @public
|
|
2922
|
+
* <p>
|
|
2923
|
+
* The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the database changesets on to a cluster.
|
|
2924
|
+
* </p>
|
|
2925
|
+
*/
|
|
2926
|
+
export interface KxDeploymentConfiguration {
|
|
2927
|
+
/**
|
|
2928
|
+
* @public
|
|
2929
|
+
* <p>
|
|
2930
|
+
* The type of deployment that you want on a cluster.
|
|
2931
|
+
*
|
|
2932
|
+
* </p>
|
|
2933
|
+
* <ul>
|
|
2934
|
+
* <li>
|
|
2935
|
+
* <p>ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration.</p>
|
|
2936
|
+
* </li>
|
|
2937
|
+
* <li>
|
|
2938
|
+
* <p>NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.</p>
|
|
2939
|
+
* </li>
|
|
2940
|
+
* </ul>
|
|
2941
|
+
*/
|
|
2942
|
+
deploymentStrategy: KxDeploymentStrategy | string | undefined;
|
|
2943
|
+
}
|
|
2794
2944
|
/**
|
|
2795
2945
|
* @public
|
|
2796
2946
|
*/
|
|
@@ -2815,6 +2965,13 @@ export interface UpdateKxClusterDatabasesRequest {
|
|
|
2815
2965
|
* <p> The structure of databases mounted on the cluster.</p>
|
|
2816
2966
|
*/
|
|
2817
2967
|
databases: KxDatabaseConfiguration[] | undefined;
|
|
2968
|
+
/**
|
|
2969
|
+
* @public
|
|
2970
|
+
* <p>
|
|
2971
|
+
* The configuration that allows you to choose how you want to update the databases on a cluster.
|
|
2972
|
+
* </p>
|
|
2973
|
+
*/
|
|
2974
|
+
deploymentConfiguration?: KxDeploymentConfiguration;
|
|
2818
2975
|
}
|
|
2819
2976
|
/**
|
|
2820
2977
|
* @public
|
|
@@ -3128,7 +3285,7 @@ export interface UpdateKxUserResponse {
|
|
|
3128
3285
|
/**
|
|
3129
3286
|
* @public
|
|
3130
3287
|
* <p> The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and
|
|
3131
|
-
* how to use ARNs in policies, see <a href="IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
3288
|
+
* how to use ARNs in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
|
|
3132
3289
|
* <i>IAM User Guide</i>. </p>
|
|
3133
3290
|
*/
|
|
3134
3291
|
userArn?: string;
|
|
@@ -465,9 +465,31 @@ export declare const TgwStatus: {
|
|
|
465
465
|
readonly UPDATING: "UPDATING";
|
|
466
466
|
};
|
|
467
467
|
export type TgwStatus = (typeof TgwStatus)[keyof typeof TgwStatus];
|
|
468
|
+
export interface IcmpTypeCode {
|
|
469
|
+
type: number | undefined;
|
|
470
|
+
code: number | undefined;
|
|
471
|
+
}
|
|
472
|
+
export interface PortRange {
|
|
473
|
+
from: number | undefined;
|
|
474
|
+
to: number | undefined;
|
|
475
|
+
}
|
|
476
|
+
export declare const RuleAction: {
|
|
477
|
+
readonly ALLOW: "allow";
|
|
478
|
+
readonly DENY: "deny";
|
|
479
|
+
};
|
|
480
|
+
export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
|
|
481
|
+
export interface NetworkACLEntry {
|
|
482
|
+
ruleNumber: number | undefined;
|
|
483
|
+
protocol: string | undefined;
|
|
484
|
+
ruleAction: RuleAction | string | undefined;
|
|
485
|
+
portRange?: PortRange;
|
|
486
|
+
icmpTypeCode?: IcmpTypeCode;
|
|
487
|
+
cidrBlock: string | undefined;
|
|
488
|
+
}
|
|
468
489
|
export interface TransitGatewayConfiguration {
|
|
469
490
|
transitGatewayID: string | undefined;
|
|
470
491
|
routableCIDRSpace: string | undefined;
|
|
492
|
+
attachmentNetworkAclConfiguration?: NetworkACLEntry[];
|
|
471
493
|
}
|
|
472
494
|
export interface GetKxEnvironmentResponse {
|
|
473
495
|
name?: string;
|
|
@@ -652,11 +674,21 @@ export interface UpdateEnvironmentRequest {
|
|
|
652
674
|
export interface UpdateEnvironmentResponse {
|
|
653
675
|
environment?: Environment;
|
|
654
676
|
}
|
|
677
|
+
export declare const KxDeploymentStrategy: {
|
|
678
|
+
readonly NO_RESTART: "NO_RESTART";
|
|
679
|
+
readonly ROLLING: "ROLLING";
|
|
680
|
+
};
|
|
681
|
+
export type KxDeploymentStrategy =
|
|
682
|
+
(typeof KxDeploymentStrategy)[keyof typeof KxDeploymentStrategy];
|
|
683
|
+
export interface KxDeploymentConfiguration {
|
|
684
|
+
deploymentStrategy: KxDeploymentStrategy | string | undefined;
|
|
685
|
+
}
|
|
655
686
|
export interface UpdateKxClusterDatabasesRequest {
|
|
656
687
|
environmentId: string | undefined;
|
|
657
688
|
clusterName: string | undefined;
|
|
658
689
|
clientToken?: string;
|
|
659
690
|
databases: KxDatabaseConfiguration[] | undefined;
|
|
691
|
+
deploymentConfiguration?: KxDeploymentConfiguration;
|
|
660
692
|
}
|
|
661
693
|
export interface UpdateKxClusterDatabasesResponse {}
|
|
662
694
|
export interface UpdateKxDatabaseRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-finspace",
|
|
3
3
|
"description": "AWS SDK for JavaScript Finspace Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.396.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|