示例#1
0
        public void StorageGatewayDescribeBandwidthRateLimit()
        {
            #region to-describe-the-bandwidth-rate-limits-of-a-gateway-1471384826404

            var client   = new AmazonStorageGatewayClient();
            var response = client.DescribeBandwidthRateLimit(new DescribeBandwidthRateLimitRequest
            {
                GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
            });

            long   averageDownloadRateLimitInBitsPerSec = response.AverageDownloadRateLimitInBitsPerSec;
            long   averageUploadRateLimitInBitsPerSec   = response.AverageUploadRateLimitInBitsPerSec;
            string gatewayARN = response.GatewayARN;

            #endregion
        }