Class ListStaticIpEgressGatewaysCommandProtected

List the available gateways. Since only a single gateway can be created, the list will contain at most a single item.

Example

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

import { NetworkingClient, ListStaticIpEgressGatewaysCommand } from "@stedi/sdk-client-networking"; // ES Modules import
// const { NetworkingClient, ListStaticIpEgressGatewaysCommand } = require("@stedi/sdk-client-networking"); // CommonJS import
const client = new NetworkingClient(config);
const input = { // ListStaticIpEgressGatewaysInput
pageSize: Number("int"),
pageToken: "STRING_VALUE",
};
const command = new ListStaticIpEgressGatewaysCommand(input);
const response = await client.send(command);
// { // ListStaticIpEgressGatewaysOutput
// nextPageToken: "STRING_VALUE",
// items: [ // StaticIpEgressGatewayItems
// { // StaticIpEgressGatewayItem
// gatewayName: "STRING_VALUE", // required
// resourceDetail: { // ListResourcesDetail
// status: "AVAILABLE" || "UNDER_CHANGE" || "CHANGE_FAILED" || "ERROR" || "CREATE_FAILED", // required
// statusMessage: "STRING_VALUE",
// createdAt: new Date("TIMESTAMP"), // required
// },
// },
// ],
// };

Param

ListStaticIpEgressGatewaysCommandInput

Returns

ListStaticIpEgressGatewaysCommandOutput

See

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

NetworkingServiceException

Base exception class for all service exceptions from Networking service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions