Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AppConfigData

import { AppConfigData } from "https://aws-api.deno.dev/v0.3/services/appconfigdata.ts?docs=full";
class AppConfigData {
constructor(apiFactory: client.ApiFactory);
async getLatestConfiguration(params: GetLatestConfigurationRequest, opts?: client.RequestOptions): Promise<GetLatestConfigurationResponse>;
async startConfigurationSession(params: StartConfigurationSessionRequest, opts?: client.RequestOptions): Promise<StartConfigurationSessionResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AppConfigData(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

! IMPORTANT: ! 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.

§

Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details.

§Static Properties