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(name, destinationConfiguration,
  tags)

Arguments

name

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

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.

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",
  id = "string",
  createTime = as.POSIXct(
    "2015-01-01"
  ),
  updateTime = as.POSIXct(
    "2015-01-01"
  ),
  name = "string",
  destinationConfiguration = list(
    s3 = list(
      bucketName = "string"
    ),
    cloudWatchLogs = list(
      logGroupName = "string"
    ),
    firehose = list(
      deliveryStreamName = "string"
    )
  ),
  state = "ACTIVE",
  tags = list(
    "string"
  )
)

Request syntax

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