Class CreateStaticIpEgressGatewayCommandProtected

Create a static IP address gateway. You can only create a single gateway per account.

Example

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

import { NetworkingClient, CreateStaticIpEgressGatewayCommand } from "@stedi/sdk-client-networking"; // ES Modules import
// const { NetworkingClient, CreateStaticIpEgressGatewayCommand } = require("@stedi/sdk-client-networking"); // CommonJS import
const client = new NetworkingClient(config);
const input = { // CreateStaticIpEgressGatewayInput
gatewayName: "STRING_VALUE", // required
idempotencyKey: "STRING_VALUE",
};
const command = new CreateStaticIpEgressGatewayCommand(input);
const response = await client.send(command);
// { // CreateStaticIpEgressGatewayOutput
// gatewayName: "STRING_VALUE", // required
// idempotencyKey: "STRING_VALUE",
// resourceDetail: { // CreateResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

CreateStaticIpEgressGatewayCommandInput

Returns

CreateStaticIpEgressGatewayCommandOutput

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