amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DescribeClientVpnRoutes

Description

Describes the routes for the specified Client VPN endpoint.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeClientVpnRoutes Source #

See: newDescribeClientVpnRoutes smart constructor.

Constructors

DescribeClientVpnRoutes' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • filters :: Maybe [Filter]

    One or more filters. Filter names and values are case-sensitive.

    • destination-cidr - The CIDR of the route destination.
    • origin - How the route was associated with the Client VPN endpoint (associate | add-route).
    • target-subnet - The ID of the subnet through which traffic is routed.
  • maxResults :: Maybe Natural

    The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

  • nextToken :: Maybe Text

    The token to retrieve the next page of results.

  • clientVpnEndpointId :: Text

    The ID of the Client VPN endpoint.

Instances

Instances details
ToHeaders DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

ToPath DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

ToQuery DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

AWSPager DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

AWSRequest DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Generic DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Associated Types

type Rep DescribeClientVpnRoutes :: Type -> Type #

Read DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Show DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

NFData DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Methods

rnf :: DescribeClientVpnRoutes -> () #

Eq DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Hashable DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

type AWSResponse DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

type Rep DescribeClientVpnRoutes Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

type Rep DescribeClientVpnRoutes = D1 ('MetaData "DescribeClientVpnRoutes" "Amazonka.EC2.DescribeClientVpnRoutes" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeClientVpnRoutes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientVpnEndpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDescribeClientVpnRoutes Source #

Create a value of DescribeClientVpnRoutes 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:dryRun:DescribeClientVpnRoutes', describeClientVpnRoutes_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:filters:DescribeClientVpnRoutes', describeClientVpnRoutes_filters - One or more filters. Filter names and values are case-sensitive.

  • destination-cidr - The CIDR of the route destination.
  • origin - How the route was associated with the Client VPN endpoint (associate | add-route).
  • target-subnet - The ID of the subnet through which traffic is routed.

$sel:maxResults:DescribeClientVpnRoutes', describeClientVpnRoutes_maxResults - The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

DescribeClientVpnRoutes, describeClientVpnRoutes_nextToken - The token to retrieve the next page of results.

DescribeClientVpnRoutes, describeClientVpnRoutes_clientVpnEndpointId - The ID of the Client VPN endpoint.

Request Lenses

describeClientVpnRoutes_dryRun :: Lens' DescribeClientVpnRoutes (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeClientVpnRoutes_filters :: Lens' DescribeClientVpnRoutes (Maybe [Filter]) Source #

One or more filters. Filter names and values are case-sensitive.

  • destination-cidr - The CIDR of the route destination.
  • origin - How the route was associated with the Client VPN endpoint (associate | add-route).
  • target-subnet - The ID of the subnet through which traffic is routed.

describeClientVpnRoutes_maxResults :: Lens' DescribeClientVpnRoutes (Maybe Natural) Source #

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

describeClientVpnRoutes_nextToken :: Lens' DescribeClientVpnRoutes (Maybe Text) Source #

The token to retrieve the next page of results.

Destructuring the Response

data DescribeClientVpnRoutesResponse Source #

See: newDescribeClientVpnRoutesResponse smart constructor.

Constructors

DescribeClientVpnRoutesResponse' 

Fields

Instances

Instances details
Generic DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Associated Types

type Rep DescribeClientVpnRoutesResponse :: Type -> Type #

Read DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Show DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

NFData DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

Eq DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

type Rep DescribeClientVpnRoutesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeClientVpnRoutes

type Rep DescribeClientVpnRoutesResponse = D1 ('MetaData "DescribeClientVpnRoutesResponse" "Amazonka.EC2.DescribeClientVpnRoutes" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeClientVpnRoutesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClientVpnRoute])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeClientVpnRoutesResponse Source #

Create a value of DescribeClientVpnRoutesResponse 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:

DescribeClientVpnRoutes, describeClientVpnRoutesResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

DescribeClientVpnRoutesResponse, describeClientVpnRoutesResponse_routes - Information about the Client VPN endpoint routes.

$sel:httpStatus:DescribeClientVpnRoutesResponse', describeClientVpnRoutesResponse_httpStatus - The response's http status code.

Response Lenses

describeClientVpnRoutesResponse_nextToken :: Lens' DescribeClientVpnRoutesResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.