NAME

Paws::LexModelsV2::DeleteSlotType - Arguments for method DeleteSlotType on Paws::LexModelsV2

DESCRIPTION

This class represents the parameters used for calling the method DeleteSlotType on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method DeleteSlotType.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteSlotType.

SYNOPSIS

my $models-v2-lex = Paws->service('LexModelsV2');
$models - v2 -lex->DeleteSlotType(
  BotId                  => 'MyId',
  BotVersion             => 'MyDraftBotVersion',
  LocaleId               => 'MyLocaleId',
  SlotTypeId             => 'MyId',
  SkipResourceInUseCheck => 1,                     # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/DeleteSlotType

ATTRIBUTES

REQUIRED BotId => Str

The identifier of the bot associated with the slot type.

REQUIRED BotVersion => Str

The version of the bot associated with the slot type.

REQUIRED LocaleId => Str

The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

SkipResourceInUseCheck => Bool

By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

REQUIRED SlotTypeId => Str

The identifier of the slot type to delete.

SEE ALSO

This class forms part of Paws, documenting arguments for method DeleteSlotType in Paws::LexModelsV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues