AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the StartImport operation. Starts a job to import a resource to Amazon Lex.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.LexModelBuildingService.AmazonLexModelBuildingServiceRequest
      Amazon.LexModelBuildingService.Model.StartImportRequest

Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z

Syntax

C#
public class StartImportRequest : AmazonLexModelBuildingServiceRequest
         IAmazonWebServiceRequest

The StartImportRequest type exposes the following members

Constructors

NameDescription
Public Method StartImportRequest()

Properties

NameTypeDescription
Public Property MergeStrategy Amazon.LexModelBuildingService.MergeStrategy

Gets and sets the property MergeStrategy.

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 failureReason field of the response to the GetImport operation.

    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.

Public Property Payload System.IO.MemoryStream

Gets and sets the property Payload.

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 resourceType field.

Public Property ResourceType Amazon.LexModelBuildingService.ResourceType

Gets and sets the property ResourceType.

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.

Public Property Tags System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.Tag>

Gets and sets the property Tags.

A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5