MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / delete_function

Method delete_function

tests/runtime_tests.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void delete_function(Aws::String const& function_name, bool assert = true)
125 {
126 Model::DeleteFunctionRequest delete_function_request;
127 delete_function_request.SetFunctionName(function_name);
128 auto outcome = m_lambda_client.DeleteFunction(delete_function_request);
129 if (assert) {
130 ASSERT_TRUE(outcome.IsSuccess()) << "Failed to delete function " << function_name;
131 }
132 }
133};
134
135TEST_F(LambdaRuntimeTest, echo_success)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected