VPCLattice / Client / list_access_log_subscriptions

list_access_log_subscriptions#

VPCLattice.Client.list_access_log_subscriptions(**kwargs)#

Lists all access log subscriptions for the specified service network or service.

See also: AWS API Documentation

Request Syntax

response = client.list_access_log_subscriptions(
    maxResults=123,
    nextToken='string',
    resourceIdentifier='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to return.

  • nextToken (string) – A pagination token for the next page of results.

  • resourceIdentifier (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • items (list) –

      The access log subscriptions.

      • (dict) –

        Summary information about an access log subscription.

        • 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 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 or service network.

        • resourceId (string) –

          The ID of the service or service network.

    • nextToken (string) –

      A pagination token for the next page of results.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.InternalServerException