예제 #1
0
        /// <summary>
        /// Gives a description of the TTL status on the specified <paramref name="table"/> as an asynchronous operation.
        /// </summary>
        /// <param name="table">The name of the table to be described.</param>
        /// <param name="setup">The <see cref="AsyncOptions" /> which need to be configured.</param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task <DescribeTimeToLiveResponse> DescribeTimeToLiveAsync(string table, Action <AsyncOptions> setup = null)
        {
            DynamoValidator.ThrowIfTableNameIsNotValid(table);
            var options = setup.ConfigureOptions();
            var dttlr   = new DescribeTimeToLiveRequest()
            {
                TableName = table
            };

            return(Client.DescribeTimeToLiveAsync(dttlr, options.CancellationToken));
        }
예제 #2
0
 Task <DescribeTimeToLiveResponse> IAmazonDynamoDB.DescribeTimeToLiveAsync(DescribeTimeToLiveRequest request, CancellationToken cancellationToken)
 {
     throw new NotSupportedException();
 }
예제 #3
0
 public Task <DescribeTimeToLiveResponse> DescribeTimeToLiveAsync(DescribeTimeToLiveRequest request, CancellationToken cancellationToken = default(CancellationToken))
 {
     throw new NotImplementedException();
 }