lexmodelbuildingservice_create_intent_version: Creates a new version of an intent based on the $LATEST...

View source: R/lexmodelbuildingservice_operations.R

lexmodelbuildingservice_create_intent_versionR Documentation

Creates a new version of an intent based on the $LATEST version of the intent

Description

Creates a new version of an intent based on the ⁠$LATEST⁠ version of the intent. If the ⁠$LATEST⁠ version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created.

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

Usage

lexmodelbuildingservice_create_intent_version(name, checksum = NULL)

Arguments

name

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

checksum

Checksum of the ⁠$LATEST⁠ version of the intent that should be used to create the new version. If you specify a checksum and the ⁠$LATEST⁠ version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a 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.