libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
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.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Description

List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCustomRoutingPortMappingsByDestination Source #

Constructors

ListCustomRoutingPortMappingsByDestination' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. You receive this token from a previous call.

  • maxResults :: Maybe Natural

    The number of destination port mappings that you want to return with this call. The default value is 10.

  • endpointId :: Text

    The ID for the virtual private cloud (VPC) subnet.

  • destinationAddress :: Text

    The endpoint IP address in a virtual private cloud (VPC) subnet for which you want to receive back port mappings.

Instances

Instances details
Eq ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Read ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Show ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Generic ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

NFData ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Hashable ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

ToJSON ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

AWSPager ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

AWSRequest ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

ToHeaders ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

ToPath ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

ToQuery ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

type Rep ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

type Rep ListCustomRoutingPortMappingsByDestination = D1 ('MetaData "ListCustomRoutingPortMappingsByDestination" "Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "ListCustomRoutingPortMappingsByDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListCustomRoutingPortMappingsByDestination Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

newListCustomRoutingPortMappingsByDestination Source #

Create a value of ListCustomRoutingPortMappingsByDestination 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:ListCustomRoutingPortMappingsByDestination', listCustomRoutingPortMappingsByDestination_nextToken - The token for the next set of results. You receive this token from a previous call.

$sel:maxResults:ListCustomRoutingPortMappingsByDestination', listCustomRoutingPortMappingsByDestination_maxResults - The number of destination port mappings that you want to return with this call. The default value is 10.

$sel:endpointId:ListCustomRoutingPortMappingsByDestination', listCustomRoutingPortMappingsByDestination_endpointId - The ID for the virtual private cloud (VPC) subnet.

$sel:destinationAddress:ListCustomRoutingPortMappingsByDestination', listCustomRoutingPortMappingsByDestination_destinationAddress - The endpoint IP address in a virtual private cloud (VPC) subnet for which you want to receive back port mappings.

Request Lenses

listCustomRoutingPortMappingsByDestination_nextToken :: Lens' ListCustomRoutingPortMappingsByDestination (Maybe Text) Source #

The token for the next set of results. You receive this token from a previous call.

listCustomRoutingPortMappingsByDestination_maxResults :: Lens' ListCustomRoutingPortMappingsByDestination (Maybe Natural) Source #

The number of destination port mappings that you want to return with this call. The default value is 10.

listCustomRoutingPortMappingsByDestination_destinationAddress :: Lens' ListCustomRoutingPortMappingsByDestination Text Source #

The endpoint IP address in a virtual private cloud (VPC) subnet for which you want to receive back port mappings.

Destructuring the Response

data ListCustomRoutingPortMappingsByDestinationResponse Source #

Constructors

ListCustomRoutingPortMappingsByDestinationResponse' 

Fields

Instances

Instances details
Eq ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Read ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Show ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

Generic ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

NFData ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

type Rep ListCustomRoutingPortMappingsByDestinationResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination

type Rep ListCustomRoutingPortMappingsByDestinationResponse = D1 ('MetaData "ListCustomRoutingPortMappingsByDestinationResponse" "Amazonka.GlobalAccelerator.ListCustomRoutingPortMappingsByDestination" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "ListCustomRoutingPortMappingsByDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationPortMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DestinationPortMapping])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCustomRoutingPortMappingsByDestinationResponse Source #

Create a value of ListCustomRoutingPortMappingsByDestinationResponse 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:ListCustomRoutingPortMappingsByDestination', listCustomRoutingPortMappingsByDestinationResponse_nextToken - The token for the next set of results. You receive this token from a previous call.

$sel:destinationPortMappings:ListCustomRoutingPortMappingsByDestinationResponse', listCustomRoutingPortMappingsByDestinationResponse_destinationPortMappings - The port mappings for the endpoint IP address that you specified in the request.

$sel:httpStatus:ListCustomRoutingPortMappingsByDestinationResponse', listCustomRoutingPortMappingsByDestinationResponse_httpStatus - The response's http status code.

Response Lenses

listCustomRoutingPortMappingsByDestinationResponse_nextToken :: Lens' ListCustomRoutingPortMappingsByDestinationResponse (Maybe Text) Source #

The token for the next set of results. You receive this token from a previous call.