VPCLattice / Client / get_access_log_subscription

get_access_log_subscription#

VPCLattice.Client.get_access_log_subscription(**kwargs)#

Retrieves information about the specified access log subscription.

See also: AWS API Documentation

Request Syntax

response = client.get_access_log_subscription(
    accessLogSubscriptionIdentifier='string'
)
Parameters:

accessLogSubscriptionIdentifier (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the access log subscription.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'destinationArn': 'string',
    'id': 'string',
    'lastUpdatedAt': datetime(2015, 1, 1),
    'resourceArn': 'string',
    'resourceId': 'string'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the access log subscription.

    • createdAt (datetime) –

      The date and time that the access log subscription was created, specified in ISO-8601 format.

    • destinationArn (string) –

      The Amazon Resource Name (ARN) of the access log destination.

    • id (string) –

      The ID of the access log subscription.

    • lastUpdatedAt (datetime) –

      The date and time that the access log subscription was last updated, specified in ISO-8601 format.

    • resourceArn (string) –

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

    • resourceId (string) –

      The ID of the service network or service.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.InternalServerException