amazonka-ivschat-2.0: Amazon Interactive Video Service Chat SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVSChat.UpdateLoggingConfiguration

Description

Updates a specified logging configuration.

Synopsis

Creating a Request

data UpdateLoggingConfiguration Source #

See: newUpdateLoggingConfiguration smart constructor.

Constructors

UpdateLoggingConfiguration' 

Fields

  • destinationConfiguration :: Maybe 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.

  • name :: Maybe Text

    Logging-configuration name. The value does not need to be unique.

  • identifier :: Text

    Identifier of the logging configuration to be updated.

Instances

Instances details
ToJSON UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

ToHeaders UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

ToPath UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

ToQuery UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

AWSRequest UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Generic UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Associated Types

type Rep UpdateLoggingConfiguration :: Type -> Type #

Read UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Show UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

NFData UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Eq UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Hashable UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

type AWSResponse UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

type Rep UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

type Rep UpdateLoggingConfiguration = D1 ('MetaData "UpdateLoggingConfiguration" "Amazonka.IVSChat.UpdateLoggingConfiguration" "amazonka-ivschat-2.0-AB4QlCKEEGt4izEWjWKMb2" 'False) (C1 ('MetaCons "UpdateLoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DestinationConfiguration)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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 #

Constructors

UpdateLoggingConfigurationResponse' 

Fields

  • arn :: Maybe Text

    Logging-configuration ARN, from the request (if identifier was an ARN).

  • createTime :: Maybe ISO8601

    Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.

  • destinationConfiguration :: Maybe 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.

  • id :: Maybe Text

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

  • name :: Maybe Text

    Logging-configuration name, from the request (if specified).

  • state :: Maybe UpdateLoggingConfigurationState

    The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log chat content.

  • tags :: Maybe (HashMap Text Text)

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

  • updateTime :: Maybe ISO8601

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Associated Types

type Rep UpdateLoggingConfigurationResponse :: Type -> Type #

Read UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Show UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

NFData UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

Eq UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

type Rep UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVSChat.UpdateLoggingConfiguration

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.