Skip to content

Bedrock Agent  >  Operations  >  delete_vpc_configuration

delete_vpc_configuration

Operation

delete_vpc_configuration async

delete_vpc_configuration(input: DeleteVpcConfigurationInput, plugins: list[Plugin] | None = None) -> 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
input DeleteVpcConfigurationInput

An instance of DeleteVpcConfigurationInput.

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
DeleteVpcConfigurationOutput

An instance of DeleteVpcConfigurationOutput.

Input

DeleteVpcConfigurationInput dataclass

Dataclass for DeleteVpcConfigurationInput structure.

Attributes

knowledge_base_id class-attribute instance-attribute
knowledge_base_id: str | None = 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 = None

The unique identifier of the VPC configuration to delete.

Output

DeleteVpcConfigurationOutput dataclass

Dataclass for DeleteVpcConfigurationOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)

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.