public void CreateOrUpdateTagsMarshallTest() { var operation = service_model.FindOperation("CreateOrUpdateTags"); var request = InstantiateClassGenerator.Execute <CreateOrUpdateTagsRequest>(); var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// Initiates the asynchronous execution of the CreateOrUpdateTags operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateOrUpdateTags 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<CreateOrUpdateTagsResponse> CreateOrUpdateTagsAsync(CreateOrUpdateTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.Instance; return InvokeAsync<CreateOrUpdateTagsRequest,CreateOrUpdateTagsResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal CreateOrUpdateTagsResponse CreateOrUpdateTags(CreateOrUpdateTagsRequest request) { var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.Instance; return Invoke<CreateOrUpdateTagsRequest,CreateOrUpdateTagsResponse>(request, marshaller, unmarshaller); }
IAsyncResult invokeCreateOrUpdateTags(CreateOrUpdateTagsRequest createOrUpdateTagsRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new CreateOrUpdateTagsRequestMarshaller().Marshall(createOrUpdateTagsRequest); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the CreateOrUpdateTags operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling.CreateOrUpdateTags"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateOrUpdateTags 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<CreateOrUpdateTagsResponse> CreateOrUpdateTagsAsync(CreateOrUpdateTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.GetInstance(); return Invoke<IRequest, CreateOrUpdateTagsRequest, CreateOrUpdateTagsResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
/// <summary> /// Initiates the asynchronous execution of the CreateOrUpdateTags operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateOrUpdateTags operation on AmazonAutoScalingClient.</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 EndCreateOrUpdateTags /// operation.</returns> public IAsyncResult BeginCreateOrUpdateTags(CreateOrUpdateTagsRequest request, AsyncCallback callback, object state) { var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.Instance; return BeginInvoke<CreateOrUpdateTagsRequest>(request, marshaller, unmarshaller, callback, state); }
public void CreateOrUpdateTagsMarshallTest() { var operation = service_model.FindOperation("CreateOrUpdateTags"); var request = InstantiateClassGenerator.Execute<CreateOrUpdateTagsRequest>(); var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// <para> Creates new tags or updates existing tags for an Auto Scaling group. </para> <para><b>NOTE:</b> A tag's definition is composed of a /// resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request /// Parameters for more information. </para> /// </summary> /// /// <param name="createOrUpdateTagsRequest">Container for the necessary parameters to execute the CreateOrUpdateTags service method on /// AmazonAutoScaling.</param> /// /// <exception cref="LimitExceededException"/> /// <exception cref="AlreadyExistsException"/> public CreateOrUpdateTagsResponse CreateOrUpdateTags(CreateOrUpdateTagsRequest createOrUpdateTagsRequest) { IRequest<CreateOrUpdateTagsRequest> request = new CreateOrUpdateTagsRequestMarshaller().Marshall(createOrUpdateTagsRequest); CreateOrUpdateTagsResponse response = Invoke<CreateOrUpdateTagsRequest, CreateOrUpdateTagsResponse> (request, this.signer, CreateOrUpdateTagsResponseUnmarshaller.GetInstance()); return response; }
/// <summary> /// Initiates the asynchronous execution of the CreateOrUpdateTags operation. /// <seealso cref="Amazon.AutoScaling.IAmazonAutoScaling.CreateOrUpdateTags"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateOrUpdateTags 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 async Task<CreateOrUpdateTagsResponse> CreateOrUpdateTagsAsync(CreateOrUpdateTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateOrUpdateTagsRequestMarshaller(); var unmarshaller = CreateOrUpdateTagsResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, CreateOrUpdateTagsRequest, CreateOrUpdateTagsResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }