(awsmle_py310) PS D:\github\udacity-cd13926-Building-Apps-Amazon-Bedrock-exercises\Experiments> aws bedrock invoke-model `
>> --model-id anthropic.claude-3-5-sonnet-20240620-v1:0 `
>> --body file://claude_input.json output.json
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws.exe: error: argument operation: Invalid choice, valid choices are:
create-evaluation-job | create-guardrail
create-guardrail-version | create-model-copy-job
create-model-customization-job | create-provisioned-model-throughput
delete-custom-model | delete-guardrail
delete-model-invocation-logging-configuration | delete-provisioned-model-throughput
get-custom-model | get-evaluation-job
get-foundation-model | get-guardrail
get-model-copy-job | get-model-customization-job
get-model-invocation-logging-configuration | get-provisioned-model-throughput
list-custom-models | list-evaluation-jobs
list-foundation-models | list-guardrails
list-model-copy-jobs | list-model-customization-jobs
list-provisioned-model-throughputs | list-tags-for-resource
put-model-invocation-logging-configuration | stop-evaluation-job
stop-model-customization-job | tag-resource
untag-resource | update-guardrail
update-provisioned-model-throughput | help
Then error occured and once again AWS Console couldn't be accessed.
(awsmle_py310) PS D:\github\udacity-cd13926-Building-Apps-Amazon-Bedrock-exercises\Experiments>
An error occurred (UnrecognizedClientException) when calling the ListFoundationModels operation: The security token included in the request is invalid.