/**
  * Constructs a new client to invoke service methods on AWS CloudFormation. A credentials provider
  * chain will be used that searches for credentials in this order:
  *
  * <ul>
  *   <li>Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  *   <li>Java System Properties - aws.accessKeyId and aws.secretKey
  *   <li>Instance profile credentials delivered through the Amazon EC2 metadata service
  * </ul>
  *
  * <p>All service calls made using this new client object are blocking, and will not return until
  * the service call completes.
  *
  * @see DefaultAWSCredentialsProviderChain
  */
 public AmazonCloudFormationClient() {
   this(
       new DefaultAWSCredentialsProviderChain(),
       com.amazonaws.PredefinedClientConfigurations.defaultConfig());
 }
 /**
  * Constructs a new client to invoke service methods on AWS CloudFormation using the specified AWS
  * account credentials provider.
  *
  * <p>All service calls made using this new client object are blocking, and will not return until
  * the service call completes.
  *
  * @param awsCredentialsProvider The AWS credentials provider which will provide credentials to
  *     authenticate requests with AWS services.
  */
 public AmazonCloudFormationClient(AWSCredentialsProvider awsCredentialsProvider) {
   this(awsCredentialsProvider, com.amazonaws.PredefinedClientConfigurations.defaultConfig());
 }