Package com.amazonaws.services.route53.model

Examples of com.amazonaws.services.route53.model.ListResourceRecordSetsResult


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HealthCheckAlreadyExists"))
            return null;

        HealthCheckAlreadyExistsException e = (HealthCheckAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HealthCheckInUse"))
            return null;

        HealthCheckInUseException e = (HealthCheckInUseException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HealthCheckInUse"))
            return null;

        HealthCheckInUseException e = (HealthCheckInUseException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HealthCheckVersionMismatch"))
            return null;

        HealthCheckVersionMismatchException e = (HealthCheckVersionMismatchException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

    public String createZone(Project project, String zone, String topZone, DnsSuffixData suffixData) {
        if (suffixData.getSharedDomain()) {
            log.info("Request to create {} under shared AWS Route 53 domain {}; will reuse", zone, suffixData.getKey());
            return null;
        } else {
            HostedZone hostedZone = client.createHostedZone(topZone);
            return hostedZone.getId();
        }
    }
View Full Code Here

        public Void call() throws CloudException, IOException {
            log.debug("Updating domain: {}", zone.getName());

            List<Recordset> requested = readFromDatabase(false);

            HostedZone hostedZone = getHostedZone();

            List<Recordset> aws = readFromAws(hostedZone);

            Changes changes = computeChanges(aws, requested);

            List<ResourceRecordSet> create = mapToAws(hostedZone.getName(), changes.create);
            List<ResourceRecordSet> remove = mapToAws(hostedZone.getName(), changes.remove);
            client.changeRecords(hostedZone.getId(), create, remove);

            return null;
        }
View Full Code Here

            if (!zoneName.endsWith(".")) {
                zoneName += ".";
            }

            String awsZoneName = client.getAwsZoneName(zoneName);
            HostedZone hostedZone = hostedZones.get(awsZoneName);
            if (hostedZone == null) {
                hostedZone = client.createHostedZone(awsZoneName);
            }
            return hostedZone;
        }
View Full Code Here

        }
        return hostedZones;
    }

    public HostedZone createHostedZone(String zoneName) {
        HostedZone zone = getHostedZones().get(zoneName);
        if (zone != null) {
            return zone;
        }

        log.info("Creating Route 53 zone: {}", zoneName);
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HostedZoneAlreadyExists"))
            return null;

        HostedZoneAlreadyExistsException e = (HostedZoneAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("HostedZoneAlreadyExists"))
            return null;

        HostedZoneAlreadyExistsException e = (HostedZoneAlreadyExistsException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.route53.model.ListResourceRecordSetsResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.