Condition
A condition that determines when a gateway rule applies. Conditions can match on principals, request paths, or the requested model.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- matchModels
-
A condition that matches on the model requested in an inference request.
Type: MatchModels object
Required: No
- matchPaths
-
A condition that matches on the request path.
Type: MatchPaths object
Required: No
- matchPrincipals
-
A condition that matches on the identity of the caller making the request.
Type: MatchPrincipals object
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: