| 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.IVSChat.GetLoggingConfiguration
Description
Gets the specified logging configuration.
Synopsis
- data GetLoggingConfiguration = GetLoggingConfiguration' {
- identifier :: Text
- newGetLoggingConfiguration :: Text -> GetLoggingConfiguration
- getLoggingConfiguration_identifier :: Lens' GetLoggingConfiguration Text
- data GetLoggingConfigurationResponse = GetLoggingConfigurationResponse' {}
- newGetLoggingConfigurationResponse :: Int -> GetLoggingConfigurationResponse
- getLoggingConfigurationResponse_arn :: Lens' GetLoggingConfigurationResponse (Maybe Text)
- getLoggingConfigurationResponse_createTime :: Lens' GetLoggingConfigurationResponse (Maybe UTCTime)
- getLoggingConfigurationResponse_destinationConfiguration :: Lens' GetLoggingConfigurationResponse (Maybe DestinationConfiguration)
- getLoggingConfigurationResponse_id :: Lens' GetLoggingConfigurationResponse (Maybe Text)
- getLoggingConfigurationResponse_name :: Lens' GetLoggingConfigurationResponse (Maybe Text)
- getLoggingConfigurationResponse_state :: Lens' GetLoggingConfigurationResponse (Maybe LoggingConfigurationState)
- getLoggingConfigurationResponse_tags :: Lens' GetLoggingConfigurationResponse (Maybe (HashMap Text Text))
- getLoggingConfigurationResponse_updateTime :: Lens' GetLoggingConfigurationResponse (Maybe UTCTime)
- getLoggingConfigurationResponse_httpStatus :: Lens' GetLoggingConfigurationResponse Int
Creating a Request
data GetLoggingConfiguration Source #
See: newGetLoggingConfiguration smart constructor.
Constructors
| GetLoggingConfiguration' | |
Fields
| |
Instances
newGetLoggingConfiguration Source #
Create a value of GetLoggingConfiguration 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:identifier:GetLoggingConfiguration', getLoggingConfiguration_identifier - Identifier of the logging configuration to be retrieved.
Request Lenses
getLoggingConfiguration_identifier :: Lens' GetLoggingConfiguration Text Source #
Identifier of the logging configuration to be retrieved.
Destructuring the Response
data GetLoggingConfigurationResponse Source #
See: newGetLoggingConfigurationResponse smart constructor.
Constructors
| GetLoggingConfigurationResponse' | |
Fields
| |
Instances
newGetLoggingConfigurationResponse Source #
Create a value of GetLoggingConfigurationResponse 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:
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_arn - Logging-configuration ARN, from the request (if identifier was an
ARN).
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_createTime - Time when the logging configuration was created. This is an ISO 8601
timestamp; note that this is returned as a string.
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_destinationConfiguration - A complex type that contains a destination configuration for where chat
content will be logged. There is only one type of destination
(cloudWatchLogs, firehose, or s3) in a destinationConfiguration.
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_id - Logging-configuration ID, generated by the system. This is a relative
identifier, the part of the ARN that uniquely identifies the logging
configuration.
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_name - Logging-configuration name. This value does not need to be unique.
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_state - The state of the logging configuration. When the state is ACTIVE, the
configuration is ready to log chat content.
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_tags - Tags attached to the resource. Array of maps, each of the form
string:string (key:value).
GetLoggingConfigurationResponse, getLoggingConfigurationResponse_updateTime - Time of the logging configuration’s last update. This is an ISO 8601
timestamp; note that this is returned as a string.
$sel:httpStatus:GetLoggingConfigurationResponse', getLoggingConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
getLoggingConfigurationResponse_arn :: Lens' GetLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration ARN, from the request (if identifier was an
ARN).
getLoggingConfigurationResponse_createTime :: Lens' GetLoggingConfigurationResponse (Maybe UTCTime) Source #
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
getLoggingConfigurationResponse_destinationConfiguration :: Lens' GetLoggingConfigurationResponse (Maybe DestinationConfiguration) Source #
A complex type that contains a destination configuration for where chat
content will be logged. There is only one type of destination
(cloudWatchLogs, firehose, or s3) in a destinationConfiguration.
getLoggingConfigurationResponse_id :: Lens' GetLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.
getLoggingConfigurationResponse_name :: Lens' GetLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration name. This value does not need to be unique.
getLoggingConfigurationResponse_state :: Lens' GetLoggingConfigurationResponse (Maybe LoggingConfigurationState) Source #
The state of the logging configuration. When the state is ACTIVE, the
configuration is ready to log chat content.
getLoggingConfigurationResponse_tags :: Lens' GetLoggingConfigurationResponse (Maybe (HashMap Text Text)) Source #
Tags attached to the resource. Array of maps, each of the form
string:string (key:value).
getLoggingConfigurationResponse_updateTime :: Lens' GetLoggingConfigurationResponse (Maybe UTCTime) Source #
Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
getLoggingConfigurationResponse_httpStatus :: Lens' GetLoggingConfigurationResponse Int Source #
The response's http status code.