Amazon.Route53.AmazonRoute53Client.DeleteHostedZone C# (CSharp) Méthode

DeleteHostedZone() public méthode

Deletes a hosted zone. Send a DELETE request to the /Amazon Route 53 API version/hostedzone/hosted zone ID resource.

Delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, delete them before deleting the hosted zone. If you try to delete a hosted zone that contains other resource record sets, Amazon Route 53 denies your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

/// The hosted zone contains resource records that are not SOA or NS records. /// /// The specified domain name is not valid. /// /// The input is not valid. /// /// No hosted zone exists with the ID that you specified. /// /// If Amazon Route 53 can't process a request before the next request arrives, it will /// reject subsequent requests for the same hosted zone and return an HTTP 400 error /// (Bad request). If Amazon Route 53 returns this error repeatedly for the /// same request, we recommend that you wait, in intervals of increasing duration, before /// you try the request again. ///
public DeleteHostedZone ( DeleteHostedZoneRequest request ) : DeleteHostedZoneResponse
request DeleteHostedZoneRequest Container for the necessary parameters to execute the DeleteHostedZone service method.
Résultat DeleteHostedZoneResponse
        public DeleteHostedZoneResponse DeleteHostedZone(DeleteHostedZoneRequest request)
        {
            var marshaller = new DeleteHostedZoneRequestMarshaller();
            var unmarshaller = DeleteHostedZoneResponseUnmarshaller.Instance;

            return Invoke<DeleteHostedZoneRequest,DeleteHostedZoneResponse>(request, marshaller, unmarshaller);
        }
AmazonRoute53Client