def METHOD_NAME(self):
    """
    Creates an API and updates its DefinitionUri
    """
    self.create_and_verify_stack("single/basic_api")
    first_dep_ids = self.get_stack_deployment_ids()
    self.assertEqual(len(first_dep_ids), 1)
    self.set_template_resource_property("MyApi", "DefinitionUri", self.get_s3_uri("swagger2.json"))
    self.update_stack()
    second_dep_ids = self.get_stack_deployment_ids()
    self.assertEqual(len(second_dep_ids), 1)
    self.assertEqual(len(set(first_dep_ids).intersection(second_dep_ids)), 0)