/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the route53domains-2014-05-15.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.Route53Domains.Model; using Amazon.Route53Domains.Model.Internal.MarshallTransformations; using Amazon.Route53Domains.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Route53Domains { /// /// Implementation for accessing Route53Domains /// /// Amazon Route 53 API actions let you register domain names and perform related operations. /// public partial class AmazonRoute53DomainsClient : AmazonServiceClient, IAmazonRoute53Domains { private static IServiceMetadata serviceMetadata = new AmazonRoute53DomainsMetadata(); #region Constructors /// /// Constructs AmazonRoute53DomainsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonRoute53DomainsClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53DomainsConfig()) { } /// /// Constructs AmazonRoute53DomainsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonRoute53DomainsClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53DomainsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53DomainsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonRoute53DomainsClient Configuration Object public AmazonRoute53DomainsClient(AmazonRoute53DomainsConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonRoute53DomainsClient with AWS Credentials /// /// AWS Credentials public AmazonRoute53DomainsClient(AWSCredentials credentials) : this(credentials, new AmazonRoute53DomainsConfig()) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonRoute53DomainsClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonRoute53DomainsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Credentials and an /// AmazonRoute53DomainsClient Configuration object. /// /// AWS Credentials /// The AmazonRoute53DomainsClient Configuration Object public AmazonRoute53DomainsClient(AWSCredentials credentials, AmazonRoute53DomainsConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53DomainsConfig()) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53DomainsConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53DomainsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonRoute53DomainsClient Configuration Object public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53DomainsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53DomainsConfig()) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53DomainsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53DomainsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonRoute53DomainsClient Configuration Object public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53DomainsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IRoute53DomainsPaginatorFactory _paginators; /// /// Paginators for the service /// public IRoute53DomainsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new Route53DomainsPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonRoute53DomainsEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AcceptDomainTransferFromAnotherAwsAccount internal virtual AcceptDomainTransferFromAnotherAwsAccountResponse AcceptDomainTransferFromAnotherAwsAccount(AcceptDomainTransferFromAnotherAwsAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptDomainTransferFromAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptDomainTransferFromAnotherAwsAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts the transfer of a domain from another Amazon Web Services account to the currentAmazon /// Web Services account. You initiate a transfer between Amazon Web Services accounts /// using TransferDomainToAnotherAwsAccount. /// /// /// /// If you use the CLI command at accept-domain-transfer-from-another-aws-account, /// use JSON format as input instead of text because otherwise CLI will throw an error /// from domain transfer input that includes single quotes. /// /// /// /// Use either ListOperations /// or GetOperationDetail /// to determine whether the operation succeeded. GetOperationDetail /// provides additional information, for example, Domain Transfer from Aws Account /// 111122223333 has been cancelled. /// /// /// Container for the necessary parameters to execute the AcceptDomainTransferFromAnotherAwsAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptDomainTransferFromAnotherAwsAccount service method, as returned by Route53Domains. /// /// The number of domains has exceeded the allowed threshold for the account. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for AcceptDomainTransferFromAnotherAwsAccount Operation public virtual Task AcceptDomainTransferFromAnotherAwsAccountAsync(AcceptDomainTransferFromAnotherAwsAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptDomainTransferFromAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptDomainTransferFromAnotherAwsAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateDelegationSignerToDomain internal virtual AssociateDelegationSignerToDomainResponse AssociateDelegationSignerToDomain(AssociateDelegationSignerToDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDelegationSignerToDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDelegationSignerToDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a delegation signer (DS) record in the registry zone for this domain name. /// /// /// /// Note that creating DS record at the registry impacts DNSSEC validation of your DNS /// records. This action may render your domain name unavailable on the internet if the /// steps are completed in the wrong order, or with incorrect timing. For more information /// about DNSSEC signing, see Configuring /// DNSSEC signing in the Route 53 developer guide. /// /// /// Container for the necessary parameters to execute the AssociateDelegationSignerToDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateDelegationSignerToDomain service method, as returned by Route53Domains. /// /// This error is returned if you call AssociateDelegationSignerToDomain /// when the specified domain has reached the maximum number of DS records. You can't /// add any additional DS records unless you delete an existing one first. /// /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for AssociateDelegationSignerToDomain Operation public virtual Task AssociateDelegationSignerToDomainAsync(AssociateDelegationSignerToDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDelegationSignerToDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDelegationSignerToDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelDomainTransferToAnotherAwsAccount internal virtual CancelDomainTransferToAnotherAwsAccountResponse CancelDomainTransferToAnotherAwsAccount(CancelDomainTransferToAnotherAwsAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelDomainTransferToAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelDomainTransferToAnotherAwsAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the transfer of a domain from the current Amazon Web Services account to another /// Amazon Web Services account. You initiate a transfer betweenAmazon Web Services accounts /// using TransferDomainToAnotherAwsAccount. /// /// /// /// /// You must cancel the transfer before the other Amazon Web Services account accepts /// the transfer using AcceptDomainTransferFromAnotherAwsAccount. /// /// /// /// Use either ListOperations /// or GetOperationDetail /// to determine whether the operation succeeded. GetOperationDetail /// provides additional information, for example, Domain Transfer from Aws Account /// 111122223333 has been cancelled. /// /// /// Container for the necessary parameters to execute the CancelDomainTransferToAnotherAwsAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelDomainTransferToAnotherAwsAccount service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for CancelDomainTransferToAnotherAwsAccount Operation public virtual Task CancelDomainTransferToAnotherAwsAccountAsync(CancelDomainTransferToAnotherAwsAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelDomainTransferToAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelDomainTransferToAnotherAwsAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CheckDomainAvailability internal virtual CheckDomainAvailabilityResponse CheckDomainAvailability(CheckDomainAvailabilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CheckDomainAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = CheckDomainAvailabilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation checks the availability of one domain name. Note that if the availability /// status of a domain is pending, you must submit another request to determine the availability /// of the domain name. /// /// Container for the necessary parameters to execute the CheckDomainAvailability service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CheckDomainAvailability service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for CheckDomainAvailability Operation public virtual Task CheckDomainAvailabilityAsync(CheckDomainAvailabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CheckDomainAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = CheckDomainAvailabilityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CheckDomainTransferability internal virtual CheckDomainTransferabilityResponse CheckDomainTransferability(CheckDomainTransferabilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CheckDomainTransferabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = CheckDomainTransferabilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Checks whether a domain name can be transferred to Amazon Route 53. /// /// Container for the necessary parameters to execute the CheckDomainTransferability service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CheckDomainTransferability service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for CheckDomainTransferability Operation public virtual Task CheckDomainTransferabilityAsync(CheckDomainTransferabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CheckDomainTransferabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = CheckDomainTransferabilityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDomain internal virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes the specified domain. This action is permanent. For more information, /// see Deleting /// a domain name registration. /// /// /// /// To transfer the domain registration to another registrar, use the transfer process /// that’s provided by the registrar to which you want to transfer the registration. Otherwise, /// the following apply: /// ///
  1. /// /// You can’t get a refund for the cost of a deleted domain registration. /// ///
  2. /// /// The registry for the top-level domain might hold the domain name for a brief time /// before releasing it for other users to register (varies by registry). /// ///
  3. /// /// When the registration has been deleted, we'll send you a confirmation to the registrant /// contact. The email will come from noreply@domainnameverification.net /// or noreply@registrar.amazon.com. /// ///
///
/// Container for the necessary parameters to execute the DeleteDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDomain service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DeleteDomain Operation public virtual Task DeleteDomainAsync(DeleteDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTagsForDomain internal virtual DeleteTagsForDomainResponse DeleteTagsForDomain(DeleteTagsForDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation deletes the specified tags for a domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// The domain for which you want to delete one or more tags. /// A list of tag keys to delete. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DeleteTagsForDomain Operation public virtual Task DeleteTagsForDomainAsync(string domainName, List tagsToDelete, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new DeleteTagsForDomainRequest(); request.DomainName = domainName; request.TagsToDelete = tagsToDelete; return DeleteTagsForDomainAsync(request, cancellationToken); } /// /// This operation deletes the specified tags for a domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// Container for the necessary parameters to execute the DeleteTagsForDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DeleteTagsForDomain Operation public virtual Task DeleteTagsForDomainAsync(DeleteTagsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableDomainAutoRenew internal virtual DisableDomainAutoRenewResponse DisableDomainAutoRenew(DisableDomainAutoRenewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDomainAutoRenewRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDomainAutoRenewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation disables automatic renewal of domain registration for the specified /// domain. /// /// Container for the necessary parameters to execute the DisableDomainAutoRenew service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableDomainAutoRenew service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DisableDomainAutoRenew Operation public virtual Task DisableDomainAutoRenewAsync(DisableDomainAutoRenewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDomainAutoRenewRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDomainAutoRenewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableDomainTransferLock internal virtual DisableDomainTransferLockResponse DisableDomainTransferLock(DisableDomainTransferLockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDomainTransferLockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDomainTransferLockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation removes the transfer lock on the domain (specifically the clientTransferProhibited /// status) to allow domain transfers. We recommend you refrain from performing this action /// unless you intend to transfer the domain to a different registrar. Successful submission /// returns an operation ID that you can use to track the progress and completion of the /// action. If the request is not completed successfully, the domain registrant will be /// notified by email. /// /// Container for the necessary parameters to execute the DisableDomainTransferLock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableDomainTransferLock service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DisableDomainTransferLock Operation public virtual Task DisableDomainTransferLockAsync(DisableDomainTransferLockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDomainTransferLockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDomainTransferLockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateDelegationSignerFromDomain internal virtual DisassociateDelegationSignerFromDomainResponse DisassociateDelegationSignerFromDomain(DisassociateDelegationSignerFromDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateDelegationSignerFromDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateDelegationSignerFromDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a delegation signer (DS) record in the registry zone for this domain name. /// /// Container for the necessary parameters to execute the DisassociateDelegationSignerFromDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateDelegationSignerFromDomain service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for DisassociateDelegationSignerFromDomain Operation public virtual Task DisassociateDelegationSignerFromDomainAsync(DisassociateDelegationSignerFromDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateDelegationSignerFromDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateDelegationSignerFromDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableDomainAutoRenew internal virtual EnableDomainAutoRenewResponse EnableDomainAutoRenew(EnableDomainAutoRenewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDomainAutoRenewRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDomainAutoRenewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation configures Amazon Route 53 to automatically renew the specified domain /// before the domain registration expires. The cost of renewing your domain registration /// is billed to your Amazon Web Services account. /// /// /// /// The period during which you can renew a domain name varies by TLD. For a list of TLDs /// and their renewal policies, see Domains /// That You Can Register with Amazon Route 53 in the Amazon Route 53 Developer /// Guide. Route 53 requires that you renew before the end of the renewal period so /// we can complete processing before the deadline. /// /// /// Container for the necessary parameters to execute the EnableDomainAutoRenew service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableDomainAutoRenew service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for EnableDomainAutoRenew Operation public virtual Task EnableDomainAutoRenewAsync(EnableDomainAutoRenewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDomainAutoRenewRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDomainAutoRenewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableDomainTransferLock internal virtual EnableDomainTransferLockResponse EnableDomainTransferLock(EnableDomainTransferLockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDomainTransferLockRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDomainTransferLockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation sets the transfer lock on the domain (specifically the clientTransferProhibited /// status) to prevent domain transfers. Successful submission returns an operation ID /// that you can use to track the progress and completion of the action. If the request /// is not completed successfully, the domain registrant will be notified by email. /// /// Container for the necessary parameters to execute the EnableDomainTransferLock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableDomainTransferLock service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for EnableDomainTransferLock Operation public virtual Task EnableDomainTransferLockAsync(EnableDomainTransferLockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDomainTransferLockRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDomainTransferLockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContactReachabilityStatus internal virtual GetContactReachabilityStatusResponse GetContactReachabilityStatus(GetContactReachabilityStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactReachabilityStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactReachabilityStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For operations that require confirmation that the email address for the registrant /// contact is valid, such as registering a new domain, this operation returns information /// about whether the registrant contact has responded. /// /// /// /// If you want us to resend the email, use the ResendContactReachabilityEmail /// operation. /// /// /// Container for the necessary parameters to execute the GetContactReachabilityStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetContactReachabilityStatus service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for GetContactReachabilityStatus Operation public virtual Task GetContactReachabilityStatusAsync(GetContactReachabilityStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactReachabilityStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactReachabilityStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDomainDetail internal virtual GetDomainDetailResponse GetDomainDetail(GetDomainDetailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainDetailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns detailed information about a specified domain that is associated /// with the current Amazon Web Services account. Contact information for the domain is /// also returned as part of the output. /// /// Container for the necessary parameters to execute the GetDomainDetail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDomainDetail service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for GetDomainDetail Operation public virtual Task GetDomainDetailAsync(GetDomainDetailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainDetailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDomainSuggestions internal virtual GetDomainSuggestionsResponse GetDomainSuggestions(GetDomainSuggestionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainSuggestionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainSuggestionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// The GetDomainSuggestions operation returns a list of suggested domain names. /// /// Container for the necessary parameters to execute the GetDomainSuggestions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDomainSuggestions service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for GetDomainSuggestions Operation public virtual Task GetDomainSuggestionsAsync(GetDomainSuggestionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainSuggestionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainSuggestionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOperationDetail internal virtual GetOperationDetailResponse GetOperationDetail(GetOperationDetailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOperationDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOperationDetailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns the current status of an operation that is not completed. /// /// Container for the necessary parameters to execute the GetOperationDetail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOperationDetail service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for GetOperationDetail Operation public virtual Task GetOperationDetailAsync(GetOperationDetailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOperationDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOperationDetailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDomains internal virtual ListDomainsResponse ListDomains() { return ListDomains(new ListDomainsRequest()); } internal virtual ListDomainsResponse ListDomains(ListDomainsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns all the domain names registered with Amazon Route 53 for the /// current Amazon Web Services account if no filtering conditions are used. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDomains service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ListDomains Operation public virtual Task ListDomainsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListDomainsAsync(new ListDomainsRequest(), cancellationToken); } /// /// This operation returns all the domain names registered with Amazon Route 53 for the /// current Amazon Web Services account if no filtering conditions are used. /// /// Container for the necessary parameters to execute the ListDomains service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDomains service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ListDomains Operation public virtual Task ListDomainsAsync(ListDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOperations internal virtual ListOperationsResponse ListOperations() { return ListOperations(new ListOperationsRequest()); } internal virtual ListOperationsResponse ListOperations(ListOperationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about all of the operations that return an operation ID and that /// have ever been performed on domains that were registered by the current account. /// /// /// /// This command runs only in the us-east-1 Region. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOperations service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ListOperations Operation public virtual Task ListOperationsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListOperationsAsync(new ListOperationsRequest(), cancellationToken); } /// /// Returns information about all of the operations that return an operation ID and that /// have ever been performed on domains that were registered by the current account. /// /// /// /// This command runs only in the us-east-1 Region. /// /// /// Container for the necessary parameters to execute the ListOperations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOperations service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ListOperations Operation public virtual Task ListOperationsAsync(ListOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPrices internal virtual ListPricesResponse ListPrices(ListPricesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPricesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPricesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the following prices for either all the TLDs supported by Route 53, or the specified /// TLD: /// ///
  • /// /// Registration /// ///
  • /// /// Transfer /// ///
  • /// /// Owner change /// ///
  • /// /// Domain renewal /// ///
  • /// /// Domain restoration /// ///
///
/// Container for the necessary parameters to execute the ListPrices service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPrices service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for ListPrices Operation public virtual Task ListPricesAsync(ListPricesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPricesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPricesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForDomain internal virtual ListTagsForDomainResponse ListTagsForDomain(ListTagsForDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns all of the tags that are associated with the specified domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// The domain for which you want to get a list of tags. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for ListTagsForDomain Operation public virtual Task ListTagsForDomainAsync(string domainName, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new ListTagsForDomainRequest(); request.DomainName = domainName; return ListTagsForDomainAsync(request, cancellationToken); } /// /// This operation returns all of the tags that are associated with the specified domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// Container for the necessary parameters to execute the ListTagsForDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for ListTagsForDomain Operation public virtual Task ListTagsForDomainAsync(ListTagsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PushDomain internal virtual PushDomainResponse PushDomain(PushDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PushDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = PushDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Moves a domain from Amazon Web Services to another registrar. /// /// /// /// Supported actions: /// ///
  • /// /// Changes the IPS tags of a .uk domain, and pushes it to transit. Transit means that /// the domain is ready to be transferred to another registrar. /// ///
///
/// Container for the necessary parameters to execute the PushDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PushDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for PushDomain Operation public virtual Task PushDomainAsync(PushDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PushDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = PushDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterDomain internal virtual RegisterDomainResponse RegisterDomain(RegisterDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation registers a domain. For some top-level domains (TLDs), this operation /// requires extra parameters. /// /// /// /// When you register a domain, Amazon Route 53 does the following: /// ///
  • /// /// Creates a Route 53 hosted zone that has the same name as the domain. Route 53 assigns /// four name servers to your hosted zone and automatically updates your domain registration /// with the names of these name servers. /// ///
  • /// /// Enables auto renew, so your domain registration will renew automatically each year. /// We'll notify you in advance of the renewal date so you can choose whether to renew /// the registration. /// ///
  • /// /// Optionally enables privacy protection, so WHOIS queries return contact for the registrar /// or the phrase "REDACTED FOR PRIVACY", or "On behalf of <domain name> owner." /// If you don't enable privacy protection, WHOIS queries return the information that /// you entered for the administrative, registrant, and technical contacts. /// /// /// /// While some domains may allow different privacy settings per contact, we recommend /// specifying the same privacy setting for all contacts. /// ///
  • /// /// If registration is successful, returns an operation ID that you can use to track the /// progress and completion of the action. If the request is not completed successfully, /// the domain registrant is notified by email. /// ///
  • /// /// Charges your Amazon Web Services account an amount based on the top-level domain. /// For more information, see Amazon /// Route 53 Pricing. /// ///
///
/// Container for the necessary parameters to execute the RegisterDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterDomain service method, as returned by Route53Domains. /// /// The number of domains has exceeded the allowed threshold for the account. /// /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for RegisterDomain Operation public virtual Task RegisterDomainAsync(RegisterDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectDomainTransferFromAnotherAwsAccount internal virtual RejectDomainTransferFromAnotherAwsAccountResponse RejectDomainTransferFromAnotherAwsAccount(RejectDomainTransferFromAnotherAwsAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectDomainTransferFromAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectDomainTransferFromAnotherAwsAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects the transfer of a domain from another Amazon Web Services account to the current /// Amazon Web Services account. You initiate a transfer betweenAmazon Web Services accounts /// using TransferDomainToAnotherAwsAccount. /// /// /// /// /// Use either ListOperations /// or GetOperationDetail /// to determine whether the operation succeeded. GetOperationDetail /// provides additional information, for example, Domain Transfer from Aws Account /// 111122223333 has been cancelled. /// /// /// Container for the necessary parameters to execute the RejectDomainTransferFromAnotherAwsAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectDomainTransferFromAnotherAwsAccount service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for RejectDomainTransferFromAnotherAwsAccount Operation public virtual Task RejectDomainTransferFromAnotherAwsAccountAsync(RejectDomainTransferFromAnotherAwsAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectDomainTransferFromAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectDomainTransferFromAnotherAwsAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RenewDomain internal virtual RenewDomainResponse RenewDomain(RenewDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RenewDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = RenewDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation renews a domain for the specified number of years. The cost of renewing /// your domain is billed to your Amazon Web Services account. /// /// /// /// We recommend that you renew your domain several weeks before the expiration date. /// Some TLD registries delete domains before the expiration date if you haven't renewed /// far enough in advance. For more information about renewing domain registration, see /// Renewing /// Registration for a Domain in the Amazon Route 53 Developer Guide. /// /// /// Container for the necessary parameters to execute the RenewDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RenewDomain service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for RenewDomain Operation public virtual Task RenewDomainAsync(RenewDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RenewDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = RenewDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResendContactReachabilityEmail internal virtual ResendContactReachabilityEmailResponse ResendContactReachabilityEmail(ResendContactReachabilityEmailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResendContactReachabilityEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = ResendContactReachabilityEmailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For operations that require confirmation that the email address for the registrant /// contact is valid, such as registering a new domain, this operation resends the confirmation /// email to the current email address for the registrant contact. /// /// Container for the necessary parameters to execute the ResendContactReachabilityEmail service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResendContactReachabilityEmail service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for ResendContactReachabilityEmail Operation public virtual Task ResendContactReachabilityEmailAsync(ResendContactReachabilityEmailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResendContactReachabilityEmailRequestMarshaller.Instance; options.ResponseUnmarshaller = ResendContactReachabilityEmailResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResendOperationAuthorization internal virtual ResendOperationAuthorizationResponse ResendOperationAuthorization(ResendOperationAuthorizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResendOperationAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = ResendOperationAuthorizationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resend the form of authorization email for this operation. /// /// Container for the necessary parameters to execute the ResendOperationAuthorization service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResendOperationAuthorization service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ResendOperationAuthorization Operation public virtual Task ResendOperationAuthorizationAsync(ResendOperationAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResendOperationAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = ResendOperationAuthorizationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RetrieveDomainAuthCode internal virtual RetrieveDomainAuthCodeResponse RetrieveDomainAuthCode(RetrieveDomainAuthCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RetrieveDomainAuthCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = RetrieveDomainAuthCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation returns the authorization code for the domain. To transfer a domain /// to another registrar, you provide this value to the new registrar. /// /// Container for the necessary parameters to execute the RetrieveDomainAuthCode service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RetrieveDomainAuthCode service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for RetrieveDomainAuthCode Operation public virtual Task RetrieveDomainAuthCodeAsync(RetrieveDomainAuthCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RetrieveDomainAuthCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = RetrieveDomainAuthCodeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TransferDomain internal virtual TransferDomainResponse TransferDomain(TransferDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TransferDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Transfers a domain from another registrar to Amazon Route 53. /// /// /// /// For more information about transferring domains, see the following topics: /// /// /// /// If the registrar for your domain is also the DNS service provider for the domain, /// we highly recommend that you transfer your DNS service to Route 53 or to another DNS /// service provider before you transfer your registration. Some registrars provide free /// DNS service when you purchase a domain registration. When you transfer the registration, /// the previous registrar will not renew your domain registration and could end your /// DNS service at any time. /// /// /// /// If the registrar for your domain is also the DNS service provider for the domain and /// you don't transfer DNS service to another provider, your website, email, and the web /// applications associated with the domain might become unavailable. /// /// /// /// If the transfer is successful, this method returns an operation ID that you can use /// to track the progress and completion of the action. If the transfer doesn't complete /// successfully, the domain registrant will be notified by email. /// /// /// Container for the necessary parameters to execute the TransferDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TransferDomain service method, as returned by Route53Domains. /// /// The number of domains has exceeded the allowed threshold for the account. /// /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for TransferDomain Operation public virtual Task TransferDomainAsync(TransferDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TransferDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TransferDomainToAnotherAwsAccount internal virtual TransferDomainToAnotherAwsAccountResponse TransferDomainToAnotherAwsAccount(TransferDomainToAnotherAwsAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TransferDomainToAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferDomainToAnotherAwsAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Transfers a domain from the current Amazon Web Services account to another Amazon /// Web Services account. Note the following: /// /// /// /// When you transfer a domain from one Amazon Web Services account to another, Route /// 53 doesn't transfer the hosted zone that is associated with the domain. DNS resolution /// isn't affected if the domain and the hosted zone are owned by separate accounts, so /// transferring the hosted zone is optional. For information about transferring the hosted /// zone to another Amazon Web Services account, see Migrating /// a Hosted Zone to a Different Amazon Web Services Account in the Amazon Route /// 53 Developer Guide. /// /// /// /// Use either ListOperations /// or GetOperationDetail /// to determine whether the operation succeeded. GetOperationDetail /// provides additional information, for example, Domain Transfer from Aws Account /// 111122223333 has been cancelled. /// /// /// Container for the necessary parameters to execute the TransferDomainToAnotherAwsAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TransferDomainToAnotherAwsAccount service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for TransferDomainToAnotherAwsAccount Operation public virtual Task TransferDomainToAnotherAwsAccountAsync(TransferDomainToAnotherAwsAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TransferDomainToAnotherAwsAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferDomainToAnotherAwsAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDomainContact internal virtual UpdateDomainContactResponse UpdateDomainContact(UpdateDomainContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates the contact information for a particular domain. You must specify /// information for at least one contact: registrant, administrator, or technical. /// /// /// /// If the update is successful, this method returns an operation ID that you can use /// to track the progress and completion of the operation. If the request is not completed /// successfully, the domain registrant will be notified by email. /// /// /// Container for the necessary parameters to execute the UpdateDomainContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDomainContact service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for UpdateDomainContact Operation public virtual Task UpdateDomainContactAsync(UpdateDomainContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDomainContactPrivacy internal virtual UpdateDomainContactPrivacyResponse UpdateDomainContactPrivacy(UpdateDomainContactPrivacyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainContactPrivacyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainContactPrivacyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation updates the specified domain contact's privacy setting. When privacy /// protection is enabled, your contact information is replaced with contact information /// for the registrar or with the phrase "REDACTED FOR PRIVACY", or "On behalf of <domain /// name> owner." /// /// /// /// While some domains may allow different privacy settings per contact, we recommend /// specifying the same privacy setting for all contacts. /// /// /// /// This operation affects only the contact information for the specified contact type /// (administrative, registrant, or technical). If the request succeeds, Amazon Route /// 53 returns an operation ID that you can use with GetOperationDetail /// to track the progress and completion of the action. If the request doesn't complete /// successfully, the domain registrant will be notified by email. /// /// /// /// By disabling the privacy service via API, you consent to the publication of the contact /// information provided for this domain via the public WHOIS database. You certify that /// you are the registrant of this domain name and have the authority to make this decision. /// You may withdraw your consent at any time by enabling privacy protection using either /// UpdateDomainContactPrivacy or the Route 53 console. Enabling privacy /// protection removes the contact information provided for this domain from the WHOIS /// database. For more information on our privacy practices, see https://aws.amazon.com/privacy/. /// /// /// /// Container for the necessary parameters to execute the UpdateDomainContactPrivacy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDomainContactPrivacy service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for UpdateDomainContactPrivacy Operation public virtual Task UpdateDomainContactPrivacyAsync(UpdateDomainContactPrivacyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainContactPrivacyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainContactPrivacyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDomainNameservers internal virtual UpdateDomainNameserversResponse UpdateDomainNameservers(UpdateDomainNameserversRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainNameserversRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainNameserversResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation replaces the current set of name servers for the domain with the specified /// set of name servers. If you use Amazon Route 53 as your DNS service, specify the four /// name servers in the delegation set for the hosted zone for the domain. /// /// /// /// If successful, this operation returns an operation ID that you can use to track the /// progress and completion of the action. If the request is not completed successfully, /// the domain registrant will be notified by email. /// /// /// Container for the necessary parameters to execute the UpdateDomainNameservers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDomainNameservers service method, as returned by Route53Domains. /// /// The request is already in progress for the domain. /// /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// The top-level domain does not support this operation. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for UpdateDomainNameservers Operation public virtual Task UpdateDomainNameserversAsync(UpdateDomainNameserversRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainNameserversRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainNameserversResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateTagsForDomain internal virtual UpdateTagsForDomainResponse UpdateTagsForDomain(UpdateTagsForDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTagsForDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This operation adds or updates tags for a specified domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// The domain for which you want to add or update tags. /// A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for UpdateTagsForDomain Operation public virtual Task UpdateTagsForDomainAsync(string domainName, List tagsToUpdate, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var request = new UpdateTagsForDomainRequest(); request.DomainName = domainName; request.TagsToUpdate = tagsToUpdate; return UpdateTagsForDomainAsync(request, cancellationToken); } /// /// This operation adds or updates tags for a specified domain. /// /// /// /// All tag operations are eventually consistent; subsequent operations might not immediately /// represent all issued operations. /// /// /// Container for the necessary parameters to execute the UpdateTagsForDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTagsForDomain service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// /// The number of operations or jobs running exceeded the allowed threshold for the account. /// /// /// Amazon Route 53 does not support this top-level domain (TLD). /// /// REST API Reference for UpdateTagsForDomain Operation public virtual Task UpdateTagsForDomainAsync(UpdateTagsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTagsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTagsForDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ViewBilling internal virtual ViewBillingResponse ViewBilling(ViewBillingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ViewBillingRequestMarshaller.Instance; options.ResponseUnmarshaller = ViewBillingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns all the domain-related billing records for the current Amazon Web Services /// account for a specified period /// /// Container for the necessary parameters to execute the ViewBilling service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ViewBilling service method, as returned by Route53Domains. /// /// The requested item is not acceptable. For example, for APIs that accept a domain name, /// the request might specify a domain name that doesn't belong to the account that submitted /// the request. For AcceptDomainTransferFromAnotherAwsAccount, the password /// might be invalid. /// /// REST API Reference for ViewBilling Operation public virtual Task ViewBillingAsync(ViewBillingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ViewBillingRequestMarshaller.Instance; options.ResponseUnmarshaller = ViewBillingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }