amazonka-appconfigdata-2.0: Amazon AppConfig Data SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppConfigData.StartConfigurationSession

Description

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.

Synopsis

Creating a Request

data StartConfigurationSession Source #

See: newStartConfigurationSession smart constructor.

Constructors

StartConfigurationSession' 

Fields

Instances

Instances details
ToJSON StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

ToHeaders StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

ToPath StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

ToQuery StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

AWSRequest StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Generic StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Associated Types

type Rep StartConfigurationSession :: Type -> Type #

Read StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Show StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

NFData StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Eq StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Hashable StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

type AWSResponse StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

type Rep StartConfigurationSession Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

type Rep StartConfigurationSession = D1 ('MetaData "StartConfigurationSession" "Amazonka.AppConfigData.StartConfigurationSession" "amazonka-appconfigdata-2.0-4fFb59kQbZiI7zoxAdQXfi" 'False) (C1 ('MetaCons "StartConfigurationSession'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requiredMinimumPollIntervalInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "applicationIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "environmentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "configurationProfileIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartConfigurationSession Source #

Create a value of StartConfigurationSession with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:requiredMinimumPollIntervalInSeconds:StartConfigurationSession', startConfigurationSession_requiredMinimumPollIntervalInSeconds - Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then the client that established the session can't call GetLatestConfiguration more frequently then every 60 seconds.

$sel:applicationIdentifier:StartConfigurationSession', startConfigurationSession_applicationIdentifier - The application ID or the application name.

$sel:environmentIdentifier:StartConfigurationSession', startConfigurationSession_environmentIdentifier - The environment ID or the environment name.

$sel:configurationProfileIdentifier:StartConfigurationSession', startConfigurationSession_configurationProfileIdentifier - The configuration profile ID or the configuration profile name.

Request Lenses

startConfigurationSession_requiredMinimumPollIntervalInSeconds :: Lens' StartConfigurationSession (Maybe Natural) Source #

Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then the client that established the session can't call GetLatestConfiguration more frequently then every 60 seconds.

startConfigurationSession_configurationProfileIdentifier :: Lens' StartConfigurationSession Text Source #

The configuration profile ID or the configuration profile name.

Destructuring the Response

data StartConfigurationSessionResponse Source #

See: newStartConfigurationSessionResponse smart constructor.

Constructors

StartConfigurationSessionResponse' 

Fields

  • initialConfigurationToken :: Maybe Text

    Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.

    This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Associated Types

type Rep StartConfigurationSessionResponse :: Type -> Type #

Read StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Show StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

NFData StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

Eq StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

type Rep StartConfigurationSessionResponse Source # 
Instance details

Defined in Amazonka.AppConfigData.StartConfigurationSession

type Rep StartConfigurationSessionResponse = D1 ('MetaData "StartConfigurationSessionResponse" "Amazonka.AppConfigData.StartConfigurationSession" "amazonka-appconfigdata-2.0-4fFb59kQbZiI7zoxAdQXfi" 'False) (C1 ('MetaCons "StartConfigurationSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "initialConfigurationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartConfigurationSessionResponse Source #

Create a value of StartConfigurationSessionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:initialConfigurationToken:StartConfigurationSessionResponse', startConfigurationSessionResponse_initialConfigurationToken - Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.

This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.

$sel:httpStatus:StartConfigurationSessionResponse', startConfigurationSessionResponse_httpStatus - The response's http status code.

Response Lenses

startConfigurationSessionResponse_initialConfigurationToken :: Lens' StartConfigurationSessionResponse (Maybe Text) Source #

Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.

This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.