Exemplo n.º 1
0
        /// <summary>
        /// <para>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any
        /// indexes on the table.</para>
        /// </summary>
        ///
        /// <param name="describeTableRequest">Container for the necessary parameters to execute the DescribeTable service method on
        /// AmazonDynamoDBv2.</param>
        ///
        /// <returns>The response from the DescribeTable service method, as returned by AmazonDynamoDBv2.</returns>
        ///
        /// <exception cref="T:Amazon.DynamoDBv2.Model.ResourceNotFoundException" />
        /// <exception cref="T:Amazon.DynamoDBv2.Model.InternalServerErrorException" />
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        public Task <DescribeTableResponse> DescribeTableAsync(DescribeTableRequest describeTableRequest, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DescribeTableRequestMarshaller();
            var unmarshaller = DescribeTableResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, DescribeTableRequest, DescribeTableResponse>(describeTableRequest, marshaller, unmarshaller, signer, cancellationToken));
        }
Exemplo n.º 2
0
 public override DescribeTableResponse GetResponse(UnmarshallerContext unmarshallerContext)
 {
     return(DescribeTableResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }