Skip to content

Deletes a session associated with a capacity provider in Amazon Bedrock AgentCore and makes the session unavailable for further use

Description

Deletes a session associated with a capacity provider in Amazon Bedrock AgentCore and makes the session unavailable for further use. To delete a capacity provider session, specify both the capacity provider identifier and the session ID. After you delete a session, you cannot restart it.

Usage

bedrockagentcore_delete_capacity_provider_session(capacityProviderId,
  sessionId)

Arguments

  • capacityProviderId

    [required] The unique identifier of the capacity provider associated with the session.

  • sessionId

    [required] The unique identifier of the capacity provider session to delete.

Value

A list with the following syntax:

list(
  capacityProviderArn = "string",
  sessionId = "string",
  status = "Provisioning"|"Deprovisioning"|"Active"|"Deleting"|"Deleted"|"Stopped"
)

Request syntax

svc$delete_capacity_provider_session(
  capacityProviderId = "string",
  sessionId = "string"
)