Skip to content

delete_vpc_configuration

Operation

delete_vpc_configuration

delete_vpc_configuration(request: DeleteVpcConfigurationInput | DeleteVpcConfigurationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteVpcConfigurationInputDict]) -> DeleteVpcConfigurationOutput

Deletes a VPC configuration. This operation is asynchronous: it returns status DELETING. Poll GetVpcConfiguration until it returns a ResourceNotFoundException, indicating the configuration is deleted. Delete requests are idempotent and safe to retry.

Parameters:

Name Type Description Default
request DeleteVpcConfigurationInput | DeleteVpcConfigurationInputDict | 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[DeleteVpcConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteVpcConfigurationOutput

An instance of DeleteVpcConfigurationOutput.

delete_vpc_configuration async

delete_vpc_configuration(request: DeleteVpcConfigurationInput | DeleteVpcConfigurationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteVpcConfigurationInputDict]) -> DeleteVpcConfigurationOutput

Deletes a VPC configuration. This operation is asynchronous: it returns status DELETING. Poll GetVpcConfiguration until it returns a ResourceNotFoundException, indicating the configuration is deleted. Delete requests are idempotent and safe to retry.

Parameters:

Name Type Description Default
request DeleteVpcConfigurationInput | DeleteVpcConfigurationInputDict | 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[DeleteVpcConfigurationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteVpcConfigurationOutput

An instance of DeleteVpcConfigurationOutput.

Input

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

DeleteVpcConfigurationInputDict

Bases: TypedDict

Dictionary form of DeleteVpcConfigurationInput.

Attributes

knowledge_base_id instance-attribute
knowledge_base_id: Required[str]

The unique identifier of the knowledge base that owns the VPC configuration.

vpc_configuration_id instance-attribute
vpc_configuration_id: Required[str]

The unique identifier of the VPC configuration to delete.

DeleteVpcConfigurationInput dataclass

Bases: _SerdeShape

Dataclass for DeleteVpcConfigurationInput structure.

Attributes

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

The unique identifier of the knowledge base that owns the VPC configuration.

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

The unique identifier of the VPC configuration to delete.

Output

DeleteVpcConfigurationOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteVpcConfigurationOutput structure.

Attributes

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.

status instance-attribute
status: str

The current status of the VPC configuration. Immediately after a delete request this is DELETING.

vpc_configuration_id instance-attribute
vpc_configuration_id: str

The unique identifier of the VPC configuration being deleted.