Skip to content

Commit

Permalink
AWS SDK for Java 1.11.16
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Jul 13, 2016
1 parent 786bc58 commit 15ca1bb
Show file tree
Hide file tree
Showing 579 changed files with 1,264,037 additions and 1,236,238 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -39,7 +39,7 @@ dependencies.
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.15</version>
<version>1.11.16</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions aws-java-sdk-acm/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.16-SNAPSHOT</version>
<version>1.11.16</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-acm</artifactId>
Expand All @@ -19,7 +19,7 @@
<artifactId>aws-java-sdk-core</artifactId>
<groupId>com.amazonaws</groupId>
<optional>false</optional>
<version>1.11.16-SNAPSHOT</version>
<version>1.11.16</version>
</dependency>
</dependencies>

Expand Down
Expand Up @@ -16,6 +16,7 @@
package com.amazonaws.services.certificatemanager;

import com.amazonaws.services.certificatemanager.model.*;
import com.amazonaws.client.AwsAsyncClientParams;
import com.amazonaws.annotation.ThreadSafe;

/**
Expand Down Expand Up @@ -256,6 +257,19 @@ public AWSCertificateManagerAsyncClient(
this.executorService = executorService;
}

/**
* Constructs a new asynchronous client to invoke service methods on ACM
* using the specified parameters.
*
* @param asyncClientParams
* Object providing client parameters.
*/
public AWSCertificateManagerAsyncClient(
AwsAsyncClientParams asyncClientParams) {
super(asyncClientParams);
this.executorService = asyncClientParams.getExecutor();
}

/**
* Returns the executor service used by this client to execute async
* requests.
Expand Down
@@ -0,0 +1,68 @@
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.certificatemanager;

import com.amazonaws.ClientConfigurationFactory;
import com.amazonaws.annotation.NotThreadSafe;
import com.amazonaws.client.builder.AwsAsyncClientBuilder;
import com.amazonaws.client.AwsAsyncClientParams;

/**
* Fluent builder for
* {@link com.amazonaws.services.certificatemanager.AWSCertificateManagerAsync}.
* Use of the builder is preferred over using constructors of the client class.
**/
@NotThreadSafe
public final class AWSCertificateManagerAsyncClientBuilder
extends
AwsAsyncClientBuilder<AWSCertificateManagerAsyncClientBuilder, AWSCertificateManagerAsync> {

private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();;

/**
* @return Create new instance of builder with all defaults set.
*/
public static AWSCertificateManagerAsyncClientBuilder standard() {
return new AWSCertificateManagerAsyncClientBuilder();
}

/**
* @return Default async client using the
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain
*/
public static AWSCertificateManagerAsync defaultClient() {
return standard().build();
}

private AWSCertificateManagerAsyncClientBuilder() {
super(CLIENT_CONFIG_FACTORY);
}

/**
* Construct an asynchronous implementation of AWSCertificateManagerAsync
* using the current builder configuration.
*
* @param params
* Current builder configuration represented as a parameter object.
* @return Fully configured implementation of AWSCertificateManagerAsync.
*/
@Override
protected AWSCertificateManagerAsync build(AwsAsyncClientParams params) {
return new AWSCertificateManagerAsyncClient(params);
}

}
Expand Up @@ -35,6 +35,7 @@
import com.amazonaws.protocol.json.*;
import com.amazonaws.util.AWSRequestMetrics.Field;
import com.amazonaws.annotation.ThreadSafe;
import com.amazonaws.client.AwsSyncClientParams;

import com.amazonaws.services.certificatemanager.model.*;
import com.amazonaws.services.certificatemanager.model.transform.*;
Expand All @@ -61,7 +62,7 @@
public class AWSCertificateManagerClient extends AmazonWebServiceClient
implements AWSCertificateManager {
/** Provider for AWS credentials. */
private AWSCredentialsProvider awsCredentialsProvider;
private final AWSCredentialsProvider awsCredentialsProvider;

private static final Log log = LogFactory
.getLog(AWSCertificateManager.class);
Expand Down Expand Up @@ -276,6 +277,22 @@ public AWSCertificateManagerClient(
init();
}

/**
* Constructs a new client to invoke service methods on ACM using the
* specified parameters.
*
* <p>
* All service calls made using this new client object are blocking, and
* will not return until the service call completes.
*
* @param clientParams
* Object providing client parameters.
*/
public AWSCertificateManagerClient(AwsSyncClientParams clientParams) {
super(clientParams);
this.awsCredentialsProvider = clientParams.getCredentialsProvider();
}

private void init() {
setServiceNameIntern(DEFAULT_SIGNING_NAME);
setEndpointPrefix(ENDPOINT_PREFIX);
Expand Down
@@ -0,0 +1,68 @@
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.certificatemanager;

import com.amazonaws.ClientConfigurationFactory;
import com.amazonaws.annotation.NotThreadSafe;
import com.amazonaws.client.builder.AwsSyncClientBuilder;
import com.amazonaws.client.AwsSyncClientParams;

/**
* Fluent builder for
* {@link com.amazonaws.services.certificatemanager.AWSCertificateManager}. Use
* of the builder is preferred over using constructors of the client class.
**/
@NotThreadSafe
public final class AWSCertificateManagerClientBuilder
extends
AwsSyncClientBuilder<AWSCertificateManagerClientBuilder, AWSCertificateManager> {

private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();

/**
* @return Create new instance of builder with all defaults set.
*/
public static AWSCertificateManagerClientBuilder standard() {
return new AWSCertificateManagerClientBuilder();
}

/**
* @return Default client using the
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain
*/
public static AWSCertificateManager defaultClient() {
return standard().build();
}

private AWSCertificateManagerClientBuilder() {
super(CLIENT_CONFIG_FACTORY);
}

/**
* Construct a synchronous implementation of AWSCertificateManager using the
* current builder configuration.
*
* @param params
* Current builder configuration represented as a parameter object.
* @return Fully configured implementation of AWSCertificateManager.
*/
@Override
protected AWSCertificateManager build(AwsSyncClientParams params) {
return new AWSCertificateManagerClient(params);
}

}
Expand Up @@ -19,13 +19,15 @@
"jsonVersion" : "1.1",
"endpointPrefix" : "acm",
"signingName" : "acm",
"jsonProtocol" : true,
"syncClientBuilderClassName" : "AWSCertificateManagerClientBuilder",
"asyncClientBuilderClassName" : "AWSCertificateManagerAsyncClientBuilder",
"serviceName" : "ACM",
"cborProtocol" : false,
"xmlProtocol" : false,
"unmarshallerContextClassName" : "JsonUnmarshallerContext",
"unmarshallerClassSuffix" : "JsonUnmarshaller",
"protocolDefaultExceptionUmarshallerImpl" : null,
"jsonProtocol" : true
"protocolDefaultExceptionUmarshallerImpl" : null
},
"operations" : {
"AddTagsToCertificate" : {
Expand Down
4 changes: 2 additions & 2 deletions aws-java-sdk-api-gateway/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.16-SNAPSHOT</version>
<version>1.11.16</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-api-gateway</artifactId>
Expand All @@ -19,7 +19,7 @@
<artifactId>aws-java-sdk-core</artifactId>
<groupId>com.amazonaws</groupId>
<optional>false</optional>
<version>1.11.16-SNAPSHOT</version>
<version>1.11.16</version>
</dependency>
</dependencies>

Expand Down
Expand Up @@ -16,6 +16,7 @@
package com.amazonaws.services.apigateway;

import com.amazonaws.services.apigateway.model.*;
import com.amazonaws.client.AwsAsyncClientParams;
import com.amazonaws.annotation.ThreadSafe;

/**
Expand Down Expand Up @@ -252,6 +253,18 @@ public AmazonApiGatewayAsyncClient(
this.executorService = executorService;
}

/**
* Constructs a new asynchronous client to invoke service methods on Amazon
* API Gateway using the specified parameters.
*
* @param asyncClientParams
* Object providing client parameters.
*/
public AmazonApiGatewayAsyncClient(AwsAsyncClientParams asyncClientParams) {
super(asyncClientParams);
this.executorService = asyncClientParams.getExecutor();
}

/**
* Returns the executor service used by this client to execute async
* requests.
Expand Down
@@ -0,0 +1,68 @@
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.apigateway;

import com.amazonaws.ClientConfigurationFactory;
import com.amazonaws.annotation.NotThreadSafe;
import com.amazonaws.client.builder.AwsAsyncClientBuilder;
import com.amazonaws.client.AwsAsyncClientParams;

/**
* Fluent builder for
* {@link com.amazonaws.services.apigateway.AmazonApiGatewayAsync}. Use of the
* builder is preferred over using constructors of the client class.
**/
@NotThreadSafe
public final class AmazonApiGatewayAsyncClientBuilder
extends
AwsAsyncClientBuilder<AmazonApiGatewayAsyncClientBuilder, AmazonApiGatewayAsync> {

private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();;

/**
* @return Create new instance of builder with all defaults set.
*/
public static AmazonApiGatewayAsyncClientBuilder standard() {
return new AmazonApiGatewayAsyncClientBuilder();
}

/**
* @return Default async client using the
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain
*/
public static AmazonApiGatewayAsync defaultClient() {
return standard().build();
}

private AmazonApiGatewayAsyncClientBuilder() {
super(CLIENT_CONFIG_FACTORY);
}

/**
* Construct an asynchronous implementation of AmazonApiGatewayAsync using
* the current builder configuration.
*
* @param params
* Current builder configuration represented as a parameter object.
* @return Fully configured implementation of AmazonApiGatewayAsync.
*/
@Override
protected AmazonApiGatewayAsync build(AwsAsyncClientParams params) {
return new AmazonApiGatewayAsyncClient(params);
}

}

0 comments on commit 15ca1bb

Please sign in to comment.