VPCLattice / Client / get_service_network

get_service_network#

VPCLattice.Client.get_service_network(**kwargs)#

Retrieves information about the specified service network.

See also: AWS API Documentation

Request Syntax

response = client.get_service_network(
    serviceNetworkIdentifier='string'
)
Parameters:

serviceNetworkIdentifier (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the service network.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'authType': 'NONE'|'AWS_IAM',
    'createdAt': datetime(2015, 1, 1),
    'id': 'string',
    'lastUpdatedAt': datetime(2015, 1, 1),
    'name': 'string',
    'numberOfAssociatedServices': 123,
    'numberOfAssociatedVPCs': 123
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the service network.

    • authType (string) –

      The type of IAM policy.

    • createdAt (datetime) –

      The date and time that the service network was created, specified in ISO-8601 format.

    • id (string) –

      The ID of the service network.

    • lastUpdatedAt (datetime) –

      The date and time of the last update, specified in ISO-8601 format.

    • name (string) –

      The name of the service network.

    • numberOfAssociatedServices (integer) –

      The number of services associated with the service network.

    • numberOfAssociatedVPCs (integer) –

      The number of VPCs associated with the service network.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.InternalServerException