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 |
Synopsis
- data Route = Route' {}
- newRoute :: Route
- route_destination :: Lens' Route (Maybe Text)
- route_targetType :: Lens' Route (Maybe TargetType)
- route_destinationType :: Lens' Route (Maybe DestinationType)
- route_target :: Lens' Route (Maybe Text)
Documentation
Describes a route in a route table.
See: newRoute
smart constructor.
Route' | |
|
Instances
Eq Route Source # | |
Read Route Source # | |
Show Route Source # | |
Generic Route Source # | |
NFData Route Source # | |
Defined in Amazonka.FMS.Types.Route | |
Hashable Route Source # | |
Defined in Amazonka.FMS.Types.Route | |
FromJSON Route Source # | |
type Rep Route Source # | |
Defined in Amazonka.FMS.Types.Route type Rep Route = D1 ('MetaData "Route" "Amazonka.FMS.Types.Route" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "Route'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetType))) :*: (S1 ('MetaSel ('Just "destinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationType)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of Route
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:destination:Route'
, route_destination
- The destination of the route.
$sel:targetType:Route'
, route_targetType
- The type of target for the route.
$sel:destinationType:Route'
, route_destinationType
- The type of destination for the route.
$sel:target:Route'
, route_target
- The route's target.
route_targetType :: Lens' Route (Maybe TargetType) Source #
The type of target for the route.
route_destinationType :: Lens' Route (Maybe DestinationType) Source #
The type of destination for the route.