Skip to content

update_vpc_origin

Operation

update_vpc_origin

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

Update an Amazon CloudFront VPC origin in your account.

Parameters:

Name Type Description Default
request UpdateVpcOriginInput | UpdateVpcOriginInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UpdateVpcOriginInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateVpcOriginOutput

An instance of UpdateVpcOriginOutput.

update_vpc_origin async

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

Update an Amazon CloudFront VPC origin in your account.

Parameters:

Name Type Description Default
request UpdateVpcOriginInput | UpdateVpcOriginInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UpdateVpcOriginInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateVpcOriginOutput

An instance of UpdateVpcOriginOutput.

Input

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

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.

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.