import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { CreateAnycastIpListRequest, CreateAnycastIpListResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateAnycastIpListCommand}. */ export interface CreateAnycastIpListCommandInput extends CreateAnycastIpListRequest { } /** * @public * * The output of {@link CreateAnycastIpListCommand}. */ export interface CreateAnycastIpListCommandOutput extends CreateAnycastIpListResult, __MetadataBearer { } declare const CreateAnycastIpListCommand_base: { new (input: CreateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates an Anycast static IP list.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, CreateAnycastIpListCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, CreateAnycastIpListCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // CreateAnycastIpListRequest * Name: "STRING_VALUE", // required * IpCount: Number("int"), // required * Tags: { // Tags * Items: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * }, * }; * const command = new CreateAnycastIpListCommand(input); * const response = await client.send(command); * // { // CreateAnycastIpListResult * // AnycastIpList: { // AnycastIpList * // Id: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // AnycastIps: [ // AnycastIps // required * // "STRING_VALUE", * // ], * // IpCount: Number("int"), // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param CreateAnycastIpListCommandInput - {@link CreateAnycastIpListCommandInput} * @returns {@link CreateAnycastIpListCommandOutput} * @see {@link CreateAnycastIpListCommandInput} for command's `input` shape. * @see {@link CreateAnycastIpListCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

* * @throws {@link EntityAlreadyExists} (client fault) *

The entity already exists. You must provide a unique entity.

* * @throws {@link EntityLimitExceeded} (client fault) *

The entity limit has been exceeded.

* * @throws {@link InvalidArgument} (client fault) *

An argument is invalid.

* * @throws {@link InvalidTagging} (client fault) *

The tagging specified is not valid.

* * @throws {@link UnsupportedOperation} (client fault) *

This operation is not supported in this Amazon Web Services Region.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class CreateAnycastIpListCommand extends CreateAnycastIpListCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateAnycastIpListRequest; output: CreateAnycastIpListResult; }; sdk: { input: CreateAnycastIpListCommandInput; output: CreateAnycastIpListCommandOutput; }; }; }