VPCLattice / Client / get_service_network_vpc_association
get_service_network_vpc_association#
- VPCLattice.Client.get_service_network_vpc_association(**kwargs)#
Retrieves information about the association between a service network and a VPC.
See also: AWS API Documentation
Request Syntax
response = client.get_service_network_vpc_association( serviceNetworkVpcAssociationIdentifier='string' )
- Parameters:
serviceNetworkVpcAssociationIdentifier (string) –
[REQUIRED]
The ID or Amazon Resource Name (ARN) of the association.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'failureCode': 'string', 'failureMessage': 'string', 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'securityGroupIds': [ 'string', ], 'serviceNetworkArn': 'string', 'serviceNetworkId': 'string', 'serviceNetworkName': 'string', 'status': 'CREATE_IN_PROGRESS'|'ACTIVE'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_FAILED'|'UPDATE_FAILED', 'vpcId': 'string' }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the association.
createdAt (datetime) –
The date and time that the association was created, specified in ISO-8601 format.
createdBy (string) –
The account that created the association.
failureCode (string) –
The failure code.
failureMessage (string) –
The failure message.
id (string) –
The ID of the specified association between the service network and the VPC.
lastUpdatedAt (datetime) –
The date and time that the association was last updated, specified in ISO-8601 format.
securityGroupIds (list) –
The IDs of the security groups.
(string) –
serviceNetworkArn (string) –
The Amazon Resource Name (ARN) of the service network.
serviceNetworkId (string) –
The ID of the service network.
serviceNetworkName (string) –
The name of the service network.
status (string) –
The status of the association.
vpcId (string) –
The ID of the VPC.
Exceptions
VPCLattice.Client.exceptions.ValidationException
VPCLattice.Client.exceptions.AccessDeniedException
VPCLattice.Client.exceptions.ThrottlingException
VPCLattice.Client.exceptions.ResourceNotFoundException
VPCLattice.Client.exceptions.InternalServerException