示例#1
0
        internal virtual CreateLicenseConfigurationResponse CreateLicenseConfiguration(CreateLicenseConfigurationRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = CreateLicenseConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateLicenseConfigurationResponseUnmarshaller.Instance;

            return(Invoke <CreateLicenseConfigurationResponse>(request, options));
        }
示例#2
0
        /// <summary>
        /// Initiates the asynchronous execution of the CreateLicenseConfiguration operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the CreateLicenseConfiguration 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/license-manager-2018-08-01/CreateLicenseConfiguration">REST API Reference for CreateLicenseConfiguration Operation</seealso>
        public virtual Task <CreateLicenseConfigurationResponse> CreateLicenseConfigurationAsync(CreateLicenseConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = CreateLicenseConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateLicenseConfigurationResponseUnmarshaller.Instance;

            return(InvokeAsync <CreateLicenseConfigurationResponse>(request, options, cancellationToken));
        }
示例#3
0
        internal virtual CreateLicenseConfigurationResponse CreateLicenseConfiguration(CreateLicenseConfigurationRequest request)
        {
            var marshaller   = CreateLicenseConfigurationRequestMarshaller.Instance;
            var unmarshaller = CreateLicenseConfigurationResponseUnmarshaller.Instance;

            return(Invoke <CreateLicenseConfigurationRequest, CreateLicenseConfigurationResponse>(request, marshaller, unmarshaller));
        }