@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSAppConfigDataAsync extends AbstractAWSAppConfigData implements AWSAppConfigDataAsync
AWSAppConfigDataAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<GetLatestConfigurationResult> |
getLatestConfigurationAsync(GetLatestConfigurationRequest request)
Retrieves the latest deployed configuration.
|
Future<GetLatestConfigurationResult> |
getLatestConfigurationAsync(GetLatestConfigurationRequest request,
AsyncHandler<GetLatestConfigurationRequest,GetLatestConfigurationResult> asyncHandler)
Retrieves the latest deployed configuration.
|
Future<StartConfigurationSessionResult> |
startConfigurationSessionAsync(StartConfigurationSessionRequest request)
Starts a configuration session used to retrieve a deployed configuration.
|
Future<StartConfigurationSessionResult> |
startConfigurationSessionAsync(StartConfigurationSessionRequest request,
AsyncHandler<StartConfigurationSessionRequest,StartConfigurationSessionResult> asyncHandler)
Starts a configuration session used to retrieve a deployed configuration.
|
getCachedResponseMetadata, getLatestConfiguration, shutdown, startConfigurationSessionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, getLatestConfiguration, shutdown, startConfigurationSessionpublic Future<GetLatestConfigurationResult> getLatestConfigurationAsync(GetLatestConfigurationRequest request)
AWSAppConfigDataAsyncRetrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Retrieving the configuration in the AppConfig User Guide.
Note the following important information.
Each configuration token is only valid for one call to GetLatestConfiguration. The
GetLatestConfiguration response includes a NextPollConfigurationToken that should
always replace the token used for the just-completed call in preparation for the next one.
GetLatestConfiguration is a priced call. For more information, see Pricing.
getLatestConfigurationAsync in interface AWSAppConfigDataAsyncpublic Future<GetLatestConfigurationResult> getLatestConfigurationAsync(GetLatestConfigurationRequest request, AsyncHandler<GetLatestConfigurationRequest,GetLatestConfigurationResult> asyncHandler)
AWSAppConfigDataAsyncRetrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Retrieving the configuration in the AppConfig User Guide.
Note the following important information.
Each configuration token is only valid for one call to GetLatestConfiguration. The
GetLatestConfiguration response includes a NextPollConfigurationToken that should
always replace the token used for the just-completed call in preparation for the next one.
GetLatestConfiguration is a priced call. For more information, see Pricing.
getLatestConfigurationAsync in interface AWSAppConfigDataAsyncasyncHandler - 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<StartConfigurationSessionResult> startConfigurationSessionAsync(StartConfigurationSessionRequest request)
AWSAppConfigDataAsyncStarts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Retrieving the configuration in the AppConfig User Guide.
startConfigurationSessionAsync in interface AWSAppConfigDataAsyncpublic Future<StartConfigurationSessionResult> startConfigurationSessionAsync(StartConfigurationSessionRequest request, AsyncHandler<StartConfigurationSessionRequest,StartConfigurationSessionResult> asyncHandler)
AWSAppConfigDataAsyncStarts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Retrieving the configuration in the AppConfig User Guide.
startConfigurationSessionAsync in interface AWSAppConfigDataAsyncasyncHandler - 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.