Skip to content

Commit e3d18a7

Browse files
author
AWS
committed
AWS SDK for Java 1.11.623
1 parent 1e75c15 commit e3d18a7

File tree

301 files changed

+10013
-3135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+10013
-3135
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# __1.11.623__ __2019-08-30__
2+
## __Amazon EC2 Container Service__
3+
- ### Features
4+
- This release of Amazon Elastic Container Service (Amazon ECS) introduces support for modifying the cluster settings for existing clusters, which enables you to toggle whether Container Insights is enabled or not. Support is also introduced for custom log routing using the ECS FireLens integration.
5+
6+
## __AmazonApiGatewayManagementApi__
7+
- ### Features
8+
- You can use getConnection to return information about the connection (when it is connected, IP address, etc) and deleteConnection to disconnect the given connection
9+
10+
## __AmazonMQ__
11+
- ### Features
12+
- Adds support for updating security groups selection of an Amazon MQ broker.
13+
114
# __1.11.622__ __2019-08-29__
215
## __AWS CodePipeline__
316
- ### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies.
4545
<dependency>
4646
<groupId>com.amazonaws</groupId>
4747
<artifactId>aws-java-sdk-bom</artifactId>
48-
<version>1.11.622</version>
48+
<version>1.11.623</version>
4949
<type>pom</type>
5050
<scope>import</scope>
5151
</dependency>

aws-java-sdk-acm/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-acm</artifactId>

aws-java-sdk-acmpca/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-acmpca</artifactId>

aws-java-sdk-alexaforbusiness/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-alexaforbusiness</artifactId>

aws-java-sdk-amplify/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-amplify</artifactId>

aws-java-sdk-api-gateway/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-api-gateway</artifactId>

aws-java-sdk-apigatewaymanagementapi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.amazonaws</groupId>
77
<artifactId>aws-java-sdk-pom</artifactId>
8-
<version>1.11.623-SNAPSHOT</version>
8+
<version>1.11.623</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-apigatewaymanagementapi</artifactId>

aws-java-sdk-apigatewaymanagementapi/src/main/java/com/amazonaws/services/apigatewaymanagementapi/AbstractAmazonApiGatewayManagementApi.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ public class AbstractAmazonApiGatewayManagementApi implements AmazonApiGatewayMa
2727
protected AbstractAmazonApiGatewayManagementApi() {
2828
}
2929

30+
@Override
31+
public DeleteConnectionResult deleteConnection(DeleteConnectionRequest request) {
32+
throw new java.lang.UnsupportedOperationException();
33+
}
34+
35+
@Override
36+
public GetConnectionResult getConnection(GetConnectionRequest request) {
37+
throw new java.lang.UnsupportedOperationException();
38+
}
39+
3040
@Override
3141
public PostToConnectionResult postToConnection(PostToConnectionRequest request) {
3242
throw new java.lang.UnsupportedOperationException();

aws-java-sdk-apigatewaymanagementapi/src/main/java/com/amazonaws/services/apigatewaymanagementapi/AbstractAmazonApiGatewayManagementApiAsync.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,32 @@ public class AbstractAmazonApiGatewayManagementApiAsync extends AbstractAmazonAp
2727
protected AbstractAmazonApiGatewayManagementApiAsync() {
2828
}
2929

30+
@Override
31+
public java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request) {
32+
33+
return deleteConnectionAsync(request, null);
34+
}
35+
36+
@Override
37+
public java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request,
38+
com.amazonaws.handlers.AsyncHandler<DeleteConnectionRequest, DeleteConnectionResult> asyncHandler) {
39+
40+
throw new java.lang.UnsupportedOperationException();
41+
}
42+
43+
@Override
44+
public java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest request) {
45+
46+
return getConnectionAsync(request, null);
47+
}
48+
49+
@Override
50+
public java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest request,
51+
com.amazonaws.handlers.AsyncHandler<GetConnectionRequest, GetConnectionResult> asyncHandler) {
52+
53+
throw new java.lang.UnsupportedOperationException();
54+
}
55+
3056
@Override
3157
public java.util.concurrent.Future<PostToConnectionResult> postToConnectionAsync(PostToConnectionRequest request) {
3258

aws-java-sdk-apigatewaymanagementapi/src/main/java/com/amazonaws/services/apigatewaymanagementapi/AmazonApiGatewayManagementApi.java

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,46 @@ public interface AmazonApiGatewayManagementApi {
4444
*/
4545
String ENDPOINT_PREFIX = "execute-api";
4646

47+
/**
48+
* <p>
49+
* Delete the connection with the provided id.
50+
* </p>
51+
*
52+
* @param deleteConnectionRequest
53+
* @return Result of the DeleteConnection operation returned by the service.
54+
* @throws GoneException
55+
* The connection with the provided id no longer exists.
56+
* @throws LimitExceededException
57+
* The client is sending more than the allowed number of requests per unit of time or the WebSocket client
58+
* side buffer is full.
59+
* @throws ForbiddenException
60+
* The caller is not authorized to invoke this operation.
61+
* @sample AmazonApiGatewayManagementApi.DeleteConnection
62+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection"
63+
* target="_top">AWS API Documentation</a>
64+
*/
65+
DeleteConnectionResult deleteConnection(DeleteConnectionRequest deleteConnectionRequest);
66+
67+
/**
68+
* <p>
69+
* Get information about the connection with the provided id.
70+
* </p>
71+
*
72+
* @param getConnectionRequest
73+
* @return Result of the GetConnection operation returned by the service.
74+
* @throws GoneException
75+
* The connection with the provided id no longer exists.
76+
* @throws LimitExceededException
77+
* The client is sending more than the allowed number of requests per unit of time or the WebSocket client
78+
* side buffer is full.
79+
* @throws ForbiddenException
80+
* The caller is not authorized to invoke this operation.
81+
* @sample AmazonApiGatewayManagementApi.GetConnection
82+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection"
83+
* target="_top">AWS API Documentation</a>
84+
*/
85+
GetConnectionResult getConnection(GetConnectionRequest getConnectionRequest);
86+
4787
/**
4888
* <p>
4989
* Sends the provided data to the specified connection.
@@ -54,7 +94,8 @@ public interface AmazonApiGatewayManagementApi {
5494
* @throws GoneException
5595
* The connection with the provided id no longer exists.
5696
* @throws LimitExceededException
57-
* The client is sending more than the allowed number of requests per unit of time.
97+
* The client is sending more than the allowed number of requests per unit of time or the WebSocket client
98+
* side buffer is full.
5899
* @throws PayloadTooLargeException
59100
* The data has exceeded the maximum size allowed.
60101
* @throws ForbiddenException

aws-java-sdk-apigatewaymanagementapi/src/main/java/com/amazonaws/services/apigatewaymanagementapi/AmazonApiGatewayManagementApiAsync.java

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,68 @@
3535
@Generated("com.amazonaws:aws-java-sdk-code-generator")
3636
public interface AmazonApiGatewayManagementApiAsync extends AmazonApiGatewayManagementApi {
3737

38+
/**
39+
* <p>
40+
* Delete the connection with the provided id.
41+
* </p>
42+
*
43+
* @param deleteConnectionRequest
44+
* @return A Java Future containing the result of the DeleteConnection operation returned by the service.
45+
* @sample AmazonApiGatewayManagementApiAsync.DeleteConnection
46+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection"
47+
* target="_top">AWS API Documentation</a>
48+
*/
49+
java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest);
50+
51+
/**
52+
* <p>
53+
* Delete the connection with the provided id.
54+
* </p>
55+
*
56+
* @param deleteConnectionRequest
57+
* @param asyncHandler
58+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
59+
* implementation of the callback methods in this interface to receive notification of successful or
60+
* unsuccessful completion of the operation.
61+
* @return A Java Future containing the result of the DeleteConnection operation returned by the service.
62+
* @sample AmazonApiGatewayManagementApiAsyncHandler.DeleteConnection
63+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection"
64+
* target="_top">AWS API Documentation</a>
65+
*/
66+
java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest,
67+
com.amazonaws.handlers.AsyncHandler<DeleteConnectionRequest, DeleteConnectionResult> asyncHandler);
68+
69+
/**
70+
* <p>
71+
* Get information about the connection with the provided id.
72+
* </p>
73+
*
74+
* @param getConnectionRequest
75+
* @return A Java Future containing the result of the GetConnection operation returned by the service.
76+
* @sample AmazonApiGatewayManagementApiAsync.GetConnection
77+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection"
78+
* target="_top">AWS API Documentation</a>
79+
*/
80+
java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest getConnectionRequest);
81+
82+
/**
83+
* <p>
84+
* Get information about the connection with the provided id.
85+
* </p>
86+
*
87+
* @param getConnectionRequest
88+
* @param asyncHandler
89+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
90+
* implementation of the callback methods in this interface to receive notification of successful or
91+
* unsuccessful completion of the operation.
92+
* @return A Java Future containing the result of the GetConnection operation returned by the service.
93+
* @sample AmazonApiGatewayManagementApiAsyncHandler.GetConnection
94+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection"
95+
* target="_top">AWS API Documentation</a>
96+
*/
97+
java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest getConnectionRequest,
98+
com.amazonaws.handlers.AsyncHandler<GetConnectionRequest, GetConnectionResult> asyncHandler);
99+
38100
/**
39101
* <p>
40102
* Sends the provided data to the specified connection.

aws-java-sdk-apigatewaymanagementapi/src/main/java/com/amazonaws/services/apigatewaymanagementapi/AmazonApiGatewayManagementApiAsyncClient.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,72 @@ public ExecutorService getExecutorService() {
6565
return executorService;
6666
}
6767

68+
@Override
69+
public java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request) {
70+
71+
return deleteConnectionAsync(request, null);
72+
}
73+
74+
@Override
75+
public java.util.concurrent.Future<DeleteConnectionResult> deleteConnectionAsync(final DeleteConnectionRequest request,
76+
final com.amazonaws.handlers.AsyncHandler<DeleteConnectionRequest, DeleteConnectionResult> asyncHandler) {
77+
final DeleteConnectionRequest finalRequest = beforeClientExecution(request);
78+
79+
return executorService.submit(new java.util.concurrent.Callable<DeleteConnectionResult>() {
80+
@Override
81+
public DeleteConnectionResult call() throws Exception {
82+
DeleteConnectionResult result = null;
83+
84+
try {
85+
result = executeDeleteConnection(finalRequest);
86+
} catch (Exception ex) {
87+
if (asyncHandler != null) {
88+
asyncHandler.onError(ex);
89+
}
90+
throw ex;
91+
}
92+
93+
if (asyncHandler != null) {
94+
asyncHandler.onSuccess(finalRequest, result);
95+
}
96+
return result;
97+
}
98+
});
99+
}
100+
101+
@Override
102+
public java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(GetConnectionRequest request) {
103+
104+
return getConnectionAsync(request, null);
105+
}
106+
107+
@Override
108+
public java.util.concurrent.Future<GetConnectionResult> getConnectionAsync(final GetConnectionRequest request,
109+
final com.amazonaws.handlers.AsyncHandler<GetConnectionRequest, GetConnectionResult> asyncHandler) {
110+
final GetConnectionRequest finalRequest = beforeClientExecution(request);
111+
112+
return executorService.submit(new java.util.concurrent.Callable<GetConnectionResult>() {
113+
@Override
114+
public GetConnectionResult call() throws Exception {
115+
GetConnectionResult result = null;
116+
117+
try {
118+
result = executeGetConnection(finalRequest);
119+
} catch (Exception ex) {
120+
if (asyncHandler != null) {
121+
asyncHandler.onError(ex);
122+
}
123+
throw ex;
124+
}
125+
126+
if (asyncHandler != null) {
127+
asyncHandler.onSuccess(finalRequest, result);
128+
}
129+
return result;
130+
}
131+
});
132+
}
133+
68134
@Override
69135
public java.util.concurrent.Future<PostToConnectionResult> postToConnectionAsync(PostToConnectionRequest request) {
70136

0 commit comments

Comments
 (0)