Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data RoutingStrategy Source #
The routing configuration for a fleet alias.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
See: newRoutingStrategy
smart constructor.
RoutingStrategy' | |
|
Instances
newRoutingStrategy :: RoutingStrategy Source #
Create a value of RoutingStrategy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':RoutingStrategy'
, routingStrategy_type
- The type of routing strategy for the alias.
Possible routing types include the following:
- SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
- TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
$sel:message:RoutingStrategy'
, routingStrategy_message
- The message text to be used with a terminal routing strategy.
$sel:fleetId:RoutingStrategy'
, routingStrategy_fleetId
- A unique identifier for the fleet that the alias points to. This value
is the fleet ID, not the fleet ARN.
routingStrategy_type :: Lens' RoutingStrategy (Maybe RoutingStrategyType) Source #
The type of routing strategy for the alias.
Possible routing types include the following:
- SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
- TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
routingStrategy_message :: Lens' RoutingStrategy (Maybe Text) Source #
The message text to be used with a terminal routing strategy.
routingStrategy_fleetId :: Lens' RoutingStrategy (Maybe Text) Source #
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.