- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::LexModels::StartImport - Arguments for method StartImport on Paws::LexModels
This class represents the parameters used for calling the method StartImport on the Amazon Lex Model Building Service service. Use the attributes of this class as arguments to method StartImport.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartImport.
my $models.lex = Paws->service('LexModels'); my $StartImportResponse = $models . lex->StartImport( MergeStrategy => 'OVERWRITE_LATEST', Payload => 'BlobBlob', ResourceType => 'BOT', ); # Results: my $CreatedDate = $StartImportResponse->CreatedDate; my $ImportId = $StartImportResponse->ImportId; my $ImportStatus = $StartImportResponse->ImportStatus; my $MergeStrategy = $StartImportResponse->MergeStrategy; my $Name = $StartImportResponse->Name; my $ResourceType = $StartImportResponse->ResourceType; # Returns a L<Paws::LexModels::StartImportResponse> 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.lex/StartImport
Specifies the action that the
StartImport operation should take when there is an existing resource with the same name.
FAIL_ON_CONFLICT - The import operation is stopped on the first conflict between a resource in the import file and an existing resource. The name of the resource causing the conflict is in the
failureReasonfield of the response to the
OVERWRITE_LATEST - The import operation proceeds even if there is a conflict with an existing resource. The $LASTEST version of the existing resource is overwritten with the data from the import file.
Valid values are:
A zip archive in binary format. The archive should contain one file, a JSON file containing the resource to import. The resource should match the type specified in the
Specifies the type of resource to export. Each resource also exports any resources that it depends on.
A bot exports dependent intents.
An intent exports dependent slot types.
Valid values are:
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