start_configuration_session
¶
start_configuration_session(
application_identifier: Identifier,
environment_identifier: Identifier,
configuration_profile_identifier: Identifier,
*,
config_overrides: Optional[AppConfigDataClientConfig] = None,
required_minimum_poll_interval_in_seconds: Optional[OptionalPollSeconds] = None,
) -> StartConfigurationSessionResponse
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 Retrieving the configuration in the AppConfig User Guide.
Parameters:
-
application_identifier(Identifier) –The application ID or the application name.
-
environment_identifier(Identifier) –The environment ID or the environment name.
-
configuration_profile_identifier(Identifier) –The configuration profile ID or the configuration profile name.
-
required_minimum_poll_interval_in_seconds(Optional[OptionalPollSeconds], default:None) –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 than every 60 seconds.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.