libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.ListIpRoutes

Description

Lists the address blocks that you have added to a directory.

This operation returns paginated results.

Synopsis

Creating a Request

data ListIpRoutes Source #

See: newListIpRoutes smart constructor.

Constructors

ListIpRoutes' 

Fields

  • nextToken :: Maybe Text

    The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call.

  • limit :: Maybe Natural

    Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

  • directoryId :: Text

    Identifier (ID) of the directory for which you want to retrieve the IP addresses.

Instances

Instances details
Eq ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Read ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Show ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Generic ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Associated Types

type Rep ListIpRoutes :: Type -> Type #

NFData ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Methods

rnf :: ListIpRoutes -> () #

Hashable ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

ToJSON ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

AWSPager ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

AWSRequest ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Associated Types

type AWSResponse ListIpRoutes #

ToHeaders ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

ToPath ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

ToQuery ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

type Rep ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

type Rep ListIpRoutes = D1 ('MetaData "ListIpRoutes" "Amazonka.DirectoryService.ListIpRoutes" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListIpRoutes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListIpRoutes Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

newListIpRoutes Source #

Create a value of ListIpRoutes 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:nextToken:ListIpRoutes', listIpRoutes_nextToken - The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call.

$sel:limit:ListIpRoutes', listIpRoutes_limit - Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

$sel:directoryId:ListIpRoutes', listIpRoutes_directoryId - Identifier (ID) of the directory for which you want to retrieve the IP addresses.

Request Lenses

listIpRoutes_nextToken :: Lens' ListIpRoutes (Maybe Text) Source #

The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call.

listIpRoutes_limit :: Lens' ListIpRoutes (Maybe Natural) Source #

Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

listIpRoutes_directoryId :: Lens' ListIpRoutes Text Source #

Identifier (ID) of the directory for which you want to retrieve the IP addresses.

Destructuring the Response

data ListIpRoutesResponse Source #

See: newListIpRoutesResponse smart constructor.

Constructors

ListIpRoutesResponse' 

Fields

Instances

Instances details
Eq ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Read ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Show ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Generic ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Associated Types

type Rep ListIpRoutesResponse :: Type -> Type #

NFData ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

Methods

rnf :: ListIpRoutesResponse -> () #

type Rep ListIpRoutesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListIpRoutes

type Rep ListIpRoutesResponse = D1 ('MetaData "ListIpRoutesResponse" "Amazonka.DirectoryService.ListIpRoutes" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListIpRoutesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ipRoutesInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IpRouteInfo])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListIpRoutesResponse Source #

Create a value of ListIpRoutesResponse 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:ipRoutesInfo:ListIpRoutesResponse', listIpRoutesResponse_ipRoutesInfo - A list of IpRoutes.

$sel:nextToken:ListIpRoutes', listIpRoutesResponse_nextToken - If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.

$sel:httpStatus:ListIpRoutesResponse', listIpRoutesResponse_httpStatus - The response's http status code.

Response Lenses

listIpRoutesResponse_nextToken :: Lens' ListIpRoutesResponse (Maybe Text) Source #

If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.