Package com.amazonaws.services.sns.model

Examples of com.amazonaws.services.sns.model.CreateTopicResult


        // creates a new topic, or returns the URL of an existing one
        CreateTopicRequest request = new CreateTopicRequest(configuration.getTopicName());
       
        LOG.trace("Creating topic [{}] with request [{}]...", configuration.getTopicName(), request);
       
        CreateTopicResult result = getSNSClient().createTopic(request);
        configuration.setTopicArn(result.getTopicArn());
       
        LOG.trace("Topic created with Amazon resource name: {}", configuration.getTopicArn());
       
        if (configuration.getPolicy() != null) {
            LOG.trace("Updating topic [{}] with policy [{}]", configuration.getTopicArn(), configuration.getPolicy());
View Full Code Here


        // creates a new topic, or returns the URL of an existing one
        CreateTopicRequest request = new CreateTopicRequest(configuration.getTopicName());
       
        LOG.trace("Creating topic [{}] with request [{}]...", configuration.getTopicName(), request);
       
        CreateTopicResult result = getSNSClient().createTopic(request);
        configuration.setTopicArn(result.getTopicArn());
       
        LOG.trace("Topic created with Amazon resource name: {}", configuration.getTopicArn());
       
        if (configuration.getPolicy() != null) {
            LOG.trace("Updating topic [{}] with policy [{}]", configuration.getTopicArn(), configuration.getPolicy());
View Full Code Here

        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException {
        CreateTopicResult createTopicResult = new CreateTopicResult();
        createTopicResult.setTopicArn("arn:aws:sns:us-east-1:541925086079:MyTopic");
        return createTopicResult;
    }
View Full Code Here

        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException {
        CreateTopicResult createTopicResult = new CreateTopicResult();
        createTopicResult.setTopicArn("arn:aws:sns:us-east-1:541925086079:MyTopic");
        return createTopicResult;
    }
View Full Code Here

        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException {
        CreateTopicResult createTopicResult = new CreateTopicResult();
        createTopicResult.setTopicArn(DEFAULT_TOPIC_ARN);
        return createTopicResult;
    }
View Full Code Here

        // creates a new topic, or returns the URL of an existing one
        CreateTopicRequest request = new CreateTopicRequest(configuration.getTopicName());
       
        LOG.trace("Creating topic [{}] with request [{}]...", configuration.getTopicName(), request);
       
        CreateTopicResult result = getSNSClient().createTopic(request);
        configuration.setTopicArn(result.getTopicArn());
       
        LOG.trace("Topic created with Amazon resource name: {}", configuration.getTopicArn());
       
        if (configuration.getPolicy() != null) {
            LOG.trace("Updating topic [{}] with policy [{}]", configuration.getTopicArn(), configuration.getPolicy());
View Full Code Here

        // creates a new topic, or returns the URL of an existing one
        CreateTopicRequest request = new CreateTopicRequest(configuration.getTopicName());
       
        LOG.trace("Creating topic [{}] with request [{}]...", configuration.getTopicName(), request);
       
        CreateTopicResult result = getSNSClient().createTopic(request);
        configuration.setTopicArn(result.getTopicArn());
       
        LOG.trace("Topic created with Amazon resource name: {}", configuration.getTopicArn());
    }
View Full Code Here

        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException {
        CreateTopicResult createTopicResult = new CreateTopicResult();
        createTopicResult.setTopicArn("arn:aws:sns:us-east-1:541925086079:MyTopic");
        return createTopicResult;
    }
View Full Code Here

        // creates a new topic, or returns the URL of an existing one
        CreateTopicRequest request = new CreateTopicRequest(configuration.getTopicName());
       
        LOG.trace("Creating topic [{}] with request [{}]...", configuration.getTopicName(), request);
       
        CreateTopicResult result = snsClient.createTopic(request);
        configuration.setTopicArn(result.getTopicArn());
       
        LOG.trace("Topic created with Amazon resource name: {}", configuration.getTopicArn());
       
        if (ObjectHelper.isNotEmpty(configuration.getPolicy())) {
            LOG.trace("Updating topic [{}] with policy [{}]", configuration.getTopicArn(), configuration.getPolicy());
View Full Code Here

        throw new UnsupportedOperationException();
    }

    @Override
    public CreateTopicResult createTopic(CreateTopicRequest createTopicRequest) throws AmazonServiceException, AmazonClientException {
        CreateTopicResult createTopicResult = new CreateTopicResult();
        createTopicResult.setTopicArn(DEFAULT_TOPIC_ARN);
        return createTopicResult;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.sns.model.CreateTopicResult

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.