:doc:`S3Control <../../s3control>` / Paginator / ListAccessPointsForDirectoryBuckets

***********************************
ListAccessPointsForDirectoryBuckets
***********************************



.. py:class:: S3Control.Paginator.ListAccessPointsForDirectoryBuckets

  ::

    
    paginator = client.get_paginator('list_access_points_for_directory_buckets')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`S3Control.Client.list_access_points_for_directory_buckets`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForDirectoryBuckets>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          AccountId='string',
          DirectoryBucket='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type AccountId: string
    :param AccountId: **[REQUIRED]** 

      The Amazon Web Services account ID that owns the access points.

      

    
    :type DirectoryBucket: string
    :param DirectoryBucket: 

      The name of the directory bucket associated with the access points you want to list.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

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

      
      ::

        {
            'AccessPointList': [
                {
                    'Name': 'string',
                    'NetworkOrigin': 'Internet'|'VPC',
                    'VpcConfiguration': {
                        'VpcId': 'string'
                    },
                    'Bucket': 'string',
                    'AccessPointArn': 'string',
                    'Alias': 'string',
                    'BucketAccountId': 'string',
                    'DataSourceId': 'string',
                    'DataSourceType': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **AccessPointList** *(list) --* 

          Contains identification and configuration information for one or more access points associated with the directory bucket.

          
          

          - *(dict) --* 

            An access point used to access a bucket.

            
            

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

              The name of this access point.

              
            

            - **NetworkOrigin** *(string) --* 

              Indicates whether this access point allows access from the public internet. If ``VpcConfiguration`` is specified for this access point, then ``NetworkOrigin`` is ``VPC``, and the access point doesn't allow access from the public internet. Otherwise, ``NetworkOrigin`` is ``Internet``, and the access point allows access from the public internet, subject to the access point and bucket access policies.

              
            

            - **VpcConfiguration** *(dict) --* 

              The virtual private cloud (VPC) configuration for this access point, if one exists.

               

              .. note::

                

                This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services services.

                

              
              

              - **VpcId** *(string) --* 

                If this field is specified, this access point will only allow connections from the specified VPC ID.

                
          
            

            - **Bucket** *(string) --* 

              The name of the bucket associated with this access point.

              
            

            - **AccessPointArn** *(string) --* 

              The ARN for the access point.

              
            

            - **Alias** *(string) --* 

              The name or alias of the access point.

              
            

            - **BucketAccountId** *(string) --* 

              The Amazon Web Services account ID associated with the S3 bucket associated with this access point.

              
            

            - **DataSourceId** *(string) --* 

              A unique identifier for the data source of the access point.

              
            

            - **DataSourceType** *(string) --* 

              The type of the data source that the access point is attached to.

              
        
      
    