UpdateSharedVpcConfigurationCommand

Configures whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual private cloud (VPC) owner. For more information, see the Amazon FSx for NetApp ONTAP User Guide .

We strongly recommend that participant-created Multi-AZ file systems in the shared VPC are deleted before you disable this feature. Once the feature is disabled, these file systems will enter a MISCONFIGURED state and behave like Single-AZ file systems. For more information, see Important considerations before disabling shared VPC support for Multi-AZ file systems .

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { FSxClient, UpdateSharedVpcConfigurationCommand } from "@aws-sdk/client-fsx"; // ES Modules import
// const { FSxClient, UpdateSharedVpcConfigurationCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
const client = new FSxClient(config);
const input = { // UpdateSharedVpcConfigurationRequest
  EnableFsxRouteTableUpdatesFromParticipantAccounts: "STRING_VALUE",
  ClientRequestToken: "STRING_VALUE",
};
const command = new UpdateSharedVpcConfigurationCommand(input);
const response = await client.send(command);
// { // UpdateSharedVpcConfigurationResponse
//   EnableFsxRouteTableUpdatesFromParticipantAccounts: "STRING_VALUE",
// };

UpdateSharedVpcConfigurationCommand Input

Parameter
Type
Description
ClientRequestToken
string | undefined

(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

EnableFsxRouteTableUpdatesFromParticipantAccounts
string | undefined

Specifies whether participant accounts can create FSx for ONTAP Multi-AZ file systems in shared subnets. Set to true to enable or false to disable.

UpdateSharedVpcConfigurationCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
EnableFsxRouteTableUpdatesFromParticipantAccounts
string | undefined

Indicates whether participant accounts can create FSx for ONTAP Multi-AZ file systems in shared subnets.

Throws

Name
Fault
Details
BadRequest
client

A generic error indicating a failure with a client request.

IncompatibleParameterError
client

The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.

InternalServerError
server

A generic error indicating a server-side failure.

FSxServiceException
Base exception class for all service exceptions from FSx service.