Protected
List the available gateways. Since only a single gateway can be created, the list will contain at most a single item.
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 importconst 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// },// },// ],// };
ListStaticIpEgressGatewaysCommandInput
ListStaticIpEgressGatewaysCommandOutput
input
response
config
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
NetworkingServiceException
Base exception class for all service exceptions from Networking service.
Readonly
Static
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.
Param
ListStaticIpEgressGatewaysCommandInput
Returns
ListStaticIpEgressGatewaysCommandOutput
See
input
shape.response
shape.config
shape.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.