:doc:`QuickSight <../../quicksight>` / Client / list_vpc_connections

********************
list_vpc_connections
********************



.. py:method:: QuickSight.Client.list_vpc_connections(**kwargs)

  

  Lists all of the VPC connections in the current set Amazon Web Services Region of an Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListVPCConnections>`_  


  **Request Syntax**
  ::

    response = client.list_vpc_connections(
        AwsAccountId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The Amazon Web Services account ID of the account that contains the VPC connections that you want to list.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of results, or null if there are no more results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned per request.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'VPCConnectionSummaries': [
              {
                  'VPCConnectionId': 'string',
                  'Arn': 'string',
                  'Name': 'string',
                  'VPCId': 'string',
                  'SecurityGroupIds': [
                      'string',
                  ],
                  'DnsResolvers': [
                      'string',
                  ],
                  'Status': 'CREATION_IN_PROGRESS'|'CREATION_SUCCESSFUL'|'CREATION_FAILED'|'UPDATE_IN_PROGRESS'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'DELETION_IN_PROGRESS'|'DELETION_FAILED'|'DELETED',
                  'AvailabilityStatus': 'AVAILABLE'|'UNAVAILABLE'|'PARTIALLY_AVAILABLE',
                  'NetworkInterfaces': [
                      {
                          'SubnetId': 'string',
                          'AvailabilityZone': 'string',
                          'ErrorMessage': 'string',
                          'Status': 'CREATING'|'AVAILABLE'|'CREATION_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DELETING'|'DELETED'|'DELETION_FAILED'|'DELETION_SCHEDULED'|'ATTACHMENT_FAILED_ROLLBACK_FAILED',
                          'NetworkInterfaceId': 'string'
                      },
                  ],
                  'RoleArn': 'string',
                  'CreatedTime': datetime(2015, 1, 1),
                  'LastUpdatedTime': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string',
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **VPCConnectionSummaries** *(list) --* 

        A ``VPCConnectionSummaries`` object that returns a summary of VPC connection objects.

        
        

        - *(dict) --* 

          The summary metadata that describes a VPC connection.

          
          

          - **VPCConnectionId** *(string) --* 

            The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.

            
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) of the VPC connection.

            
          

          - **Name** *(string) --* 

            The display name for the VPC connection.

            
          

          - **VPCId** *(string) --* 

            The Amazon EC2 VPC ID associated with the VPC connection.

            
          

          - **SecurityGroupIds** *(list) --* 

            The Amazon EC2 security group IDs associated with the VPC connection.

            
            

            - *(string) --* 
        
          

          - **DnsResolvers** *(list) --* 

            A list of IP addresses of DNS resolver endpoints for the VPC connection.

            
            

            - *(string) --* 
        
          

          - **Status** *(string) --* 

            The status of the VPC connection.

            
          

          - **AvailabilityStatus** *(string) --* 

            The availability status of the VPC connection.

            
          

          - **NetworkInterfaces** *(list) --* 

            A list of network interfaces.

            
            

            - *(dict) --* 

              The structure that contains information about a network interface.

              
              

              - **SubnetId** *(string) --* 

                The subnet ID associated with the network interface.

                
              

              - **AvailabilityZone** *(string) --* 

                The availability zone that the network interface resides in.

                
              

              - **ErrorMessage** *(string) --* 

                An error message.

                
              

              - **Status** *(string) --* 

                The status of the network interface.

                
              

              - **NetworkInterfaceId** *(string) --* 

                The network interface ID.

                
          
        
          

          - **RoleArn** *(string) --* 

            The ARN of the IAM role associated with the VPC connection.

            
          

          - **CreatedTime** *(datetime) --* 

            The time that the VPC connection was created.

            
          

          - **LastUpdatedTime** *(datetime) --* 

            The time that the VPC connection was last updated.

            
      
    
      

      - **NextToken** *(string) --* 

        The token for the next set of results, or null if there are no more results.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidNextTokenException`

  
  *   :py:class:`QuickSight.Client.exceptions.UnsupportedUserEditionException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  