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.ListCustomRoutingPortMappings

Description

Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.

If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.

The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCustomRoutingPortMappings Source #

See: newListCustomRoutingPortMappings smart constructor.

Constructors

ListCustomRoutingPortMappings' 

Fields

  • endpointGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.

  • 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.

  • acceleratorArn :: Text

    The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.

Instances

Instances details
Eq ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Read ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Show ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Generic ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Associated Types

type Rep ListCustomRoutingPortMappings :: Type -> Type #

NFData ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Hashable ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

ToJSON ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

AWSPager ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

AWSRequest ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

ToHeaders ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

ToPath ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

ToQuery ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

type Rep ListCustomRoutingPortMappings Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

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

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

newListCustomRoutingPortMappings Source #

Create a value of ListCustomRoutingPortMappings 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:endpointGroupArn:ListCustomRoutingPortMappings', listCustomRoutingPortMappings_endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.

$sel:nextToken:ListCustomRoutingPortMappings', listCustomRoutingPortMappings_nextToken - The token for the next set of results. You receive this token from a previous call.

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

$sel:acceleratorArn:ListCustomRoutingPortMappings', listCustomRoutingPortMappings_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.

Request Lenses

listCustomRoutingPortMappings_endpointGroupArn :: Lens' ListCustomRoutingPortMappings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.

listCustomRoutingPortMappings_nextToken :: Lens' ListCustomRoutingPortMappings (Maybe Text) Source #

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

listCustomRoutingPortMappings_maxResults :: Lens' ListCustomRoutingPortMappings (Maybe Natural) Source #

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

listCustomRoutingPortMappings_acceleratorArn :: Lens' ListCustomRoutingPortMappings Text Source #

The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.

Destructuring the Response

data ListCustomRoutingPortMappingsResponse Source #

Constructors

ListCustomRoutingPortMappingsResponse' 

Fields

Instances

Instances details
Eq ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Read ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Show ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

Generic ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

NFData ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

type Rep ListCustomRoutingPortMappingsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListCustomRoutingPortMappings

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

newListCustomRoutingPortMappingsResponse Source #

Create a value of ListCustomRoutingPortMappingsResponse 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:portMappings:ListCustomRoutingPortMappingsResponse', listCustomRoutingPortMappingsResponse_portMappings - The port mappings for a custom routing accelerator.

$sel:nextToken:ListCustomRoutingPortMappings', listCustomRoutingPortMappingsResponse_nextToken - The token for the next set of results. You receive this token from a previous call.

$sel:httpStatus:ListCustomRoutingPortMappingsResponse', listCustomRoutingPortMappingsResponse_httpStatus - The response's http status code.

Response Lenses

listCustomRoutingPortMappingsResponse_nextToken :: Lens' ListCustomRoutingPortMappingsResponse (Maybe Text) Source #

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