Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   * 
   *  http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.config;
 
 
Interface for accessing AmazonConfig asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler. AWS Config

AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an Elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see Supported AWS Resources .

You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config

This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config.

The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see Signature Version 4 Signing Process .

For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see What Is AWS Config? in the AWS Config Developer Guide .

 
 public interface AmazonConfigAsync extends AmazonConfig {
    

Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.

NOTE:Currently, you can specify only one delivery channel per account.

Parameters:
describeDeliveryChannelStatusRequest Container for the necessary parameters to execute the DescribeDeliveryChannelStatus operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DescribeDeliveryChannelStatus service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException;

    

Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.

NOTE:Currently, you can specify only one delivery channel per account.

Parameters:
describeDeliveryChannelStatusRequest Container for the necessary parameters to execute the DescribeDeliveryChannelStatus operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeDeliveryChannelStatus service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.

NOTE: Currently, you can specify only one configuration recorder per account.

Parameters:
describeConfigurationRecordersRequest Container for the necessary parameters to execute the DescribeConfigurationRecorders operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DescribeConfigurationRecorders service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.

NOTE: Currently, you can specify only one configuration recorder per account.

Parameters:
describeConfigurationRecordersRequest Container for the necessary parameters to execute the DescribeConfigurationRecorders operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeConfigurationRecorders service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Starts recording configurations of all the resources associated with the account.

You must have created at least one delivery channel to successfully start the configuration recorder.

Parameters:
startConfigurationRecorderRequest Container for the necessary parameters to execute the StartConfigurationRecorder operation on AmazonConfig.
Returns:
A Java Future object containing the response from the StartConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstartConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Starts recording configurations of all the resources associated with the account.

You must have created at least one delivery channel to successfully start the configuration recorder.

Parameters:
startConfigurationRecorderRequest Container for the necessary parameters to execute the StartConfigurationRecorder operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StartConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstartConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest,
            AsyncHandler<StartConfigurationRecorderRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

NOTE: Currently, you can specify only one delivery channel per account.

Parameters:
putDeliveryChannelRequest Container for the necessary parameters to execute the PutDeliveryChannel operation on AmazonConfig.
Returns:
A Java Future object containing the response from the PutDeliveryChannel service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidputDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

NOTE: Currently, you can specify only one delivery channel per account.

Parameters:
putDeliveryChannelRequest Container for the necessary parameters to execute the PutDeliveryChannel operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the PutDeliveryChannel service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidputDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest,
            AsyncHandler<PutDeliveryChannelRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Deletes the specified delivery channel.

The delivery channel cannot be deleted if it is the only delivery channel and the configuration recorder is still running. To delete the delivery channel, stop the running configuration recorder using the StopConfigurationRecorder action.

Parameters:
deleteDeliveryChannelRequest Container for the necessary parameters to execute the DeleteDeliveryChannel operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DeleteDeliveryChannel service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Deletes the specified delivery channel.

The delivery channel cannot be deleted if it is the only delivery channel and the configuration recorder is still running. To delete the delivery channel, stop the running configuration recorder using the StopConfigurationRecorder action.

Parameters:
deleteDeliveryChannelRequest Container for the necessary parameters to execute the DeleteDeliveryChannel operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteDeliveryChannel service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest,
            AsyncHandler<DeleteDeliveryChannelRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Stops recording configurations of all the resources associated with the account.

Parameters:
stopConfigurationRecorderRequest Container for the necessary parameters to execute the StopConfigurationRecorder operation on AmazonConfig.
Returns:
A Java Future object containing the response from the StopConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Stops recording configurations of all the resources associated with the account.

Parameters:
stopConfigurationRecorderRequest Container for the necessary parameters to execute the StopConfigurationRecorder operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the StopConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidstopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest,
            AsyncHandler<StopConfigurationRecorderRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.

  • Notification of starting the delivery.
  • Notification of delivery completed, if the delivery was successfully completed.
  • Notification of delivery failure, if the delivery failed to complete.

Parameters:
deliverConfigSnapshotRequest Container for the necessary parameters to execute the DeliverConfigSnapshot operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DeliverConfigSnapshot service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.

  • Notification of starting the delivery.
  • Notification of delivery completed, if the delivery was successfully completed.
  • Notification of delivery failure, if the delivery failed to complete.

Parameters:
deliverConfigSnapshotRequest Container for the necessary parameters to execute the DeliverConfigSnapshot operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeliverConfigSnapshot service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Creates a new configuration recorder to record the resource configurations.

You can use this action to change the role ( roleARN ) of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.

NOTE: Currently, you can specify only one configuration recorder per account.

Parameters:
putConfigurationRecorderRequest Container for the necessary parameters to execute the PutConfigurationRecorder operation on AmazonConfig.
Returns:
A Java Future object containing the response from the PutConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidputConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest
            throws AmazonServiceExceptionAmazonClientException;

    

Creates a new configuration recorder to record the resource configurations.

You can use this action to change the role ( roleARN ) of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.

NOTE: Currently, you can specify only one configuration recorder per account.

Parameters:
putConfigurationRecorderRequest Container for the necessary parameters to execute the PutConfigurationRecorder operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the PutConfigurationRecorder service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidputConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest,
            AsyncHandler<PutConfigurationRecorderRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException;

    

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. You can specify a limit on the number of results returned on the page. If a limit is specified, a nextToken is returned as part of the result that you can use to continue this request.

NOTE: Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken .

Parameters:
getResourceConfigHistoryRequest Container for the necessary parameters to execute the GetResourceConfigHistory operation on AmazonConfig.
Returns:
A Java Future object containing the response from the GetResourceConfigHistory service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval. You can specify a limit on the number of results returned on the page. If a limit is specified, a nextToken is returned as part of the result that you can use to continue this request.

NOTE: Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken .

Parameters:
getResourceConfigHistoryRequest Container for the necessary parameters to execute the GetResourceConfigHistory operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetResourceConfigHistory service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account.

NOTE: Currently, you can specify only one delivery channel per account.

Parameters:
describeDeliveryChannelsRequest Container for the necessary parameters to execute the DescribeDeliveryChannels operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DescribeDeliveryChannels service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account.

NOTE: Currently, you can specify only one delivery channel per account.

Parameters:
describeDeliveryChannelsRequest Container for the necessary parameters to execute the DescribeDeliveryChannels operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeDeliveryChannels service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;

    

Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account.

NOTE:Currently, you can specify only one configuration recorder per account.

Parameters:
describeConfigurationRecorderStatusRequest Container for the necessary parameters to execute the DescribeConfigurationRecorderStatus operation on AmazonConfig.
Returns:
A Java Future object containing the response from the DescribeConfigurationRecorderStatus service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException;

    

Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account.

NOTE:Currently, you can specify only one configuration recorder per account.

Parameters:
describeConfigurationRecorderStatusRequest Container for the necessary parameters to execute the DescribeConfigurationRecorderStatus operation on AmazonConfig.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeConfigurationRecorderStatus service method, as returned by AmazonConfig.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonConfig indicating either a problem with the data in the request, or a server side issue.
                    throws AmazonServiceExceptionAmazonClientException;
}
        
New to GrepCode? Check out our FAQ X