Skip to content

create_vpc_origin

Operation

create_vpc_origin

create_vpc_origin(request: CreateVpcOriginInput | CreateVpcOriginInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateVpcOriginInputDict]) -> CreateVpcOriginOutput

Create an Amazon CloudFront VPC origin.

Parameters:

Name Type Description Default
request CreateVpcOriginInput | CreateVpcOriginInputDict | 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[CreateVpcOriginInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateVpcOriginOutput

An instance of CreateVpcOriginOutput.

create_vpc_origin async

create_vpc_origin(request: CreateVpcOriginInput | CreateVpcOriginInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateVpcOriginInputDict]) -> CreateVpcOriginOutput

Create an Amazon CloudFront VPC origin.

Parameters:

Name Type Description Default
request CreateVpcOriginInput | CreateVpcOriginInputDict | 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[CreateVpcOriginInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateVpcOriginOutput

An instance of CreateVpcOriginOutput.

Input

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

CreateVpcOriginInputDict

Bases: TypedDict

Dictionary form of CreateVpcOriginInput.

Attributes

tags instance-attribute
tags: Tags | TagsDict | None

A complex type that contains zero or more Tag elements.

vpc_origin_endpoint_config instance-attribute

The VPC origin endpoint configuration.

CreateVpcOriginInput dataclass

Bases: _SerdeShape

Dataclass for CreateVpcOriginInput structure.

Attributes

tags class-attribute instance-attribute
tags: Tags | None = ...

A complex type that contains zero or more Tag elements.

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

The VPC origin endpoint configuration.

Output

CreateVpcOriginOutput dataclass

Bases: _SerdeShape

Dataclass for CreateVpcOriginOutput structure.

Attributes

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

The VPC origin ETag.

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

The VPC origin location.

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.