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 |
Creates a logging configuration that allows clients to store and record sent messages.
Synopsis
- data CreateLoggingConfiguration = CreateLoggingConfiguration' {}
- newCreateLoggingConfiguration :: DestinationConfiguration -> CreateLoggingConfiguration
- createLoggingConfiguration_name :: Lens' CreateLoggingConfiguration (Maybe Text)
- createLoggingConfiguration_tags :: Lens' CreateLoggingConfiguration (Maybe (HashMap Text Text))
- createLoggingConfiguration_destinationConfiguration :: Lens' CreateLoggingConfiguration DestinationConfiguration
- data CreateLoggingConfigurationResponse = CreateLoggingConfigurationResponse' {}
- newCreateLoggingConfigurationResponse :: Int -> CreateLoggingConfigurationResponse
- createLoggingConfigurationResponse_arn :: Lens' CreateLoggingConfigurationResponse (Maybe Text)
- createLoggingConfigurationResponse_createTime :: Lens' CreateLoggingConfigurationResponse (Maybe UTCTime)
- createLoggingConfigurationResponse_destinationConfiguration :: Lens' CreateLoggingConfigurationResponse (Maybe DestinationConfiguration)
- createLoggingConfigurationResponse_id :: Lens' CreateLoggingConfigurationResponse (Maybe Text)
- createLoggingConfigurationResponse_name :: Lens' CreateLoggingConfigurationResponse (Maybe Text)
- createLoggingConfigurationResponse_state :: Lens' CreateLoggingConfigurationResponse (Maybe CreateLoggingConfigurationState)
- createLoggingConfigurationResponse_tags :: Lens' CreateLoggingConfigurationResponse (Maybe (HashMap Text Text))
- createLoggingConfigurationResponse_updateTime :: Lens' CreateLoggingConfigurationResponse (Maybe UTCTime)
- createLoggingConfigurationResponse_httpStatus :: Lens' CreateLoggingConfigurationResponse Int
Creating a Request
data CreateLoggingConfiguration Source #
See: newCreateLoggingConfiguration
smart constructor.
CreateLoggingConfiguration' | |
|
Instances
newCreateLoggingConfiguration Source #
Create a value of CreateLoggingConfiguration
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:
CreateLoggingConfiguration
, createLoggingConfiguration_name
- Logging-configuration name. The value does not need to be unique.
CreateLoggingConfiguration
, createLoggingConfiguration_tags
- Tags to attach to the resource. Array of maps, each of the form
string:string (key:value)
. See
Tagging AWS Resources
for details, including restrictions that apply to tags and "Tag naming
limits and requirements"; Amazon IVS Chat has no constraints on tags
beyond what is documented there.
CreateLoggingConfiguration
, createLoggingConfiguration_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
.
Request Lenses
createLoggingConfiguration_name :: Lens' CreateLoggingConfiguration (Maybe Text) Source #
Logging-configuration name. The value does not need to be unique.
createLoggingConfiguration_tags :: Lens' CreateLoggingConfiguration (Maybe (HashMap Text Text)) Source #
Tags to attach to the resource. Array of maps, each of the form
string:string (key:value)
. See
Tagging AWS Resources
for details, including restrictions that apply to tags and "Tag naming
limits and requirements"; Amazon IVS Chat has no constraints on tags
beyond what is documented there.
createLoggingConfiguration_destinationConfiguration :: Lens' CreateLoggingConfiguration 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
.
Destructuring the Response
data CreateLoggingConfigurationResponse Source #
See: newCreateLoggingConfigurationResponse
smart constructor.
CreateLoggingConfigurationResponse' | |
|
Instances
newCreateLoggingConfigurationResponse Source #
Create a value of CreateLoggingConfigurationResponse
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:
CreateLoggingConfigurationResponse
, createLoggingConfigurationResponse_arn
- Logging-configuration ARN, assigned by the system.
CreateLoggingConfigurationResponse
, createLoggingConfigurationResponse_createTime
- Time when the logging configuration was created. This is an ISO 8601
timestamp; note that this is returned as a string.
CreateLoggingConfiguration
, createLoggingConfigurationResponse_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
.
CreateLoggingConfigurationResponse
, createLoggingConfigurationResponse_id
- Logging-configuration ID, generated by the system. This is a relative
identifier, the part of the ARN that uniquely identifies the logging
configuration.
CreateLoggingConfiguration
, createLoggingConfigurationResponse_name
- Logging-configuration name, from the request (if specified).
CreateLoggingConfigurationResponse
, createLoggingConfigurationResponse_state
- The state of the logging configuration. When the state is ACTIVE
, the
configuration is ready to log chat content.
CreateLoggingConfiguration
, createLoggingConfigurationResponse_tags
- Tags attached to the resource, from the request (if specified). Array of
maps, each of the form string:string (key:value)
.
CreateLoggingConfigurationResponse
, createLoggingConfigurationResponse_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:CreateLoggingConfigurationResponse'
, createLoggingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createLoggingConfigurationResponse_arn :: Lens' CreateLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration ARN, assigned by the system.
createLoggingConfigurationResponse_createTime :: Lens' CreateLoggingConfigurationResponse (Maybe UTCTime) Source #
Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.
createLoggingConfigurationResponse_destinationConfiguration :: Lens' CreateLoggingConfigurationResponse (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
.
createLoggingConfigurationResponse_id :: Lens' CreateLoggingConfigurationResponse (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.
createLoggingConfigurationResponse_name :: Lens' CreateLoggingConfigurationResponse (Maybe Text) Source #
Logging-configuration name, from the request (if specified).
createLoggingConfigurationResponse_state :: Lens' CreateLoggingConfigurationResponse (Maybe CreateLoggingConfigurationState) Source #
The state of the logging configuration. When the state is ACTIVE
, the
configuration is ready to log chat content.
createLoggingConfigurationResponse_tags :: Lens' CreateLoggingConfigurationResponse (Maybe (HashMap Text Text)) Source #
Tags attached to the resource, from the request (if specified). Array of
maps, each of the form string:string (key:value)
.
createLoggingConfigurationResponse_updateTime :: Lens' CreateLoggingConfigurationResponse (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.
createLoggingConfigurationResponse_httpStatus :: Lens' CreateLoggingConfigurationResponse Int Source #
The response's http status code.