- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
GetLandingZoneOperationCommand
Returns the status of the specified landing zone operation. Details for an operation are available for 90 days.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ControlTowerClient, GetLandingZoneOperationCommand } from "@aws-sdk/client-controltower"; // ES Modules import
// const { ControlTowerClient, GetLandingZoneOperationCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
const client = new ControlTowerClient(config);
const input = { // GetLandingZoneOperationInput
operationIdentifier: "STRING_VALUE", // required
};
const command = new GetLandingZoneOperationCommand(input);
const response = await client.send(command);
// { // GetLandingZoneOperationOutput
// operationDetails: { // LandingZoneOperationDetail
// operationType: "DELETE" || "CREATE" || "UPDATE" || "RESET",
// operationIdentifier: "STRING_VALUE",
// status: "SUCCEEDED" || "FAILED" || "IN_PROGRESS",
// startTime: new Date("TIMESTAMP"),
// endTime: new Date("TIMESTAMP"),
// statusMessage: "STRING_VALUE",
// },
// };
GetLandingZoneOperationCommand Input
See GetLandingZoneOperationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
operationIdentifier Required | string | undefined | A unique identifier assigned to a landing zone operation. |
GetLandingZoneOperationCommand Output
See GetLandingZoneOperationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
operationDetails Required | LandingZoneOperationDetail | undefined | Details about a landing zone operation. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You do not have sufficient access to perform this action. |
InternalServerException | server | An unexpected error occurred during processing of a request. |
ResourceNotFoundException | client | The request references a resource that does not exist. |
ThrottlingException | client | The request was denied due to request throttling. |
ValidationException | client | The input does not satisfy the constraints specified by an Amazon Web Services service. |
ControlTowerServiceException | Base exception class for all service exceptions from ControlTower service. |