amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkManager.GetNetworkRoutes

Description

Gets the network routes of the specified global network.

Synopsis

Creating a Request

data GetNetworkRoutes Source #

See: newGetNetworkRoutes smart constructor.

Constructors

GetNetworkRoutes' 

Fields

Instances

Instances details
ToJSON GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

ToHeaders GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

ToPath GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

ToQuery GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

AWSRequest GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Associated Types

type AWSResponse GetNetworkRoutes #

Generic GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Associated Types

type Rep GetNetworkRoutes :: Type -> Type #

Read GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Show GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

NFData GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Methods

rnf :: GetNetworkRoutes -> () #

Eq GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Hashable GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

type AWSResponse GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

type Rep GetNetworkRoutes Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

type Rep GetNetworkRoutes = D1 ('MetaData "GetNetworkRoutes" "Amazonka.NetworkManager.GetNetworkRoutes" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "GetNetworkRoutes'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "destinationFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: S1 ('MetaSel ('Just "exactCidrMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "longestPrefixMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "prefixListIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "states") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RouteState]))))) :*: ((S1 ('MetaSel ('Just "subnetOfMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "supernetOfMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RouteType])) :*: (S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routeTableIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteTableIdentifier))))))

newGetNetworkRoutes Source #

Create a value of GetNetworkRoutes 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:destinationFilters:GetNetworkRoutes', getNetworkRoutes_destinationFilters - Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.

$sel:exactCidrMatches:GetNetworkRoutes', getNetworkRoutes_exactCidrMatches - An exact CIDR block.

$sel:longestPrefixMatches:GetNetworkRoutes', getNetworkRoutes_longestPrefixMatches - The most specific route that matches the traffic (longest prefix match).

$sel:prefixListIds:GetNetworkRoutes', getNetworkRoutes_prefixListIds - The IDs of the prefix lists.

$sel:states:GetNetworkRoutes', getNetworkRoutes_states - The route states.

$sel:subnetOfMatches:GetNetworkRoutes', getNetworkRoutes_subnetOfMatches - The routes with a subnet that match the specified CIDR filter.

$sel:supernetOfMatches:GetNetworkRoutes', getNetworkRoutes_supernetOfMatches - The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.

$sel:types:GetNetworkRoutes', getNetworkRoutes_types - The route types.

GetNetworkRoutes, getNetworkRoutes_globalNetworkId - The ID of the global network.

$sel:routeTableIdentifier:GetNetworkRoutes', getNetworkRoutes_routeTableIdentifier - The ID of the route table.

Request Lenses

getNetworkRoutes_destinationFilters :: Lens' GetNetworkRoutes (Maybe (HashMap Text [Text])) Source #

Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.

getNetworkRoutes_longestPrefixMatches :: Lens' GetNetworkRoutes (Maybe [Text]) Source #

The most specific route that matches the traffic (longest prefix match).

getNetworkRoutes_subnetOfMatches :: Lens' GetNetworkRoutes (Maybe [Text]) Source #

The routes with a subnet that match the specified CIDR filter.

getNetworkRoutes_supernetOfMatches :: Lens' GetNetworkRoutes (Maybe [Text]) Source #

The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.

Destructuring the Response

data GetNetworkRoutesResponse Source #

See: newGetNetworkRoutesResponse smart constructor.

Constructors

GetNetworkRoutesResponse' 

Fields

Instances

Instances details
Generic GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Associated Types

type Rep GetNetworkRoutesResponse :: Type -> Type #

Read GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Show GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

NFData GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

Eq GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

type Rep GetNetworkRoutesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkRoutes

type Rep GetNetworkRoutesResponse = D1 ('MetaData "GetNetworkRoutesResponse" "Amazonka.NetworkManager.GetNetworkRoutes" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "GetNetworkRoutesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "coreNetworkSegmentEdge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoreNetworkSegmentEdgeIdentifier)) :*: (S1 ('MetaSel ('Just "networkRoutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkRoute])) :*: S1 ('MetaSel ('Just "routeTableArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "routeTableTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "routeTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteTableType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses