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

    Creates a new resource or list of new resources from the low-level
    response based on the given response resource definition.

    :type search_path: string
    :param search_path: JMESPath expression to search in the response

    :type factory: ResourceFactory
    :param factory: The factory that created the resource class to which
                    this action is attached.

    :type resource_model: :py:class:`~boto3.resources.model.ResponseResource`
    :param resource_model: Response resource model.

    :type service_context: :py:class:`~boto3.utils.ServiceContext`
    :param service_context: Context about the AWS service

    :type operation_name: string
    :param operation_name: Name of the underlying service operation, if it
                           exists.

    :rtype: ServiceResource or list
    :return: New resource instance(s).
    
=== parse rest
short_description: |
  Creates a new resource or list of new resources from the low-level
  response based on the given response resource definition.
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: 'JMESPath expression to search in the response'
  kind: param
  key: 'param'
  arg_name: 'search_path'
  type_name: 'string'
  is_optional: False
- DocstringParam
  description: |
    The factory that created the resource class to which
    this action is attached.
  kind: param
  key: 'param'
  arg_name: 'factory'
  type_name: 'ResourceFactory'
  is_optional: False
- DocstringParam
  description: 'Response resource model.'
  kind: param
  key: 'param'
  arg_name: 'resource_model'
  type_name: ':py:class:`~boto3.resources.model.ResponseResource`'
  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
- DocstringParam
  description: |
    Name of the underlying service operation, if it
    exists.
  kind: param
  key: 'param'
  arg_name: 'operation_name'
  type_name: 'string'
  is_optional: False
- DocstringReturns
  description: 'New resource instance(s).'
  kind: returns
  key: 'return'
  type_name: 'ServiceResource or list'
  is_generator: False
=== detect
rest
=== compose rest
Creates a new resource or list of new resources from the low-level
response based on the given response resource definition.

:param string search_path: JMESPath expression to search in the response
:param ResourceFactory factory: The factory that created the resource class to which
    this action is attached.
:param resource_model: Response resource model.
:type resource_model: :py:class:`~boto3.resources.model.ResponseResource`
:param service_context: Context about the AWS service
:type service_context: :py:class:`~boto3.utils.ServiceContext`
:param string operation_name: Name of the underlying service operation, if it
    exists.
:return: New resource instance(s).
:rtype: ServiceResource or list
