Skip to content

Commit 5171bde

Browse files
author
AWS
committed
AWS SDK for Java 1.11.881
1 parent 5694fc5 commit 5171bde

File tree

673 files changed

+111096
-49878
lines changed

Some content is hidden

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

673 files changed

+111096
-49878
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
# __1.11.881__ __2020-10-15__
2+
## __AWS Budgets__
3+
- ### Features
4+
- This release introduces AWS Budgets Actions, allowing you to define an explicit response(or set of responses) to take when your budget exceeds it's action threshold.
5+
6+
## __AWS Cost Explorer Service__
7+
- ### Features
8+
- This release improves email validation for subscriptions on the SDK endpoints.
9+
10+
## __AWS Database Migration Service__
11+
- ### Features
12+
- When creating Endpoints, Replication Instances, and Replication Tasks, the feature provides you the option to specify friendly name to the resources.
13+
14+
## __AWS Glue__
15+
- ### Features
16+
- API Documentation updates for Glue Get-Plan API
17+
18+
## __AWS Ground Station__
19+
- ### Features
20+
- Adds error message attribute to DescribeContact DataflowDetails
21+
22+
## __AWS IoT__
23+
- ### Features
24+
- Add new variable, lastStatusChangeDate, to DescribeDomainConfiguration API
25+
26+
## __AWS Transfer Family__
27+
- ### Features
28+
- Add support to associate VPC Security Groups at server creation.
29+
30+
## __AWS X-Ray__
31+
- ### Features
32+
- Enhancing CreateGroup, UpdateGroup, GetGroup and GetGroups APIs to support configuring X-Ray Insights Notifications. Adding TraceLimit information into X-Ray BatchGetTraces API response.
33+
34+
## __Access Analyzer__
35+
- ### Features
36+
- This release adds support for the ApplyArchiveRule api in IAM Access Analyzer. The ApplyArchiveRule api allows users to apply an archive rule retroactively to existing findings in an analyzer.
37+
38+
## __Amazon Macie 2__
39+
- ### Features
40+
- This release of the Amazon Macie API adds support for pausing and resuming classification jobs. Also, sensitive data findings now include location data for up to 15 occurrences of sensitive data.
41+
42+
## __Amazon Rekognition__
43+
- ### Features
44+
- This SDK Release introduces new API (DetectProtectiveEquipment) for Amazon Rekognition. This release also adds ServiceQuotaExceeded exception to Amazon Rekognition IndexFaces API.
45+
46+
## __Amazon Relational Database Service__
47+
- ### Features
48+
- Return tags for all resources in the output of DescribeDBInstances, DescribeDBSnapshots, DescribeDBClusters, and DescribeDBClusterSnapshots API operations.
49+
50+
## __Amazon Simple Systems Manager (SSM)__
51+
- ### Features
52+
- This Patch Manager release now supports searching for available packages from Amazon Linux and Amazon Linux 2 via the DescribeAvailablePatches API.
53+
54+
## __Amazon WorkMail__
55+
- ### Features
56+
- Add CreateOrganization and DeleteOrganization API operations.
57+
58+
## __Amazon WorkSpaces__
59+
- ### Features
60+
- Documentation updates for WorkSpaces
61+
162
# __1.11.880__ __2020-10-09__
263
## __AWS Amplify__
364
- ### Features
@@ -4158,6 +4219,7 @@
41584219
## __Amazon Elastic Compute Cloud__
41594220
- ### Features
41604221
- This release adds support for RunInstances to specify the metadata options for new instances; adds a new API, ModifyInstanceMetadataOptions, which lets you modify the metadata options for a running or stopped instance; and adds support for CreateCustomerGateway to specify a device name.
4222+
- Upgrades to Instance Metadata Service version 2 (IMDS v2). With IMDS v2, a session token is used to make requests for EC2 instance metadata and credentials.
41614223

41624224
## __Auto Scaling__
41634225
- ### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies.
4848
<dependency>
4949
<groupId>com.amazonaws</groupId>
5050
<artifactId>aws-java-sdk-bom</artifactId>
51-
<version>1.11.880</version>
51+
<version>1.11.881</version>
5252
<type>pom</type>
5353
<scope>import</scope>
5454
</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.11.880</version>
8+
<version>1.11.881</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-accessanalyzer</artifactId>

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AWSAccessAnalyzer.java

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,30 @@ public interface AWSAccessAnalyzer {
5050
*/
5151
String ENDPOINT_PREFIX = "access-analyzer";
5252

53+
/**
54+
* <p>
55+
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
56+
* </p>
57+
*
58+
* @param applyArchiveRuleRequest
59+
* Retroactively applies an archive rule.
60+
* @return Result of the ApplyArchiveRule operation returned by the service.
61+
* @throws ResourceNotFoundException
62+
* The specified resource could not be found.
63+
* @throws ValidationException
64+
* Validation exception error.
65+
* @throws InternalServerException
66+
* Internal server error.
67+
* @throws ThrottlingException
68+
* Throttling limit exceeded error.
69+
* @throws AccessDeniedException
70+
* You do not have sufficient access to perform this action.
71+
* @sample AWSAccessAnalyzer.ApplyArchiveRule
72+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule"
73+
* target="_top">AWS API Documentation</a>
74+
*/
75+
ApplyArchiveRuleResult applyArchiveRule(ApplyArchiveRuleRequest applyArchiveRuleRequest);
76+
5377
/**
5478
* <p>
5579
* Creates an analyzer for your account.
@@ -78,8 +102,8 @@ public interface AWSAccessAnalyzer {
78102

79103
/**
80104
* <p>
81-
* Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the
82-
* criteria you define when you create the rule.
105+
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
106+
* the criteria you define when you create the rule.
83107
* </p>
84108
*
85109
* @param createArchiveRuleRequest

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AWSAccessAnalyzerAsync.java

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,39 @@
4141
@Generated("com.amazonaws:aws-java-sdk-code-generator")
4242
public interface AWSAccessAnalyzerAsync extends AWSAccessAnalyzer {
4343

44+
/**
45+
* <p>
46+
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
47+
* </p>
48+
*
49+
* @param applyArchiveRuleRequest
50+
* Retroactively applies an archive rule.
51+
* @return A Java Future containing the result of the ApplyArchiveRule operation returned by the service.
52+
* @sample AWSAccessAnalyzerAsync.ApplyArchiveRule
53+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule"
54+
* target="_top">AWS API Documentation</a>
55+
*/
56+
java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest);
57+
58+
/**
59+
* <p>
60+
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
61+
* </p>
62+
*
63+
* @param applyArchiveRuleRequest
64+
* Retroactively applies an archive rule.
65+
* @param asyncHandler
66+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
67+
* implementation of the callback methods in this interface to receive notification of successful or
68+
* unsuccessful completion of the operation.
69+
* @return A Java Future containing the result of the ApplyArchiveRule operation returned by the service.
70+
* @sample AWSAccessAnalyzerAsyncHandler.ApplyArchiveRule
71+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule"
72+
* target="_top">AWS API Documentation</a>
73+
*/
74+
java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest applyArchiveRuleRequest,
75+
com.amazonaws.handlers.AsyncHandler<ApplyArchiveRuleRequest, ApplyArchiveRuleResult> asyncHandler);
76+
4477
/**
4578
* <p>
4679
* Creates an analyzer for your account.
@@ -76,8 +109,8 @@ java.util.concurrent.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnal
76109

77110
/**
78111
* <p>
79-
* Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the
80-
* criteria you define when you create the rule.
112+
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
113+
* the criteria you define when you create the rule.
81114
* </p>
82115
*
83116
* @param createArchiveRuleRequest
@@ -91,8 +124,8 @@ java.util.concurrent.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnal
91124

92125
/**
93126
* <p>
94-
* Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the
95-
* criteria you define when you create the rule.
127+
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
128+
* the criteria you define when you create the rule.
96129
* </p>
97130
*
98131
* @param createArchiveRuleRequest

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AWSAccessAnalyzerAsyncClient.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,39 @@ public ExecutorService getExecutorService() {
8282
return executorService;
8383
}
8484

85+
@Override
86+
public java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest request) {
87+
88+
return applyArchiveRuleAsync(request, null);
89+
}
90+
91+
@Override
92+
public java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(final ApplyArchiveRuleRequest request,
93+
final com.amazonaws.handlers.AsyncHandler<ApplyArchiveRuleRequest, ApplyArchiveRuleResult> asyncHandler) {
94+
final ApplyArchiveRuleRequest finalRequest = beforeClientExecution(request);
95+
96+
return executorService.submit(new java.util.concurrent.Callable<ApplyArchiveRuleResult>() {
97+
@Override
98+
public ApplyArchiveRuleResult call() throws Exception {
99+
ApplyArchiveRuleResult result = null;
100+
101+
try {
102+
result = executeApplyArchiveRule(finalRequest);
103+
} catch (Exception ex) {
104+
if (asyncHandler != null) {
105+
asyncHandler.onError(ex);
106+
}
107+
throw ex;
108+
}
109+
110+
if (asyncHandler != null) {
111+
asyncHandler.onSuccess(finalRequest, result);
112+
}
113+
return result;
114+
}
115+
});
116+
}
117+
85118
@Override
86119
public java.util.concurrent.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest request) {
87120

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AWSAccessAnalyzerClient.java

Lines changed: 67 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,71 @@ private void init() {
155155
requestHandler2s.addAll(chainFactory.getGlobalHandlers());
156156
}
157157

158+
/**
159+
* <p>
160+
* Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
161+
* </p>
162+
*
163+
* @param applyArchiveRuleRequest
164+
* Retroactively applies an archive rule.
165+
* @return Result of the ApplyArchiveRule operation returned by the service.
166+
* @throws ResourceNotFoundException
167+
* The specified resource could not be found.
168+
* @throws ValidationException
169+
* Validation exception error.
170+
* @throws InternalServerException
171+
* Internal server error.
172+
* @throws ThrottlingException
173+
* Throttling limit exceeded error.
174+
* @throws AccessDeniedException
175+
* You do not have sufficient access to perform this action.
176+
* @sample AWSAccessAnalyzer.ApplyArchiveRule
177+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule"
178+
* target="_top">AWS API Documentation</a>
179+
*/
180+
@Override
181+
public ApplyArchiveRuleResult applyArchiveRule(ApplyArchiveRuleRequest request) {
182+
request = beforeClientExecution(request);
183+
return executeApplyArchiveRule(request);
184+
}
185+
186+
@SdkInternalApi
187+
final ApplyArchiveRuleResult executeApplyArchiveRule(ApplyArchiveRuleRequest applyArchiveRuleRequest) {
188+
189+
ExecutionContext executionContext = createExecutionContext(applyArchiveRuleRequest);
190+
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
191+
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
192+
Request<ApplyArchiveRuleRequest> request = null;
193+
Response<ApplyArchiveRuleResult> response = null;
194+
195+
try {
196+
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
197+
try {
198+
request = new ApplyArchiveRuleRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(applyArchiveRuleRequest));
199+
// Binds the request metrics to the current request.
200+
request.setAWSRequestMetrics(awsRequestMetrics);
201+
request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
202+
request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
203+
request.addHandlerContext(HandlerContextKey.SERVICE_ID, "AccessAnalyzer");
204+
request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ApplyArchiveRule");
205+
request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
206+
207+
} finally {
208+
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
209+
}
210+
211+
HttpResponseHandler<AmazonWebServiceResponse<ApplyArchiveRuleResult>> responseHandler = protocolFactory.createResponseHandler(
212+
new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ApplyArchiveRuleResultJsonUnmarshaller());
213+
response = invoke(request, responseHandler, executionContext);
214+
215+
return response.getAwsResponse();
216+
217+
} finally {
218+
219+
endClientExecution(awsRequestMetrics, request, response);
220+
}
221+
}
222+
158223
/**
159224
* <p>
160225
* Creates an analyzer for your account.
@@ -224,8 +289,8 @@ final CreateAnalyzerResult executeCreateAnalyzer(CreateAnalyzerRequest createAna
224289

225290
/**
226291
* <p>
227-
* Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the
228-
* criteria you define when you create the rule.
292+
* Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet
293+
* the criteria you define when you create the rule.
229294
* </p>
230295
*
231296
* @param createArchiveRuleRequest

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AbstractAWSAccessAnalyzer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public class AbstractAWSAccessAnalyzer implements AWSAccessAnalyzer {
2727
protected AbstractAWSAccessAnalyzer() {
2828
}
2929

30+
@Override
31+
public ApplyArchiveRuleResult applyArchiveRule(ApplyArchiveRuleRequest request) {
32+
throw new java.lang.UnsupportedOperationException();
33+
}
34+
3035
@Override
3136
public CreateAnalyzerResult createAnalyzer(CreateAnalyzerRequest request) {
3237
throw new java.lang.UnsupportedOperationException();

aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/AbstractAWSAccessAnalyzerAsync.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ public class AbstractAWSAccessAnalyzerAsync extends AbstractAWSAccessAnalyzer im
2727
protected AbstractAWSAccessAnalyzerAsync() {
2828
}
2929

30+
@Override
31+
public java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest request) {
32+
33+
return applyArchiveRuleAsync(request, null);
34+
}
35+
36+
@Override
37+
public java.util.concurrent.Future<ApplyArchiveRuleResult> applyArchiveRuleAsync(ApplyArchiveRuleRequest request,
38+
com.amazonaws.handlers.AsyncHandler<ApplyArchiveRuleRequest, ApplyArchiveRuleResult> asyncHandler) {
39+
40+
throw new java.lang.UnsupportedOperationException();
41+
}
42+
3043
@Override
3144
public java.util.concurrent.Future<CreateAnalyzerResult> createAnalyzerAsync(CreateAnalyzerRequest request) {
3245

0 commit comments

Comments
 (0)