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

        Load a name translation map given a shape. This will set
        up renamed values for any collisions, e.g. if the shape,
        an action, and a subresource all are all named ``foo``
        then the resource will have an action ``foo``, a subresource
        named ``Foo`` and a property named ``foo_attribute``.
        This is the order of precedence, from most important to
        least important:

        * Load action (resource.load)
        * Identifiers
        * Actions
        * Subresources
        * References
        * Collections
        * Waiters
        * Attributes (shape members)

        Batch actions are only exposed on collections, so do not
        get modified here. Subresources use upper camel casing, so
        are unlikely to collide with anything but other subresources.

        Creates a structure like this::

            renames = {
                ('action', 'id'): 'id_action',
                ('collection', 'id'): 'id_collection',
                ('attribute', 'id'): 'id_attribute'
            }

            # Get the final name for an action named 'id'
            name = renames.get(('action', 'id'), 'id')

        :type shape: botocore.model.Shape
        :param shape: The underlying shape for this resource.
        
=== parse rest
short_description: |
  Load a name translation map given a shape. This will set
  up renamed values for any collisions, e.g. if the shape,
  an action, and a subresource all are all named ``foo``
  then the resource will have an action ``foo``, a subresource
  named ``Foo`` and a property named ``foo_attribute``.
  This is the order of precedence, from most important to
  least important:
long_description: |
  * Load action (resource.load)
  * Identifiers
  * Actions
  * Subresources
  * References
  * Collections
  * Waiters
  * Attributes (shape members)
  
  Batch actions are only exposed on collections, so do not
  get modified here. Subresources use upper camel casing, so
  are unlikely to collide with anything but other subresources.
  
  Creates a structure like this::
  
      renames = {
          ('action', 'id'): 'id_action',
          ('collection', 'id'): 'id_collection',
          ('attribute', 'id'): 'id_attribute'
      }
  
      # Get the final name for an action named 'id'
      name = renames.get(('action', 'id'), 'id')
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'The underlying shape for this resource.'
  kind: param
  key: 'param'
  arg_name: 'shape'
  type_name: 'botocore.model.Shape'
  is_optional: False
=== detect
rest
=== compose rest
Load a name translation map given a shape. This will set
up renamed values for any collisions, e.g. if the shape,
an action, and a subresource all are all named ``foo``
then the resource will have an action ``foo``, a subresource
named ``Foo`` and a property named ``foo_attribute``.
This is the order of precedence, from most important to
least important:

* Load action (resource.load)
* Identifiers
* Actions
* Subresources
* References
* Collections
* Waiters
* Attributes (shape members)

Batch actions are only exposed on collections, so do not
get modified here. Subresources use upper camel casing, so
are unlikely to collide with anything but other subresources.

Creates a structure like this::

    renames = {
        ('action', 'id'): 'id_action',
        ('collection', 'id'): 'id_collection',
        ('attribute', 'id'): 'id_attribute'
    }

    # Get the final name for an action named 'id'
    name = renames.get(('action', 'id'), 'id')

:param botocore.model.Shape shape: The underlying shape for this resource.
