AWSSDK_DotNet.IntegrationTests.Tests.Polly.PollyTests.HappyCaseWithSessionToken C# (CSharp) Method

HappyCaseWithSessionToken() private method

private HappyCaseWithSessionToken ( ) : void
return void
        public void HappyCaseWithSessionToken()
        {
            var stsClient = new AmazonSecurityTokenServiceClient(RegionEndpoint.USWest2);
            var response = stsClient.GetSessionToken(new GetSessionTokenRequest
            {
                DurationSeconds = 900
            });
            AssertPreSignedUrl(SynthesizeSpeechUtil.GeneratePresignedUrl(response.Credentials, RegionEndpoint.USWest2, GetRequest()));
        }