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

        Loads a resource from a model, creating a new
        :py:class:`~boto3.resources.base.ServiceResource` subclass
        with the correct properties and methods, named based on the service
        and resource name, e.g. EC2.Instance.

        :type resource_name: string
        :param resource_name: Name of the resource to look up. For services,
                              this should match the ``service_name``.

        :type single_resource_json_definition: dict
        :param single_resource_json_definition:
            The loaded json of a single service resource or resource
            definition.

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

        :rtype: Subclass of :py:class:`~boto3.resources.base.ServiceResource`
        :return: The service or resource class.
        
=== parse rest
short_description: |
  Loads a resource from a model, creating a new
  :py:class:`~boto3.resources.base.ServiceResource` subclass
  with the correct properties and methods, named based on the service
  and resource name, e.g. EC2.Instance.
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: |
    Name of the resource to look up. For services,
    this should match the ``service_name``.
  kind: param
  key: 'param'
  arg_name: 'resource_name'
  type_name: 'string'
  is_optional: False
- DocstringParam
  description: |
    The loaded json of a single service resource or resource
    definition.
  kind: param
  key: 'param'
  arg_name: 'single_resource_json_definition'
  type_name: 'dict'
  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
- DocstringReturns
  description: 'The service or resource class.'
  kind: returns
  key: 'return'
  type_name: 'Subclass of :py:class:`~boto3.resources.base.ServiceResource`'
  is_generator: False
=== detect
rest
=== compose rest
Loads a resource from a model, creating a new
:py:class:`~boto3.resources.base.ServiceResource` subclass
with the correct properties and methods, named based on the service
and resource name, e.g. EC2.Instance.

:param string resource_name: Name of the resource to look up. For services,
    this should match the ``service_name``.
:param dict single_resource_json_definition: The loaded json of a single service resource or resource
    definition.
:param service_context: Context about the AWS service
:type service_context: :py:class:`~boto3.utils.ServiceContext`
:return: The service or resource class.
:rtype: Subclass of :py:class:`~boto3.resources.base.ServiceResource`
