concept course in category aws

appears as: course, course
AI as a Service: Serverless machine learning with AWS

This is an excerpt from Manning's book AI as a Service: Serverless machine learning with AWS.

Anyone engaged in the craft of software development, be it as a developer, DevOps specialist, manager, or senior technologist, understands that the rate of change in our industry is unlike any other. Imagine for a moment, if you will, other professions, such as doctors, dentists, lawyers, or civil engineers, having to update their knowledge base at the frenetic rate that the software industry does. If you’re finding it difficult to imagine, we agree with you!

function pollNote (noteId) {
  let count = 0
  itv = setInterval(() => {
    auth.session().then(session => {                                  #1
      $.ajax(API_ROOT + noteId, {                                     #2
        type: 'GET',
        headers: {
          Authorization: session.idToken.jwtToken
        },
        success: function (body) {
          if (body.transcribeStatus === 'COMPLETED') {
            clearInterval(itv)
            view.renderNote(body.results.transcripts[0].transcript)   #3
          } else if (body.transcribeStatus === 'FAILED') {
            clearInterval(itv)
            view.renderNote('FAILED')
          } else {
            count++
            ...
          }
        }
      })
    }).catch(err => view.renderError(err))
  }, 3000)
}