Skip to content

Commit 01932ab

Browse files
author
AWS
committed
AWS SDK for Java 1.12.406
1 parent f0d3122 commit 01932ab

File tree

520 files changed

+16220
-1810
lines changed

Some content is hidden

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

520 files changed

+16220
-1810
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# __1.12.406__ __2023-02-13__
2+
## __AWS Account__
3+
- ### Features
4+
- This release of the Account Management API enables customers to view and manage whether AWS Opt-In Regions are enabled or disabled for their Account. For more information, see https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html
5+
6+
## __AWS AppConfig Data__
7+
- ### Features
8+
- AWS AppConfig now offers the option to set a version label on hosted configuration versions. If a labeled hosted configuration version is deployed, its version label is available in the GetLatestConfiguration response.
9+
10+
## __Amazon Import/Export Snowball__
11+
- ### Features
12+
- Adds support for EKS Anywhere on Snowball. AWS Snow Family customers can now install EKS Anywhere service on Snowball Edge Compute Optimized devices.
13+
114
# __1.12.405__ __2023-02-10__
215
## __Amazon Connect Service__
316
- ### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies.
5050
<dependency>
5151
<groupId>com.amazonaws</groupId>
5252
<artifactId>aws-java-sdk-bom</artifactId>
53-
<version>1.12.405</version>
53+
<version>1.12.406</version>
5454
<type>pom</type>
5555
<scope>import</scope>
5656
</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.406-SNAPSHOT</version>
8+
<version>1.12.406</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.406-SNAPSHOT</version>
8+
<version>1.12.406</version>
99
</parent>
1010
<groupId>com.amazonaws</groupId>
1111
<artifactId>aws-java-sdk-account</artifactId>

aws-java-sdk-account/src/main/java/com/amazonaws/services/account/AWSAccount.java

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,56 @@ public interface AWSAccount {
7878
*/
7979
DeleteAlternateContactResult deleteAlternateContact(DeleteAlternateContactRequest deleteAlternateContactRequest);
8080

81+
/**
82+
* <p>
83+
* Disables (opts-out) a particular Region for an account.
84+
* </p>
85+
*
86+
* @param disableRegionRequest
87+
* @return Result of the DisableRegion operation returned by the service.
88+
* @throws ValidationException
89+
* The operation failed because one of the input parameters was invalid.
90+
* @throws ConflictException
91+
* The request could not be processed because of a conflict in the current status of the resource. For
92+
* example, this happens if you try to enable a Region that is currently being disabled (in a status of
93+
* DISABLING).
94+
* @throws AccessDeniedException
95+
* The operation failed because the calling identity doesn't have the minimum required permissions.
96+
* @throws TooManyRequestsException
97+
* The operation failed because it was called too frequently and exceeded a throttle limit.
98+
* @throws InternalServerException
99+
* The operation failed because of an error internal to Amazon Web Services. Try your operation again later.
100+
* @sample AWSAccount.DisableRegion
101+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DisableRegion" target="_top">AWS API
102+
* Documentation</a>
103+
*/
104+
DisableRegionResult disableRegion(DisableRegionRequest disableRegionRequest);
105+
106+
/**
107+
* <p>
108+
* Enables (opts-in) a particular Region for an account.
109+
* </p>
110+
*
111+
* @param enableRegionRequest
112+
* @return Result of the EnableRegion operation returned by the service.
113+
* @throws ValidationException
114+
* The operation failed because one of the input parameters was invalid.
115+
* @throws ConflictException
116+
* The request could not be processed because of a conflict in the current status of the resource. For
117+
* example, this happens if you try to enable a Region that is currently being disabled (in a status of
118+
* DISABLING).
119+
* @throws AccessDeniedException
120+
* The operation failed because the calling identity doesn't have the minimum required permissions.
121+
* @throws TooManyRequestsException
122+
* The operation failed because it was called too frequently and exceeded a throttle limit.
123+
* @throws InternalServerException
124+
* The operation failed because of an error internal to Amazon Web Services. Try your operation again later.
125+
* @sample AWSAccount.EnableRegion
126+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/EnableRegion" target="_top">AWS API
127+
* Documentation</a>
128+
*/
129+
EnableRegionResult enableRegion(EnableRegionRequest enableRegionRequest);
130+
81131
/**
82132
* <p>
83133
* Retrieves the specified alternate contact attached to an Amazon Web Services account.
@@ -143,6 +193,49 @@ public interface AWSAccount {
143193
*/
144194
GetContactInformationResult getContactInformation(GetContactInformationRequest getContactInformationRequest);
145195

196+
/**
197+
* <p>
198+
* Retrieves the opt-in status of a particular Region.
199+
* </p>
200+
*
201+
* @param getRegionOptStatusRequest
202+
* @return Result of the GetRegionOptStatus operation returned by the service.
203+
* @throws ValidationException
204+
* The operation failed because one of the input parameters was invalid.
205+
* @throws AccessDeniedException
206+
* The operation failed because the calling identity doesn't have the minimum required permissions.
207+
* @throws TooManyRequestsException
208+
* The operation failed because it was called too frequently and exceeded a throttle limit.
209+
* @throws InternalServerException
210+
* The operation failed because of an error internal to Amazon Web Services. Try your operation again later.
211+
* @sample AWSAccount.GetRegionOptStatus
212+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetRegionOptStatus" target="_top">AWS API
213+
* Documentation</a>
214+
*/
215+
GetRegionOptStatusResult getRegionOptStatus(GetRegionOptStatusRequest getRegionOptStatusRequest);
216+
217+
/**
218+
* <p>
219+
* Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be
220+
* filtered by the <code>region-opt-status-contains</code> parameter.
221+
* </p>
222+
*
223+
* @param listRegionsRequest
224+
* @return Result of the ListRegions operation returned by the service.
225+
* @throws ValidationException
226+
* The operation failed because one of the input parameters was invalid.
227+
* @throws AccessDeniedException
228+
* The operation failed because the calling identity doesn't have the minimum required permissions.
229+
* @throws TooManyRequestsException
230+
* The operation failed because it was called too frequently and exceeded a throttle limit.
231+
* @throws InternalServerException
232+
* The operation failed because of an error internal to Amazon Web Services. Try your operation again later.
233+
* @sample AWSAccount.ListRegions
234+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegions" target="_top">AWS API
235+
* Documentation</a>
236+
*/
237+
ListRegionsResult listRegions(ListRegionsRequest listRegionsRequest);
238+
146239
/**
147240
* <p>
148241
* Modifies the specified alternate contact attached to an Amazon Web Services account.

aws-java-sdk-account/src/main/java/com/amazonaws/services/account/AWSAccountAsync.java

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,68 @@ public interface AWSAccountAsync extends AWSAccount {
9191
java.util.concurrent.Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest deleteAlternateContactRequest,
9292
com.amazonaws.handlers.AsyncHandler<DeleteAlternateContactRequest, DeleteAlternateContactResult> asyncHandler);
9393

94+
/**
95+
* <p>
96+
* Disables (opts-out) a particular Region for an account.
97+
* </p>
98+
*
99+
* @param disableRegionRequest
100+
* @return A Java Future containing the result of the DisableRegion operation returned by the service.
101+
* @sample AWSAccountAsync.DisableRegion
102+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DisableRegion" target="_top">AWS API
103+
* Documentation</a>
104+
*/
105+
java.util.concurrent.Future<DisableRegionResult> disableRegionAsync(DisableRegionRequest disableRegionRequest);
106+
107+
/**
108+
* <p>
109+
* Disables (opts-out) a particular Region for an account.
110+
* </p>
111+
*
112+
* @param disableRegionRequest
113+
* @param asyncHandler
114+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
115+
* implementation of the callback methods in this interface to receive notification of successful or
116+
* unsuccessful completion of the operation.
117+
* @return A Java Future containing the result of the DisableRegion operation returned by the service.
118+
* @sample AWSAccountAsyncHandler.DisableRegion
119+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DisableRegion" target="_top">AWS API
120+
* Documentation</a>
121+
*/
122+
java.util.concurrent.Future<DisableRegionResult> disableRegionAsync(DisableRegionRequest disableRegionRequest,
123+
com.amazonaws.handlers.AsyncHandler<DisableRegionRequest, DisableRegionResult> asyncHandler);
124+
125+
/**
126+
* <p>
127+
* Enables (opts-in) a particular Region for an account.
128+
* </p>
129+
*
130+
* @param enableRegionRequest
131+
* @return A Java Future containing the result of the EnableRegion operation returned by the service.
132+
* @sample AWSAccountAsync.EnableRegion
133+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/EnableRegion" target="_top">AWS API
134+
* Documentation</a>
135+
*/
136+
java.util.concurrent.Future<EnableRegionResult> enableRegionAsync(EnableRegionRequest enableRegionRequest);
137+
138+
/**
139+
* <p>
140+
* Enables (opts-in) a particular Region for an account.
141+
* </p>
142+
*
143+
* @param enableRegionRequest
144+
* @param asyncHandler
145+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
146+
* implementation of the callback methods in this interface to receive notification of successful or
147+
* unsuccessful completion of the operation.
148+
* @return A Java Future containing the result of the EnableRegion operation returned by the service.
149+
* @sample AWSAccountAsyncHandler.EnableRegion
150+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/EnableRegion" target="_top">AWS API
151+
* Documentation</a>
152+
*/
153+
java.util.concurrent.Future<EnableRegionResult> enableRegionAsync(EnableRegionRequest enableRegionRequest,
154+
com.amazonaws.handlers.AsyncHandler<EnableRegionRequest, EnableRegionResult> asyncHandler);
155+
94156
/**
95157
* <p>
96158
* Retrieves the specified alternate contact attached to an Amazon Web Services account.
@@ -191,6 +253,70 @@ java.util.concurrent.Future<GetAlternateContactResult> getAlternateContactAsync(
191253
java.util.concurrent.Future<GetContactInformationResult> getContactInformationAsync(GetContactInformationRequest getContactInformationRequest,
192254
com.amazonaws.handlers.AsyncHandler<GetContactInformationRequest, GetContactInformationResult> asyncHandler);
193255

256+
/**
257+
* <p>
258+
* Retrieves the opt-in status of a particular Region.
259+
* </p>
260+
*
261+
* @param getRegionOptStatusRequest
262+
* @return A Java Future containing the result of the GetRegionOptStatus operation returned by the service.
263+
* @sample AWSAccountAsync.GetRegionOptStatus
264+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetRegionOptStatus" target="_top">AWS API
265+
* Documentation</a>
266+
*/
267+
java.util.concurrent.Future<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest);
268+
269+
/**
270+
* <p>
271+
* Retrieves the opt-in status of a particular Region.
272+
* </p>
273+
*
274+
* @param getRegionOptStatusRequest
275+
* @param asyncHandler
276+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
277+
* implementation of the callback methods in this interface to receive notification of successful or
278+
* unsuccessful completion of the operation.
279+
* @return A Java Future containing the result of the GetRegionOptStatus operation returned by the service.
280+
* @sample AWSAccountAsyncHandler.GetRegionOptStatus
281+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetRegionOptStatus" target="_top">AWS API
282+
* Documentation</a>
283+
*/
284+
java.util.concurrent.Future<GetRegionOptStatusResult> getRegionOptStatusAsync(GetRegionOptStatusRequest getRegionOptStatusRequest,
285+
com.amazonaws.handlers.AsyncHandler<GetRegionOptStatusRequest, GetRegionOptStatusResult> asyncHandler);
286+
287+
/**
288+
* <p>
289+
* Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be
290+
* filtered by the <code>region-opt-status-contains</code> parameter.
291+
* </p>
292+
*
293+
* @param listRegionsRequest
294+
* @return A Java Future containing the result of the ListRegions operation returned by the service.
295+
* @sample AWSAccountAsync.ListRegions
296+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegions" target="_top">AWS API
297+
* Documentation</a>
298+
*/
299+
java.util.concurrent.Future<ListRegionsResult> listRegionsAsync(ListRegionsRequest listRegionsRequest);
300+
301+
/**
302+
* <p>
303+
* Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be
304+
* filtered by the <code>region-opt-status-contains</code> parameter.
305+
* </p>
306+
*
307+
* @param listRegionsRequest
308+
* @param asyncHandler
309+
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
310+
* implementation of the callback methods in this interface to receive notification of successful or
311+
* unsuccessful completion of the operation.
312+
* @return A Java Future containing the result of the ListRegions operation returned by the service.
313+
* @sample AWSAccountAsyncHandler.ListRegions
314+
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegions" target="_top">AWS API
315+
* Documentation</a>
316+
*/
317+
java.util.concurrent.Future<ListRegionsResult> listRegionsAsync(ListRegionsRequest listRegionsRequest,
318+
com.amazonaws.handlers.AsyncHandler<ListRegionsRequest, ListRegionsResult> asyncHandler);
319+
194320
/**
195321
* <p>
196322
* Modifies the specified alternate contact attached to an Amazon Web Services account.

0 commit comments

Comments
 (0)