Skip to content

CloudFront  >  Operations  >  update_vpc_origin

update_vpc_origin

Operation

update_vpc_origin async

update_vpc_origin(request: UpdateVpcOriginInput | UpdateVpcOriginInputDict, /, *, plugins: list[Plugin] | None = None) -> UpdateVpcOriginOutput
update_vpc_origin(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateVpcOriginInputDict]) -> UpdateVpcOriginOutput

Update an Amazon CloudFront VPC origin in your account.

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
UpdateVpcOriginOutput

An instance of UpdateVpcOriginOutput.

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

UpdateVpcOriginInput dataclass

Bases: _SerdeShape

Dataclass for UpdateVpcOriginInput structure.

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

The VPC origin ID.

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

The VPC origin to update, if a match occurs.

vpc_origin_endpoint_config class-attribute instance-attribute
vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ...

The VPC origin endpoint configuration.

Dictionaries

UpdateVpcOriginInputDict

Bases: TypedDict

Dictionary form of UpdateVpcOriginInput.

Attributes
id instance-attribute

The VPC origin ID.

if_match instance-attribute
if_match: Required[str]

The VPC origin to update, if a match occurs.

vpc_origin_endpoint_config instance-attribute

The VPC origin endpoint configuration.

Output

UpdateVpcOriginOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateVpcOriginOutput structure.

Attributes

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

The VPC origin ETag.

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.

vpc_origin class-attribute instance-attribute
vpc_origin: VpcOrigin | None = ...

The VPC origin.