AWSSDK_DotNet.IntegrationTests.Tests.S3.DualstackTests.TestExplicitDualstackEndpoint C# (CSharp) Method

TestExplicitDualstackEndpoint() private method

private TestExplicitDualstackEndpoint ( ) : void
return void
        public void TestExplicitDualstackEndpoint()
        {
            var config = new AmazonS3Config
            {
                ServiceURL = "https://s3.dualstack.us-west-2.amazonaws.com"
            };

            using (var s3Client = new AmazonS3Client(config))
            {
                var listBucketsResponse = s3Client.ListBuckets();
                Assert.IsNotNull(listBucketsResponse);
                Assert.IsFalse(string.IsNullOrEmpty(listBucketsResponse.ResponseMetadata.RequestId));
            }
        }