Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListResolverEndpointIpAddressesCommandProtected

Gets the IP addresses for a specified Resolver endpoint.

Example

Use a bare-bones client and the command you need to make an API call.

import { Route53ResolverClient, ListResolverEndpointIpAddressesCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, ListResolverEndpointIpAddressesCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const input = { // ListResolverEndpointIpAddressesRequest
ResolverEndpointId: "STRING_VALUE", // required
MaxResults: Number("int"),
NextToken: "STRING_VALUE",
};
const command = new ListResolverEndpointIpAddressesCommand(input);
const response = await client.send(command);
// { // ListResolverEndpointIpAddressesResponse
// NextToken: "STRING_VALUE",
// MaxResults: Number("int"),
// IpAddresses: [ // IpAddressesResponse
// { // IpAddressResponse
// IpId: "STRING_VALUE",
// SubnetId: "STRING_VALUE",
// Ip: "STRING_VALUE",
// Ipv6: "STRING_VALUE",
// Status: "CREATING" || "FAILED_CREATION" || "ATTACHING" || "ATTACHED" || "REMAP_DETACHING" || "REMAP_ATTACHING" || "DETACHING" || "FAILED_RESOURCE_GONE" || "DELETING" || "DELETE_FAILED_FAS_EXPIRED" || "UPDATING",
// StatusMessage: "STRING_VALUE",
// CreationTime: "STRING_VALUE",
// ModificationTime: "STRING_VALUE",
// },
// ],
// };

Param

ListResolverEndpointIpAddressesCommandInput

Returns

ListResolverEndpointIpAddressesCommandOutput

See

Throws

InternalServiceErrorException (client fault)

We encountered an unknown error. Try again in a few minutes.

Throws

InvalidNextTokenException (client fault)

The value that you specified for NextToken in a List request isn't valid.

Throws

InvalidParameterException (client fault)

One or more parameters in this request are not valid.

Throws

ResourceNotFoundException (client fault)

The specified resource doesn't exist.

Throws

ThrottlingException (client fault)

The request was throttled. Try again in a few minutes.

Throws

Route53ResolverServiceException

Base exception class for all service exceptions from Route53Resolver service.

Hierarchy

Constructors

Properties

Methods