Skip to content

CloudFront  >  Operations  >  update_connection_group

update_connection_group

Operation

update_connection_group async

update_connection_group(input: UpdateConnectionGroupInput, plugins: list[Plugin] | None = None) -> UpdateConnectionGroupOutput

Updates a connection group.

Parameters:

Name Type Description Default
input UpdateConnectionGroupInput

An instance of UpdateConnectionGroupInput.

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
UpdateConnectionGroupOutput

An instance of UpdateConnectionGroupOutput.

Input

UpdateConnectionGroupInput dataclass

Bases: _SerdeShape

Dataclass for UpdateConnectionGroupInput structure.

Attributes

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

The ID of the Anycast static IP list.

enabled class-attribute instance-attribute
enabled: bool | None = ...

Whether the connection group is enabled.

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

The ID of the connection group.

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

The value of the ETag header that you received when retrieving the connection group that you're updating.

ipv6_enabled class-attribute instance-attribute
ipv6_enabled: bool | None = ...

Enable IPv6 for the connection group. For more information, see Enable IPv6 in the Amazon CloudFront Developer Guide.

Output

UpdateConnectionGroupOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateConnectionGroupOutput structure.

Attributes

connection_group class-attribute instance-attribute
connection_group: ConnectionGroup | None = ...

The connection group that you updated.

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

The current version of the connection group.

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.