Skip to content

CloudFront  >  Operations  >  update_connection_group

update_connection_group

Operation

update_connection_group async

update_connection_group(request: UpdateConnectionGroupInput | UpdateConnectionGroupInputDict, /, *, plugins: list[Plugin] | None = None) -> UpdateConnectionGroupOutput
update_connection_group(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateConnectionGroupInputDict]) -> UpdateConnectionGroupOutput

Updates a connection group.

Parameters:

Name Type Description Default
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

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

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.

Dictionaries

UpdateConnectionGroupInputDict

Bases: TypedDict

Dictionary form of UpdateConnectionGroupInput.

Attributes
anycast_ip_list_id instance-attribute
anycast_ip_list_id: str | None

The ID of the Anycast static IP list.

enabled instance-attribute
enabled: bool | None

Whether the connection group is enabled.

id instance-attribute

The ID of the connection group.

if_match instance-attribute
if_match: Required[str]

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

ipv6_enabled 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.