:doc:`Vault <index>` / Collection / failed_jobs

***********
failed_jobs
***********



.. py:attribute:: Glacier.Vault.failed_jobs

  A collection of Job resources.A Job Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.

  .. py:method:: all()

    Creates an iterable of all Job resources in the collection.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/ListJobs>`_    


    **Request Syntax**
    ::

      job_iterator = vault.failed_jobs.all()
      
      
    
    :rtype: list(:py:class:`glacier.Job`)
    :returns: A list of Job resources
    

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

    Creates an iterable of all Job resources in the collection filtered by kwargs passed to method. A Job collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/ListJobs>`_    


    **Request Syntax**
    ::

      job_iterator = vault.failed_jobs.filter(
          limit='string',
          marker='string',
          completed='string'
      )
      
    :type limit: string
    :param limit: 

      The maximum number of jobs to be returned. The default limit is 50. The number of jobs returned might be fewer than the specified limit, but the number of returned jobs never exceeds the limit.

      

    
    :type marker: string
    :param marker: 

      An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of results started in a previous List Jobs request.

      

    
    :type completed: string
    :param completed: 

      The state of the jobs to return. You can specify ``true`` or ``false``.

      

    
    
    :rtype: list(:py:class:`glacier.Job`)
    :returns: A list of Job resources
    

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

    Creates an iterable up to a specified amount of Job resources in the collection.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/ListJobs>`_    


    **Request Syntax**
    ::

      job_iterator = vault.failed_jobs.limit(
          count=123
      )
      
    :type count: integer
    :param count: The limit to the number of resources in the iterable.

    
    
    :rtype: list(:py:class:`glacier.Job`)
    :returns: A list of Job resources
    

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

    Creates an iterable of all Job resources in the collection, but limits the number of items returned by each service call by the specified amount.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/ListJobs>`_    


    **Request Syntax**
    ::

      job_iterator = vault.failed_jobs.page_size(
          count=123
      )
      
    :type count: integer
    :param count: The number of items returned by each service call

    
    
    :rtype: list(:py:class:`glacier.Job`)
    :returns: A list of Job resources
    