Skip to content

CloudFront  >  Operations  >  update_vpc_origin

update_vpc_origin

Operation

update_vpc_origin async

update_vpc_origin(input: UpdateVpcOriginInput, plugins: list[Plugin] | None = None) -> UpdateVpcOriginOutput

Update an Amazon CloudFront VPC origin in your account.

Parameters:

Name Type Description Default
input UpdateVpcOriginInput

An instance of UpdateVpcOriginInput.

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
UpdateVpcOriginOutput

An instance of UpdateVpcOriginOutput.

Input

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.

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.