code: async def updateWorkerType(self, *args, **kwargs):
          
  
          return await self._makeApiCall(self.funcinfo["updateWorkerType"], *args, **kwargs)
docs: Update Worker Type
  
          Provide a new copy of a worker type to replace the existing one.
          This will overwrite the existing worker type definition if there
          is already a worker type of that name.  This method will return a
          200 response along with a copy of the worker type definition created
          Note that if you are using the result of a GET on the worker-type
          end point that you will need to delete the lastModified and workerType
          keys from the object returned, since those fields are not allowed
          the request body for this method
  
          Otherwise, all input requirements and actions are the same as the
          create method.
  
          This method takes input: ``http://schemas.taskcluster.net/aws-provisioner/v1/create-worker-type-request.json#``
  
          This method gives output: ``http://schemas.taskcluster.net/aws-provisioner/v1/get-worker-type-response.json#``
  
          This method is ``stable``