Skip to content

CloudFront  >  Operations  >  update_anycast_ip_list

update_anycast_ip_list

Operation

update_anycast_ip_list async

update_anycast_ip_list(input: UpdateAnycastIpListInput, plugins: list[Plugin] | None = None) -> UpdateAnycastIpListOutput

Updates an Anycast static IP list.

Parameters:

Name Type Description Default
input UpdateAnycastIpListInput

An instance of UpdateAnycastIpListInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateAnycastIpListOutput

An instance of UpdateAnycastIpListOutput.

Input

UpdateAnycastIpListInput dataclass

Bases: _SerdeShape

Dataclass for UpdateAnycastIpListInput structure.

Attributes

id class-attribute instance-attribute
id: str | None = ...

The ID of the Anycast static IP list.

if_match class-attribute instance-attribute
if_match: str | None = ...

The current version (ETag value) of the Anycast static IP list that you are updating.

ip_address_type class-attribute instance-attribute
ip_address_type: str | None = ...

The IP address type for the Anycast static IP list. You can specify one of the following options:

  • ipv4 only

  • ipv6 only

  • dualstack - Allocate a list of both IPv4 and IPv6 addresses

ipam_cidr_configs class-attribute instance-attribute
ipam_cidr_configs: list[IpamCidrConfig] | None = ...

A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list.

Output

UpdateAnycastIpListOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateAnycastIpListOutput structure.

Attributes

anycast_ip_list class-attribute instance-attribute
anycast_ip_list: AnycastIpList | None = ...

An Anycast static IP list. For more information, see Request Anycast static IPs to use for allowlisting in the Amazon CloudFront Developer Guide.

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The current version of the Anycast static IP list.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.