@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, startConfigurationSession
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, getLatestConfiguration, shutdown, startConfigurationSession
public Future<GetLatestConfigurationResult> getLatestConfigurationAsync(GetLatestConfigurationRequest request)
AWSAppConfigDataAsync
Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API.
Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates.
To avoid excess charges, we recommend that you include the ClientConfigurationVersion
value with
every call to GetConfiguration
. This value must be saved on your client. Subsequent calls to
GetConfiguration
must pass this value by using the ClientConfigurationVersion
parameter.
getLatestConfigurationAsync
in interface AWSAppConfigDataAsync
request
- Request parameters for the GetLatestConfiguration APIpublic Future<GetLatestConfigurationResult> getLatestConfigurationAsync(GetLatestConfigurationRequest request, AsyncHandler<GetLatestConfigurationRequest,GetLatestConfigurationResult> asyncHandler)
AWSAppConfigDataAsync
Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API.
Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates.
To avoid excess charges, we recommend that you include the ClientConfigurationVersion
value with
every call to GetConfiguration
. This value must be saved on your client. Subsequent calls to
GetConfiguration
must pass this value by using the ClientConfigurationVersion
parameter.
getLatestConfigurationAsync
in interface AWSAppConfigDataAsync
request
- Request parameters for the GetLatestConfiguration APIasyncHandler
- 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)
AWSAppConfigDataAsync
Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.
startConfigurationSessionAsync
in interface AWSAppConfigDataAsync
request
- Request parameters for the StartConfigurationSession API.public Future<StartConfigurationSessionResult> startConfigurationSessionAsync(StartConfigurationSessionRequest request, AsyncHandler<StartConfigurationSessionRequest,StartConfigurationSessionResult> asyncHandler)
AWSAppConfigDataAsync
Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.
startConfigurationSessionAsync
in interface AWSAppConfigDataAsync
request
- Request parameters for the StartConfigurationSession API.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.