Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Receive information about a configuration.
AWS AppConfig uses the value of the ClientConfigurationVersion
parameter to identify the configuration version on your clients. If you
don’t send ClientConfigurationVersion
with each call to
GetConfiguration
, your clients receive the current configuration. You
are charged each time your clients receive a configuration.
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.
Synopsis
- data GetConfiguration = GetConfiguration' {}
- newGetConfiguration :: Text -> Text -> Text -> Text -> GetConfiguration
- getConfiguration_clientConfigurationVersion :: Lens' GetConfiguration (Maybe Text)
- getConfiguration_application :: Lens' GetConfiguration Text
- getConfiguration_environment :: Lens' GetConfiguration Text
- getConfiguration_configuration :: Lens' GetConfiguration Text
- getConfiguration_clientId :: Lens' GetConfiguration Text
- data GetConfigurationResponse = GetConfigurationResponse' {}
- newGetConfigurationResponse :: Int -> GetConfigurationResponse
- getConfigurationResponse_configurationVersion :: Lens' GetConfigurationResponse (Maybe Text)
- getConfigurationResponse_content :: Lens' GetConfigurationResponse (Maybe ByteString)
- getConfigurationResponse_contentType :: Lens' GetConfigurationResponse (Maybe Text)
- getConfigurationResponse_httpStatus :: Lens' GetConfigurationResponse Int
Creating a Request
data GetConfiguration Source #
See: newGetConfiguration
smart constructor.
GetConfiguration' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> GetConfiguration |
Create a value of GetConfiguration
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:clientConfigurationVersion:GetConfiguration'
, getConfiguration_clientConfigurationVersion
- The configuration version returned in the most recent GetConfiguration
response.
AWS AppConfig uses the value of the ClientConfigurationVersion
parameter to identify the configuration version on your clients. If you
don’t send ClientConfigurationVersion
with each call to
GetConfiguration
, your clients receive the current configuration. You
are charged each time your clients receive a configuration.
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.
For more information about working with configurations, see Retrieving the Configuration in the AWS AppConfig User Guide.
$sel:application:GetConfiguration'
, getConfiguration_application
- The application to get. Specify either the application name or the
application ID.
$sel:environment:GetConfiguration'
, getConfiguration_environment
- The environment to get. Specify either the environment name or the
environment ID.
$sel:configuration:GetConfiguration'
, getConfiguration_configuration
- The configuration to get. Specify either the configuration name or the
configuration ID.
$sel:clientId:GetConfiguration'
, getConfiguration_clientId
- A unique ID to identify the client for the configuration. This ID
enables AppConfig to deploy the configuration in intervals, as defined
in the deployment strategy.
Request Lenses
getConfiguration_clientConfigurationVersion :: Lens' GetConfiguration (Maybe Text) Source #
The configuration version returned in the most recent GetConfiguration
response.
AWS AppConfig uses the value of the ClientConfigurationVersion
parameter to identify the configuration version on your clients. If you
don’t send ClientConfigurationVersion
with each call to
GetConfiguration
, your clients receive the current configuration. You
are charged each time your clients receive a configuration.
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.
For more information about working with configurations, see Retrieving the Configuration in the AWS AppConfig User Guide.
getConfiguration_application :: Lens' GetConfiguration Text Source #
The application to get. Specify either the application name or the application ID.
getConfiguration_environment :: Lens' GetConfiguration Text Source #
The environment to get. Specify either the environment name or the environment ID.
getConfiguration_configuration :: Lens' GetConfiguration Text Source #
The configuration to get. Specify either the configuration name or the configuration ID.
getConfiguration_clientId :: Lens' GetConfiguration Text Source #
A unique ID to identify the client for the configuration. This ID enables AppConfig to deploy the configuration in intervals, as defined in the deployment strategy.
Destructuring the Response
data GetConfigurationResponse Source #
See: newGetConfigurationResponse
smart constructor.
GetConfigurationResponse' | |
|
Instances
newGetConfigurationResponse Source #
Create a value of GetConfigurationResponse
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:configurationVersion:GetConfigurationResponse'
, getConfigurationResponse_configurationVersion
- The configuration version.
$sel:content:GetConfigurationResponse'
, getConfigurationResponse_content
- The content of the configuration or the configuration data.
$sel:contentType:GetConfigurationResponse'
, getConfigurationResponse_contentType
- A standard MIME type describing the format of the configuration content.
For more information, see
Content-Type.
$sel:httpStatus:GetConfigurationResponse'
, getConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getConfigurationResponse_configurationVersion :: Lens' GetConfigurationResponse (Maybe Text) Source #
The configuration version.
getConfigurationResponse_content :: Lens' GetConfigurationResponse (Maybe ByteString) Source #
The content of the configuration or the configuration data.
getConfigurationResponse_contentType :: Lens' GetConfigurationResponse (Maybe Text) Source #
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
getConfigurationResponse_httpStatus :: Lens' GetConfigurationResponse Int Source #
The response's http status code.