Skip to content

Commit fedabc0

Browse files
author
AWS
committed
AWS SDK for Java 1.12.269
1 parent 653b2fc commit fedabc0

File tree

908 files changed

+189745
-70849
lines changed

Some content is hidden

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

908 files changed

+189745
-70849
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# __1.12.269__ __2022-07-26__
2+
## __AWS AppSync__
3+
- ### Features
4+
- Adds support for a new API to evaluate mapping templates with mock data, allowing you to remotely unit test your AppSync resolvers and functions.
5+
6+
## __AWS SecurityHub__
7+
- ### Features
8+
- Documentation updates for AWS Security Hub
9+
10+
## __AWS Transfer Family__
11+
- ### Features
12+
- AWS Transfer Family now supports Applicability Statement 2 (AS2), a network protocol used for the secure and reliable transfer of critical Business-to-Business (B2B) data over the public internet using HTTP/HTTPS as the transport mechanism.
13+
14+
## __Amazon Detective__
15+
- ### Features
16+
- Added the ability to get data source package information for the behavior graph. Graph administrators can now start (or stop) optional datasources on the behavior graph.
17+
18+
## __Amazon GuardDuty__
19+
- ### Features
20+
- Amazon GuardDuty introduces a new Malware Protection feature that triggers malware scan on selected EC2 instance resources, after the service detects a potentially malicious activity.
21+
22+
## __Amazon Lookout for Vision__
23+
- ### Features
24+
- This release introduces support for the automatic scaling of inference units used by Amazon Lookout for Vision models.
25+
26+
## __Amazon Macie 2__
27+
- ### Features
28+
- This release adds support for retrieving (revealing) sample occurrences of sensitive data that Amazon Macie detects and reports in findings.
29+
30+
## __Amazon Rekognition__
31+
- ### Features
32+
- This release introduces support for the automatic scaling of inference units used by Amazon Rekognition Custom Labels models.
33+
34+
## __Amazon Relational Database Service__
35+
- ### Features
36+
- Adds support for using RDS Proxies with RDS for MariaDB databases.
37+
138
# __1.12.268__ __2022-07-25__
239
## __Auto Scaling__
340
- ### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies.
5151
<dependency>
5252
<groupId>com.amazonaws</groupId>
5353
<artifactId>aws-java-sdk-bom</artifactId>
54-
<version>1.12.268</version>
54+
<version>1.12.269</version>
5555
<type>pom</type>
5656
<scope>import</scope>
5757
</dependency>

aws-java-sdk-accessanalyzer/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-accessanalyzer</artifactId>

aws-java-sdk-account/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-account</artifactId>

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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-amplify</artifactId>

aws-java-sdk-amplifybackend/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-amplifybackend</artifactId>

aws-java-sdk-amplifyuibuilder/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-amplifyuibuilder</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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-apigatewaymanagementapi</artifactId>

aws-java-sdk-apigatewayv2/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-apigatewayv2</artifactId>

aws-java-sdk-appconfig/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appconfig</artifactId>

aws-java-sdk-appconfigdata/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appconfigdata</artifactId>

aws-java-sdk-appflow/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appflow</artifactId>

aws-java-sdk-appintegrations/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appintegrations</artifactId>

aws-java-sdk-applicationautoscaling/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-applicationautoscaling</artifactId>

aws-java-sdk-applicationcostprofiler/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-applicationcostprofiler</artifactId>

aws-java-sdk-applicationinsights/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-applicationinsights</artifactId>

aws-java-sdk-appmesh/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appmesh</artifactId>

aws-java-sdk-appregistry/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appregistry</artifactId>

aws-java-sdk-apprunner/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-apprunner</artifactId>

aws-java-sdk-appstream/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appstream</artifactId>

aws-java-sdk-appsync/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.12.269-SNAPSHOT</version>
8+
<version>1.12.269</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-appsync</artifactId>

aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSync.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,34 @@ public interface AWSAppSync {
473473
*/
474474
DisassociateApiResult disassociateApi(DisassociateApiRequest disassociateApiRequest);
475475

476+
/**
477+
* <p>
478+
* Evaluates a given template and returns the response. The mapping template can be a request or response template.
479+
* </p>
480+
* <p>
481+
* Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request
482+
* configuration for the selected data source operation. Response templates interpret responses from the data source
483+
* and map it to the shape of the GraphQL field output type.
484+
* </p>
485+
* <p>
486+
* Mapping templates are written in the Apache Velocity Template Language (VTL).
487+
* </p>
488+
*
489+
* @param evaluateMappingTemplateRequest
490+
* @return Result of the EvaluateMappingTemplate operation returned by the service.
491+
* @throws AccessDeniedException
492+
* You don't have access to perform this operation on this resource.
493+
* @throws InternalFailureException
494+
* An internal AppSync error occurred. Try your request again.
495+
* @throws BadRequestException
496+
* The request is not well formed. For example, a value is invalid or a required field is missing. Check the
497+
* field values, and then try again.
498+
* @sample AWSAppSync.EvaluateMappingTemplate
499+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate"
500+
* target="_top">AWS API Documentation</a>
501+
*/
502+
EvaluateMappingTemplateResult evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest);
503+
476504
/**
477505
* <p>
478506
* Flushes an <code>ApiCache</code> object.

aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSyncAsync.java

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,53 @@ java.util.concurrent.Future<DeleteTypeResult> deleteTypeAsync(DeleteTypeRequest
608608
java.util.concurrent.Future<DisassociateApiResult> disassociateApiAsync(DisassociateApiRequest disassociateApiRequest,
609609
com.amazonaws.handlers.AsyncHandler<DisassociateApiRequest, DisassociateApiResult> asyncHandler);
610610

611+
/**
612+
* <p>
613+
* Evaluates a given template and returns the response. The mapping template can be a request or response template.
614+
* </p>
615+
* <p>
616+
* Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request
617+
* configuration for the selected data source operation. Response templates interpret responses from the data source
618+
* and map it to the shape of the GraphQL field output type.
619+
* </p>
620+
* <p>
621+
* Mapping templates are written in the Apache Velocity Template Language (VTL).
622+
* </p>
623+
*
624+
* @param evaluateMappingTemplateRequest
625+
* @return A Java Future containing the result of the EvaluateMappingTemplate operation returned by the service.
626+
* @sample AWSAppSyncAsync.EvaluateMappingTemplate
627+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate"
628+
* target="_top">AWS API Documentation</a>
629+
*/
630+
java.util.concurrent.Future<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest);
631+
632+
/**
633+
* <p>
634+
* Evaluates a given template and returns the response. The mapping template can be a request or response template.
635+
* </p>
636+
* <p>
637+
* Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request
638+
* configuration for the selected data source operation. Response templates interpret responses from the data source
639+
* and map it to the shape of the GraphQL field output type.
640+
* </p>
641+
* <p>
642+
* Mapping templates are written in the Apache Velocity Template Language (VTL).
643+
* </p>
644+
*
645+
* @param evaluateMappingTemplateRequest
646+
* @param asyncHandler
647+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
648+
* implementation of the callback methods in this interface to receive notification of successful or
649+
* unsuccessful completion of the operation.
650+
* @return A Java Future containing the result of the EvaluateMappingTemplate operation returned by the service.
651+
* @sample AWSAppSyncAsyncHandler.EvaluateMappingTemplate
652+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate"
653+
* target="_top">AWS API Documentation</a>
654+
*/
655+
java.util.concurrent.Future<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest,
656+
com.amazonaws.handlers.AsyncHandler<EvaluateMappingTemplateRequest, EvaluateMappingTemplateResult> asyncHandler);
657+
611658
/**
612659
* <p>
613660
* Flushes an <code>ApiCache</code> object.

aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSyncAsyncClient.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,39 @@ public DisassociateApiResult call() throws Exception {
667667
});
668668
}
669669

670+
@Override
671+
public java.util.concurrent.Future<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(EvaluateMappingTemplateRequest request) {
672+
673+
return evaluateMappingTemplateAsync(request, null);
674+
}
675+
676+
@Override
677+
public java.util.concurrent.Future<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(final EvaluateMappingTemplateRequest request,
678+
final com.amazonaws.handlers.AsyncHandler<EvaluateMappingTemplateRequest, EvaluateMappingTemplateResult> asyncHandler) {
679+
final EvaluateMappingTemplateRequest finalRequest = beforeClientExecution(request);
680+
681+
return executorService.submit(new java.util.concurrent.Callable<EvaluateMappingTemplateResult>() {
682+
@Override
683+
public EvaluateMappingTemplateResult call() throws Exception {
684+
EvaluateMappingTemplateResult result = null;
685+
686+
try {
687+
result = executeEvaluateMappingTemplate(finalRequest);
688+
} catch (Exception ex) {
689+
if (asyncHandler != null) {
690+
asyncHandler.onError(ex);
691+
}
692+
throw ex;
693+
}
694+
695+
if (asyncHandler != null) {
696+
asyncHandler.onSuccess(finalRequest, result);
697+
}
698+
return result;
699+
}
700+
});
701+
}
702+
670703
@Override
671704
public java.util.concurrent.Future<FlushApiCacheResult> flushApiCacheAsync(FlushApiCacheRequest request) {
672705

0 commit comments

Comments
 (0)