AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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 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.
For .NET Core this operation is only available in asynchronous form. Please refer to GetLatestConfigurationAsync.
Namespace: Amazon.AppConfigData
Assembly: AWSSDK.AppConfigData.dll
Version: 3.x.y.z
public virtual GetLatestConfigurationResponse GetLatestConfiguration( GetLatestConfigurationRequest request )
Container for the necessary parameters to execute the GetLatestConfiguration service method.
Exception | Condition |
---|---|
BadRequestException | The input fails to satisfy the constraints specified by the service. |
InternalServerException | There was an internal failure in the service. |
ResourceNotFoundException | The requested resource could not be found. |
ThrottlingException | The request was denied due to request throttling. |
.NET Framework:
Supported in: 4.5 and newer, 3.5