public async Task GetPutDeleteBucketTagging() { await CreateTempBucketAsync(async x => { IDictionary <string, string> tags = new Dictionary <string, string>(); tags.Add("MyKey", "MyValue"); tags.Add("MyKey2", "MyValue2"); PutBucketTaggingResponse putResp = await BucketClient.PutBucketTaggingAsync(x, tags).ConfigureAwait(false); Assert.True(putResp.IsSuccess); GetBucketTaggingResponse getResp = await BucketClient.GetBucketTaggingAsync(x).ConfigureAwait(false); Assert.True(getResp.IsSuccess); Assert.Equal(tags, getResp.Tags); DeleteBucketTaggingResponse deleteResp = await BucketClient.DeleteBucketTaggingAsync(x).ConfigureAwait(false); Assert.True(deleteResp.IsSuccess); }).ConfigureAwait(false); }