# boto3 1.44.15 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

    A collection manager provides access to resource collection instances,
    which can be iterated and filtered. The manager exposes some
    convenience functions that are also found on resource collections,
    such as :py:meth:`~ResourceCollection.all` and
    :py:meth:`~ResourceCollection.filter`.

    Get all items::

        >>> for bucket in s3.buckets.all():
        ...     print(bucket.name)

    Get only some items via filtering::

        >>> for queue in sqs.queues.filter(QueueNamePrefix='AWS'):
        ...     print(queue.url)

    Get whole pages of items:

        >>> for page in s3.Bucket('boto3').objects.pages():
        ...     for obj in page:
        ...         print(obj.key)

    A collection manager is not iterable. You **must** call one of the
    methods that return a :py:class:`ResourceCollection` before trying
    to iterate, slice, or convert to a list.

    See the :ref:`guide_collections` guide for a high-level overview
    of collections, including when remote service requests are performed.

    :type collection_model: :py:class:`~boto3.resources.model.Collection`
    :param model: Collection model

    :type parent: :py:class:`~boto3.resources.base.ServiceResource`
    :param parent: The collection's parent resource

    :type factory: :py:class:`~boto3.resources.factory.ResourceFactory`
    :param factory: The resource factory to create new resources

    :type service_context: :py:class:`~boto3.utils.ServiceContext`
    :param service_context: Context about the AWS service
    
=== parse rest
short_description: |
  A collection manager provides access to resource collection instances,
  which can be iterated and filtered. The manager exposes some
  convenience functions that are also found on resource collections,
  such as :py:meth:`~ResourceCollection.all` and
  :py:meth:`~ResourceCollection.filter`.
long_description: |
  Get all items::
  
      >>> for bucket in s3.buckets.all():
      ...     print(bucket.name)
  
  Get only some items via filtering::
  
      >>> for queue in sqs.queues.filter(QueueNamePrefix='AWS'):
      ...     print(queue.url)
  
  Get whole pages of items:
  
      >>> for page in s3.Bucket('boto3').objects.pages():
      ...     for obj in page:
      ...         print(obj.key)
  
  A collection manager is not iterable. You **must** call one of the
  methods that return a :py:class:`ResourceCollection` before trying
  to iterate, slice, or convert to a list.
  
  See the :ref:`guide_collections` guide for a high-level overview
  of collections, including when remote service requests are performed.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  kind: param
  key: 'type'
  arg_name: 'collection_model'
  type_name: ':py:class:`~boto3.resources.model.Collection`'
  is_optional: False
- DocstringParam
  description: 'Collection model'
  kind: param
  key: 'param'
  arg_name: 'model'
  is_optional: False
- DocstringParam
  description: "The collection's parent resource"
  kind: param
  key: 'param'
  arg_name: 'parent'
  type_name: ':py:class:`~boto3.resources.base.ServiceResource`'
  is_optional: False
- DocstringParam
  description: 'The resource factory to create new resources'
  kind: param
  key: 'param'
  arg_name: 'factory'
  type_name: ':py:class:`~boto3.resources.factory.ResourceFactory`'
  is_optional: False
- DocstringParam
  description: 'Context about the AWS service'
  kind: param
  key: 'param'
  arg_name: 'service_context'
  type_name: ':py:class:`~boto3.utils.ServiceContext`'
  is_optional: False
=== detect
rest
=== compose rest
A collection manager provides access to resource collection instances,
which can be iterated and filtered. The manager exposes some
convenience functions that are also found on resource collections,
such as :py:meth:`~ResourceCollection.all` and
:py:meth:`~ResourceCollection.filter`.

Get all items::

    >>> for bucket in s3.buckets.all():
    ...     print(bucket.name)

Get only some items via filtering::

    >>> for queue in sqs.queues.filter(QueueNamePrefix='AWS'):
    ...     print(queue.url)

Get whole pages of items:

    >>> for page in s3.Bucket('boto3').objects.pages():
    ...     for obj in page:
    ...         print(obj.key)

A collection manager is not iterable. You **must** call one of the
methods that return a :py:class:`ResourceCollection` before trying
to iterate, slice, or convert to a list.

See the :ref:`guide_collections` guide for a high-level overview
of collections, including when remote service requests are performed.

:type collection_model: :py:class:`~boto3.resources.model.Collection`
:param model: Collection model
:param parent: The collection's parent resource
:type parent: :py:class:`~boto3.resources.base.ServiceResource`
:param factory: The resource factory to create new resources
:type factory: :py:class:`~boto3.resources.factory.ResourceFactory`
:param service_context: Context about the AWS service
:type service_context: :py:class:`~boto3.utils.ServiceContext`
