@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonFSxAsyncClient extends AmazonFSxClient implements AmazonFSxAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon FSx is a fully managed service that makes it easy for storage and application administrators to launch and use shared file storage.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonFSxAsyncClientBuilder |
asyncBuilder() |
Future<CreateBackupResult> |
createBackupAsync(CreateBackupRequest request)
Creates a backup of an existing Amazon FSx for Windows File Server file system.
|
Future<CreateBackupResult> |
createBackupAsync(CreateBackupRequest request,
AsyncHandler<CreateBackupRequest,CreateBackupResult> asyncHandler)
Creates a backup of an existing Amazon FSx for Windows File Server file system.
|
Future<CreateFileSystemResult> |
createFileSystemAsync(CreateFileSystemRequest request)
Creates a new, empty Amazon FSx file system.
|
Future<CreateFileSystemResult> |
createFileSystemAsync(CreateFileSystemRequest request,
AsyncHandler<CreateFileSystemRequest,CreateFileSystemResult> asyncHandler)
Creates a new, empty Amazon FSx file system.
|
Future<CreateFileSystemFromBackupResult> |
createFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request)
Creates a new Amazon FSx file system from an existing Amazon FSx for Windows File Server backup.
|
Future<CreateFileSystemFromBackupResult> |
createFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request,
AsyncHandler<CreateFileSystemFromBackupRequest,CreateFileSystemFromBackupResult> asyncHandler)
Creates a new Amazon FSx file system from an existing Amazon FSx for Windows File Server backup.
|
Future<DeleteBackupResult> |
deleteBackupAsync(DeleteBackupRequest request)
Deletes an Amazon FSx for Windows File Server backup, deleting its contents.
|
Future<DeleteBackupResult> |
deleteBackupAsync(DeleteBackupRequest request,
AsyncHandler<DeleteBackupRequest,DeleteBackupResult> asyncHandler)
Deletes an Amazon FSx for Windows File Server backup, deleting its contents.
|
Future<DeleteFileSystemResult> |
deleteFileSystemAsync(DeleteFileSystemRequest request)
Deletes a file system, deleting its contents.
|
Future<DeleteFileSystemResult> |
deleteFileSystemAsync(DeleteFileSystemRequest request,
AsyncHandler<DeleteFileSystemRequest,DeleteFileSystemResult> asyncHandler)
Deletes a file system, deleting its contents.
|
Future<DescribeBackupsResult> |
describeBackupsAsync(DescribeBackupsRequest request)
Returns the description of specific Amazon FSx for Windows File Server backups, if a
BackupIds value
is provided for that backup. |
Future<DescribeBackupsResult> |
describeBackupsAsync(DescribeBackupsRequest request,
AsyncHandler<DescribeBackupsRequest,DescribeBackupsResult> asyncHandler)
Returns the description of specific Amazon FSx for Windows File Server backups, if a
BackupIds value
is provided for that backup. |
Future<DescribeFileSystemsResult> |
describeFileSystemsAsync(DescribeFileSystemsRequest request)
Returns the description of specific Amazon FSx file systems, if a
FileSystemIds value is provided
for that file system. |
Future<DescribeFileSystemsResult> |
describeFileSystemsAsync(DescribeFileSystemsRequest request,
AsyncHandler<DescribeFileSystemsRequest,DescribeFileSystemsResult> asyncHandler)
Returns the description of specific Amazon FSx file systems, if a
FileSystemIds value is provided
for that file system. |
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for Windows File Server.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for Windows File Server.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Tags an Amazon FSx resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Tags an Amazon FSx resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
This action removes a tag from an Amazon FSx resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
This action removes a tag from an Amazon FSx resource.
|
Future<UpdateFileSystemResult> |
updateFileSystemAsync(UpdateFileSystemRequest request)
Updates a file system configuration.
|
Future<UpdateFileSystemResult> |
updateFileSystemAsync(UpdateFileSystemRequest request,
AsyncHandler<UpdateFileSystemRequest,UpdateFileSystemResult> asyncHandler)
Updates a file system configuration.
|
builder, createBackup, createFileSystem, createFileSystemFromBackup, deleteBackup, deleteFileSystem, describeBackups, describeFileSystems, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource, updateFileSystem
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBackup, createFileSystem, createFileSystemFromBackup, deleteBackup, deleteFileSystem, describeBackups, describeFileSystems, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource, updateFileSystem
public static AmazonFSxAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBackupResult> createBackupAsync(CreateBackupRequest request)
AmazonFSxAsync
Creates a backup of an existing Amazon FSx for Windows File Server file system. Creating regular backups for your file system is a best practice that complements the replication that Amazon FSx for Windows File Server performs for your file system. It also enables you to restore from user modification of data.
If a backup with the specified client request token exists, and the parameters match, this operation returns the
description of the existing backup. If a backup specified client request token exists, and the parameters don't
match, this operation returns IncompatibleParameterError
. If a backup with the specified client
request token doesn't exist, CreateBackup
does the following:
Creates a new Amazon FSx backup with an assigned ID, and an initial lifecycle state of CREATING
.
Returns the description of the backup.
By using the idempotent operation, you can retry a CreateBackup
operation without the risk of
creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear
whether a backup was created. If you use the same client request token and the initial call created a backup, the
operation returns a successful result because all the parameters are the same.
The CreateFileSystem
operation returns while the backup's lifecycle state is still
CREATING
. You can check the file system creation status by calling the DescribeBackups
operation, which returns the backup state along with other information.
createBackupAsync
in interface AmazonFSxAsync
request
- The request object for the CreateBackup
operation.public Future<CreateBackupResult> createBackupAsync(CreateBackupRequest request, AsyncHandler<CreateBackupRequest,CreateBackupResult> asyncHandler)
AmazonFSxAsync
Creates a backup of an existing Amazon FSx for Windows File Server file system. Creating regular backups for your file system is a best practice that complements the replication that Amazon FSx for Windows File Server performs for your file system. It also enables you to restore from user modification of data.
If a backup with the specified client request token exists, and the parameters match, this operation returns the
description of the existing backup. If a backup specified client request token exists, and the parameters don't
match, this operation returns IncompatibleParameterError
. If a backup with the specified client
request token doesn't exist, CreateBackup
does the following:
Creates a new Amazon FSx backup with an assigned ID, and an initial lifecycle state of CREATING
.
Returns the description of the backup.
By using the idempotent operation, you can retry a CreateBackup
operation without the risk of
creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear
whether a backup was created. If you use the same client request token and the initial call created a backup, the
operation returns a successful result because all the parameters are the same.
The CreateFileSystem
operation returns while the backup's lifecycle state is still
CREATING
. You can check the file system creation status by calling the DescribeBackups
operation, which returns the backup state along with other information.
createBackupAsync
in interface AmazonFSxAsync
request
- The request object for the CreateBackup
operation.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.public Future<CreateFileSystemResult> createFileSystemAsync(CreateFileSystemRequest request)
AmazonFSxAsync
Creates a new, empty Amazon FSx file system.
If a file system with the specified client request token exists and the parameters match,
CreateFileSystem
returns the description of the existing file system. If a file system specified
client request token exists and the parameters don't match, this call returns
IncompatibleParameterError
. If a file system with the specified client request token doesn't exist,
CreateFileSystem
does the following:
Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of
CREATING
.
Returns the description of the file system.
This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation.
This means that calling the operation multiple times with the same client request token has no effect. By using
the idempotent operation, you can retry a CreateFileSystem
operation without the risk of creating an
extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether
a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If
you use the same client request token and the initial call created a file system, the client receives success as
long as the parameters are the same.
The CreateFileSystem
call returns while the file system's lifecycle state is still
CREATING
. You can check the file-system creation status by calling the DescribeFileSystems
operation, which returns the file system state along with other information.
createFileSystemAsync
in interface AmazonFSxAsync
request
- The request object used to create a new Amazon FSx file system.public Future<CreateFileSystemResult> createFileSystemAsync(CreateFileSystemRequest request, AsyncHandler<CreateFileSystemRequest,CreateFileSystemResult> asyncHandler)
AmazonFSxAsync
Creates a new, empty Amazon FSx file system.
If a file system with the specified client request token exists and the parameters match,
CreateFileSystem
returns the description of the existing file system. If a file system specified
client request token exists and the parameters don't match, this call returns
IncompatibleParameterError
. If a file system with the specified client request token doesn't exist,
CreateFileSystem
does the following:
Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of
CREATING
.
Returns the description of the file system.
This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation.
This means that calling the operation multiple times with the same client request token has no effect. By using
the idempotent operation, you can retry a CreateFileSystem
operation without the risk of creating an
extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether
a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If
you use the same client request token and the initial call created a file system, the client receives success as
long as the parameters are the same.
The CreateFileSystem
call returns while the file system's lifecycle state is still
CREATING
. You can check the file-system creation status by calling the DescribeFileSystems
operation, which returns the file system state along with other information.
createFileSystemAsync
in interface AmazonFSxAsync
request
- The request object used to create a new Amazon FSx file system.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.public Future<CreateFileSystemFromBackupResult> createFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request)
AmazonFSxAsync
Creates a new Amazon FSx file system from an existing Amazon FSx for Windows File Server backup.
If a file system with the specified client request token exists and the parameters match, this operation returns
the description of the file system. If a client request token specified by the file system exists and the
parameters don't match, this call returns IncompatibleParameterError
. If a file system with the
specified client request token doesn't exist, this operation does the following:
Creates a new Amazon FSx file system from backup with an assigned ID, and an initial lifecycle state of
CREATING
.
Returns the description of the file system.
Parameters like Active Directory, default share name, automatic backup, and backup settings default to the parameters of the file system that was backed up, unless overridden. You can explicitly supply other settings.
By using the idempotent operation, you can retry a CreateFileSystemFromBackup
call without the risk
of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it
unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection
was reset. If you use the same client request token and the initial call created a file system, the client
receives success as long as the parameters are the same.
The CreateFileSystemFromBackup
call returns while the file system's lifecycle state is still
CREATING
. You can check the file-system creation status by calling the DescribeFileSystems
operation, which returns the file system state along with other information.
createFileSystemFromBackupAsync
in interface AmazonFSxAsync
request
- The request object for the CreateFileSystemFromBackup
operation.public Future<CreateFileSystemFromBackupResult> createFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request, AsyncHandler<CreateFileSystemFromBackupRequest,CreateFileSystemFromBackupResult> asyncHandler)
AmazonFSxAsync
Creates a new Amazon FSx file system from an existing Amazon FSx for Windows File Server backup.
If a file system with the specified client request token exists and the parameters match, this operation returns
the description of the file system. If a client request token specified by the file system exists and the
parameters don't match, this call returns IncompatibleParameterError
. If a file system with the
specified client request token doesn't exist, this operation does the following:
Creates a new Amazon FSx file system from backup with an assigned ID, and an initial lifecycle state of
CREATING
.
Returns the description of the file system.
Parameters like Active Directory, default share name, automatic backup, and backup settings default to the parameters of the file system that was backed up, unless overridden. You can explicitly supply other settings.
By using the idempotent operation, you can retry a CreateFileSystemFromBackup
call without the risk
of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it
unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection
was reset. If you use the same client request token and the initial call created a file system, the client
receives success as long as the parameters are the same.
The CreateFileSystemFromBackup
call returns while the file system's lifecycle state is still
CREATING
. You can check the file-system creation status by calling the DescribeFileSystems
operation, which returns the file system state along with other information.
createFileSystemFromBackupAsync
in interface AmazonFSxAsync
request
- The request object for the CreateFileSystemFromBackup
operation.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.public Future<DeleteBackupResult> deleteBackupAsync(DeleteBackupRequest request)
AmazonFSxAsync
Deletes an Amazon FSx for Windows File Server backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.
The DeleteBackup
call returns instantly. The backup will not show up in later
DescribeBackups
calls.
The data in a deleted backup is also deleted and can't be recovered by any means.
deleteBackupAsync
in interface AmazonFSxAsync
request
- The request object for DeleteBackup
operation.public Future<DeleteBackupResult> deleteBackupAsync(DeleteBackupRequest request, AsyncHandler<DeleteBackupRequest,DeleteBackupResult> asyncHandler)
AmazonFSxAsync
Deletes an Amazon FSx for Windows File Server backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.
The DeleteBackup
call returns instantly. The backup will not show up in later
DescribeBackups
calls.
The data in a deleted backup is also deleted and can't be recovered by any means.
deleteBackupAsync
in interface AmazonFSxAsync
request
- The request object for DeleteBackup
operation.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.public Future<DeleteFileSystemResult> deleteFileSystemAsync(DeleteFileSystemRequest request)
AmazonFSxAsync
Deletes a file system, deleting its contents. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups will also be deleted.
By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup is not subject to the file system's retention policy, and must be manually deleted.
The DeleteFileSystem
action returns while the file system has the DELETING
status. You
can check the file system deletion status by calling the DescribeFileSystems action, which returns a list
of file systems in your account. If you pass the file system ID for a deleted file system, the
DescribeFileSystems returns a FileSystemNotFound
error.
The data in a deleted file system is also deleted and can't be recovered by any means.
deleteFileSystemAsync
in interface AmazonFSxAsync
request
- The request object for DeleteFileSystem
operation.public Future<DeleteFileSystemResult> deleteFileSystemAsync(DeleteFileSystemRequest request, AsyncHandler<DeleteFileSystemRequest,DeleteFileSystemResult> asyncHandler)
AmazonFSxAsync
Deletes a file system, deleting its contents. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups will also be deleted.
By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup is not subject to the file system's retention policy, and must be manually deleted.
The DeleteFileSystem
action returns while the file system has the DELETING
status. You
can check the file system deletion status by calling the DescribeFileSystems action, which returns a list
of file systems in your account. If you pass the file system ID for a deleted file system, the
DescribeFileSystems returns a FileSystemNotFound
error.
The data in a deleted file system is also deleted and can't be recovered by any means.
deleteFileSystemAsync
in interface AmazonFSxAsync
request
- The request object for DeleteFileSystem
operation.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.public Future<DescribeBackupsResult> describeBackupsAsync(DescribeBackupsRequest request)
AmazonFSxAsync
Returns the description of specific Amazon FSx for Windows File Server backups, if a BackupIds
value
is provided for that backup. Otherwise, it returns all backups owned by your AWS account in the AWS Region of the
endpoint that you're calling.
When retrieving all backups, you can optionally specify the MaxResults
parameter to limit the number
of backups in a response. If more backups remain, Amazon FSx returns a NextToken
value in the
response. In this case, send a later request with the NextToken
request parameter set to the value
of NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your backups. DescribeBackups
is
called first without a NextToken
value. Then the action continues to be called with the
NextToken
parameter set to the value of the last NextToken
value until a response has
no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of backups returned in the response of one DescribeBackups
call and the order of backups
returned across the responses of a multi-call iteration is unspecified.
describeBackupsAsync
in interface AmazonFSxAsync
request
- The request object for DescribeBackups
operation.public Future<DescribeBackupsResult> describeBackupsAsync(DescribeBackupsRequest request, AsyncHandler<DescribeBackupsRequest,DescribeBackupsResult> asyncHandler)
AmazonFSxAsync
Returns the description of specific Amazon FSx for Windows File Server backups, if a BackupIds
value
is provided for that backup. Otherwise, it returns all backups owned by your AWS account in the AWS Region of the
endpoint that you're calling.
When retrieving all backups, you can optionally specify the MaxResults
parameter to limit the number
of backups in a response. If more backups remain, Amazon FSx returns a NextToken
value in the
response. In this case, send a later request with the NextToken
request parameter set to the value
of NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your backups. DescribeBackups
is
called first without a NextToken
value. Then the action continues to be called with the
NextToken
parameter set to the value of the last NextToken
value until a response has
no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of backups returned in the response of one DescribeBackups
call and the order of backups
returned across the responses of a multi-call iteration is unspecified.
describeBackupsAsync
in interface AmazonFSxAsync
request
- The request object for DescribeBackups
operation.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.public Future<DescribeFileSystemsResult> describeFileSystemsAsync(DescribeFileSystemsRequest request)
AmazonFSxAsync
Returns the description of specific Amazon FSx file systems, if a FileSystemIds
value is provided
for that file system. Otherwise, it returns descriptions of all file systems owned by your AWS account in the AWS
Region of the endpoint that you're calling.
When retrieving all file system descriptions, you can optionally specify the MaxResults
parameter to
limit the number of descriptions in a response. If more file system descriptions remain, Amazon FSx returns a
NextToken
value in the response. In this case, send a later request with the NextToken
request parameter set to the value of NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your file system descriptions.
DescribeFileSystems
is called first without a NextToken
value. Then the action continues
to be called with the NextToken
parameter set to the value of the last NextToken
value
until a response has no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of file systems returned in the response of one DescribeFileSystems
call and the order of
file systems returned across the responses of a multicall iteration is unspecified.
describeFileSystemsAsync
in interface AmazonFSxAsync
request
- The request object for DescribeFileSystems
operation.public Future<DescribeFileSystemsResult> describeFileSystemsAsync(DescribeFileSystemsRequest request, AsyncHandler<DescribeFileSystemsRequest,DescribeFileSystemsResult> asyncHandler)
AmazonFSxAsync
Returns the description of specific Amazon FSx file systems, if a FileSystemIds
value is provided
for that file system. Otherwise, it returns descriptions of all file systems owned by your AWS account in the AWS
Region of the endpoint that you're calling.
When retrieving all file system descriptions, you can optionally specify the MaxResults
parameter to
limit the number of descriptions in a response. If more file system descriptions remain, Amazon FSx returns a
NextToken
value in the response. In this case, send a later request with the NextToken
request parameter set to the value of NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your file system descriptions.
DescribeFileSystems
is called first without a NextToken
value. Then the action continues
to be called with the NextToken
parameter set to the value of the last NextToken
value
until a response has no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of file systems returned in the response of one DescribeFileSystems
call and the order of
file systems returned across the responses of a multicall iteration is unspecified.
describeFileSystemsAsync
in interface AmazonFSxAsync
request
- The request object for DescribeFileSystems
operation.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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonFSxAsync
Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for Windows File Server.
When retrieving all tags, you can optionally specify the MaxResults
parameter to limit the number of
tags in a response. If more tags remain, Amazon FSx returns a NextToken
value in the response. In
this case, send a later request with the NextToken
request parameter set to the value of
NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your tags. ListTagsForResource
is
called first without a NextToken
value. Then the action continues to be called with the
NextToken
parameter set to the value of the last NextToken
value until a response has
no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of tags returned in the response of one ListTagsForResource
call and the order of tags
returned across the responses of a multi-call iteration is unspecified.
listTagsForResourceAsync
in interface AmazonFSxAsync
request
- The request object for ListTagsForResource
operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonFSxAsync
Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for Windows File Server.
When retrieving all tags, you can optionally specify the MaxResults
parameter to limit the number of
tags in a response. If more tags remain, Amazon FSx returns a NextToken
value in the response. In
this case, send a later request with the NextToken
request parameter set to the value of
NextToken
from the last response.
This action is used in an iterative process to retrieve a list of your tags. ListTagsForResource
is
called first without a NextToken
value. Then the action continues to be called with the
NextToken
parameter set to the value of the last NextToken
value until a response has
no NextToken
.
When using this action, keep the following in mind:
The implementation might return fewer than MaxResults
file system descriptions while still including
a NextToken
value.
The order of tags returned in the response of one ListTagsForResource
call and the order of tags
returned across the responses of a multi-call iteration is unspecified.
listTagsForResourceAsync
in interface AmazonFSxAsync
request
- The request object for ListTagsForResource
operation.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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonFSxAsync
Tags an Amazon FSx resource.
tagResourceAsync
in interface AmazonFSxAsync
request
- The request object for the TagResource
operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonFSxAsync
Tags an Amazon FSx resource.
tagResourceAsync
in interface AmazonFSxAsync
request
- The request object for the TagResource
operation.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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonFSxAsync
This action removes a tag from an Amazon FSx resource.
untagResourceAsync
in interface AmazonFSxAsync
request
- The request object for UntagResource
action.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonFSxAsync
This action removes a tag from an Amazon FSx resource.
untagResourceAsync
in interface AmazonFSxAsync
request
- The request object for UntagResource
action.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.public Future<UpdateFileSystemResult> updateFileSystemAsync(UpdateFileSystemRequest request)
AmazonFSxAsync
Updates a file system configuration.
updateFileSystemAsync
in interface AmazonFSxAsync
request
- The request object for the UpdateFileSystem
operation.public Future<UpdateFileSystemResult> updateFileSystemAsync(UpdateFileSystemRequest request, AsyncHandler<UpdateFileSystemRequest,UpdateFileSystemResult> asyncHandler)
AmazonFSxAsync
Updates a file system configuration.
updateFileSystemAsync
in interface AmazonFSxAsync
request
- The request object for the UpdateFileSystem
operation.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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonFSx
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.