| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FMS.Types.Route
Description
Synopsis
- data Route = Route' {}
- newRoute :: Route
- route_destination :: Lens' Route (Maybe Text)
- route_destinationType :: Lens' Route (Maybe DestinationType)
- route_target :: Lens' Route (Maybe Text)
- route_targetType :: Lens' Route (Maybe TargetType)
Documentation
Describes a route in a route table.
See: newRoute smart constructor.
Constructors
| Route' | |
Fields
| |
Instances
| FromJSON Route Source # | |
| Generic Route Source # | |
| Read Route Source # | |
| Show Route Source # | |
| NFData Route Source # | |
Defined in Amazonka.FMS.Types.Route | |
| Eq Route Source # | |
| Hashable Route Source # | |
Defined in Amazonka.FMS.Types.Route | |
| type Rep Route Source # | |
Defined in Amazonka.FMS.Types.Route type Rep Route = D1 ('MetaData "Route" "Amazonka.FMS.Types.Route" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "Route'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationType))) :*: (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetType))))) | |
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:destinationType:Route', route_destinationType - The type of destination for the route.
$sel:target:Route', route_target - The route's target.
$sel:targetType:Route', route_targetType - The type of target for the route.
route_destinationType :: Lens' Route (Maybe DestinationType) Source #
The type of destination for the route.
route_targetType :: Lens' Route (Maybe TargetType) Source #
The type of target for the route.