AWS code-library documentation change
Summary
Added a new code example for the AWS CLI command 'list-studios' to demonstrate listing EMR Studios, including example output and references to additional documentation.
Security assessment
This change adds routine documentation for a CLI command without any mention of security vulnerabilities, patches, or security features. The example output includes an 'AuthMode' field set to 'IAM', but this is part of normal API response documentation and does not indicate a security fix or new security feature.
Diff
diff --git a/code-library/latest/ug/cli_2_emr_code_examples.md b/code-library/latest/ug/cli_2_emr_code_examples.md index 6bd2b78eb..db10660f0 100644 --- a//code-library/latest/ug/cli_2_emr_code_examples.md +++ b//code-library/latest/ug/cli_2_emr_code_examples.md @@ -1901,0 +1902,35 @@ The following command lists all of the steps in a cluster with the cluster ID `j +The following code example shows how to use `list-studios`. + +**AWS CLI** + + +**To list available EMR Studios** + +The following `list-studios` example lists the EMR Studios in the AWS account.: + + + aws emr list-studios + + +Output: + + + { + "Studios": [ + { + "StudioId": "es-XXXXXXX132E0X7R0W7GAS1MVB", + "Name": "My_EMR_Studio", + "Url": "https://es-XXXXXXX132E0X7R0W7GAS1MVB.emrstudio-prod.us-east-1.amazonaws.com", + "AuthMode": "IAM", + "CreationTime": 1761664173.624 + } + ] + } + +For more information, see [Monitor, update and delete Amazon EMR Studio resources](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-manage-studio.html) in the _Amazon EMR Management Guide_. + + * For API details, see [ListStudios](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/emr/list-studios.html) in _AWS CLI Command Reference_. + + + +