@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSAppConfigData extends Object implements AWSAppConfigData
AWSAppConfigData. Convenient method forms pass through to the corresponding overload that takes a request object, which throws an
|Modifier and Type||Method and Description|
Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected.
Retrieves the latest deployed configuration.
Shuts down this client object, releasing any resources that might be held open.
Starts a configuration session used to retrieve a deployed configuration.
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. 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 Receiving the configuration in the AppConfig User Guide.
Note the following important information.
Each configuration token is only valid for one call to
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.
public StartConfigurationSessionResult startConfigurationSession(StartConfigurationSessionRequest request)
Starts 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 Receiving the configuration in the AppConfig User Guide.
public void shutdown()
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 a request.