chore: save references and command for s3

This commit is contained in:
Michele Cereda
2024-02-14 21:54:56 +01:00
parent 58d44e871c
commit b857011b28
2 changed files with 25 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
1. [TL;DR](#tldr)
1. [Profiles](#profiles)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
@@ -21,6 +22,11 @@ aws configure --profile 'work'
export AWS_PROFILE='work'
# Enable auto-prompt mode (like aws-shell).
aws configure set 'cli_auto_prompt' 'on-partial'
export AWS_CLI_AUTO_PROMPT='on'
# List all SageMaker EndpointConfigurations' names.
aws sagemaker list-endpoint-configs --output 'yaml-stream' | yq -r '.[].EndpointConfigs[].EndpointConfigName' -
aws sagemaker list-endpoint-configs --output 'yaml-stream' --query 'EndpointConfigs[].EndpointConfigName' | yq -r '.[].[]' -
@@ -73,6 +79,10 @@ $ export AWS_PROFILE="work"
- CLI [quickstart]
- [Configure profiles] in the CLI
### Sources
- [Improved CLI auto-prompt mode]
<!--
References
-->
@@ -85,3 +95,4 @@ $ export AWS_PROFILE="work"
<!-- Upstream -->
[quickstart]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html
[configure profiles]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
[improved cli auto-prompt mode]: https://github.com/aws/aws-cli/issues/5664