Skip to content

Commit

Permalink
AWS SDK for Java 1.11.857
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Sep 8, 2020
1 parent ac3f08f commit 781cb89
Show file tree
Hide file tree
Showing 362 changed files with 8,840 additions and 2,065 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# __1.11.857__ __2020-09-08__
## __AWS CodeBuild__
- ### Features
- AWS CodeBuild - Support keyword search for test cases in DecribeTestCases API . Allow deletion of reports in the report group, before deletion of report group using the deleteReports flag.

## __Amazon Lex Model Building Service__
- ### Features
- Amazon Lex supports en-AU locale

## __Amazon QuickSight__
- ### Features
- Adds tagging support for QuickSight customization resources. A user can now specify a list of tags when creating a customization resource and use a customization ARN in QuickSight's tagging APIs.

## __AmazonApiGatewayV2__
- ### Features
- You can now secure HTTP APIs using Lambda authorizers and IAM authorizers. These options enable you to make flexible auth decisions using a Lambda function, or using IAM policies, respectively.

## __Elastic Load Balancing__
- ### Features
- Adds support for Application Load Balancers on Outposts.

# __1.11.856__ __2020-09-04__
## __AWS X-Ray__
- ### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies.
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.856</version>
<version>1.11.857</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-accessanalyzer/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.856</version>
<version>1.11.857</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-accessanalyzer</artifactId>
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.856</version>
<version>1.11.857</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.856</version>
<version>1.11.857</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.856</version>
<version>1.11.857</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.856</version>
<version>1.11.857</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-amplify</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-api-gateway/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.856</version>
<version>1.11.857</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-api-gateway</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-apigatewaymanagementapi/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.856</version>
<version>1.11.857</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-apigatewaymanagementapi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-apigatewayv2/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.856</version>
<version>1.11.857</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-apigatewayv2</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ public ReimportApiResult reimportApi(ReimportApiRequest request) {
throw new java.lang.UnsupportedOperationException();
}

@Override
public ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest request) {
throw new java.lang.UnsupportedOperationException();
}

@Override
public TagResourceResult tagResource(TagResourceRequest request) {
throw new java.lang.UnsupportedOperationException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,19 @@ public java.util.concurrent.Future<ReimportApiResult> reimportApiAsync(ReimportA
throw new java.lang.UnsupportedOperationException();
}

@Override
public java.util.concurrent.Future<ResetAuthorizersCacheResult> resetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request) {

return resetAuthorizersCacheAsync(request, null);
}

@Override
public java.util.concurrent.Future<ResetAuthorizersCacheResult> resetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request,
com.amazonaws.handlers.AsyncHandler<ResetAuthorizersCacheRequest, ResetAuthorizersCacheResult> asyncHandler) {

throw new java.lang.UnsupportedOperationException();
}

@Override
public java.util.concurrent.Future<TagResourceResult> tagResourceAsync(TagResourceRequest request) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,21 @@ public interface AmazonApiGatewayV2 {
*/
ReimportApiResult reimportApi(ReimportApiRequest reimportApiRequest);

/**
* <p>
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
* </p>
*
* @param resetAuthorizersCacheRequest
* @return Result of the ResetAuthorizersCache operation returned by the service.
* @throws NotFoundException
* The resource specified in the request was not found.
* @throws TooManyRequestsException
* The client is sending more than the allowed number of requests per unit of time.
* @sample AmazonApiGatewayV2.ResetAuthorizersCache
*/
ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest);

/**
* <p>
* Creates a new Tag resource to represent a tag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,33 @@ java.util.concurrent.Future<ImportApiResult> importApiAsync(ImportApiRequest imp
java.util.concurrent.Future<ReimportApiResult> reimportApiAsync(ReimportApiRequest reimportApiRequest,
com.amazonaws.handlers.AsyncHandler<ReimportApiRequest, ReimportApiResult> asyncHandler);

/**
* <p>
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
* </p>
*
* @param resetAuthorizersCacheRequest
* @return A Java Future containing the result of the ResetAuthorizersCache operation returned by the service.
* @sample AmazonApiGatewayV2Async.ResetAuthorizersCache
*/
java.util.concurrent.Future<ResetAuthorizersCacheResult> resetAuthorizersCacheAsync(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest);

/**
* <p>
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
* </p>
*
* @param resetAuthorizersCacheRequest
* @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 ResetAuthorizersCache operation returned by the service.
* @sample AmazonApiGatewayV2AsyncHandler.ResetAuthorizersCache
*/
java.util.concurrent.Future<ResetAuthorizersCacheResult> resetAuthorizersCacheAsync(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest,
com.amazonaws.handlers.AsyncHandler<ResetAuthorizersCacheRequest, ResetAuthorizersCacheResult> asyncHandler);

/**
* <p>
* Creates a new Tag resource to represent a tag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,39 @@ public ReimportApiResult call() throws Exception {
});
}

@Override
public java.util.concurrent.Future<ResetAuthorizersCacheResult> resetAuthorizersCacheAsync(ResetAuthorizersCacheRequest request) {

return resetAuthorizersCacheAsync(request, null);
}

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

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

try {
result = executeResetAuthorizersCache(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<TagResourceResult> tagResourceAsync(TagResourceRequest request) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3382,6 +3382,62 @@ final ReimportApiResult executeReimportApi(ReimportApiRequest reimportApiRequest
}
}

/**
* <p>
* Resets all authorizer cache entries on a stage. Supported only for HTTP APIs.
* </p>
*
* @param resetAuthorizersCacheRequest
* @return Result of the ResetAuthorizersCache operation returned by the service.
* @throws NotFoundException
* The resource specified in the request was not found.
* @throws TooManyRequestsException
* The client is sending more than the allowed number of requests per unit of time.
* @sample AmazonApiGatewayV2.ResetAuthorizersCache
*/
@Override
public ResetAuthorizersCacheResult resetAuthorizersCache(ResetAuthorizersCacheRequest request) {
request = beforeClientExecution(request);
return executeResetAuthorizersCache(request);
}

@SdkInternalApi
final ResetAuthorizersCacheResult executeResetAuthorizersCache(ResetAuthorizersCacheRequest resetAuthorizersCacheRequest) {

ExecutionContext executionContext = createExecutionContext(resetAuthorizersCacheRequest);
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
Request<ResetAuthorizersCacheRequest> request = null;
Response<ResetAuthorizersCacheResult> response = null;

try {
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
try {
request = new ResetAuthorizersCacheRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(resetAuthorizersCacheRequest));
// Binds the request metrics to the current request.
request.setAWSRequestMetrics(awsRequestMetrics);
request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
request.addHandlerContext(HandlerContextKey.SERVICE_ID, "ApiGatewayV2");
request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ResetAuthorizersCache");
request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

} finally {
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
}

HttpResponseHandler<AmazonWebServiceResponse<ResetAuthorizersCacheResult>> responseHandler = protocolFactory
.createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
new ResetAuthorizersCacheResultJsonUnmarshaller());
response = invoke(request, responseHandler, executionContext);

return response.getAwsResponse();

} finally {

endClientExecution(awsRequestMetrics, request, response);
}
}

/**
* <p>
* Creates a new Tag resource to represent a tag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
/**
* <p>
* The authorization type. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM
* permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, or JWT
* for using JSON Web Tokens.
* permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, JWT for
* using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
Expand Down
Loading

0 comments on commit 781cb89

Please sign in to comment.