public class AWSSimpleSystemsManagementAsyncClient extends AWSSimpleSystemsManagementClient implements AWSSimpleSystemsManagementAsync
Amazon EC2 Simple Systems Manager (SSM) enables you to configure and manage your EC2 instances. You can create a configuration document and then associate it with one or more running instances.
You can use a configuration document to automate the following tasks for your Windows instances:
Join an AWS Directory
Install, repair, or uninstall software using an MSI package
Run PowerShell scripts
Configure CloudWatch Logs to monitor applications and systems
Note that configuration documents are not supported on Linux instances.
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSSimpleSystemsManagementAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials,
executor service, and client configuration options.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials
and executor service.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials provider.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials
provider and client configuration options.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement using the specified AWS account credentials provider
and executor service.
|
AWSSimpleSystemsManagementAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AWSSimpleSystemsManagement.
|
Modifier and Type | Method and Description |
---|---|
Future<CreateAssociationResult> |
createAssociationAsync(CreateAssociationRequest createAssociationRequest)
Associates the specified configuration document with the specified
instance.
|
Future<CreateAssociationResult> |
createAssociationAsync(CreateAssociationRequest createAssociationRequest,
AsyncHandler<CreateAssociationRequest,CreateAssociationResult> asyncHandler)
Associates the specified configuration document with the specified
instance.
|
Future<CreateAssociationBatchResult> |
createAssociationBatchAsync(CreateAssociationBatchRequest createAssociationBatchRequest)
Associates the specified configuration documents with the specified
instances.
|
Future<CreateAssociationBatchResult> |
createAssociationBatchAsync(CreateAssociationBatchRequest createAssociationBatchRequest,
AsyncHandler<CreateAssociationBatchRequest,CreateAssociationBatchResult> asyncHandler)
Associates the specified configuration documents with the specified
instances.
|
Future<CreateDocumentResult> |
createDocumentAsync(CreateDocumentRequest createDocumentRequest)
Creates a configuration document.
|
Future<CreateDocumentResult> |
createDocumentAsync(CreateDocumentRequest createDocumentRequest,
AsyncHandler<CreateDocumentRequest,CreateDocumentResult> asyncHandler)
Creates a configuration document.
|
Future<DeleteAssociationResult> |
deleteAssociationAsync(DeleteAssociationRequest deleteAssociationRequest)
Disassociates the specified configuration document from the specified
instance.
|
Future<DeleteAssociationResult> |
deleteAssociationAsync(DeleteAssociationRequest deleteAssociationRequest,
AsyncHandler<DeleteAssociationRequest,DeleteAssociationResult> asyncHandler)
Disassociates the specified configuration document from the specified
instance.
|
Future<DeleteDocumentResult> |
deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest)
Deletes the specified configuration document.
|
Future<DeleteDocumentResult> |
deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest,
AsyncHandler<DeleteDocumentRequest,DeleteDocumentResult> asyncHandler)
Deletes the specified configuration document.
|
Future<DescribeAssociationResult> |
describeAssociationAsync(DescribeAssociationRequest describeAssociationRequest)
Describes the associations for the specified configuration document
or instance.
|
Future<DescribeAssociationResult> |
describeAssociationAsync(DescribeAssociationRequest describeAssociationRequest,
AsyncHandler<DescribeAssociationRequest,DescribeAssociationResult> asyncHandler)
Describes the associations for the specified configuration document
or instance.
|
Future<DescribeDocumentResult> |
describeDocumentAsync(DescribeDocumentRequest describeDocumentRequest)
Describes the specified configuration document.
|
Future<DescribeDocumentResult> |
describeDocumentAsync(DescribeDocumentRequest describeDocumentRequest,
AsyncHandler<DescribeDocumentRequest,DescribeDocumentResult> asyncHandler)
Describes the specified configuration document.
|
Future<GetDocumentResult> |
getDocumentAsync(GetDocumentRequest getDocumentRequest)
Gets the contents of the specified configuration document.
|
Future<GetDocumentResult> |
getDocumentAsync(GetDocumentRequest getDocumentRequest,
AsyncHandler<GetDocumentRequest,GetDocumentResult> asyncHandler)
Gets the contents of the specified configuration document.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<ListAssociationsResult> |
listAssociationsAsync(ListAssociationsRequest listAssociationsRequest)
Lists the associations for the specified configuration document or
instance.
|
Future<ListAssociationsResult> |
listAssociationsAsync(ListAssociationsRequest listAssociationsRequest,
AsyncHandler<ListAssociationsRequest,ListAssociationsResult> asyncHandler)
Lists the associations for the specified configuration document or
instance.
|
Future<ListDocumentsResult> |
listDocumentsAsync(ListDocumentsRequest listDocumentsRequest)
Describes one or more of your configuration documents.
|
Future<ListDocumentsResult> |
listDocumentsAsync(ListDocumentsRequest listDocumentsRequest,
AsyncHandler<ListDocumentsRequest,ListDocumentsResult> asyncHandler)
Describes one or more of your configuration documents.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<UpdateAssociationStatusResult> |
updateAssociationStatusAsync(UpdateAssociationStatusRequest updateAssociationStatusRequest)
Updates the status of the configuration document associated with the
specified instance.
|
Future<UpdateAssociationStatusResult> |
updateAssociationStatusAsync(UpdateAssociationStatusRequest updateAssociationStatusRequest,
AsyncHandler<UpdateAssociationStatusRequest,UpdateAssociationStatusResult> asyncHandler)
Updates the status of the configuration document associated with the
specified instance.
|
createAssociation, createAssociationBatch, createDocument, deleteAssociation, deleteDocument, describeAssociation, describeDocument, getCachedResponseMetadata, getDocument, listAssociations, listDocuments, listDocuments, setEndpoint, setEndpoint, updateAssociationStatus
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAssociation, createAssociationBatch, createDocument, deleteAssociation, deleteDocument, describeAssociation, describeDocument, getCachedResponseMetadata, getDocument, listAssociations, listDocuments, listDocuments, setEndpoint, setRegion, updateAssociationStatus
public AWSSimpleSystemsManagementAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSSimpleSystemsManagementAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AWSSimpleSystemsManagement
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AWSSimpleSystemsManagementAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).public AWSSimpleSystemsManagementAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AWSSimpleSystemsManagement
shutdown
in class AmazonWebServiceClient
public Future<DeleteDocumentResult> deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified configuration document.
You must use DeleteAssociation to disassociate all instances that are associated with the configuration document before you can delete it.
deleteDocumentAsync
in interface AWSSimpleSystemsManagementAsync
deleteDocumentRequest
- Container for the necessary parameters to
execute the DeleteDocument operation on AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteDocumentResult> deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest, AsyncHandler<DeleteDocumentRequest,DeleteDocumentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified configuration document.
You must use DeleteAssociation to disassociate all instances that are associated with the configuration document before you can delete it.
deleteDocumentAsync
in interface AWSSimpleSystemsManagementAsync
deleteDocumentRequest
- Container for the necessary parameters to
execute the DeleteDocument operation on AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAssociationResult> describeAssociationAsync(DescribeAssociationRequest describeAssociationRequest) throws AmazonServiceException, AmazonClientException
Describes the associations for the specified configuration document or instance.
describeAssociationAsync
in interface AWSSimpleSystemsManagementAsync
describeAssociationRequest
- Container for the necessary
parameters to execute the DescribeAssociation operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAssociationResult> describeAssociationAsync(DescribeAssociationRequest describeAssociationRequest, AsyncHandler<DescribeAssociationRequest,DescribeAssociationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the associations for the specified configuration document or instance.
describeAssociationAsync
in interface AWSSimpleSystemsManagementAsync
describeAssociationRequest
- Container for the necessary
parameters to execute the DescribeAssociation operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAssociationResult> createAssociationAsync(CreateAssociationRequest createAssociationRequest) throws AmazonServiceException, AmazonClientException
Associates the specified configuration document with the specified instance.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
createAssociationAsync
in interface AWSSimpleSystemsManagementAsync
createAssociationRequest
- Container for the necessary parameters
to execute the CreateAssociation operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAssociationResult> createAssociationAsync(CreateAssociationRequest createAssociationRequest, AsyncHandler<CreateAssociationRequest,CreateAssociationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Associates the specified configuration document with the specified instance.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
createAssociationAsync
in interface AWSSimpleSystemsManagementAsync
createAssociationRequest
- Container for the necessary parameters
to execute the CreateAssociation operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAssociationBatchResult> createAssociationBatchAsync(CreateAssociationBatchRequest createAssociationBatchRequest) throws AmazonServiceException, AmazonClientException
Associates the specified configuration documents with the specified instances.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
createAssociationBatchAsync
in interface AWSSimpleSystemsManagementAsync
createAssociationBatchRequest
- Container for the necessary
parameters to execute the CreateAssociationBatch operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateAssociationBatchResult> createAssociationBatchAsync(CreateAssociationBatchRequest createAssociationBatchRequest, AsyncHandler<CreateAssociationBatchRequest,CreateAssociationBatchResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Associates the specified configuration documents with the specified instances.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
createAssociationBatchAsync
in interface AWSSimpleSystemsManagementAsync
createAssociationBatchRequest
- Container for the necessary
parameters to execute the CreateAssociationBatch operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDocumentResult> describeDocumentAsync(DescribeDocumentRequest describeDocumentRequest) throws AmazonServiceException, AmazonClientException
Describes the specified configuration document.
describeDocumentAsync
in interface AWSSimpleSystemsManagementAsync
describeDocumentRequest
- Container for the necessary parameters
to execute the DescribeDocument operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDocumentResult> describeDocumentAsync(DescribeDocumentRequest describeDocumentRequest, AsyncHandler<DescribeDocumentRequest,DescribeDocumentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the specified configuration document.
describeDocumentAsync
in interface AWSSimpleSystemsManagementAsync
describeDocumentRequest
- Container for the necessary parameters
to execute the DescribeDocument operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateAssociationStatusResult> updateAssociationStatusAsync(UpdateAssociationStatusRequest updateAssociationStatusRequest) throws AmazonServiceException, AmazonClientException
Updates the status of the configuration document associated with the specified instance.
updateAssociationStatusAsync
in interface AWSSimpleSystemsManagementAsync
updateAssociationStatusRequest
- Container for the necessary
parameters to execute the UpdateAssociationStatus operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateAssociationStatusResult> updateAssociationStatusAsync(UpdateAssociationStatusRequest updateAssociationStatusRequest, AsyncHandler<UpdateAssociationStatusRequest,UpdateAssociationStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates the status of the configuration document associated with the specified instance.
updateAssociationStatusAsync
in interface AWSSimpleSystemsManagementAsync
updateAssociationStatusRequest
- Container for the necessary
parameters to execute the UpdateAssociationStatus operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<ListAssociationsResult> listAssociationsAsync(ListAssociationsRequest listAssociationsRequest) throws AmazonServiceException, AmazonClientException
Lists the associations for the specified configuration document or instance.
listAssociationsAsync
in interface AWSSimpleSystemsManagementAsync
listAssociationsRequest
- Container for the necessary parameters
to execute the ListAssociations operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<ListAssociationsResult> listAssociationsAsync(ListAssociationsRequest listAssociationsRequest, AsyncHandler<ListAssociationsRequest,ListAssociationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the associations for the specified configuration document or instance.
listAssociationsAsync
in interface AWSSimpleSystemsManagementAsync
listAssociationsRequest
- Container for the necessary parameters
to execute the ListAssociations operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<ListDocumentsResult> listDocumentsAsync(ListDocumentsRequest listDocumentsRequest) throws AmazonServiceException, AmazonClientException
Describes one or more of your configuration documents.
listDocumentsAsync
in interface AWSSimpleSystemsManagementAsync
listDocumentsRequest
- Container for the necessary parameters to
execute the ListDocuments operation on AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<ListDocumentsResult> listDocumentsAsync(ListDocumentsRequest listDocumentsRequest, AsyncHandler<ListDocumentsRequest,ListDocumentsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more of your configuration documents.
listDocumentsAsync
in interface AWSSimpleSystemsManagementAsync
listDocumentsRequest
- Container for the necessary parameters to
execute the ListDocuments operation on AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteAssociationResult> deleteAssociationAsync(DeleteAssociationRequest deleteAssociationRequest) throws AmazonServiceException, AmazonClientException
Disassociates the specified configuration document from the specified instance.
When you disassociate a configuration document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a configuration document, you must create a new configuration document with the desired configuration and associate it with the instance.
deleteAssociationAsync
in interface AWSSimpleSystemsManagementAsync
deleteAssociationRequest
- Container for the necessary parameters
to execute the DeleteAssociation operation on
AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteAssociationResult> deleteAssociationAsync(DeleteAssociationRequest deleteAssociationRequest, AsyncHandler<DeleteAssociationRequest,DeleteAssociationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Disassociates the specified configuration document from the specified instance.
When you disassociate a configuration document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a configuration document, you must create a new configuration document with the desired configuration and associate it with the instance.
deleteAssociationAsync
in interface AWSSimpleSystemsManagementAsync
deleteAssociationRequest
- Container for the necessary parameters
to execute the DeleteAssociation operation on
AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDocumentResult> createDocumentAsync(CreateDocumentRequest createDocumentRequest) throws AmazonServiceException, AmazonClientException
Creates a configuration document.
After you create a configuration document, you can use CreateAssociation to associate it with one or more running instances.
createDocumentAsync
in interface AWSSimpleSystemsManagementAsync
createDocumentRequest
- Container for the necessary parameters to
execute the CreateDocument operation on AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDocumentResult> createDocumentAsync(CreateDocumentRequest createDocumentRequest, AsyncHandler<CreateDocumentRequest,CreateDocumentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a configuration document.
After you create a configuration document, you can use CreateAssociation to associate it with one or more running instances.
createDocumentAsync
in interface AWSSimpleSystemsManagementAsync
createDocumentRequest
- Container for the necessary parameters to
execute the CreateDocument operation on AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<GetDocumentResult> getDocumentAsync(GetDocumentRequest getDocumentRequest) throws AmazonServiceException, AmazonClientException
Gets the contents of the specified configuration document.
getDocumentAsync
in interface AWSSimpleSystemsManagementAsync
getDocumentRequest
- Container for the necessary parameters to
execute the GetDocument operation on AWSSimpleSystemsManagement.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.public Future<GetDocumentResult> getDocumentAsync(GetDocumentRequest getDocumentRequest, AsyncHandler<GetDocumentRequest,GetDocumentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gets the contents of the specified configuration document.
getDocumentAsync
in interface AWSSimpleSystemsManagementAsync
getDocumentRequest
- Container for the necessary parameters to
execute the GetDocument operation on AWSSimpleSystemsManagement.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.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.AmazonServiceException
- If an error response is returned by AWSSimpleSystemsManagement indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.