Amazon.Kinesis.AmazonKinesisClient.DecreaseStreamRetentionPeriodAsync C# (CSharp) Method

DecreaseStreamRetentionPeriodAsync() public method

Initiates the asynchronous execution of the DecreaseStreamRetentionPeriod operation.
public DecreaseStreamRetentionPeriodAsync ( DecreaseStreamRetentionPeriodRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Kinesis.Model.DecreaseStreamRetentionPeriodRequest Container for the necessary parameters to execute the DecreaseStreamRetentionPeriod operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DecreaseStreamRetentionPeriodResponse> DecreaseStreamRetentionPeriodAsync(DecreaseStreamRetentionPeriodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DecreaseStreamRetentionPeriodRequestMarshaller();
            var unmarshaller = DecreaseStreamRetentionPeriodResponseUnmarshaller.Instance;

            return InvokeAsync<DecreaseStreamRetentionPeriodRequest,DecreaseStreamRetentionPeriodResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonKinesisClient::DecreaseStreamRetentionPeriodAsync ( string streamName, int retentionPeriodHours, System cancellationToken = default(CancellationToken) ) : Task
AmazonKinesisClient::DecreaseStreamRetentionPeriodAsync ( DecreaseStreamRetentionPeriodRequest request, DecreaseStreamRetentionPeriodResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonKinesisClient::DecreaseStreamRetentionPeriodAsync ( string streamName, int retentionPeriodHours, DecreaseStreamRetentionPeriodResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonKinesisClient