We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a2950 commit 97f80daCopy full SHA for 97f80da
services/s3.sh
@@ -19,6 +19,15 @@ aws_s3_get_object_metadata() {
19
20
}
21
22
+aws_s3_get_s3_bucket_arn() {
23
+ aws_s3_bucket_name=$1
24
+ echo "arn:aws:s3:::${aws_s3_bucket_name:?'aws_s3_bucket_name is unset or empty'}"
25
+}
26
+
27
+aws_s3_get_s3_bucket_arn_with_hint() {
28
+ aws_s3_get_s3_bucket_arn $(echo "$(peco_aws_s3_list)" | peco)
29
30
31
# aws_s3_get_object_metadata_with_hint() {
32
# bucket_name=$(echo "$(peco_aws_s3_list)" | peco)
33
# object_key=$2
0 commit comments