VPCLattice / Client / update_service_network_vpc_association
update_service_network_vpc_association#
- VPCLattice.Client.update_service_network_vpc_association(**kwargs)#
Updates the service network and VPC association. Once you add a security group, it cannot be removed.
See also: AWS API Documentation
Request Syntax
response = client.update_service_network_vpc_association( securityGroupIds=[ 'string', ], serviceNetworkVpcAssociationIdentifier='string' )
- Parameters:
securityGroupIds (list) –
[REQUIRED]
The IDs of the security groups. Once you add a security group, it cannot be removed.
(string) –
serviceNetworkVpcAssociationIdentifier (string) –
[REQUIRED]
The ID or Amazon Resource Name (ARN) of the association.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'createdBy': 'string', 'id': 'string', 'securityGroupIds': [ 'string', ], 'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'|'UPDATE_FAILED' }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the association.
createdBy (string) –
The account that created the association.
id (string) –
The ID of the association.
securityGroupIds (list) –
The IDs of the security groups.
(string) –
status (string) –
The status. You can retry the operation if the status is
DELETE_FAILED
. However, if you retry it while the status isDELETE_IN_PROGRESS
, there is no change in the status.
Exceptions
VPCLattice.Client.exceptions.ValidationException
VPCLattice.Client.exceptions.AccessDeniedException
VPCLattice.Client.exceptions.ThrottlingException
VPCLattice.Client.exceptions.ResourceNotFoundException
VPCLattice.Client.exceptions.ConflictException
VPCLattice.Client.exceptions.InternalServerException