lexmodelbuildingservice_create_slot_type_version: Creates a new version of a slot type based on the $LATEST...

View source: R/lexmodelbuildingservice_operations.R

lexmodelbuildingservice_create_slot_type_versionR Documentation

Creates a new version of a slot type based on the $LATEST version of the specified slot type

Description

Creates a new version of a slot type based on the ⁠$LATEST⁠ version of the specified slot type. If the ⁠$LATEST⁠ version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created.

See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_create_slot_type_version/ for full documentation.

Usage

lexmodelbuildingservice_create_slot_type_version(name, checksum = NULL)

Arguments

name

[required] The name of the slot type that you want to create a new version for. The name is case sensitive.

checksum

Checksum for the ⁠$LATEST⁠ version of the slot type that you want to publish. If you specify a checksum and the ⁠$LATEST⁠ version of the slot type has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish the new version. If you don't specify a checksum, Amazon Lex publishes the ⁠$LATEST⁠ version.


paws.machine.learning documentation built on Sept. 12, 2023, 1:14 a.m.