@@ -219,7 +219,7 @@ header: `X-Tigris-Snapshot: true`.
219219
220220Snapshot description can optionally be specified as part of that header (with
221221semicolon separator), e.g.,
222- ` X-Tigris-Snapshot: true; test snapshot description ` .
222+ ` X-Tigris-Snapshot: true; desc= test snapshot description ` .
223223
224224<Tabs groupId = " languages" >
225225<TabItem value = " go" label = " Go" >
@@ -228,7 +228,7 @@ Example using the Go SDK `github.com/aws/aws-sdk-go-v2/service/s3`:
228228``` go
229229func createBucketSnapshot (ctx context .Context , client *s3 .Client , bucketName string ) error {
230230 _ , err := client.CreateBucket (ctx, &s3.CreateBucketInput {Bucket: aws.String (bucketName)}, func (options *s3.Options ) {
231- options.APIOptions = append (options.APIOptions , http.AddHeaderValue (" X-Tigris-Snapshot" , " true; test snapshot description" ))
231+ options.APIOptions = append (options.APIOptions , http.AddHeaderValue (" X-Tigris-Snapshot" , " true; desc= test snapshot description" ))
232232 })
233233 return err
234234}
@@ -246,7 +246,7 @@ async function createBucketSnapshot(client, bucketName) {
246246 command .middlewareStack .add (
247247 (next ) => async (args ) => {
248248 args .request .headers [" X-Tigris-Snapshot" ] =
249- " true; test snapshot description" ;
249+ " true; desc= test snapshot description" ;
250250 return next (args);
251251 },
252252 { step: " build" },
@@ -265,7 +265,7 @@ def create_bucket_snapshot(s3_client, bucket_name):
265265 s3_client.meta.events.register(
266266 " before-sign.s3.CreateBucket" ,
267267 lambda request , ** kwargs : request.headers.add_header(
268- " X-Tigris-Snapshot" , " true; test snapshot description"
268+ " X-Tigris-Snapshot" , " true; desc= test snapshot description"
269269 )
270270 )
271271 s3_client.create_bucket(Bucket = bucket_name)
0 commit comments