EC2 / Paginator / DescribeVerifiedAccessInstanceLoggingConfigurations

DescribeVerifiedAccessInstanceLoggingConfigurations#

class EC2.Paginator.DescribeVerifiedAccessInstanceLoggingConfigurations#
paginator = client.get_paginator('describe_verified_access_instance_logging_configurations')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from EC2.Client.describe_verified_access_instance_logging_configurations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    VerifiedAccessInstanceIds=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    DryRun=True|False,
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • VerifiedAccessInstanceIds (list) –

    The IDs of the Verified Access instances.

    • (string) –

  • Filters (list) –

    One or more filters. Filter names and values are case-sensitive.

    • (dict) –

      A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

      If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

      For more information, see List and filter using the CLI and API in the Amazon EC2 User Guide.

      • Name (string) –

        The name of the filter. Filter names are case-sensitive.

      • Values (list) –

        The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

        • (string) –

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'LoggingConfigurations': [
        {
            'VerifiedAccessInstanceId': 'string',
            'AccessLogs': {
                'S3': {
                    'Enabled': True|False,
                    'DeliveryStatus': {
                        'Code': 'success'|'failed',
                        'Message': 'string'
                    },
                    'BucketName': 'string',
                    'Prefix': 'string',
                    'BucketOwner': 'string'
                },
                'CloudWatchLogs': {
                    'Enabled': True|False,
                    'DeliveryStatus': {
                        'Code': 'success'|'failed',
                        'Message': 'string'
                    },
                    'LogGroup': 'string'
                },
                'KinesisDataFirehose': {
                    'Enabled': True|False,
                    'DeliveryStatus': {
                        'Code': 'success'|'failed',
                        'Message': 'string'
                    },
                    'DeliveryStream': 'string'
                },
                'LogVersion': 'string',
                'IncludeTrustContext': True|False
            }
        },
    ],

}

Response Structure

  • (dict) –

    • LoggingConfigurations (list) –

      The logging configuration for the Verified Access instances.

      • (dict) –

        Describes logging options for an Amazon Web Services Verified Access instance.

        • VerifiedAccessInstanceId (string) –

          The ID of the Amazon Web Services Verified Access instance.

        • AccessLogs (dict) –

          Details about the logging options.

          • S3 (dict) –

            Amazon S3 logging options.

            • Enabled (boolean) –

              Indicates whether logging is enabled.

            • DeliveryStatus (dict) –

              The delivery status.

              • Code (string) –

                The status code.

              • Message (string) –

                The status message.

            • BucketName (string) –

              The bucket name.

            • Prefix (string) –

              The bucket prefix.

            • BucketOwner (string) –

              The Amazon Web Services account number that owns the bucket.

          • CloudWatchLogs (dict) –

            CloudWatch Logs logging destination.

            • Enabled (boolean) –

              Indicates whether logging is enabled.

            • DeliveryStatus (dict) –

              The delivery status for access logs.

              • Code (string) –

                The status code.

              • Message (string) –

                The status message.

            • LogGroup (string) –

              The ID of the CloudWatch Logs log group.

          • KinesisDataFirehose (dict) –

            Kinesis logging destination.

            • Enabled (boolean) –

              Indicates whether logging is enabled.

            • DeliveryStatus (dict) –

              The delivery status.

              • Code (string) –

                The status code.

              • Message (string) –

                The status message.

            • DeliveryStream (string) –

              The ID of the delivery stream.

          • LogVersion (string) –

            The log version.

          • IncludeTrustContext (boolean) –

            Indicates whether trust data is included in the logs.