pub unsafe extern "C" fn aws_imds_client_get_instance_action(
client: *mut aws_imds_client,
callback: aws_imds_client_on_get_resource_callback_fn,
user_data: *mut c_void
) -> c_intExpand description
Gets the instance-action of the ec2 instance from the instance metadata document
@param client imds client to use for the query @param callback callback function to invoke on query success or failure @param user_data opaque data to invoke the completion callback with @return AWS_OP_SUCCESS if the query was successfully started, AWS_OP_ERR otherwise