createRateLimitReference

Creates a reference to a rate limiter previously declared by a RateLimitProvider, alongside a discriminator which differentiates this component from others under the same group.

Each rate limit reference is unique, the uniqueness can be qualified as a composite primary key with both the group and discriminator.

Parameters

group

The name of the rate limiter declared by a RateLimitProvider

discriminator

Differentiates this component from others using the same group, must be unique within the group

Throws

If a reference already exists with the same group and discriminator