Skip to content

Deletes a VPC configuration

Description

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

Usage

bedrockagent_delete_vpc_configuration(knowledgeBaseId,
  vpcConfigurationId)

Arguments

  • knowledgeBaseId

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

  • vpcConfigurationId

[required] The unique identifier of the VPC configuration to delete.

Value

A list with the following syntax:

list(
  vpcConfigurationId = "string",
  status = "CREATING"|"CREATED"|"DELETING"|"CREATE_FAILED"|"DELETE_FAILED"
)

Request syntax

svc$delete_vpc_configuration(
  knowledgeBaseId = "string",
  vpcConfigurationId = "string"
)