| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
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
- data StartConfigurationSession = StartConfigurationSession' {}
 - newStartConfigurationSession :: Text -> Text -> Text -> StartConfigurationSession
 - startConfigurationSession_requiredMinimumPollIntervalInSeconds :: Lens' StartConfigurationSession (Maybe Natural)
 - startConfigurationSession_applicationIdentifier :: Lens' StartConfigurationSession Text
 - startConfigurationSession_environmentIdentifier :: Lens' StartConfigurationSession Text
 - startConfigurationSession_configurationProfileIdentifier :: Lens' StartConfigurationSession Text
 - data StartConfigurationSessionResponse = StartConfigurationSessionResponse' {}
 - newStartConfigurationSessionResponse :: Int -> StartConfigurationSessionResponse
 - startConfigurationSessionResponse_initialConfigurationToken :: Lens' StartConfigurationSessionResponse (Maybe Text)
 - startConfigurationSessionResponse_httpStatus :: Lens' StartConfigurationSessionResponse Int
 
Creating a Request
data StartConfigurationSession Source #
See: newStartConfigurationSession smart constructor.
Constructors
| StartConfigurationSession' | |
Fields 
  | |
Instances
newStartConfigurationSession Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | 
  | 
| -> StartConfigurationSession | 
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_applicationIdentifier :: Lens' StartConfigurationSession Text Source #
The application ID or the application name.
startConfigurationSession_environmentIdentifier :: Lens' StartConfigurationSession Text Source #
The environment ID or the environment name.
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 
  | |
Instances
newStartConfigurationSessionResponse Source #
Arguments
| :: Int | |
| -> StartConfigurationSessionResponse | 
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.
startConfigurationSessionResponse_httpStatus :: Lens' StartConfigurationSessionResponse Int Source #
The response's http status code.