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 |
Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
Synopsis
- data PutVoiceConnectorLoggingConfiguration = PutVoiceConnectorLoggingConfiguration' {}
- newPutVoiceConnectorLoggingConfiguration :: Text -> LoggingConfiguration -> PutVoiceConnectorLoggingConfiguration
- putVoiceConnectorLoggingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorLoggingConfiguration Text
- putVoiceConnectorLoggingConfiguration_loggingConfiguration :: Lens' PutVoiceConnectorLoggingConfiguration LoggingConfiguration
- data PutVoiceConnectorLoggingConfigurationResponse = PutVoiceConnectorLoggingConfigurationResponse' {}
- newPutVoiceConnectorLoggingConfigurationResponse :: Int -> PutVoiceConnectorLoggingConfigurationResponse
- putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration :: Lens' PutVoiceConnectorLoggingConfigurationResponse (Maybe LoggingConfiguration)
- putVoiceConnectorLoggingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorLoggingConfigurationResponse Int
Creating a Request
data PutVoiceConnectorLoggingConfiguration Source #
See: newPutVoiceConnectorLoggingConfiguration
smart constructor.
PutVoiceConnectorLoggingConfiguration' | |
|
Instances
newPutVoiceConnectorLoggingConfiguration Source #
:: Text |
|
-> LoggingConfiguration |
|
-> PutVoiceConnectorLoggingConfiguration |
Create a value of PutVoiceConnectorLoggingConfiguration
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:voiceConnectorId:PutVoiceConnectorLoggingConfiguration'
, putVoiceConnectorLoggingConfiguration_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration'
, putVoiceConnectorLoggingConfiguration_loggingConfiguration
- The logging configuration details to add.
Request Lenses
putVoiceConnectorLoggingConfiguration_voiceConnectorId :: Lens' PutVoiceConnectorLoggingConfiguration Text Source #
The Amazon Chime Voice Connector ID.
putVoiceConnectorLoggingConfiguration_loggingConfiguration :: Lens' PutVoiceConnectorLoggingConfiguration LoggingConfiguration Source #
The logging configuration details to add.
Destructuring the Response
data PutVoiceConnectorLoggingConfigurationResponse Source #
See: newPutVoiceConnectorLoggingConfigurationResponse
smart constructor.
PutVoiceConnectorLoggingConfigurationResponse' | |
|
Instances
Eq PutVoiceConnectorLoggingConfigurationResponse Source # | |
Read PutVoiceConnectorLoggingConfigurationResponse Source # | |
Show PutVoiceConnectorLoggingConfigurationResponse Source # | |
Generic PutVoiceConnectorLoggingConfigurationResponse Source # | |
NFData PutVoiceConnectorLoggingConfigurationResponse Source # | |
type Rep PutVoiceConnectorLoggingConfigurationResponse Source # | |
Defined in Amazonka.Chime.PutVoiceConnectorLoggingConfiguration type Rep PutVoiceConnectorLoggingConfigurationResponse = D1 ('MetaData "PutVoiceConnectorLoggingConfigurationResponse" "Amazonka.Chime.PutVoiceConnectorLoggingConfiguration" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PutVoiceConnectorLoggingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutVoiceConnectorLoggingConfigurationResponse Source #
:: Int |
|
-> PutVoiceConnectorLoggingConfigurationResponse |
Create a value of PutVoiceConnectorLoggingConfigurationResponse
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:loggingConfiguration:PutVoiceConnectorLoggingConfiguration'
, putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration
- The updated logging configuration details.
$sel:httpStatus:PutVoiceConnectorLoggingConfigurationResponse'
, putVoiceConnectorLoggingConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration :: Lens' PutVoiceConnectorLoggingConfigurationResponse (Maybe LoggingConfiguration) Source #
The updated logging configuration details.
putVoiceConnectorLoggingConfigurationResponse_httpStatus :: Lens' PutVoiceConnectorLoggingConfigurationResponse Int Source #
The response's http status code.