Skip to content

Get Slot Type

lexmodelbuildingservice_get_slot_type R Documentation

Returns information about a specific version of a slot type

Description

Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.

This operation requires permissions for the lex:GetSlotType action.

Usage

lexmodelbuildingservice_get_slot_type(name, version)

Arguments

name

[required] The name of the slot type. The name is case sensitive.

version

[required] The version of the slot type.

Value

A list with the following syntax:

list(
  name = "string",
  description = "string",
  enumerationValues = list(
    list(
      value = "string",
      synonyms = list(
        "string"
      )
    )
  ),
  lastUpdatedDate = as.POSIXct(
    "2015-01-01"
  ),
  createdDate = as.POSIXct(
    "2015-01-01"
  ),
  version = "string",
  checksum = "string",
  valueSelectionStrategy = "ORIGINAL_VALUE"|"TOP_RESOLUTION",
  parentSlotTypeSignature = "string",
  slotTypeConfigurations = list(
    list(
      regexConfiguration = list(
        pattern = "string"
      )
    )
  )
)

Request syntax

svc$get_slot_type(
  name = "string",
  version = "string"
)

Examples

## Not run: 
# This example shows how to get information about a slot type.
svc$get_slot_type(
  version = "$LATEST",
  name = "DocPizzaCrustType"
)

## End(Not run)