Add CLI examples for ControTower APIs#9452
Conversation
elysahall
left a comment
There was a problem hiding this comment.
Hello @eodeyemi14,
Thank you for your contribution! Please review the requested format changes, rebase, commit, and push your updates.
Thank you.
113f658 to
190c64d
Compare
H @elysahall This has been updated. Please review. |
|
Hey @eodeyemi14, looks good thanks! In |
Co-authored-by: Elysa <60367675+elysahall@users.noreply.github.com>
Added a reference to the AWS Control Tower User Guide.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #9452 +/- ##
===========================================
+ Coverage 93.40% 93.43% +0.03%
===========================================
Files 211 211
Lines 17012 17283 +271
===========================================
+ Hits 15890 16149 +259
- Misses 1122 1134 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| "startTime": "2024-02-19T19:21:09+00:00", | ||
| "operationType": "ENABLE_CONTROL", | ||
| "status": "IN_PROGRESS", | ||
| "statusMessage": "Operation is in progress." |
There was a problem hiding this comment.
Missing comma after "statusMessage": "Operation is in progress.". This makes the JSON invalid.
| "loggingBucket": { | ||
| "retentionDays": 365 | ||
| }, | ||
| "kmsKeyArn": "<arn_of_kms_key", |
There was a problem hiding this comment.
Stray < with no closing >. Should probably be a placeholder ARN like "arn:aws:kms:us-east-1:123456789012:key/example-key-id"
| The following ``update-enabled-control`` example updates an AWS Control Tower enabled control. :: | ||
|
|
||
| aws controltower update-enabled-control \ | ||
| --enabled-control-identifier arn:aws:controltower:us-east-1:493301538276:enabledcontrol/JSJN8UL0G2MWGRTZ \ |
There was a problem hiding this comment.
This uses 493301538276. Can we use a value like all the other examples to keep it consistent (123456789012 as the placeholder account ID)
| @@ -0,0 +1,19 @@ | |||
| **To get a Control Tower landing zone operation** | |||
|
|
|||
| The following ``get-landing-zone-operation`` example get details of an AWS Control Tower landing zone operation. :: | |||
There was a problem hiding this comment.
A few of the descriptions say "get details" where it should be "gets details"
Co-authored-by: Elysa <60367675+elysahall@users.noreply.github.com>
Remove extra newline before the output note.
Removed redundant information and example header.
Removed redundant information about baseline types.
Issue #, if available:
N/A
Description of changes:
This PR adds example CLI inputs and outputs of all AWS Control Tower APIs
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.