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 |
Updates a specified logging configuration.
Synopsis
- data UpdateLoggingConfiguration = UpdateLoggingConfiguration' {}
- newUpdateLoggingConfiguration :: Text -> UpdateLoggingConfiguration
- updateLoggingConfiguration_destinationConfiguration :: Lens' UpdateLoggingConfiguration (Maybe DestinationConfiguration)
- updateLoggingConfiguration_name :: Lens' UpdateLoggingConfiguration (Maybe Text)
- updateLoggingConfiguration_identifier :: Lens' UpdateLoggingConfiguration Text
- data UpdateLoggingConfigurationResponse = UpdateLoggingConfigurationResponse' {}
- newUpdateLoggingConfigurationResponse :: Int -> UpdateLoggingConfigurationResponse
- updateLoggingConfigurationResponse_arn :: Lens' UpdateLoggingConfigurationResponse (Maybe Text)
- updateLoggingConfigurationResponse_createTime :: Lens' UpdateLoggingConfigurationResponse (Maybe UTCTime)
- updateLoggingConfigurationResponse_destinationConfiguration :: Lens' UpdateLoggingConfigurationResponse (Maybe DestinationConfiguration)
- updateLoggingConfigurationResponse_id :: Lens' UpdateLoggingConfigurationResponse (Maybe Text)
- updateLoggingConfigurationResponse_name :: Lens' UpdateLoggingConfigurationResponse (Maybe Text)
- updateLoggingConfigurationResponse_state :: Lens' UpdateLoggingConfigurationResponse (Maybe UpdateLoggingConfigurationState)
- updateLoggingConfigurationResponse_tags :: Lens' UpdateLoggingConfigurationResponse (Maybe (HashMap Text Text))
- updateLoggingConfigurationResponse_updateTime :: Lens' UpdateLoggingConfigurationResponse (Maybe UTCTime)
- updateLoggingConfigurationResponse_httpStatus :: Lens' UpdateLoggingConfigurationResponse Int
Creating a Request
data UpdateLoggingConfiguration Source #
See: newUpdateLoggingConfiguration
smart constructor.
UpdateLoggingConfiguration' | |
|
Instances
newUpdateLoggingConfiguration Source #
Create a value of UpdateLoggingConfiguration
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:
UpdateLoggingConfiguration
, updateLoggingConfiguration_destinationConfiguration
- A complex type that contains a destination configuration for where chat
content will be logged. There can be only one type of destination
(cloudWatchLogs
, firehose
, or s3
) in a destinationConfiguration
.
UpdateLoggingConfiguration
, updateLoggingConfiguration_name
- Logging-configuration name. The value does not need to be unique.
$sel:identifier:UpdateLoggingConfiguration'
, updateLoggingConfiguration_identifier
- Identifier of the logging configuration to be updated.
Request Lenses
updateLoggingConfiguration_destinationConfiguration :: Lens' UpdateLoggingConfiguration (Maybe DestinationConfiguration) Source #
A complex type that contains a destination configuration for where chat
content will be logged. There can be only one type of destination
(cloudWatchLogs
, firehose
, or s3
) in a destinationConfiguration
.
updateLoggingConfiguration_name :: Lens' UpdateLoggingConfiguration (Maybe Text) Source #
Logging-configuration name. The value does not need to be unique.
updateLoggingConfiguration_identifier :: Lens' UpdateLoggingConfiguration Text Source #
Identifier of the logging configuration to be updated.
Destructuring the Response
data UpdateLoggingConfigurationResponse Source #
See: newUpdateLoggingConfigurationResponse
smart constructor.
UpdateLoggingConfigurationResponse' | |
|
Instances
newUpdateLoggingConfigurationResponse Source #
Create a value of UpdateLoggingConfigurationResponse
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:
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_arn
- Logging-configuration ARN, from the request (if identifier
was an
ARN).
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_createTime
- Time when the logging configuration was created. This is an ISO 8601
timestamp; note that this is returned as a string.
UpdateLoggingConfiguration
, updateLoggingConfigurationResponse_destinationConfiguration
- A complex type that contains a destination configuration for where chat
content will be logged, from the request. There is only one type of
destination (cloudWatchLogs
, firehose
, or s3
) in a
destinationConfiguration
.
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_id
- Logging-configuration ID, generated by the system. This is a relative
identifier, the part of the ARN that uniquely identifies the room.
UpdateLoggingConfiguration
, updateLoggingConfigurationResponse_name
- Logging-configuration name, from the request (if specified).
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_state
- The state of the logging configuration. When the state is ACTIVE
, the
configuration is ready to log chat content.
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_tags
- Tags attached to the resource. Array of maps, each of the form
string:string (key:value)
.
UpdateLoggingConfigurationResponse
, updateLoggingConfigurationResponse_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:UpdateLoggingConfigurationResponse'
, updateLoggingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateLoggingConfigurationResponse_arn :: Lens' UpdateLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration ARN, from the request (if identifier
was an
ARN).
updateLoggingConfigurationResponse_createTime :: Lens' UpdateLoggingConfigurationResponse (Maybe UTCTime) Source #
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
updateLoggingConfigurationResponse_destinationConfiguration :: Lens' UpdateLoggingConfigurationResponse (Maybe DestinationConfiguration) Source #
A complex type that contains a destination configuration for where chat
content will be logged, from the request. There is only one type of
destination (cloudWatchLogs
, firehose
, or s3
) in a
destinationConfiguration
.
updateLoggingConfigurationResponse_id :: Lens' UpdateLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.
updateLoggingConfigurationResponse_name :: Lens' UpdateLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration name, from the request (if specified).
updateLoggingConfigurationResponse_state :: Lens' UpdateLoggingConfigurationResponse (Maybe UpdateLoggingConfigurationState) Source #
The state of the logging configuration. When the state is ACTIVE
, the
configuration is ready to log chat content.
updateLoggingConfigurationResponse_tags :: Lens' UpdateLoggingConfigurationResponse (Maybe (HashMap Text Text)) Source #
Tags attached to the resource. Array of maps, each of the form
string:string (key:value)
.
updateLoggingConfigurationResponse_updateTime :: Lens' UpdateLoggingConfigurationResponse (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.
updateLoggingConfigurationResponse_httpStatus :: Lens' UpdateLoggingConfigurationResponse Int Source #
The response's http status code.