Skip to content

Delete Gateway Target

bedrockagentcorecontrol_delete_gateway_target R Documentation

Deletes a gateway target

Description

Deletes a gateway target.

You cannot delete a target that is in a pending authorization state (CREATE_PENDING_AUTH, UPDATE_PENDING_AUTH, or SYNCHRONIZE_PENDING_AUTH). Wait for the authorization to complete or fail before deleting the target.

Usage

bedrockagentcorecontrol_delete_gateway_target(gatewayIdentifier,
  targetId)

Arguments

gatewayIdentifier

[required] The unique identifier of the gateway associated with the target.

targetId

[required] The unique identifier of the gateway target to delete.

Value

A list with the following syntax:

list(
  gatewayArn = "string",
  targetId = "string",
  status = "CREATING"|"UPDATING"|"UPDATE_UNSUCCESSFUL"|"DELETING"|"READY"|"FAILED"|"SYNCHRONIZING"|"SYNCHRONIZE_UNSUCCESSFUL"|"CREATE_PENDING_AUTH"|"UPDATE_PENDING_AUTH"|"SYNCHRONIZE_PENDING_AUTH",
  statusReasons = list(
    "string"
  )
)

Request syntax

svc$delete_gateway_target(
  gatewayIdentifier = "string",
  targetId = "string"
)