libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FMS.Types.Route

Description

 
Synopsis

Documentation

data Route Source #

Describes a route in a route table.

See: newRoute smart constructor.

Constructors

Route' 

Fields

Instances

Instances details
Eq Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Methods

(==) :: Route -> Route -> Bool #

(/=) :: Route -> Route -> Bool #

Read Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Show Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Methods

showsPrec :: Int -> Route -> ShowS #

show :: Route -> String #

showList :: [Route] -> ShowS #

Generic Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Associated Types

type Rep Route :: Type -> Type #

Methods

from :: Route -> Rep Route x #

to :: Rep Route x -> Route #

NFData Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Methods

rnf :: Route -> () #

Hashable Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

Methods

hashWithSalt :: Int -> Route -> Int #

hash :: Route -> Int #

FromJSON Route Source # 
Instance details

Defined in Amazonka.FMS.Types.Route

type Rep Route Source # 
Instance details

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)))))

newRoute :: Route Source #

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_destination :: Lens' Route (Maybe Text) Source #

The destination of the route.

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.

route_target :: Lens' Route (Maybe Text) Source #

The route's target.