AWS bedrock documentation change
Summary
Updated documentation to clarify usage of AWS CLI, expanded AWS CLI acronym, and adjusted endpoint references to explicitly mention AWS CLI.
Security assessment
The changes are editorial improvements and terminology clarifications (e.g., expanding 'CLI' to 'Command Line Interface'). No security vulnerabilities, authentication changes, or permission adjustments are introduced. The updates focus on improving user guidance without altering security implications.
Diff
diff --git a/bedrock/latest/userguide/getting-started-api-ex-cli.md b/bedrock/latest/userguide/getting-started-api-ex-cli.md index b6d32e32a..21381ad71 100644 --- a//bedrock/latest/userguide/getting-started-api-ex-cli.md +++ b//bedrock/latest/userguide/getting-started-api-ex-cli.md @@ -9 +9 @@ List the foundation models that Amazon Bedrock has to offerSubmit a text prompt -This section guides you through trying out some common operations in Amazon Bedrock using the AWS CLI to test that your permissions and authentication are set up properly. Before you run the following examples, you should check that you have fulfilled the following prerequisites: +This section guides you through trying out some common operations in Amazon Bedrock using the AWS Command Line Interface to test that your permissions and authentication are set up properly. Before you run the following examples, you should check that you have fulfilled the following prerequisites: @@ -17 +17 @@ This section guides you through trying out some common operations in Amazon Bedr - * You've installed and set up authentication for the AWS CLI. To install the CLI, follow the steps at [Install or update to the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html). Verify that you've set up your credentials to use the CLI by following the steps at [Get credentials to grant programmatic access](./getting-started-api.html#gs-grant-program-access). + * You've installed and set up authentication for the AWS CLI. To install the AWS CLI, follow the steps at [Install or update to the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html). Verify that you've set up your credentials to use the CLI by following the steps at [Get credentials to grant programmatic access](./getting-started-api.html#gs-grant-program-access). @@ -37 +37 @@ Test that your permissions are set up properly for Amazon Bedrock, using a user -The following example runs the [ListFoundationModels](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html) operation using an Amazon Bedrock endpoint. `ListFoundationModels` lists the foundation models (FMs) that are available in Amazon Bedrock in your Region. In a terminal, run the following command: +The following example runs the [ListFoundationModels](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html) operation using the AWS CLI. `ListFoundationModels` lists the foundation models (FMs) that are available in Amazon Bedrock in your Region. In a terminal, run the following command: @@ -46 +46 @@ If the command is successful, the response returns a list of foundation models t -The following example runs the [InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) operation using an Amazon Bedrock runtime endpoint. `InvokeModel` lets you submit a prompt to generate a model response. In a terminal, run the following command: +The following example runs the [InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) operation using the AWS CLI. `InvokeModel` lets you submit a prompt to generate a model response. In a terminal, run the following command: @@ -59 +59 @@ If the command is successful, the response generated by the model is written to -The following example runs the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation using an Amazon Bedrock runtime endpoint. `Converse` lets you submit a prompt to generate a model response. We recommend using `Converse` operation over `InvokeModel` when supported, because it unifies the inference request across Amazon Bedrock models and simplifies the management of multi-turn conversations. In a terminal, run the following command: +The following example runs the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation using the AWS CLI. `Converse` lets you submit a prompt to generate a model response. We recommend using `Converse` operation over `InvokeModel` when supported, because it unifies the inference request across Amazon Bedrock models and simplifies the management of multi-turn conversations. In a terminal, run the following command: