pub unsafe extern "C" fn aws_credentials_new(
    allocator: *mut aws_allocator,
    access_key_id_cursor: aws_byte_cursor,
    secret_access_key_cursor: aws_byte_cursor,
    session_token_cursor: aws_byte_cursor,
    expiration_timepoint_seconds: u64
) -> *mut aws_credentials
Expand description

Creates a new set of aws credentials

@param allocator memory allocator to use @param access_key_id_cursor value for the aws access key id field @param secret_access_key_cursor value for the secret access key field @param session_token_cursor (optional) security token associated with the credentials @param expiration_timepoint_seconds timepoint, in seconds since epoch, that the credentials will no longer be valid past. For credentials that do not expire, use UINT64_MAX

@return a valid credentials object, or NULL