import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateKxEnvironmentNetworkRequest, UpdateKxEnvironmentNetworkResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateKxEnvironmentNetworkCommand}. */ export interface UpdateKxEnvironmentNetworkCommandInput extends UpdateKxEnvironmentNetworkRequest { } /** * @public * * The output of {@link UpdateKxEnvironmentNetworkCommand}. */ export interface UpdateKxEnvironmentNetworkCommandOutput extends UpdateKxEnvironmentNetworkResponse, __MetadataBearer { } declare const UpdateKxEnvironmentNetworkCommand_base: { new (input: UpdateKxEnvironmentNetworkCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateKxEnvironmentNetworkCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates environment network to connect to your internal network by using a transit gateway. This API supports request to create a transit gateway attachment from FinSpace VPC to your transit gateway ID and create a custom Route-53 outbound resolvers.

*

Once you send a request to update a network, you cannot change it again. Network update might require termination of any clusters that are running in the existing network.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, UpdateKxEnvironmentNetworkCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, UpdateKxEnvironmentNetworkCommand } = require("@aws-sdk/client-finspace"); // CommonJS import * // import type { FinspaceClientConfig } from "@aws-sdk/client-finspace"; * const config = {}; // type is FinspaceClientConfig * const client = new FinspaceClient(config); * const input = { // UpdateKxEnvironmentNetworkRequest * environmentId: "STRING_VALUE", // required * transitGatewayConfiguration: { // TransitGatewayConfiguration * transitGatewayID: "STRING_VALUE", // required * routableCIDRSpace: "STRING_VALUE", // required * attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration * { // NetworkACLEntry * ruleNumber: Number("int"), // required * protocol: "STRING_VALUE", // required * ruleAction: "allow" || "deny", // required * portRange: { // PortRange * from: Number("int"), // required * to: Number("int"), // required * }, * icmpTypeCode: { // IcmpTypeCode * type: Number("int"), // required * code: Number("int"), // required * }, * cidrBlock: "STRING_VALUE", // required * }, * ], * }, * customDNSConfiguration: [ // CustomDNSConfiguration * { // CustomDNSServer * customDNSServerName: "STRING_VALUE", // required * customDNSServerIP: "STRING_VALUE", // required * }, * ], * clientToken: "STRING_VALUE", * }; * const command = new UpdateKxEnvironmentNetworkCommand(input); * const response = await client.send(command); * // { // UpdateKxEnvironmentNetworkResponse * // name: "STRING_VALUE", * // environmentId: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // status: "CREATE_REQUESTED" || "CREATING" || "CREATED" || "DELETE_REQUESTED" || "DELETING" || "DELETED" || "FAILED_CREATION" || "RETRY_DELETION" || "FAILED_DELETION" || "UPDATE_NETWORK_REQUESTED" || "UPDATING_NETWORK" || "FAILED_UPDATING_NETWORK" || "SUSPENDED", * // tgwStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED", * // dnsStatus: "NONE" || "UPDATE_REQUESTED" || "UPDATING" || "FAILED_UPDATE" || "SUCCESSFULLY_UPDATED", * // errorMessage: "STRING_VALUE", * // description: "STRING_VALUE", * // environmentArn: "STRING_VALUE", * // kmsKeyId: "STRING_VALUE", * // dedicatedServiceAccountId: "STRING_VALUE", * // transitGatewayConfiguration: { // TransitGatewayConfiguration * // transitGatewayID: "STRING_VALUE", // required * // routableCIDRSpace: "STRING_VALUE", // required * // attachmentNetworkAclConfiguration: [ // NetworkACLConfiguration * // { // NetworkACLEntry * // ruleNumber: Number("int"), // required * // protocol: "STRING_VALUE", // required * // ruleAction: "allow" || "deny", // required * // portRange: { // PortRange * // from: Number("int"), // required * // to: Number("int"), // required * // }, * // icmpTypeCode: { // IcmpTypeCode * // type: Number("int"), // required * // code: Number("int"), // required * // }, * // cidrBlock: "STRING_VALUE", // required * // }, * // ], * // }, * // customDNSConfiguration: [ // CustomDNSConfiguration * // { // CustomDNSServer * // customDNSServerName: "STRING_VALUE", // required * // customDNSServerIP: "STRING_VALUE", // required * // }, * // ], * // creationTimestamp: new Date("TIMESTAMP"), * // updateTimestamp: new Date("TIMESTAMP"), * // availabilityZoneIds: [ // AvailabilityZoneIds * // "STRING_VALUE", * // ], * // }; * * ``` * * @param UpdateKxEnvironmentNetworkCommandInput - {@link UpdateKxEnvironmentNetworkCommandInput} * @returns {@link UpdateKxEnvironmentNetworkCommandOutput} * @see {@link UpdateKxEnvironmentNetworkCommandInput} for command's `input` shape. * @see {@link UpdateKxEnvironmentNetworkCommandOutput} for command's `response` shape. * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

There was a conflict with this action, and it could not be completed.

* * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception or * failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

One or more resources can't be found.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link FinspaceServiceException} *

Base exception class for all service exceptions from Finspace service.

* * * @public */ export declare class UpdateKxEnvironmentNetworkCommand extends UpdateKxEnvironmentNetworkCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateKxEnvironmentNetworkRequest; output: UpdateKxEnvironmentNetworkResponse; }; sdk: { input: UpdateKxEnvironmentNetworkCommandInput; output: UpdateKxEnvironmentNetworkCommandOutput; }; }; }