IAsyncResult invokeCreateClusterParameterGroup(CreateClusterParameterGroupRequest createClusterParameterGroupRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new CreateClusterParameterGroupRequestMarshaller().Marshall(createClusterParameterGroupRequest); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Creates an Amazon Redshift parameter group. /// /// /// <para> /// Creating parameter groups is independent of creating clusters. You can associate a /// cluster with a parameter group when you create the cluster. You can also associate /// an existing cluster with a parameter group after the cluster is created by using <a>ModifyCluster</a>. /// /// </para> /// /// <para> /// Parameters in the parameter group define specific behavior that applies to the databases /// you create on the cluster. For more information about parameters and parameter groups, /// go to <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon /// Redshift Parameter Groups</a> in the <i>Amazon Redshift Cluster Management Guide</i>. /// /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateClusterParameterGroup service method.</param> /// /// <returns>The response from the CreateClusterParameterGroup service method, as returned by Redshift.</returns> /// <exception cref="Amazon.Redshift.Model.ClusterParameterGroupAlreadyExistsException"> /// A cluster parameter group with the same name already exists. /// </exception> /// <exception cref="Amazon.Redshift.Model.ClusterParameterGroupQuotaExceededException"> /// The request would result in the user exceeding the allowed number of cluster parameter /// groups. For information about increasing your quota, go to <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Limits /// in Amazon Redshift</a> in the <i>Amazon Redshift Cluster Management Guide</i>. /// </exception> /// <exception cref="Amazon.Redshift.Model.InvalidTagException"> /// The tag is invalid. /// </exception> /// <exception cref="Amazon.Redshift.Model.TagLimitExceededException"> /// The request exceeds the limit of 10 tags for the resource. /// </exception> public CreateClusterParameterGroupResponse CreateClusterParameterGroup(CreateClusterParameterGroupRequest request) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.Instance; return Invoke<CreateClusterParameterGroupRequest,CreateClusterParameterGroupResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the CreateClusterParameterGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateClusterParameterGroup operation on AmazonRedshiftClient.</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 EndCreateClusterParameterGroup /// operation.</returns> public IAsyncResult BeginCreateClusterParameterGroup(CreateClusterParameterGroupRequest request, AsyncCallback callback, object state) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.Instance; return BeginInvoke<CreateClusterParameterGroupRequest>(request, marshaller, unmarshaller, callback, state); }
public void CreateClusterParameterGroupMarshallTest() { var operation = service_model.FindOperation("CreateClusterParameterGroup"); var request = InstantiateClassGenerator.Execute<CreateClusterParameterGroupRequest>(); var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = CreateClusterParameterGroupResponseUnmarshaller.Instance.Unmarshall(context) as CreateClusterParameterGroupResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// <para> Creates an Amazon Redshift parameter group. </para> <para>Creating parameter groups is independent of creating clusters. You can /// associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group /// after the cluster is created by using ModifyCluster. </para> <para> Parameters in the parameter group define specific behavior that applies /// to the databases you create on the cluster. For more information about managing parameter groups, go to <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift Parameter Groups</a> in the /// <i>Amazon Redshift Management Guide</i> . /// </para> /// </summary> /// /// <param name="createClusterParameterGroupRequest">Container for the necessary parameters to execute the CreateClusterParameterGroup service /// method on AmazonRedshift.</param> /// /// <returns>The response from the CreateClusterParameterGroup service method, as returned by AmazonRedshift.</returns> /// /// <exception cref="T:Amazon.Redshift.Model.ClusterParameterGroupQuotaExceededException" /> /// <exception cref="T:Amazon.Redshift.Model.ClusterParameterGroupAlreadyExistsException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task<CreateClusterParameterGroupResponse> CreateClusterParameterGroupAsync(CreateClusterParameterGroupRequest createClusterParameterGroupRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.GetInstance(); return Invoke<IRequest, CreateClusterParameterGroupRequest, CreateClusterParameterGroupResponse>(createClusterParameterGroupRequest, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// <para> Creates an Amazon Redshift parameter group. </para> <para>Creating parameter groups is independent of creating clusters. You can /// associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group /// after the cluster is created by using ModifyCluster. </para> <para> Parameters in the parameter group define specific behavior that applies /// to the databases you create on the cluster. For more information about managing parameter groups, go to <a href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift Parameter Groups</a> in the /// <i>Amazon Redshift Management Guide</i> . /// </para> /// </summary> /// /// <param name="createClusterParameterGroupRequest">Container for the necessary parameters to execute the CreateClusterParameterGroup service /// method on AmazonRedshift.</param> /// /// <returns>The response from the CreateClusterParameterGroup service method, as returned by AmazonRedshift.</returns> /// /// <exception cref="T:Amazon.Redshift.Model.ClusterParameterGroupQuotaExceededException" /> /// <exception cref="T:Amazon.Redshift.Model.ClusterParameterGroupAlreadyExistsException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public async Task<CreateClusterParameterGroupResponse> CreateClusterParameterGroupAsync(CreateClusterParameterGroupRequest createClusterParameterGroupRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, CreateClusterParameterGroupRequest, CreateClusterParameterGroupResponse>(createClusterParameterGroupRequest, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }
/// <summary> /// Initiates the asynchronous execution of the CreateClusterParameterGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateClusterParameterGroup 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> public Task<CreateClusterParameterGroupResponse> CreateClusterParameterGroupAsync(CreateClusterParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.Instance; return InvokeAsync<CreateClusterParameterGroupRequest,CreateClusterParameterGroupResponse>(request, marshaller, unmarshaller, cancellationToken); }
IAsyncResult invokeCreateClusterParameterGroup(CreateClusterParameterGroupRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new CreateClusterParameterGroupRequestMarshaller(); var unmarshaller = CreateClusterParameterGroupResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }