Skip to content

Create Logging Configuration

ivschat_create_logging_configuration R Documentation

Creates a logging configuration that allows clients to store and record sent messages

Description

Creates a logging configuration that allows clients to store and record sent messages.

Usage

ivschat_create_logging_configuration(destinationConfiguration, name,
  tags)

Arguments

destinationConfiguration

[required] 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

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

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.

Value

A list with the following syntax:

list(
  arn = "string",
  createTime = as.POSIXct(
    "2015-01-01"
  ),
  destinationConfiguration = list(
    cloudWatchLogs = list(
      logGroupName = "string"
    ),
    firehose = list(
      deliveryStreamName = "string"
    ),
    s3 = list(
      bucketName = "string"
    )
  ),
  id = "string",
  name = "string",
  state = "ACTIVE",
  tags = list(
    "string"
  ),
  updateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_logging_configuration(
  destinationConfiguration = list(
    cloudWatchLogs = list(
      logGroupName = "string"
    ),
    firehose = list(
      deliveryStreamName = "string"
    ),
    s3 = list(
      bucketName = "string"
    )
  ),
  name = "string",
  tags = list(
    "string"
  )
)