Skip to content

Commit

Permalink
AWS SDK for Java 1.11.60
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Nov 23, 2016
1 parent 8af967a commit 694ea2d
Show file tree
Hide file tree
Showing 192 changed files with 17,415 additions and 9,518 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies.
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.59</version>
<version>1.11.60</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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-acm</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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-api-gateway</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-applicationautoscaling/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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-applicationautoscaling</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-autoscaling/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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-autoscaling</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-bom/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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-budgets/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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-budgets</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-cloudformation/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.60-SNAPSHOT</version>
<version>1.11.60</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public enum CloudFormationActions implements Action {
ListChangeSets("cloudformation:ListChangeSets"),
/** Action for the ListExports operation. */
ListExports("cloudformation:ListExports"),
/** Action for the ListImports operation. */
ListImports("cloudformation:ListImports"),
/** Action for the ListStackResources operation. */
ListStackResources("cloudformation:ListStackResources"),
/** Action for the ListStacks operation. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ public ListExportsResult listExports(ListExportsRequest request) {
throw new java.lang.UnsupportedOperationException();
}

@Override
public ListImportsResult listImports(ListImportsRequest request) {
throw new java.lang.UnsupportedOperationException();
}

@Override
public ListStackResourcesResult listStackResources(ListStackResourcesRequest request) {
throw new java.lang.UnsupportedOperationException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,19 @@ public java.util.concurrent.Future<ListExportsResult> listExportsAsync(ListExpor
throw new java.lang.UnsupportedOperationException();
}

@Override
public java.util.concurrent.Future<ListImportsResult> listImportsAsync(ListImportsRequest request) {

return listImportsAsync(request, null);
}

@Override
public java.util.concurrent.Future<ListImportsResult> listImportsAsync(ListImportsRequest request,
com.amazonaws.handlers.AsyncHandler<ListImportsRequest, ListImportsResult> asyncHandler) {

throw new java.lang.UnsupportedOperationException();
}

@Override
public java.util.concurrent.Future<ListStackResourcesResult> listStackResourcesAsync(ListStackResourcesRequest request) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ public interface AmazonCloudFormation {
* @throws ChangeSetNotFoundException
* The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the
* <code>ListChangeSets</code> action.
* @throws InsufficientCapabilitiesException
* The template contains resources with capabilities that were not specified in the Capabilities parameter.
* @sample AmazonCloudFormation.ExecuteChangeSet
*/
ExecuteChangeSetResult executeChangeSet(ExecuteChangeSetRequest executeChangeSetRequest);
Expand Down Expand Up @@ -427,6 +429,9 @@ public interface AmazonCloudFormation {
* @param getTemplateRequest
* The input for a <a>GetTemplate</a> action.
* @return Result of the GetTemplate operation returned by the service.
* @throws ChangeSetNotFoundException
* The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the
* <code>ListChangeSets</code> action.
* @sample AmazonCloudFormation.GetTemplate
*/
GetTemplateResult getTemplate(GetTemplateRequest getTemplateRequest);
Expand Down Expand Up @@ -492,6 +497,24 @@ public interface AmazonCloudFormation {
*/
ListExportsResult listExports(ListExportsRequest listExportsRequest);

/**
* <p>
* Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first
* use this action to see which stacks are using it. To see the exported output values in your account, see
* <a>ListExports</a>.
* </p>
* <p>
* For more information about importing an exported output value, see the <a href=
* "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
* <code>Fn::ImportValue</code> </a> function.
* </p>
*
* @param listImportsRequest
* @return Result of the ListImports operation returned by the service.
* @sample AmazonCloudFormation.ListImports
*/
ListImportsResult listImports(ListImportsRequest listImportsRequest);

/**
* <p>
* Returns descriptions of all resources of the specified stack.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,47 @@ java.util.concurrent.Future<ListChangeSetsResult> listChangeSetsAsync(ListChange
java.util.concurrent.Future<ListExportsResult> listExportsAsync(ListExportsRequest listExportsRequest,
com.amazonaws.handlers.AsyncHandler<ListExportsRequest, ListExportsResult> asyncHandler);

/**
* <p>
* Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first
* use this action to see which stacks are using it. To see the exported output values in your account, see
* <a>ListExports</a>.
* </p>
* <p>
* For more information about importing an exported output value, see the <a href=
* "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
* <code>Fn::ImportValue</code> </a> function.
* </p>
*
* @param listImportsRequest
* @return A Java Future containing the result of the ListImports operation returned by the service.
* @sample AmazonCloudFormationAsync.ListImports
*/
java.util.concurrent.Future<ListImportsResult> listImportsAsync(ListImportsRequest listImportsRequest);

/**
* <p>
* Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first
* use this action to see which stacks are using it. To see the exported output values in your account, see
* <a>ListExports</a>.
* </p>
* <p>
* For more information about importing an exported output value, see the <a href=
* "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
* <code>Fn::ImportValue</code> </a> function.
* </p>
*
* @param listImportsRequest
* @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 ListImports operation returned by the service.
* @sample AmazonCloudFormationAsyncHandler.ListImports
*/
java.util.concurrent.Future<ListImportsResult> listImportsAsync(ListImportsRequest listImportsRequest,
com.amazonaws.handlers.AsyncHandler<ListImportsRequest, ListImportsResult> asyncHandler);

/**
* <p>
* Returns descriptions of all resources of the specified stack.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,38 @@ public ListExportsResult call() throws Exception {
});
}

@Override
public java.util.concurrent.Future<ListImportsResult> listImportsAsync(ListImportsRequest request) {

return listImportsAsync(request, null);
}

@Override
public java.util.concurrent.Future<ListImportsResult> listImportsAsync(final ListImportsRequest request,
final com.amazonaws.handlers.AsyncHandler<ListImportsRequest, ListImportsResult> asyncHandler) {

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

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

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

@Override
public java.util.concurrent.Future<ListStackResourcesResult> listStackResourcesAsync(ListStackResourcesRequest request) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,8 @@ public EstimateTemplateCostResult estimateTemplateCost() {
* @throws ChangeSetNotFoundException
* The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the
* <code>ListChangeSets</code> action.
* @throws InsufficientCapabilitiesException
* The template contains resources with capabilities that were not specified in the Capabilities parameter.
* @sample AmazonCloudFormation.ExecuteChangeSet
*/
@Override
Expand Down Expand Up @@ -994,6 +996,9 @@ public GetStackPolicyResult getStackPolicy(GetStackPolicyRequest getStackPolicyR
* @param getTemplateRequest
* The input for a <a>GetTemplate</a> action.
* @return Result of the GetTemplate operation returned by the service.
* @throws ChangeSetNotFoundException
* The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the
* <code>ListChangeSets</code> action.
* @sample AmazonCloudFormation.GetTemplate
*/
@Override
Expand Down Expand Up @@ -1167,6 +1172,51 @@ public ListExportsResult listExports(ListExportsRequest listExportsRequest) {
}
}

/**
* <p>
* Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first
* use this action to see which stacks are using it. To see the exported output values in your account, see
* <a>ListExports</a>.
* </p>
* <p>
* For more information about importing an exported output value, see the <a href=
* "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html">
* <code>Fn::ImportValue</code> </a> function.
* </p>
*
* @param listImportsRequest
* @return Result of the ListImports operation returned by the service.
* @sample AmazonCloudFormation.ListImports
*/
@Override
public ListImportsResult listImports(ListImportsRequest listImportsRequest) {
ExecutionContext executionContext = createExecutionContext(listImportsRequest);
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
Request<ListImportsRequest> request = null;
Response<ListImportsResult> response = null;

try {
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
try {
request = new ListImportsRequestMarshaller().marshall(super.beforeMarshalling(listImportsRequest));
// Binds the request metrics to the current request.
request.setAWSRequestMetrics(awsRequestMetrics);
} finally {
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
}

StaxResponseHandler<ListImportsResult> responseHandler = new StaxResponseHandler<ListImportsResult>(new ListImportsResultStaxUnmarshaller());
response = invoke(request, responseHandler, executionContext);

return response.getAwsResponse();

} finally {

endClientExecution(awsRequestMetrics, request, response);
}
}

/**
* <p>
* Returns descriptions of all resources of the specified stack.
Expand Down
Loading

0 comments on commit 694ea2d

Please sign in to comment.