@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAppConfigDataClient extends AmazonWebServiceClient implements AWSAppConfigData
Use the AppConfigData API, a capability of AWS AppConfig, to retrieve deployed configuration.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSAppConfigDataClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetLatestConfigurationResult |
getLatestConfiguration(GetLatestConfigurationRequest request)
Retrieves the latest deployed configuration.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartConfigurationSessionResult |
startConfigurationSession(StartConfigurationSessionRequest request)
Starts a configuration session used to retrieve a deployed configuration.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AWSAppConfigDataClientBuilder builder()
public GetLatestConfigurationResult getLatestConfiguration(GetLatestConfigurationRequest request)
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.
getLatestConfiguration in interface AWSAppConfigDatagetLatestConfigurationRequest - Request parameters for the GetLatestConfiguration APIThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by the service.InternalServerException - There was an internal failure in the service.public StartConfigurationSessionResult startConfigurationSession(StartConfigurationSessionRequest request)
Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.
startConfigurationSession in interface AWSAppConfigDatastartConfigurationSessionRequest - Request parameters for the StartConfigurationSession API.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by the service.InternalServerException - There was an internal failure in the service.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSAppConfigDatarequest - The originally executed requestpublic void shutdown()
AWSAppConfigDatashutdown in interface AWSAppConfigDatashutdown in class AmazonWebServiceClientCopyright © 2022. All rights reserved.