/// <summary>
        /// <para>Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track
        /// your Amazon EMR resource allocation costs. For more information, see <a href="http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html">Tagging Amazon EMR Resources</a> .
        /// </para>
        /// </summary>
        ///
        /// <param name="addTagsRequest">Container for the necessary parameters to execute the AddTags service method on AmazonElasticMapReduce.</param>
        ///
        /// <returns>The response from the AddTags service method, as returned by AmazonElasticMapReduce.</returns>
        ///
        /// <exception cref="T:Amazon.ElasticMapReduce.Model.InternalServerException" />
        /// <exception cref="T:Amazon.ElasticMapReduce.Model.InvalidRequestException" />
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        public Task <AddTagsResponse> AddTagsAsync(AddTagsRequest addTagsRequest, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new AddTagsRequestMarshaller();
            var unmarshaller = AddTagsResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, AddTagsRequest, AddTagsResponse>(addTagsRequest, marshaller, unmarshaller, signer, cancellationToken));
        }
Exemple #2
0
 public override AddTagsResponse GetResponse(UnmarshallerContext unmarshallerContext)
 {
     return(AddTagsResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }
 public override AddTagsResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
 {
     return AddTagsResponseUnmarshaller.Unmarshall(unmarshallerContext);
 }