Skip to content

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).

// init — account-level binding takes no resource
const getLandingZoneOperation =
yield* AWS.ControlTower.GetLandingZoneOperation();
// runtime
const { operationDetails } = yield* getLandingZoneOperation({
operationIdentifier,
});
console.log(operationDetails.status);