parameters: (factory_self, resource_name, snake_cased,
                               action_model, collection_model, service_model,
                               event_emitter)
return_statement: return batch_action
docstring: Creates a new method which makes a batch operation request
          to the underlying service API.
docstring_summary: Creates a new method which makes a batch operation request
          to the underlying service API.
docstring_tokens: Creates a new method which makes a batch operation request to the underlying service API .
function: def _create_batch_action(factory_self, resource_name, snake_cased,
                               action_model, collection_model, service_model,
                               event_emitter):
          """
          Creates a new method which makes a batch operation request
          to the underlying service API.
          """
          action = BatchAction(action_model)
  
          def batch_action(self, *args, **kwargs):
              return action(self, *args, **kwargs)
  
          batch_action.__name__ = str(snake_cased)
          batch_action.__doc__ = docstring.BatchActionDocstring(
              resource_name=resource_name,
              event_emitter=event_emitter,
              batch_action_model=action_model,
              service_model=service_model,
              collection_model=collection_model,
              include_signature=False
          )
          return batch_action
function_tokens: def _create_batch_action ( factory_self , resource_name , snake_cased , action_model , collection_model , service_model , event_emitter ) : action = BatchAction ( action_model ) def batch_action ( self , * args , * * kwargs ) : return action ( self , * args , * * kwargs ) batch_action . __name__ = str ( snake_cased ) batch_action . __doc__ = docstring . BatchActionDocstring ( resource_name = resource_name , event_emitter = event_emitter , batch_action_model = action_model , service_model = service_model , collection_model = collection_model , include_signature = False ) return batch_action