AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and then recreate it without security groups.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateServiceNetworkVpcAssociationAsync.
Namespace: Amazon.VPCLattice
Assembly: AWSSDK.VPCLattice.dll
Version: 3.x.y.z
public virtual UpdateServiceNetworkVpcAssociationResponse UpdateServiceNetworkVpcAssociation( UpdateServiceNetworkVpcAssociationRequest request )
Container for the necessary parameters to execute the UpdateServiceNetworkVpcAssociation service method.
Exception | Condition |
---|---|
AccessDeniedException | The user does not have sufficient access to perform this action. |
ConflictException | The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state. |
InternalServerException | An unexpected error occurred while processing the request. |
ResourceNotFoundException | The request references a resource that does not exist. |
ThrottlingException | The limit on the number of requests per second was exceeded. |
ValidationException | The input does not satisfy the constraints specified by an Amazon Web Services service. |
.NET Framework:
Supported in: 4.5 and newer, 3.5