code: def _resolve_api_id(self):
          '''
          returns an Api Id that matches the given api_name and the hardcoded _Swagger.AWS_API_DESCRIPTION
          as the api description
          '''
          apis = __salt__['boto_apigateway.describe_apis'](name=self.rest_api_name,
                                                           description=_Swagger.AWS_API_DESCRIPTION,
                                                           **self._common_aws_args).get('restapi')
          if apis:
              if len(apis) == 1:
                  self.restApiId = apis[0].get('id')
              else:
                  raise ValueError('Multiple APIs matching given name {0} and '
                                   'description {1}'.format(self.rest_api_name, self.info_json)f _resolve_api_id(self):
          '''
          returns an Api Id that matches the given api_name and the hardcoded _Swagger.AWS_API_DESCRIPTION
          as the api description
          '''
          apis = __salt__['boto_apigateway.describe_apis'](name=self.rest_api_name,
                                                           description=_Swagger.AWS_API_DESCRIPTION,
                                                           **self._common_aws_args).get('restapi')
          if apis:
              if len(apis) == 1:
                  self.restApiId = apis[0].get('id')
              else:
                  raise ValueError('Multiple APIs matching given name {0} and '
                                   'description {1}'.format(self.rest_api_name, self.info_json))
docs: returns an Api Id that matches the given api_name and the hardcoded _Swagger.AWS_API_DESCRIPTION
          as the api description