/// <summary> /// Retrieves the properties of the requested container. This returns a single <code>Container</code> /// object based on <code>ContainerName</code>. To return all <code>Container</code> objects /// that are associated with a specified AWS account, use <a>ListContainers</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeContainer service method.</param> /// /// <returns>The response from the DescribeContainer service method, as returned by MediaStore.</returns> /// <exception cref="Amazon.MediaStore.Model.ContainerNotFoundException"> /// Could not perform an operation on a container that does not exist. /// </exception> /// <exception cref="Amazon.MediaStore.Model.InternalServerErrorException"> /// The service is temporarily unavailable. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer">REST API Reference for DescribeContainer Operation</seealso> public virtual DescribeContainerResponse DescribeContainer(DescribeContainerRequest request) { var marshaller = new DescribeContainerRequestMarshaller(); var unmarshaller = DescribeContainerResponseUnmarshaller.Instance; return(Invoke <DescribeContainerRequest, DescribeContainerResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeContainer operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeContainer operation on AmazonMediaStoreClient.</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 EndDescribeContainer /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer">REST API Reference for DescribeContainer Operation</seealso> public virtual IAsyncResult BeginDescribeContainer(DescribeContainerRequest request, AsyncCallback callback, object state) { var marshaller = new DescribeContainerRequestMarshaller(); var unmarshaller = DescribeContainerResponseUnmarshaller.Instance; return(BeginInvoke <DescribeContainerRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeContainer operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeContainer 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/mediastore-2017-09-01/DescribeContainer">REST API Reference for DescribeContainer Operation</seealso> public virtual Task <DescribeContainerResponse> DescribeContainerAsync(DescribeContainerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeContainerRequestMarshaller(); var unmarshaller = DescribeContainerResponseUnmarshaller.Instance; return(InvokeAsync <DescribeContainerRequest, DescribeContainerResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Retrieves the properties of the requested container. This request is commonly used /// to retrieve the endpoint of a container. An endpoint is a value assigned by the service /// when a new container is created. A container's endpoint does not change after it has /// been assigned. The <code>DescribeContainer</code> request returns a single <code>Container</code> /// object based on <code>ContainerName</code>. To return all <code>Container</code> objects /// that are associated with a specified AWS account, use <a>ListContainers</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeContainer 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 DescribeContainer service method, as returned by MediaStore.</returns> /// <exception cref="Amazon.MediaStore.Model.ContainerNotFoundException"> /// The container that you specified in the request does not exist. /// </exception> /// <exception cref="Amazon.MediaStore.Model.InternalServerErrorException"> /// The service is temporarily unavailable. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer">REST API Reference for DescribeContainer Operation</seealso> public virtual Task <DescribeContainerResponse> DescribeContainerAsync(DescribeContainerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContainerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContainerResponseUnmarshaller.Instance; return(InvokeAsync <DescribeContainerResponse>(request, options, cancellationToken)); }
internal virtual DescribeContainerResponse DescribeContainer(DescribeContainerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContainerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContainerResponseUnmarshaller.Instance; return(Invoke <DescribeContainerResponse>(request, options)); }
/// <summary> /// 查询一台原生容器的详细信息 /// /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <DescribeContainerResponse> DescribeContainer(DescribeContainerRequest request) { return(await new DescribeContainerExecutor().Client(this).Execute <DescribeContainerResponse, DescribeContainerResult, DescribeContainerRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 查询一台原生容器的详细信息 /// /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public DescribeContainerResponse DescribeContainer(DescribeContainerRequest request) { return(new DescribeContainerExecutor().Client(this).Execute <DescribeContainerResponse, DescribeContainerResult, DescribeContainerRequest>(request)); }