API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type StartImportInput struct { MergeStrategy *string `locationName:"mergeStrategy" type:"string" required:"true" enum:"MergeStrategy"` Payload []byte `locationName:"payload" type:"blob" required:"true"` ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` }


Type: *string

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.

MergeStrategy is a required field


Type: []byte

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.

Payload is automatically base64 encoded/decoded by the SDK.

Payload is a required field


Type: *string

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.

ResourceType is a required field



func (s StartImportInput) GoString() string

GoString returns the string representation


func (s *StartImportInput) SetMergeStrategy(v string) *StartImportInput

SetMergeStrategy sets the MergeStrategy field's value.


func (s *StartImportInput) SetPayload(v []byte) *StartImportInput

SetPayload sets the Payload field's value.


func (s *StartImportInput) SetResourceType(v string) *StartImportInput

SetResourceType sets the ResourceType field's value.


func (s StartImportInput) String() string

String returns the string representation


func (s *StartImportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: