v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

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.

patch/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}

Path parameters

serviceNetworkVpcAssociationIdentifierstring required

The ID or ARN of the association.

Request body

securityGroupIdsSecurityGroupId[] required

The IDs of the security groups.

Response

Success

idstring

The ID of the association.

arnstring

The Amazon Resource Name (ARN) of the association.

status'CREATE_IN_PROGRESS' | 'ACTIVE' | 'UPDATE_IN_PROGRESS' | 'DELETE_IN_PROGRESS' | 'CREATE_FAILED' | 'DELETE_FAILED' | 'UPDATE_FAILED'

The status. You can retry the operation if the status is <code>DELETE_FAILED</code>. However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, there is no change in the status.

createdBystring

The account that created the association.

securityGroupIdsSecurityGroupId[]

The IDs of the security groups.