コード例 #1
0
        /// <summary>
        /// Initiates the asynchronous execution of the DescribeInputSecurityGroup operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DescribeInputSecurityGroup 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/medialive-2017-10-14/DescribeInputSecurityGroup">REST API Reference for DescribeInputSecurityGroup Operation</seealso>
        public virtual Task <DescribeInputSecurityGroupResponse> DescribeInputSecurityGroupAsync(DescribeInputSecurityGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DescribeInputSecurityGroupRequestMarshaller();
            var unmarshaller = DescribeInputSecurityGroupResponseUnmarshaller.Instance;

            return(InvokeAsync <DescribeInputSecurityGroupRequest, DescribeInputSecurityGroupResponse>(request, marshaller,
                                                                                                       unmarshaller, cancellationToken));
        }
コード例 #2
0
        internal virtual DescribeInputSecurityGroupResponse DescribeInputSecurityGroup(DescribeInputSecurityGroupRequest request)
        {
            var marshaller   = new DescribeInputSecurityGroupRequestMarshaller();
            var unmarshaller = DescribeInputSecurityGroupResponseUnmarshaller.Instance;

            return(Invoke <DescribeInputSecurityGroupRequest, DescribeInputSecurityGroupResponse>(request, marshaller, unmarshaller));
        }