From 499f4a09e742273b02444d6e20113a356de9e258 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 17 Dec 2020 10:27:57 -0500 Subject: [PATCH] [DOCS] Fix S3 bucket names in S3 repo plugin docs (#66521) (#66529) Co-authored-by: Inbar Shimshon --- docs/plugins/repository-s3.asciidoc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/plugins/repository-s3.asciidoc b/docs/plugins/repository-s3.asciidoc index 1156c810f3573..e90ddbd321af2 100644 --- a/docs/plugins/repository-s3.asciidoc +++ b/docs/plugins/repository-s3.asciidoc @@ -27,7 +27,7 @@ PUT _snapshot/my_s3_repository { "type": "s3", "settings": { - "bucket": "my_bucket" + "bucket": "my-bucket" } } ---- @@ -54,8 +54,8 @@ PUT _snapshot/my_s3_repository { "type": "s3", "settings": { - "bucket": "my_bucket", - "client": "my_alternate_client" + "bucket": "my-bucket", + "client": "my-alternate-client" } } ---- @@ -247,8 +247,8 @@ PUT _snapshot/my_s3_repository { "type": "s3", "settings": { - "bucket": "my_bucket_name", - "another_setting": "setting_value" + "bucket": "my-bucket", + "another_setting": "setting-value" } } ---- @@ -257,8 +257,12 @@ PUT _snapshot/my_s3_repository The following settings are supported: `bucket`:: - - The name of the bucket to be used for snapshots. (Mandatory) +(Required) +Name of the S3 bucket to use for snapshots. ++ +The bucket name must adhere to Amazon's +https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules[S3 +bucket naming rules]. `client`:: @@ -346,8 +350,8 @@ PUT _snapshot/my_s3_repository { "type": "s3", "settings": { - "client": "my_client_name", - "bucket": "my_bucket_name", + "client": "my-client", + "bucket": "my-bucket", "endpoint": "my.s3.endpoint" } }