def set_prod_version(self, version):
     update_prod_result = LAMBDA.update_alias(
         FunctionName=self.canary_function_name,
         Name="PROD",
         FunctionVersion=version,
     )
     self.stdout.write("PROD Alias updated to version: %s" %
                       update_prod_result["FunctionVersion"])
     return update_prod_result["FunctionVersion"]
 def set_canary_version(self, version):
     update_canary_result = LAMBDA.update_alias(
         FunctionName=self.canary_function_name,
         Name="CANARY",
         FunctionVersion=version,
     )
     self.log("CANARY Alias updated to version: %s" %
              update_canary_result["FunctionVersion"])
     return update_canary_result["FunctionVersion"]
	def set_prod_version(self, version):
		update_prod_result = LAMBDA.update_alias(
			FunctionName=self.canary_function_name,
			Name="PROD",
			FunctionVersion=version,
		)
		self.stdout.write(
			"PROD Alias updated to version: %s" % update_prod_result["FunctionVersion"]
		)
		return update_prod_result["FunctionVersion"]
	def set_canary_version(self, version):
		update_canary_result = LAMBDA.update_alias(
			FunctionName=self.canary_function_name,
			Name="CANARY",
			FunctionVersion=version,
		)
		self.log(
			"CANARY Alias updated to version: %s" % update_canary_result["FunctionVersion"]
		)
		return update_canary_result["FunctionVersion"]