code: def describe_api_models(restApiId, region=None, key=None, keyid=None, profile=None):
      '''
      Get all models for a given API
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_models restApiId
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          models = _multi_call(conn.get_models, 'items', restApiId=restApiId)
          return {'models': [_convert_datetime_str(model) for model in models]}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)f describe_api_models(restApiId, region=None, key=None, keyid=None, profile=None):
      '''
      Get all models for a given API
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_models restApiId
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          models = _multi_call(conn.get_models, 'items', restApiId=restApiId)
          return {'models': [_convert_datetime_str(model) for model in models]}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)}
docs: Get all models for a given API
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_models restApiId