internal DeleteTagsForDomainResponse DeleteTagsForDomain(DeleteTagsForDomainRequest request) { var marshaller = new DeleteTagsForDomainRequestMarshaller(); var unmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance; return(Invoke <DeleteTagsForDomainRequest, DeleteTagsForDomainResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteTagsForDomain operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteTagsForDomain 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 <DeleteTagsForDomainResponse> DeleteTagsForDomainAsync(DeleteTagsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteTagsForDomainRequestMarshaller(); var unmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance; return(InvokeAsync <DeleteTagsForDomainRequest, DeleteTagsForDomainResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// This operation deletes the specified tags for a domain. /// /// /// <para> /// All tag operations are eventually consistent; subsequent operations may not immediately /// represent all issued operations. /// </para> /// </summary> /// <param name="domainName">The domain for which you want to delete one or more tags. The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when theyaposre surrounded by letters, numbers, or other hyphens. You canapost specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode. Required: Yes</param> /// <param name="tagsToDelete">A list of tag keys to delete. Type: A list that contains the keys of the tags that you want to delete. Default: None Required: No'></param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteTagsForDomain service method, as returned by Route53Domains.</returns> /// <exception cref="Amazon.Route53Domains.Model.InvalidInputException"> /// The requested item is not acceptable. For example, for an OperationId it may refer /// to the ID of an operation that is already completed. For a domain name, it may not /// be a valid domain name or belong to the requester account. /// </exception> /// <exception cref="Amazon.Route53Domains.Model.OperationLimitExceededException"> /// The number of operations or jobs running exceeded the allowed threshold for the account. /// </exception> /// <exception cref="Amazon.Route53Domains.Model.UnsupportedTLDException"> /// Amazon Route 53 does not support this top-level domain. /// </exception> public Task <DeleteTagsForDomainResponse> DeleteTagsForDomainAsync(string domainName, List <string> tagsToDelete, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new DeleteTagsForDomainRequest(); request.DomainName = domainName; request.TagsToDelete = tagsToDelete; return(DeleteTagsForDomainAsync(request, cancellationToken)); }