internal virtual GetAttributeValuesResponse GetAttributeValues(GetAttributeValuesRequest request) { var marshaller = GetAttributeValuesRequestMarshaller.Instance; var unmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(Invoke <GetAttributeValuesRequest, GetAttributeValuesResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetAttributeValues operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAttributeValues operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues">REST API Reference for GetAttributeValues Operation</seealso> public virtual Task <GetAttributeValuesResponse> GetAttributeValuesAsync(GetAttributeValuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = GetAttributeValuesRequestMarshaller.Instance; var unmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(InvokeAsync <GetAttributeValuesRequest, GetAttributeValuesResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the GetAttributeValues operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAttributeValues operation on AmazonPricingClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAttributeValues /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues">REST API Reference for GetAttributeValues Operation</seealso> public virtual IAsyncResult BeginGetAttributeValues(GetAttributeValuesRequest request, AsyncCallback callback, object state) { var marshaller = GetAttributeValuesRequestMarshaller.Instance; var unmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(BeginInvoke <GetAttributeValuesRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Returns a list of attribute values. Attibutes are similar to the details in a Price /// List API offer file. For a list of available attributes, see <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer /// File Definitions</a> in the <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">AWS /// Billing and Cost Management User Guide</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAttributeValues service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAttributeValues service method, as returned by Pricing.</returns> /// <exception cref="Amazon.Pricing.Model.ExpiredNextTokenException"> /// The pagination token expired. Try again without a pagination token. /// </exception> /// <exception cref="Amazon.Pricing.Model.InternalErrorException"> /// An error on the server occurred during the processing of your request. Try again later. /// </exception> /// <exception cref="Amazon.Pricing.Model.InvalidNextTokenException"> /// The pagination token is invalid. Try again without a pagination token. /// </exception> /// <exception cref="Amazon.Pricing.Model.InvalidParameterException"> /// One or more parameters had an invalid value. /// </exception> /// <exception cref="Amazon.Pricing.Model.NotFoundException"> /// The requested resource can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues">REST API Reference for GetAttributeValues Operation</seealso> public virtual Task <GetAttributeValuesResponse> GetAttributeValuesAsync(GetAttributeValuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAttributeValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(InvokeAsync <GetAttributeValuesResponse>(request, options, cancellationToken)); }
/// <summary> /// Returns a list of attribute values. Attibutes are similar to the details in a Price /// List API offer file. For a list of available attributes, see <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer /// File Definitions</a> in the <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">AWS /// Billing and Cost Management User Guide</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAttributeValues service method.</param> /// /// <returns>The response from the GetAttributeValues service method, as returned by Pricing.</returns> /// <exception cref="Amazon.Pricing.Model.ExpiredNextTokenException"> /// The pagination token expired. Try again without a pagination token. /// </exception> /// <exception cref="Amazon.Pricing.Model.InternalErrorException"> /// An error on the server occurred during the processing of your request. Try again later. /// </exception> /// <exception cref="Amazon.Pricing.Model.InvalidNextTokenException"> /// The pagination token is invalid. Try again without a pagination token. /// </exception> /// <exception cref="Amazon.Pricing.Model.InvalidParameterException"> /// One or more parameters had an invalid value. /// </exception> /// <exception cref="Amazon.Pricing.Model.NotFoundException"> /// The requested resource can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues">REST API Reference for GetAttributeValues Operation</seealso> public virtual GetAttributeValuesResponse GetAttributeValues(GetAttributeValuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAttributeValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(Invoke <GetAttributeValuesResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the GetAttributeValues operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAttributeValues operation on AmazonPricingClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAttributeValues /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues">REST API Reference for GetAttributeValues Operation</seealso> public virtual IAsyncResult BeginGetAttributeValues(GetAttributeValuesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAttributeValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAttributeValuesResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }