Exemple #1
0
        internal virtual UpdateParameterGroupResponse UpdateParameterGroup(UpdateParameterGroupRequest request)
        {
            var marshaller   = UpdateParameterGroupRequestMarshaller.Instance;
            var unmarshaller = UpdateParameterGroupResponseUnmarshaller.Instance;

            return(Invoke <UpdateParameterGroupRequest, UpdateParameterGroupResponse>(request, marshaller, unmarshaller));
        }
Exemple #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateParameterGroup operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateParameterGroup 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/dax-2017-04-19/UpdateParameterGroup">REST API Reference for UpdateParameterGroup Operation</seealso>
        public virtual Task <UpdateParameterGroupResponse> UpdateParameterGroupAsync(UpdateParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = UpdateParameterGroupRequestMarshaller.Instance;
            var unmarshaller = UpdateParameterGroupResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateParameterGroupRequest, UpdateParameterGroupResponse>(request, marshaller,
                                                                                           unmarshaller, cancellationToken));
        }
        internal virtual UpdateParameterGroupResponse UpdateParameterGroup(UpdateParameterGroupRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateParameterGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateParameterGroupResponseUnmarshaller.Instance;

            return(Invoke <UpdateParameterGroupResponse>(request, options));
        }