code: def flush_api_stage_cache(restApiId, stageName, region=None, key=None, keyid=None, profile=None):
      '''
      Flushes cache for the stage identified by stageName from API identified by restApiId
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.flush_api_stage_cache restApiId stageName
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          conn.flush_stage_cache(restApiId=restApiId, stageName=stageName)
          return {'flushed': True}
      except ClientError as e:
          return {'flushed': False, 'error': __utils__['boto3.get_error'](e)f flush_api_stage_cache(restApiId, stageName, region=None, key=None, keyid=None, profile=None):
      '''
      Flushes cache for the stage identified by stageName from API identified by restApiId
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.flush_api_stage_cache restApiId stageName
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          conn.flush_stage_cache(restApiId=restApiId, stageName=stageName)
          return {'flushed': True}
      except ClientError as e:
          return {'flushed': False, 'error': __utils__['boto3.get_error'](e)}
docs: Flushes cache for the stage identified by stageName from API identified by restApiId
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.flush_api_stage_cache restApiId stageName