Class DescribeStaticIpEgressGatewayCommandProtected

Describe an existing static IP address gateway. This operation allows you to discover the public IP address of the gateway, which is going to be the source IP address seen by the destinations with which this gateway is used.

Example

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

import { NetworkingClient, DescribeStaticIpEgressGatewayCommand } from "@stedi/sdk-client-networking"; // ES Modules import
// const { NetworkingClient, DescribeStaticIpEgressGatewayCommand } = require("@stedi/sdk-client-networking"); // CommonJS import
const client = new NetworkingClient(config);
const input = { // DescribeStaticIpEgressGatewayInput
gatewayName: "STRING_VALUE", // required
};
const command = new DescribeStaticIpEgressGatewayCommand(input);
const response = await client.send(command);
// { // DescribeStaticIpEgressGatewayOutput
// gatewayName: "STRING_VALUE", // required
// publicIpAddress: "STRING_VALUE", // required
// resourceDetail: { // DescribeResourceDetail
// status: "AVAILABLE" || "UNDER_CHANGE" || "CHANGE_FAILED" || "ERROR" || "CREATE_FAILED", // required
// detailedStatus: "AVAILABLE_UPDATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED",
// statusMessage: "STRING_VALUE",
// idempotencyKey: "STRING_VALUE", // required
// createdAt: new Date("TIMESTAMP"), // required
// updatedAt: new Date("TIMESTAMP"), // required
// },
// };

Param

DescribeStaticIpEgressGatewayCommandInput

Returns

DescribeStaticIpEgressGatewayCommandOutput

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