Skip to content

Commit

Permalink
AWS SDK for Java 1.11.641
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Sep 27, 2019
1 parent 96608e2 commit 589693e
Show file tree
Hide file tree
Showing 295 changed files with 11,573 additions and 3,314 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# __1.11.641__ __2019-09-27__
## __AWS Amplify__
- ### Features
- This release adds access logs APIs and artifact APIs for AWS Amplify Console.

## __Amazon EC2 Container Service__
- ### Features
- This release of Amazon Elastic Container Service (Amazon ECS) removes FirelensConfiguration from the DescribeTask output during the FireLens public preview.

## __Amazon S3__
- ### Bugfixes
- Fix connection leak when using `TransferManager` to download a presigned URL. Fixes [#2088](https://github.com/aws/aws-sdk-java/issues/2088)

# __1.11.640__ __2019-09-26__
## __AWS CodePipeline__
- ### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies.
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.640</version>
<version>1.11.641</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-acm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.641-SNAPSHOT</version>
<version>1.11.641</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-acm</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-acmpca/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.641-SNAPSHOT</version>
<version>1.11.641</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-acmpca</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-alexaforbusiness/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.641-SNAPSHOT</version>
<version>1.11.641</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-alexaforbusiness</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-amplify/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.641-SNAPSHOT</version>
<version>1.11.641</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-amplify</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,29 @@ public interface AWSAmplify {
*/
DeleteWebhookResult deleteWebhook(DeleteWebhookRequest deleteWebhookRequest);

/**
* <p>
* Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a
* given S3 bucket.
* </p>
*
* @param generateAccessLogsRequest
* Request structure for the generate access logs request.
* @return Result of the GenerateAccessLogs operation returned by the service.
* @throws NotFoundException
* Exception thrown when an entity has not been found during an operation.
* @throws BadRequestException
* Exception thrown when a request contains unexpected data.
* @throws UnauthorizedException
* Exception thrown when an operation fails due to a lack of access.
* @throws InternalFailureException
* Exception thrown when the service fails to perform an operation due to an internal issue.
* @sample AWSAmplify.GenerateAccessLogs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs" target="_top">AWS API
* Documentation</a>
*/
GenerateAccessLogsResult generateAccessLogs(GenerateAccessLogsRequest generateAccessLogsRequest);

/**
* <p>
* Retrieves an existing Amplify App by appId.
Expand All @@ -307,6 +330,30 @@ public interface AWSAmplify {
*/
GetAppResult getApp(GetAppRequest getAppRequest);

/**
* <p>
* Retrieves artifact info that corresponds to a artifactId.
* </p>
*
* @param getArtifactUrlRequest
* Request structure for the get artifact request.
* @return Result of the GetArtifactUrl operation returned by the service.
* @throws BadRequestException
* Exception thrown when a request contains unexpected data.
* @throws UnauthorizedException
* Exception thrown when an operation fails due to a lack of access.
* @throws InternalFailureException
* Exception thrown when the service fails to perform an operation due to an internal issue.
* @throws NotFoundException
* Exception thrown when an entity has not been found during an operation.
* @throws LimitExceededException
* Exception thrown when a resource could not be created because of service limits.
* @sample AWSAmplify.GetArtifactUrl
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl" target="_top">AWS API
* Documentation</a>
*/
GetArtifactUrlResult getArtifactUrl(GetArtifactUrlRequest getArtifactUrlRequest);

/**
* <p>
* Retrieves a branch for an Amplify App.
Expand Down Expand Up @@ -419,6 +466,28 @@ public interface AWSAmplify {
*/
ListAppsResult listApps(ListAppsRequest listAppsRequest);

/**
* <p>
* List artifacts with an app, a branch, a job and an artifact type.
* </p>
*
* @param listArtifactsRequest
* Request structure for the list artifacts request.
* @return Result of the ListArtifacts operation returned by the service.
* @throws BadRequestException
* Exception thrown when a request contains unexpected data.
* @throws UnauthorizedException
* Exception thrown when an operation fails due to a lack of access.
* @throws InternalFailureException
* Exception thrown when the service fails to perform an operation due to an internal issue.
* @throws LimitExceededException
* Exception thrown when a resource could not be created because of service limits.
* @sample AWSAmplify.ListArtifacts
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts" target="_top">AWS API
* Documentation</a>
*/
ListArtifactsResult listArtifacts(ListArtifactsRequest listArtifactsRequest);

/**
* <p>
* Lists branches for an Amplify App.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,41 @@ java.util.concurrent.Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest del
java.util.concurrent.Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest,
com.amazonaws.handlers.AsyncHandler<DeleteWebhookRequest, DeleteWebhookResult> asyncHandler);

/**
* <p>
* Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a
* given S3 bucket.
* </p>
*
* @param generateAccessLogsRequest
* Request structure for the generate access logs request.
* @return A Java Future containing the result of the GenerateAccessLogs operation returned by the service.
* @sample AWSAmplifyAsync.GenerateAccessLogs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<GenerateAccessLogsResult> generateAccessLogsAsync(GenerateAccessLogsRequest generateAccessLogsRequest);

/**
* <p>
* Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a
* given S3 bucket.
* </p>
*
* @param generateAccessLogsRequest
* Request structure for the generate access logs request.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GenerateAccessLogs operation returned by the service.
* @sample AWSAmplifyAsyncHandler.GenerateAccessLogs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<GenerateAccessLogsResult> generateAccessLogsAsync(GenerateAccessLogsRequest generateAccessLogsRequest,
com.amazonaws.handlers.AsyncHandler<GenerateAccessLogsRequest, GenerateAccessLogsResult> asyncHandler);

/**
* <p>
* Retrieves an existing Amplify App by appId.
Expand Down Expand Up @@ -395,6 +430,39 @@ java.util.concurrent.Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhoo
java.util.concurrent.Future<GetAppResult> getAppAsync(GetAppRequest getAppRequest,
com.amazonaws.handlers.AsyncHandler<GetAppRequest, GetAppResult> asyncHandler);

/**
* <p>
* Retrieves artifact info that corresponds to a artifactId.
* </p>
*
* @param getArtifactUrlRequest
* Request structure for the get artifact request.
* @return A Java Future containing the result of the GetArtifactUrl operation returned by the service.
* @sample AWSAmplifyAsync.GetArtifactUrl
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<GetArtifactUrlResult> getArtifactUrlAsync(GetArtifactUrlRequest getArtifactUrlRequest);

/**
* <p>
* Retrieves artifact info that corresponds to a artifactId.
* </p>
*
* @param getArtifactUrlRequest
* Request structure for the get artifact request.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the GetArtifactUrl operation returned by the service.
* @sample AWSAmplifyAsyncHandler.GetArtifactUrl
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<GetArtifactUrlResult> getArtifactUrlAsync(GetArtifactUrlRequest getArtifactUrlRequest,
com.amazonaws.handlers.AsyncHandler<GetArtifactUrlRequest, GetArtifactUrlResult> asyncHandler);

/**
* <p>
* Retrieves a branch for an Amplify App.
Expand Down Expand Up @@ -560,6 +628,39 @@ java.util.concurrent.Future<GetWebhookResult> getWebhookAsync(GetWebhookRequest
java.util.concurrent.Future<ListAppsResult> listAppsAsync(ListAppsRequest listAppsRequest,
com.amazonaws.handlers.AsyncHandler<ListAppsRequest, ListAppsResult> asyncHandler);

/**
* <p>
* List artifacts with an app, a branch, a job and an artifact type.
* </p>
*
* @param listArtifactsRequest
* Request structure for the list artifacts request.
* @return A Java Future containing the result of the ListArtifacts operation returned by the service.
* @sample AWSAmplifyAsync.ListArtifacts
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest listArtifactsRequest);

/**
* <p>
* List artifacts with an app, a branch, a job and an artifact type.
* </p>
*
* @param listArtifactsRequest
* Request structure for the list artifacts request.
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListArtifacts operation returned by the service.
* @sample AWSAmplifyAsyncHandler.ListArtifacts
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest listArtifactsRequest,
com.amazonaws.handlers.AsyncHandler<ListArtifactsRequest, ListArtifactsResult> asyncHandler);

/**
* <p>
* Lists branches for an Amplify App.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,39 @@ public DeleteWebhookResult call() throws Exception {
});
}

@Override
public java.util.concurrent.Future<GenerateAccessLogsResult> generateAccessLogsAsync(GenerateAccessLogsRequest request) {

return generateAccessLogsAsync(request, null);
}

@Override
public java.util.concurrent.Future<GenerateAccessLogsResult> generateAccessLogsAsync(final GenerateAccessLogsRequest request,
final com.amazonaws.handlers.AsyncHandler<GenerateAccessLogsRequest, GenerateAccessLogsResult> asyncHandler) {
final GenerateAccessLogsRequest finalRequest = beforeClientExecution(request);

return executorService.submit(new java.util.concurrent.Callable<GenerateAccessLogsResult>() {
@Override
public GenerateAccessLogsResult call() throws Exception {
GenerateAccessLogsResult result = null;

try {
result = executeGenerateAccessLogs(finalRequest);
} catch (Exception ex) {
if (asyncHandler != null) {
asyncHandler.onError(ex);
}
throw ex;
}

if (asyncHandler != null) {
asyncHandler.onSuccess(finalRequest, result);
}
return result;
}
});
}

@Override
public java.util.concurrent.Future<GetAppResult> getAppAsync(GetAppRequest request) {

Expand Down Expand Up @@ -424,6 +457,39 @@ public GetAppResult call() throws Exception {
});
}

@Override
public java.util.concurrent.Future<GetArtifactUrlResult> getArtifactUrlAsync(GetArtifactUrlRequest request) {

return getArtifactUrlAsync(request, null);
}

@Override
public java.util.concurrent.Future<GetArtifactUrlResult> getArtifactUrlAsync(final GetArtifactUrlRequest request,
final com.amazonaws.handlers.AsyncHandler<GetArtifactUrlRequest, GetArtifactUrlResult> asyncHandler) {
final GetArtifactUrlRequest finalRequest = beforeClientExecution(request);

return executorService.submit(new java.util.concurrent.Callable<GetArtifactUrlResult>() {
@Override
public GetArtifactUrlResult call() throws Exception {
GetArtifactUrlResult result = null;

try {
result = executeGetArtifactUrl(finalRequest);
} catch (Exception ex) {
if (asyncHandler != null) {
asyncHandler.onError(ex);
}
throw ex;
}

if (asyncHandler != null) {
asyncHandler.onSuccess(finalRequest, result);
}
return result;
}
});
}

@Override
public java.util.concurrent.Future<GetBranchResult> getBranchAsync(GetBranchRequest request) {

Expand Down Expand Up @@ -589,6 +655,39 @@ public ListAppsResult call() throws Exception {
});
}

@Override
public java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request) {

return listArtifactsAsync(request, null);
}

@Override
public java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(final ListArtifactsRequest request,
final com.amazonaws.handlers.AsyncHandler<ListArtifactsRequest, ListArtifactsResult> asyncHandler) {
final ListArtifactsRequest finalRequest = beforeClientExecution(request);

return executorService.submit(new java.util.concurrent.Callable<ListArtifactsResult>() {
@Override
public ListArtifactsResult call() throws Exception {
ListArtifactsResult result = null;

try {
result = executeListArtifacts(finalRequest);
} catch (Exception ex) {
if (asyncHandler != null) {
asyncHandler.onError(ex);
}
throw ex;
}

if (asyncHandler != null) {
asyncHandler.onSuccess(finalRequest, result);
}
return result;
}
});
}

@Override
public java.util.concurrent.Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request) {

Expand Down
Loading

0 comments on commit 589693e

Please sign in to comment.