Skip to main content

CancelLifecycleActionResponse

Properties

NameTypeDescriptionNotes
RequestIdStringLifecycle request identifier.[required]
StatusStringUpdated lifecycle request status after cancel acceptance.[required]
ActionLifecycleaction[required]
TargetIdStringInternal machine identity UUID for the lifecycle target.[required]
ResourceIdStringConnector resource id for the lifecycle target, when present.[optional]

Examples

  • Prepare the resource
$CancelLifecycleActionResponse = Initialize-CancelLifecycleActionResponse  -RequestId a1b2c3d4-e5f6-7890-abcd-ef1234567890 `
-Status CANCELING `
-Action null `
-TargetId 1c9c8e1f-2f5f-4f77-9f7e-5d37e4fb3ef0 `
-ResourceId aws:bedrock:agent-42
  • Convert the resource to JSON
$CancelLifecycleActionResponse | ConvertTo-JSON

[Back to top]