:doc:`CloudFront <../../cloudfront>` / Client / list_connection_groups

**********************
list_connection_groups
**********************



.. py:method:: CloudFront.Client.list_connection_groups(**kwargs)

  

  Lists the connection groups in your Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConnectionGroups>`_  


  **Request Syntax**
  ::

    response = client.list_connection_groups(
        AssociationFilter={
            'AnycastIpListId': 'string'
        },
        Marker='string',
        MaxItems=123
    )
    
  :type AssociationFilter: dict
  :param AssociationFilter: 

    Filter by associated Anycast IP list ID.

    

  
    - **AnycastIpListId** *(string) --* 

      The ID of the Anycast static IP list.

      

    
  
  :type Marker: string
  :param Marker: 

    The marker for the next set of connection groups to retrieve.

    

  
  :type MaxItems: integer
  :param MaxItems: 

    The maximum number of connection groups to return.

    

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

    
    ::

      {
          'NextMarker': 'string',
          'ConnectionGroups': [
              {
                  'Id': 'string',
                  'Name': 'string',
                  'Arn': 'string',
                  'RoutingEndpoint': 'string',
                  'CreatedTime': datetime(2015, 1, 1),
                  'LastModifiedTime': datetime(2015, 1, 1),
                  'ETag': 'string',
                  'AnycastIpListId': 'string',
                  'Enabled': True|False,
                  'Status': 'string',
                  'IsDefault': True|False
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextMarker** *(string) --* 

        A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.

        
      

      - **ConnectionGroups** *(list) --* 

        The list of connection groups that you retrieved.

        
        

        - *(dict) --* 

          A summary that contains details about your connection groups.

          
          

          - **Id** *(string) --* 

            The ID of the connection group.

            
          

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

            The name of the connection group.

            
          

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

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

            
          

          - **RoutingEndpoint** *(string) --* 

            The routing endpoint (also known as the DNS name) that is assigned to the connection group, such as d111111abcdef8.cloudfront.net.

            
          

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

            The date and time when the connection group was created.

            
          

          - **LastModifiedTime** *(datetime) --* 

            The date and time when the connection group was updated.

            
          

          - **ETag** *(string) --* 

            The current version of the connection group.

            
          

          - **AnycastIpListId** *(string) --* 

            The ID of the Anycast static IP list.

            
          

          - **Enabled** *(boolean) --* 

            Whether the connection group is enabled

            
          

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

            The status of the connection group.

            
          

          - **IsDefault** *(boolean) --* 

            Whether the connection group is the default connection group for the distribution tenants.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`CloudFront.Client.exceptions.AccessDenied`

  
  *   :py:class:`CloudFront.Client.exceptions.EntityNotFound`

  
  *   :py:class:`CloudFront.Client.exceptions.InvalidArgument`

  