AWS SDK for Go (PILOT)
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 https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetImportOutput

import "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice"

type GetImportOutput struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` FailureReason []*string `locationName:"failureReason" type:"list"` ImportId *string `locationName:"importId" type:"string"` ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"` MergeStrategy *string `locationName:"mergeStrategy" type:"string" enum:"MergeStrategy"` Name *string `locationName:"name" min:"1" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` }

CreatedDate

Type: *time.Time

A timestamp for the date and time that the import job was created.

FailureReason

Type: []*string

A string that describes why an import job failed to complete.

ImportId

Type: *string

The identifier for the specific import job.

ImportStatus

Type: *string

The status of the import job. If the status is FAILED, you can get the reason for the failure from the failureReason field.

MergeStrategy

Type: *string

The action taken when there was a conflict between an existing resource and a resource in the import file.

Name

Type: *string

The name given to the import job.

ResourceType

Type: *string

The type of resource imported.

Method

GoString

func (s GetImportOutput) GoString() string

GoString returns the string representation

SetCreatedDate

func (s *GetImportOutput) SetCreatedDate(v time.Time) *GetImportOutput

SetCreatedDate sets the CreatedDate field's value.

SetFailureReason

func (s *GetImportOutput) SetFailureReason(v []*string) *GetImportOutput

SetFailureReason sets the FailureReason field's value.

SetImportId

func (s *GetImportOutput) SetImportId(v string) *GetImportOutput

SetImportId sets the ImportId field's value.

SetImportStatus

func (s *GetImportOutput) SetImportStatus(v string) *GetImportOutput

SetImportStatus sets the ImportStatus field's value.

SetMergeStrategy

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

SetMergeStrategy sets the MergeStrategy field's value.

SetName

func (s *GetImportOutput) SetName(v string) *GetImportOutput

SetName sets the Name field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

String

func (s GetImportOutput) String() string

String returns the string representation

On this page: