NAME
Paws::LexModelsV2::DeleteBotVersion - Arguments for method DeleteBotVersion on Paws::LexModelsV2
DESCRIPTION
This class represents the parameters used for calling the method DeleteBotVersion on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method DeleteBotVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteBotVersion.
SYNOPSIS
my $models-v2-lex = Paws->service('LexModelsV2');
my $DeleteBotVersionResponse = $models - v2 -lex->DeleteBotVersion(
BotId => 'MyId',
BotVersion => 'MyNumericalBotVersion',
SkipResourceInUseCheck => 1, # OPTIONAL
);
# Results:
my $BotId = $DeleteBotVersionResponse->BotId;
my $BotStatus = $DeleteBotVersionResponse->BotStatus;
my $BotVersion = $DeleteBotVersionResponse->BotVersion;
# Returns a L<Paws::LexModelsV2::DeleteBotVersionResponse> object.
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/DeleteBotVersion
ATTRIBUTES
REQUIRED BotId => Str
The identifier of the bot that contains the version.
REQUIRED BotVersion => Str
The version of the bot to delete.
SkipResourceInUseCheck => Bool
By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the version even if an alias points to it.
SEE ALSO
This class forms part of Paws, documenting arguments for method DeleteBotVersion 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