Consultez l'état des opérations de votre zone d'atterrissage - AWS Control Tower

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

Consultez l'état des opérations de votre zone d'atterrissage

L'ListLandingZoneOperationsAPI vous permet de consulter l'état des opérations AWS Control Tower qui exécutent des actions sur votre zone de landing zone.

Pour plus d'informations sur cette opération d'API, consultez ListLandingZoneOperations.

ListLandingZoneOperations

Exemple d'entrée et de sortie pour ListLandingZoneOperations.

Cet exemple montre comment appeler l'API sans paramètres.

aws controltower --region us-east-1 list-landing-zone-operations { "landingZoneOperations": [ { "operationIdentifier": "873fe98d-1ecc-4154-b593-86e4a95ebfXX", "operationType": "CREATE", "status": "FAILED" }, { "operationIdentifier": "0016d43d-a307-4ad8-a2a2-b427b8eb1cXX", "operationType": "DELETE", "status": "SUCCEEDED" }, { "operationIdentifier": "002b8b5a-6bb7-4c40-89cd-5822a73d13XX", "operationType": "CREATE", "status": "SUCCEEDED" }, { "operationIdentifier": "008886a0-f7a2-4df3-90e8-6e9f936507XX", "operationType": "CREATE", "status": "FAILED" } ] }

Cet exemple montre comment appeler l'API et spécifier le nombre maximum de résultats.

aws controltower --region us-east-1 list-landing-zone-operations --max-results 1 { "landingZoneOperations": [ { "operationIdentifier": "873fe98d-1ecc-4154-b593-86e4a95ebfXX", "operationType": "CREATE", "status": "FAILED" } ], "nextToken": "AAMAATFMzwP0QysYY8npWgstfcHGQBj-XCC18ISyd9mkQmzLR7ZFMket4F0aWv8tUTtnsTWOnfblUp_Q9U-nX9_6lEsLHs0RlhceDKskHr0_3fm8KdPTa6ofxMt5SPw8WF7-Jsvw2rJVvhj4DHDipo-y1HVK_eZ__Z3-OzInm403cIHxhbjGPgqCX6FeKr8lwgTDKOejkLYZ9w7J5aqPAKLfVP8KKNda5g0VfMj1wdl4J2nwnHI-UuCTIZ5nUEgXgUHaFq6Ma1pLDfGefZQJn5HmDhhgd5yvqzSRH1BtrHpdV_N1EVP8u3JJr3eWQHe9jNB02lihD4Mdcbm3SJg1tWWw2bxp0cgClepI-1Dxt3FAZ5XMVjDxHQHxdKkrazHunMgBFvwfzauC3Ah0WqJg9dkEP22l5HI9qZ7LtDbYZEb5hCskVmjxFsbbwia_OrL2X8ZDeHZStJkxbC3CPIjFMQuldBlzF6L19GSpHE7XIMlTBzzwWtg92sGlpz0An1Smh12jZDe__u2rx8NSkAT97B0bKtmI2TKjutOx7NYUxOhc5qio8dAJbcMgDkf1m5BjK9R7GKdrVv5EDY5Q6uE8gxM2wGnUr_NkpGqR1aEjLIRfZYKN9so_x4vZZPhwtp1NIv256mIGvMYzNivLZ4FE9RPJFh7rSNwFvWnRSVwFLDkOoqXZV9OUYsXdn3W3FMqBzbG6g2KvMXKrKdbrnJHxGgyNYSbS3ogkQYGeuz-VXRwTUIBInrit4HslNtPE8-IC1gxCjGoYPGtuWBPumK-pUPE=" }

Cet exemple montre comment appeler l'API et obtenir un résultat paginé avecnextToken.

aws controltower --region us-east-1 list-landing-zone-operations --next-token AAMAATFMzwP0QysYY8npWgstfcHGQBj-XCC18ISyd9mkQmzLR7ZFMket4F0aWv8tUTtnsTWOnfblUp_Q9U-nX9_6lEsLHs0RlhceDKskHr0_3fm8KdPTa6ofxMt5SPw8WF7-Jsvw2rJVvhj4DHDipo-y1HVK_eZ__Z3-OzInm403cIHxhbjGPgqCX6FeKr8lwgTDKOejkLYZ9w7J5aqPAKLfVP8KKNda5g0VfMj1wdl4J2nwnHI-UuCTIZ5nUEgXgUHaFq6Ma1pLDfGefZQJn5HmDhhgd5yvqzSRH1BtrHpdV_N1EVP8u3JJr3eWQHe9jNB02lihD4Mdcbm3SJg1tWWw2bxp0cgClepI-1Dxt3FAZ5XMVjDxHQHxdKkrazHunMgBFvwfzauC3Ah0WqJg9dkEP22l5HI9qZ7LtDbYZEb5hCskVmjxFsbbwia_OrL2X8ZDeHZStJkxbC3CPIjFMQuldBlzF6L19GSpHE7XIMlTBzzwWtg92sGlpz0An1Smh12jZDe__u2rx8NSkAT97B0bKtmI2TKjutOx7NYUxOhc5qio8dAJbcMgDkf1m5BjK9R7GKdrVv5EDY5Q6uE8gxM2wGnUr_NkpGqR1aEjLIRfZYKN9so_x4vZZPhwtp1NIv256mIGvMYzNivLZ4FE9RPJFh7rSNwFvWnRSVwFLDkOoqXZV9OUYsXdn3W3FMqBzbG6g2KvMXKrKdbrnJHxGgyNYSbS3ogkQYGeuz-VXRwTUIBInrit4HslNtPE8-IC1gxCjGoYPGtuWBPumK-pUPE= { "landingZoneOperations": [ { "operationIdentifier": "0016d43d-a307-4ad8-a2a2-b427b8eb1cXX", "operationType": "DELETE", "status": "SUCCEEDED" }, { "operationIdentifier": "002b8b5a-6bb7-4c40-89cd-5822a73d13XX", "operationType": "CREATE", "status": "SUCCEEDED" }, { "operationIdentifier": "008886a0-f7a2-4df3-90e8-6e9f936507XX", "operationType": "CREATE", "status": "FAILED" } ] }

Cet exemple montre comment appeler l'API avec un filtre.

aws controltower --region us-east-1 list-landing-zone-operations --filter '{"types":["CREATE"],"statuses":["FAILED"]}' { "landingZoneOperations": [ { "operationIdentifier": "873fe98d-1ecc-4154-b593-86e4a95ebfXX", "operationType": "CREATE", "status": "FAILED" }, { "operationIdentifier": "008886a0-f7a2-4df3-90e8-6e9f936507XX", "operationType": "CREATE", "status": "FAILED" } ] }