parameters: (self, signing_name, region_name,
                            signature_version=None, **kwargs)
return_statement: return auth
docstring: Get an auth instance which can be used to sign a request
          using the given signature version.
  
          :type signing_name: string
          :param signing_name: Service signing name. This is usually the
                               same as the service name, but can differ. E.g.
                               ``emr`` vs. ``elasticmapreduce``.
  
          :type region_name: string
          :param region_name: Name of the service region, e.g. ``us-east-1``
  
          :type signature_version: string
          :param signature_version: Signature name like ``v4``.
  
          :rtype: :py:class:`~botocore.auth.BaseSigner`
          :return: Auth instance to sign a request.
docstring_summary: Get an auth instance which can be used to sign a request
          using the given signature version.
docstring_tokens: Get an auth instance which can be used to sign a request using the given signature version .
function: def get_auth_instance(self, signing_name, region_name,
                            signature_version=None, **kwargs):
          """
          Get an auth instance which can be used to sign a request
          using the given signature version.
  
          :type signing_name: string
          :param signing_name: Service signing name. This is usually the
                               same as the service name, but can differ. E.g.
                               ``emr`` vs. ``elasticmapreduce``.
  
          :type region_name: string
          :param region_name: Name of the service region, e.g. ``us-east-1``
  
          :type signature_version: string
          :param signature_version: Signature name like ``v4``.
  
          :rtype: :py:class:`~botocore.auth.BaseSigner`
          :return: Auth instance to sign a request.
          """
          if signature_version is None:
              signature_version = self._signature_version
  
          cls = botocore.auth.AUTH_TYPE_MAPS.get(signature_version)
          if cls is None:
              raise UnknownSignatureVersionError(
                  signature_version=signature_version)
          # If there's no credentials provided (i.e credentials is None),
          # then we'll pass a value of "None" over to the auth classes,
          # which already handle the cases where no credentials have
          # been provided.
          frozen_credentials = None
          if self._credentials is not None:
              frozen_credentials = self._credentials.get_frozen_credentials()
          kwargs['credentials'] = frozen_credentials
          if cls.REQUIRES_REGION:
              if self._region_name is None:
                  raise botocore.exceptions.NoRegionError()
              kwargs['region_name'] = region_name
              kwargs['service_name'] = signing_name
          auth = cls(**kwargs)
          return auth
function_tokens: def get_auth_instance ( self , signing_name , region_name , signature_version = None , * * kwargs ) : if signature_version is None : signature_version = self . _signature_version cls = botocore . auth . AUTH_TYPE_MAPS . get ( signature_version ) if cls is None : raise UnknownSignatureVersionError ( signature_version = signature_version ) # If there's no credentials provided (i.e credentials is None), # then we'll pass a value of "None" over to the auth classes, # which already handle the cases where no credentials have # been provided. frozen_credentials = None if self . _credentials is not None : frozen_credentials = self . _credentials . get_frozen_credentials ( ) kwargs [ 'credentials' ] = frozen_credentials if cls . REQUIRES_REGION : if self . _region_name is None : raise botocore . exceptions . NoRegionError ( ) kwargs [ 'region_name' ] = region_name kwargs [ 'service_name' ] = signing_name auth = cls ( * * kwargs ) return auth