pub unsafe extern "C" fn aws_imds_client_get_resource_async(
client: *mut aws_imds_client,
resource_path: aws_byte_cursor,
callback: aws_imds_client_on_get_resource_callback_fn,
user_data: *mut c_void
) -> c_intExpand description
Queries a generic resource (string) from the ec2 instance metadata document
@param client imds client to use for the query @param resource_path path of the resource to 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