Example usage for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient deprecateDomain

List of usage examples for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient deprecateDomain

Introduction

In this page you can find the example usage for com.amazonaws.services.simpleworkflow AmazonSimpleWorkflowClient deprecateDomain.

Prototype

@Override
public void deprecateDomain(DeprecateDomainRequest request) 

Source Link

Document

Deprecates the specified domain.

Usage

From source file:org.diksha.common.dyutils.DyDBUtils.java

License:Apache License

public static void deprecateDomain(String domainName) {

    AWSCredentials awsCredentials = getAwsCredentials();

    AmazonSimpleWorkflowClient amazonSimpleWorkflowClient = new AmazonSimpleWorkflowClient(awsCredentials);
    amazonSimpleWorkflowClient.deprecateDomain(new DeprecateDomainRequest().withName(domainName));

}