GetLandingZoneOperation
Source:
src/AWS/ControlTower/GetLandingZoneOperation.ts
Runtime binding for controltower:GetLandingZoneOperation.
An account-level operation that reads the status of an asynchronous
landing zone operation (CREATE, UPDATE, DELETE, RESET). Pair it
with ResetLandingZone to poll a drift-remediation run to
completion. Provide the implementation with
Effect.provide(AWS.ControlTower.GetLandingZoneOperationHttp).
Polling Asynchronous Operations
Section titled “Polling Asynchronous Operations”// init — account-level binding takes no resourceconst getLandingZoneOperation = yield* AWS.ControlTower.GetLandingZoneOperation();
// runtimeconst { operationDetails } = yield* getLandingZoneOperation({ operationIdentifier,});console.log(operationDetails.status);