func AssistantStatus_Values() []string
AssistantStatus_Values returns all elements of the AssistantStatus enum
func AssistantType_Values() []string
AssistantType_Values returns all elements of the AssistantType enum
func AssociationType_Values() []string
AssociationType_Values returns all elements of the AssociationType enum
func ContentStatus_Values() []string
ContentStatus_Values returns all elements of the ContentStatus enum
func FilterField_Values() []string
FilterField_Values returns all elements of the FilterField enum
func FilterOperator_Values() []string
FilterOperator_Values returns all elements of the FilterOperator enum
func KnowledgeBaseStatus_Values() []string
KnowledgeBaseStatus_Values returns all elements of the KnowledgeBaseStatus enum
func KnowledgeBaseType_Values() []string
KnowledgeBaseType_Values returns all elements of the KnowledgeBaseType enum
func RecommendationSourceType_Values() []string
RecommendationSourceType_Values returns all elements of the RecommendationSourceType enum
func RecommendationTriggerType_Values() []string
RecommendationTriggerType_Values returns all elements of the RecommendationTriggerType enum
func RecommendationType_Values() []string
RecommendationType_Values returns all elements of the RecommendationType enum
func RelevanceLevel_Values() []string
RelevanceLevel_Values returns all elements of the RelevanceLevel enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AppIntegrationsConfiguration struct { // The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to // use for ingesting content. // // * For Salesforce (https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm), // your AppIntegrations DataIntegration must have an ObjectConfiguration // if objectFields is not provided, including at least Id, ArticleNumber, // VersionNumber, Title, PublishStatus, and IsDeleted as source fields. // // * For ServiceNow (https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api), // your AppIntegrations DataIntegration must have an ObjectConfiguration // if objectFields is not provided, including at least number, short_description, // sys_mod_count, workflow_state, and active as source fields. // // * For Zendesk (https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/), // your AppIntegrations DataIntegration must have an ObjectConfiguration // if objectFields is not provided, including at least id, title, updated_at, // and draft as source fields. // // * For SharePoint (https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-net-server-csom-jsom-and-rest-api-index), // your AppIntegrations DataIntegration must have a FileConfiguration, including // only file extensions that are among docx, pdf, html, htm, and txt. // // AppIntegrationArn is a required field AppIntegrationArn *string `locationName:"appIntegrationArn" min:"1" type:"string" required:"true"` // The fields from the source that are made available to your agents in Wisdom. // Optional if ObjectConfiguration is included in the provided DataIntegration. // // * For Salesforce (https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm), // you must include at least Id, ArticleNumber, VersionNumber, Title, PublishStatus, // and IsDeleted. // // * For ServiceNow (https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api), // you must include at least number, short_description, sys_mod_count, workflow_state, // and active. // // * For Zendesk (https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/), // you must include at least id, title, updated_at, and draft. // // Make sure to include additional fields. These fields are indexed and used // to source recommendations. ObjectFields []*string `locationName:"objectFields" min:"1" type:"list"` // contains filtered or unexported fields }
Configuration information for Amazon AppIntegrations to automatically ingest content.
func (s AppIntegrationsConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppIntegrationsConfiguration) SetAppIntegrationArn(v string) *AppIntegrationsConfiguration
SetAppIntegrationArn sets the AppIntegrationArn field's value.
func (s *AppIntegrationsConfiguration) SetObjectFields(v []*string) *AppIntegrationsConfiguration
SetObjectFields sets the ObjectFields field's value.
func (s AppIntegrationsConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AppIntegrationsConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssistantAssociationData struct { // The Amazon Resource Name (ARN) of the Wisdom assistant. // // AssistantArn is a required field AssistantArn *string `locationName:"assistantArn" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the assistant association. // // AssistantAssociationArn is a required field AssistantAssociationArn *string `locationName:"assistantAssociationArn" type:"string" required:"true"` // The identifier of the assistant association. // // AssistantAssociationId is a required field AssistantAssociationId *string `locationName:"assistantAssociationId" type:"string" required:"true"` // The identifier of the Wisdom assistant. // // AssistantId is a required field AssistantId *string `locationName:"assistantId" type:"string" required:"true"` // A union type that currently has a single argument, the knowledge base ID. // // AssociationData is a required field AssociationData *AssistantAssociationOutputData `locationName:"associationData" type:"structure" required:"true"` // The type of association. // // AssociationType is a required field AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"AssociationType"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Information about the assistant association.
func (s AssistantAssociationData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantAssociationData) SetAssistantArn(v string) *AssistantAssociationData
SetAssistantArn sets the AssistantArn field's value.
func (s *AssistantAssociationData) SetAssistantAssociationArn(v string) *AssistantAssociationData
SetAssistantAssociationArn sets the AssistantAssociationArn field's value.
func (s *AssistantAssociationData) SetAssistantAssociationId(v string) *AssistantAssociationData
SetAssistantAssociationId sets the AssistantAssociationId field's value.
func (s *AssistantAssociationData) SetAssistantId(v string) *AssistantAssociationData
SetAssistantId sets the AssistantId field's value.
func (s *AssistantAssociationData) SetAssociationData(v *AssistantAssociationOutputData) *AssistantAssociationData
SetAssociationData sets the AssociationData field's value.
func (s *AssistantAssociationData) SetAssociationType(v string) *AssistantAssociationData
SetAssociationType sets the AssociationType field's value.
func (s *AssistantAssociationData) SetTags(v map[string]*string) *AssistantAssociationData
SetTags sets the Tags field's value.
func (s AssistantAssociationData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssistantAssociationInputData struct { // The identifier of the knowledge base. KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string"` // contains filtered or unexported fields }
The data that is input into Wisdom as a result of the assistant association.
func (s AssistantAssociationInputData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantAssociationInputData) SetKnowledgeBaseId(v string) *AssistantAssociationInputData
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s AssistantAssociationInputData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssistantAssociationOutputData struct { // The knowledge base where output data is sent. KnowledgeBaseAssociation *KnowledgeBaseAssociationData `locationName:"knowledgeBaseAssociation" type:"structure"` // contains filtered or unexported fields }
The data that is output as a result of the assistant association.
func (s AssistantAssociationOutputData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantAssociationOutputData) SetKnowledgeBaseAssociation(v *KnowledgeBaseAssociationData) *AssistantAssociationOutputData
SetKnowledgeBaseAssociation sets the KnowledgeBaseAssociation field's value.
func (s AssistantAssociationOutputData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssistantAssociationSummary struct { // The Amazon Resource Name (ARN) of the Wisdom assistant. // // AssistantArn is a required field AssistantArn *string `locationName:"assistantArn" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the assistant association. // // AssistantAssociationArn is a required field AssistantAssociationArn *string `locationName:"assistantAssociationArn" type:"string" required:"true"` // The identifier of the assistant association. // // AssistantAssociationId is a required field AssistantAssociationId *string `locationName:"assistantAssociationId" type:"string" required:"true"` // The identifier of the Wisdom assistant. // // AssistantId is a required field AssistantId *string `locationName:"assistantId" type:"string" required:"true"` // The association data. // // AssociationData is a required field AssociationData *AssistantAssociationOutputData `locationName:"associationData" type:"structure" required:"true"` // The type of association. // // AssociationType is a required field AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"AssociationType"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Summary information about the assistant association.
func (s AssistantAssociationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantAssociationSummary) SetAssistantArn(v string) *AssistantAssociationSummary
SetAssistantArn sets the AssistantArn field's value.
func (s *AssistantAssociationSummary) SetAssistantAssociationArn(v string) *AssistantAssociationSummary
SetAssistantAssociationArn sets the AssistantAssociationArn field's value.
func (s *AssistantAssociationSummary) SetAssistantAssociationId(v string) *AssistantAssociationSummary
SetAssistantAssociationId sets the AssistantAssociationId field's value.
func (s *AssistantAssociationSummary) SetAssistantId(v string) *AssistantAssociationSummary
SetAssistantId sets the AssistantId field's value.
func (s *AssistantAssociationSummary) SetAssociationData(v *AssistantAssociationOutputData) *AssistantAssociationSummary
SetAssociationData sets the AssociationData field's value.
func (s *AssistantAssociationSummary) SetAssociationType(v string) *AssistantAssociationSummary
SetAssociationType sets the AssociationType field's value.
func (s *AssistantAssociationSummary) SetTags(v map[string]*string) *AssistantAssociationSummary
SetTags sets the Tags field's value.
func (s AssistantAssociationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssistantData struct { // The Amazon Resource Name (ARN) of the Wisdom assistant. // // AssistantArn is a required field AssistantArn *string `locationName:"assistantArn" type:"string" required:"true"` // The identifier of the Wisdom assistant. // // AssistantId is a required field AssistantId *string `locationName:"assistantId" type:"string" required:"true"` // The description. Description *string `locationName:"description" min:"1" type:"string"` // The name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // The status of the assistant. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"AssistantStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The type of assistant. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"AssistantType"` // contains filtered or unexported fields }
The assistant data.
func (s AssistantData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantData) SetAssistantArn(v string) *AssistantData
SetAssistantArn sets the AssistantArn field's value.
func (s *AssistantData) SetAssistantId(v string) *AssistantData
SetAssistantId sets the AssistantId field's value.
func (s *AssistantData) SetDescription(v string) *AssistantData
SetDescription sets the Description field's value.
func (s *AssistantData) SetName(v string) *AssistantData
SetName sets the Name field's value.
func (s *AssistantData) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *AssistantData
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *AssistantData) SetStatus(v string) *AssistantData
SetStatus sets the Status field's value.
func (s *AssistantData) SetTags(v map[string]*string) *AssistantData
SetTags sets the Tags field's value.
func (s *AssistantData) SetType(v string) *AssistantData
SetType sets the Type field's value.
func (s AssistantData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssistantSummary struct { // The Amazon Resource Name (ARN) of the Wisdom assistant. // // AssistantArn is a required field AssistantArn *string `locationName:"assistantArn" type:"string" required:"true"` // The identifier of the Wisdom assistant. // // AssistantId is a required field AssistantId *string `locationName:"assistantId" type:"string" required:"true"` // The description of the assistant. Description *string `locationName:"description" min:"1" type:"string"` // The name of the assistant. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // The status of the assistant. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"AssistantStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The type of the assistant. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"AssistantType"` // contains filtered or unexported fields }
Summary information about the assistant.
func (s AssistantSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssistantSummary) SetAssistantArn(v string) *AssistantSummary
SetAssistantArn sets the AssistantArn field's value.
func (s *AssistantSummary) SetAssistantId(v string) *AssistantSummary
SetAssistantId sets the AssistantId field's value.
func (s *AssistantSummary) SetDescription(v string) *AssistantSummary
SetDescription sets the Description field's value.
func (s *AssistantSummary) SetName(v string) *AssistantSummary
SetName sets the Name field's value.
func (s *AssistantSummary) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *AssistantSummary
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *AssistantSummary) SetStatus(v string) *AssistantSummary
SetStatus sets the Status field's value.
func (s *AssistantSummary) SetTags(v map[string]*string) *AssistantSummary
SetTags sets the Tags field's value.
func (s *AssistantSummary) SetType(v string) *AssistantSummary
SetType sets the Type field's value.
func (s AssistantSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConnectWisdomService struct { *client.Client }
ConnectWisdomService provides the API operation methods for making requests to Amazon Connect Wisdom Service. See this package's package overview docs for details on the service.
ConnectWisdomService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConnectWisdomService
New creates a new instance of the ConnectWisdomService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ConnectWisdomService client from just a session. svc := connectwisdomservice.New(mySession) // Create a ConnectWisdomService client with additional configuration svc := connectwisdomservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *ConnectWisdomService) CreateAssistant(input *CreateAssistantInput) (*CreateAssistantOutput, error)
CreateAssistant API operation for Amazon Connect Wisdom Service.
Creates an Amazon Connect Wisdom assistant.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation CreateAssistant for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistant
func (c *ConnectWisdomService) CreateAssistantAssociation(input *CreateAssistantAssociationInput) (*CreateAssistantAssociationOutput, error)
CreateAssistantAssociation API operation for Amazon Connect Wisdom Service.
Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation CreateAssistantAssociation for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistantAssociation
func (c *ConnectWisdomService) CreateAssistantAssociationRequest(input *CreateAssistantAssociationInput) (req *request.Request, output *CreateAssistantAssociationOutput)
CreateAssistantAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateAssistantAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAssistantAssociation for more information on using the CreateAssistantAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAssistantAssociationRequest method. req, resp := client.CreateAssistantAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistantAssociation
func (c *ConnectWisdomService) CreateAssistantAssociationWithContext(ctx aws.Context, input *CreateAssistantAssociationInput, opts ...request.Option) (*CreateAssistantAssociationOutput, error)
CreateAssistantAssociationWithContext is the same as CreateAssistantAssociation with the addition of the ability to pass a context and additional request options.
See CreateAssistantAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) CreateAssistantRequest(input *CreateAssistantInput) (req *request.Request, output *CreateAssistantOutput)
CreateAssistantRequest generates a "aws/request.Request" representing the client's request for the CreateAssistant operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAssistant for more information on using the CreateAssistant API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAssistantRequest method. req, resp := client.CreateAssistantRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistant
func (c *ConnectWisdomService) CreateAssistantWithContext(ctx aws.Context, input *CreateAssistantInput, opts ...request.Option) (*CreateAssistantOutput, error)
CreateAssistantWithContext is the same as CreateAssistant with the addition of the ability to pass a context and additional request options.
See CreateAssistant for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) CreateContent(input *CreateContentInput) (*CreateContentOutput, error)
CreateContent API operation for Amazon Connect Wisdom Service.
Creates Wisdom content. Before to calling this API, use StartContentUpload (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html) to upload an asset.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation CreateContent for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateContent
func (c *ConnectWisdomService) CreateContentRequest(input *CreateContentInput) (req *request.Request, output *CreateContentOutput)
CreateContentRequest generates a "aws/request.Request" representing the client's request for the CreateContent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateContent for more information on using the CreateContent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateContentRequest method. req, resp := client.CreateContentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateContent
func (c *ConnectWisdomService) CreateContentWithContext(ctx aws.Context, input *CreateContentInput, opts ...request.Option) (*CreateContentOutput, error)
CreateContentWithContext is the same as CreateContent with the addition of the ability to pass a context and additional request options.
See CreateContent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) CreateKnowledgeBase(input *CreateKnowledgeBaseInput) (*CreateKnowledgeBaseOutput, error)
CreateKnowledgeBase API operation for Amazon Connect Wisdom Service.
Creates a knowledge base.
When using this API, you cannot reuse Amazon AppIntegrations (https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html) DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error.
For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:
Call DeleteKnowledgeBase (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html).
Call DeleteDataIntegration (https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html).
Call CreateDataIntegration (https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html) to recreate the DataIntegration or a create different one.
Call CreateKnowledgeBase.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation CreateKnowledgeBase for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
ServiceQuotaExceededException You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateKnowledgeBase
func (c *ConnectWisdomService) CreateKnowledgeBaseRequest(input *CreateKnowledgeBaseInput) (req *request.Request, output *CreateKnowledgeBaseOutput)
CreateKnowledgeBaseRequest generates a "aws/request.Request" representing the client's request for the CreateKnowledgeBase operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateKnowledgeBase for more information on using the CreateKnowledgeBase API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateKnowledgeBaseRequest method. req, resp := client.CreateKnowledgeBaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateKnowledgeBase
func (c *ConnectWisdomService) CreateKnowledgeBaseWithContext(ctx aws.Context, input *CreateKnowledgeBaseInput, opts ...request.Option) (*CreateKnowledgeBaseOutput, error)
CreateKnowledgeBaseWithContext is the same as CreateKnowledgeBase with the addition of the ability to pass a context and additional request options.
See CreateKnowledgeBase for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) CreateSession(input *CreateSessionInput) (*CreateSessionOutput, error)
CreateSession API operation for Amazon Connect Wisdom Service.
Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation CreateSession for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateSession
func (c *ConnectWisdomService) CreateSessionRequest(input *CreateSessionInput) (req *request.Request, output *CreateSessionOutput)
CreateSessionRequest generates a "aws/request.Request" representing the client's request for the CreateSession operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSession for more information on using the CreateSession API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateSessionRequest method. req, resp := client.CreateSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateSession
func (c *ConnectWisdomService) CreateSessionWithContext(ctx aws.Context, input *CreateSessionInput, opts ...request.Option) (*CreateSessionOutput, error)
CreateSessionWithContext is the same as CreateSession with the addition of the ability to pass a context and additional request options.
See CreateSession for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) DeleteAssistant(input *DeleteAssistantInput) (*DeleteAssistantOutput, error)
DeleteAssistant API operation for Amazon Connect Wisdom Service.
Deletes an assistant.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation DeleteAssistant for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistant
func (c *ConnectWisdomService) DeleteAssistantAssociation(input *DeleteAssistantAssociationInput) (*DeleteAssistantAssociationOutput, error)
DeleteAssistantAssociation API operation for Amazon Connect Wisdom Service.
Deletes an assistant association.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation DeleteAssistantAssociation for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistantAssociation
func (c *ConnectWisdomService) DeleteAssistantAssociationRequest(input *DeleteAssistantAssociationInput) (req *request.Request, output *DeleteAssistantAssociationOutput)
DeleteAssistantAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteAssistantAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAssistantAssociation for more information on using the DeleteAssistantAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAssistantAssociationRequest method. req, resp := client.DeleteAssistantAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistantAssociation
func (c *ConnectWisdomService) DeleteAssistantAssociationWithContext(ctx aws.Context, input *DeleteAssistantAssociationInput, opts ...request.Option) (*DeleteAssistantAssociationOutput, error)
DeleteAssistantAssociationWithContext is the same as DeleteAssistantAssociation with the addition of the ability to pass a context and additional request options.
See DeleteAssistantAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) DeleteAssistantRequest(input *DeleteAssistantInput) (req *request.Request, output *DeleteAssistantOutput)
DeleteAssistantRequest generates a "aws/request.Request" representing the client's request for the DeleteAssistant operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAssistant for more information on using the DeleteAssistant API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAssistantRequest method. req, resp := client.DeleteAssistantRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistant
func (c *ConnectWisdomService) DeleteAssistantWithContext(ctx aws.Context, input *DeleteAssistantInput, opts ...request.Option) (*DeleteAssistantOutput, error)
DeleteAssistantWithContext is the same as DeleteAssistant with the addition of the ability to pass a context and additional request options.
See DeleteAssistant for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) DeleteContent(input *DeleteContentInput) (*DeleteContentOutput, error)
DeleteContent API operation for Amazon Connect Wisdom Service.
Deletes the content.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation DeleteContent for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteContent
func (c *ConnectWisdomService) DeleteContentRequest(input *DeleteContentInput) (req *request.Request, output *DeleteContentOutput)
DeleteContentRequest generates a "aws/request.Request" representing the client's request for the DeleteContent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteContent for more information on using the DeleteContent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteContentRequest method. req, resp := client.DeleteContentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteContent
func (c *ConnectWisdomService) DeleteContentWithContext(ctx aws.Context, input *DeleteContentInput, opts ...request.Option) (*DeleteContentOutput, error)
DeleteContentWithContext is the same as DeleteContent with the addition of the ability to pass a context and additional request options.
See DeleteContent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) DeleteKnowledgeBase(input *DeleteKnowledgeBaseInput) (*DeleteKnowledgeBaseOutput, error)
DeleteKnowledgeBase API operation for Amazon Connect Wisdom Service.
Deletes the knowledge base.
When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations (https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html) DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration (https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html) and CreateDataIntegration (https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html) in the Amazon AppIntegrations API Reference.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation DeleteKnowledgeBase for usage and error information.
Returned Error Types:
ConflictException The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteKnowledgeBase
func (c *ConnectWisdomService) DeleteKnowledgeBaseRequest(input *DeleteKnowledgeBaseInput) (req *request.Request, output *DeleteKnowledgeBaseOutput)
DeleteKnowledgeBaseRequest generates a "aws/request.Request" representing the client's request for the DeleteKnowledgeBase operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteKnowledgeBase for more information on using the DeleteKnowledgeBase API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteKnowledgeBaseRequest method. req, resp := client.DeleteKnowledgeBaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteKnowledgeBase
func (c *ConnectWisdomService) DeleteKnowledgeBaseWithContext(ctx aws.Context, input *DeleteKnowledgeBaseInput, opts ...request.Option) (*DeleteKnowledgeBaseOutput, error)
DeleteKnowledgeBaseWithContext is the same as DeleteKnowledgeBase with the addition of the ability to pass a context and additional request options.
See DeleteKnowledgeBase for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetAssistant(input *GetAssistantInput) (*GetAssistantOutput, error)
GetAssistant API operation for Amazon Connect Wisdom Service.
Retrieves information about an assistant.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetAssistant for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistant
func (c *ConnectWisdomService) GetAssistantAssociation(input *GetAssistantAssociationInput) (*GetAssistantAssociationOutput, error)
GetAssistantAssociation API operation for Amazon Connect Wisdom Service.
Retrieves information about an assistant association.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetAssistantAssociation for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistantAssociation
func (c *ConnectWisdomService) GetAssistantAssociationRequest(input *GetAssistantAssociationInput) (req *request.Request, output *GetAssistantAssociationOutput)
GetAssistantAssociationRequest generates a "aws/request.Request" representing the client's request for the GetAssistantAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAssistantAssociation for more information on using the GetAssistantAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAssistantAssociationRequest method. req, resp := client.GetAssistantAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistantAssociation
func (c *ConnectWisdomService) GetAssistantAssociationWithContext(ctx aws.Context, input *GetAssistantAssociationInput, opts ...request.Option) (*GetAssistantAssociationOutput, error)
GetAssistantAssociationWithContext is the same as GetAssistantAssociation with the addition of the ability to pass a context and additional request options.
See GetAssistantAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetAssistantRequest(input *GetAssistantInput) (req *request.Request, output *GetAssistantOutput)
GetAssistantRequest generates a "aws/request.Request" representing the client's request for the GetAssistant operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAssistant for more information on using the GetAssistant API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAssistantRequest method. req, resp := client.GetAssistantRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistant
func (c *ConnectWisdomService) GetAssistantWithContext(ctx aws.Context, input *GetAssistantInput, opts ...request.Option) (*GetAssistantOutput, error)
GetAssistantWithContext is the same as GetAssistant with the addition of the ability to pass a context and additional request options.
See GetAssistant for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetContent(input *GetContentInput) (*GetContentOutput, error)
GetContent API operation for Amazon Connect Wisdom Service.
Retrieves content, including a pre-signed URL to download the content.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetContent for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContent
func (c *ConnectWisdomService) GetContentRequest(input *GetContentInput) (req *request.Request, output *GetContentOutput)
GetContentRequest generates a "aws/request.Request" representing the client's request for the GetContent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetContent for more information on using the GetContent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetContentRequest method. req, resp := client.GetContentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContent
func (c *ConnectWisdomService) GetContentSummary(input *GetContentSummaryInput) (*GetContentSummaryOutput, error)
GetContentSummary API operation for Amazon Connect Wisdom Service.
Retrieves summary information about the content.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetContentSummary for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentSummary
func (c *ConnectWisdomService) GetContentSummaryRequest(input *GetContentSummaryInput) (req *request.Request, output *GetContentSummaryOutput)
GetContentSummaryRequest generates a "aws/request.Request" representing the client's request for the GetContentSummary operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetContentSummary for more information on using the GetContentSummary API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetContentSummaryRequest method. req, resp := client.GetContentSummaryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentSummary
func (c *ConnectWisdomService) GetContentSummaryWithContext(ctx aws.Context, input *GetContentSummaryInput, opts ...request.Option) (*GetContentSummaryOutput, error)
GetContentSummaryWithContext is the same as GetContentSummary with the addition of the ability to pass a context and additional request options.
See GetContentSummary for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetContentWithContext(ctx aws.Context, input *GetContentInput, opts ...request.Option) (*GetContentOutput, error)
GetContentWithContext is the same as GetContent with the addition of the ability to pass a context and additional request options.
See GetContent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetKnowledgeBase(input *GetKnowledgeBaseInput) (*GetKnowledgeBaseOutput, error)
GetKnowledgeBase API operation for Amazon Connect Wisdom Service.
Retrieves information about the knowledge base.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetKnowledgeBase for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetKnowledgeBase
func (c *ConnectWisdomService) GetKnowledgeBaseRequest(input *GetKnowledgeBaseInput) (req *request.Request, output *GetKnowledgeBaseOutput)
GetKnowledgeBaseRequest generates a "aws/request.Request" representing the client's request for the GetKnowledgeBase operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetKnowledgeBase for more information on using the GetKnowledgeBase API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetKnowledgeBaseRequest method. req, resp := client.GetKnowledgeBaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetKnowledgeBase
func (c *ConnectWisdomService) GetKnowledgeBaseWithContext(ctx aws.Context, input *GetKnowledgeBaseInput, opts ...request.Option) (*GetKnowledgeBaseOutput, error)
GetKnowledgeBaseWithContext is the same as GetKnowledgeBase with the addition of the ability to pass a context and additional request options.
See GetKnowledgeBase for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error)
GetRecommendations API operation for Amazon Connect Wisdom Service.
Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_NotifyRecommendationsReceived.html). This API supports long-polling behavior with the waitTimeSeconds parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetRecommendations for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations
func (c *ConnectWisdomService) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput)
GetRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRecommendations for more information on using the GetRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRecommendationsRequest method. req, resp := client.GetRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations
func (c *ConnectWisdomService) GetRecommendationsWithContext(ctx aws.Context, input *GetRecommendationsInput, opts ...request.Option) (*GetRecommendationsOutput, error)
GetRecommendationsWithContext is the same as GetRecommendations with the addition of the ability to pass a context and additional request options.
See GetRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) GetSession(input *GetSessionInput) (*GetSessionOutput, error)
GetSession API operation for Amazon Connect Wisdom Service.
Retrieves information for a specified session.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation GetSession for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetSession
func (c *ConnectWisdomService) GetSessionRequest(input *GetSessionInput) (req *request.Request, output *GetSessionOutput)
GetSessionRequest generates a "aws/request.Request" representing the client's request for the GetSession operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetSession for more information on using the GetSession API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetSessionRequest method. req, resp := client.GetSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetSession
func (c *ConnectWisdomService) GetSessionWithContext(ctx aws.Context, input *GetSessionInput, opts ...request.Option) (*GetSessionOutput, error)
GetSessionWithContext is the same as GetSession with the addition of the ability to pass a context and additional request options.
See GetSession for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListAssistantAssociations(input *ListAssistantAssociationsInput) (*ListAssistantAssociationsOutput, error)
ListAssistantAssociations API operation for Amazon Connect Wisdom Service.
Lists information about assistant associations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation ListAssistantAssociations for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistantAssociations
func (c *ConnectWisdomService) ListAssistantAssociationsPages(input *ListAssistantAssociationsInput, fn func(*ListAssistantAssociationsOutput, bool) bool) error
ListAssistantAssociationsPages iterates over the pages of a ListAssistantAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAssistantAssociations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAssistantAssociations operation. pageNum := 0 err := client.ListAssistantAssociationsPages(params, func(page *connectwisdomservice.ListAssistantAssociationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) ListAssistantAssociationsPagesWithContext(ctx aws.Context, input *ListAssistantAssociationsInput, fn func(*ListAssistantAssociationsOutput, bool) bool, opts ...request.Option) error
ListAssistantAssociationsPagesWithContext same as ListAssistantAssociationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListAssistantAssociationsRequest(input *ListAssistantAssociationsInput) (req *request.Request, output *ListAssistantAssociationsOutput)
ListAssistantAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListAssistantAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAssistantAssociations for more information on using the ListAssistantAssociations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAssistantAssociationsRequest method. req, resp := client.ListAssistantAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistantAssociations
func (c *ConnectWisdomService) ListAssistantAssociationsWithContext(ctx aws.Context, input *ListAssistantAssociationsInput, opts ...request.Option) (*ListAssistantAssociationsOutput, error)
ListAssistantAssociationsWithContext is the same as ListAssistantAssociations with the addition of the ability to pass a context and additional request options.
See ListAssistantAssociations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListAssistants(input *ListAssistantsInput) (*ListAssistantsOutput, error)
ListAssistants API operation for Amazon Connect Wisdom Service.
Lists information about assistants.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation ListAssistants for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistants
func (c *ConnectWisdomService) ListAssistantsPages(input *ListAssistantsInput, fn func(*ListAssistantsOutput, bool) bool) error
ListAssistantsPages iterates over the pages of a ListAssistants operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAssistants method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAssistants operation. pageNum := 0 err := client.ListAssistantsPages(params, func(page *connectwisdomservice.ListAssistantsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) ListAssistantsPagesWithContext(ctx aws.Context, input *ListAssistantsInput, fn func(*ListAssistantsOutput, bool) bool, opts ...request.Option) error
ListAssistantsPagesWithContext same as ListAssistantsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListAssistantsRequest(input *ListAssistantsInput) (req *request.Request, output *ListAssistantsOutput)
ListAssistantsRequest generates a "aws/request.Request" representing the client's request for the ListAssistants operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAssistants for more information on using the ListAssistants API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAssistantsRequest method. req, resp := client.ListAssistantsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistants
func (c *ConnectWisdomService) ListAssistantsWithContext(ctx aws.Context, input *ListAssistantsInput, opts ...request.Option) (*ListAssistantsOutput, error)
ListAssistantsWithContext is the same as ListAssistants with the addition of the ability to pass a context and additional request options.
See ListAssistants for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListContents(input *ListContentsInput) (*ListContentsOutput, error)
ListContents API operation for Amazon Connect Wisdom Service.
Lists the content.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation ListContents for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListContents
func (c *ConnectWisdomService) ListContentsPages(input *ListContentsInput, fn func(*ListContentsOutput, bool) bool) error
ListContentsPages iterates over the pages of a ListContents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListContents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListContents operation. pageNum := 0 err := client.ListContentsPages(params, func(page *connectwisdomservice.ListContentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) ListContentsPagesWithContext(ctx aws.Context, input *ListContentsInput, fn func(*ListContentsOutput, bool) bool, opts ...request.Option) error
ListContentsPagesWithContext same as ListContentsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListContentsRequest(input *ListContentsInput) (req *request.Request, output *ListContentsOutput)
ListContentsRequest generates a "aws/request.Request" representing the client's request for the ListContents operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListContents for more information on using the ListContents API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListContentsRequest method. req, resp := client.ListContentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListContents
func (c *ConnectWisdomService) ListContentsWithContext(ctx aws.Context, input *ListContentsInput, opts ...request.Option) (*ListContentsOutput, error)
ListContentsWithContext is the same as ListContents with the addition of the ability to pass a context and additional request options.
See ListContents for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListKnowledgeBases(input *ListKnowledgeBasesInput) (*ListKnowledgeBasesOutput, error)
ListKnowledgeBases API operation for Amazon Connect Wisdom Service.
Lists the knowledge bases.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation ListKnowledgeBases for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListKnowledgeBases
func (c *ConnectWisdomService) ListKnowledgeBasesPages(input *ListKnowledgeBasesInput, fn func(*ListKnowledgeBasesOutput, bool) bool) error
ListKnowledgeBasesPages iterates over the pages of a ListKnowledgeBases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListKnowledgeBases method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListKnowledgeBases operation. pageNum := 0 err := client.ListKnowledgeBasesPages(params, func(page *connectwisdomservice.ListKnowledgeBasesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) ListKnowledgeBasesPagesWithContext(ctx aws.Context, input *ListKnowledgeBasesInput, fn func(*ListKnowledgeBasesOutput, bool) bool, opts ...request.Option) error
ListKnowledgeBasesPagesWithContext same as ListKnowledgeBasesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListKnowledgeBasesRequest(input *ListKnowledgeBasesInput) (req *request.Request, output *ListKnowledgeBasesOutput)
ListKnowledgeBasesRequest generates a "aws/request.Request" representing the client's request for the ListKnowledgeBases operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListKnowledgeBases for more information on using the ListKnowledgeBases API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListKnowledgeBasesRequest method. req, resp := client.ListKnowledgeBasesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListKnowledgeBases
func (c *ConnectWisdomService) ListKnowledgeBasesWithContext(ctx aws.Context, input *ListKnowledgeBasesInput, opts ...request.Option) (*ListKnowledgeBasesOutput, error)
ListKnowledgeBasesWithContext is the same as ListKnowledgeBases with the addition of the ability to pass a context and additional request options.
See ListKnowledgeBases for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Connect Wisdom Service.
Lists the tags for the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation ListTagsForResource for usage and error information.
Returned Error Types:
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListTagsForResource
func (c *ConnectWisdomService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListTagsForResource
func (c *ConnectWisdomService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) NotifyRecommendationsReceived(input *NotifyRecommendationsReceivedInput) (*NotifyRecommendationsReceivedOutput, error)
NotifyRecommendationsReceived API operation for Amazon Connect Wisdom Service.
Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html) and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation NotifyRecommendationsReceived for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/NotifyRecommendationsReceived
func (c *ConnectWisdomService) NotifyRecommendationsReceivedRequest(input *NotifyRecommendationsReceivedInput) (req *request.Request, output *NotifyRecommendationsReceivedOutput)
NotifyRecommendationsReceivedRequest generates a "aws/request.Request" representing the client's request for the NotifyRecommendationsReceived operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See NotifyRecommendationsReceived for more information on using the NotifyRecommendationsReceived API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the NotifyRecommendationsReceivedRequest method. req, resp := client.NotifyRecommendationsReceivedRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/NotifyRecommendationsReceived
func (c *ConnectWisdomService) NotifyRecommendationsReceivedWithContext(ctx aws.Context, input *NotifyRecommendationsReceivedInput, opts ...request.Option) (*NotifyRecommendationsReceivedOutput, error)
NotifyRecommendationsReceivedWithContext is the same as NotifyRecommendationsReceived with the addition of the ability to pass a context and additional request options.
See NotifyRecommendationsReceived for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) QueryAssistant(input *QueryAssistantInput) (*QueryAssistantOutput, error)
QueryAssistant API operation for Amazon Connect Wisdom Service.
Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation QueryAssistant for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/QueryAssistant
func (c *ConnectWisdomService) QueryAssistantPages(input *QueryAssistantInput, fn func(*QueryAssistantOutput, bool) bool) error
QueryAssistantPages iterates over the pages of a QueryAssistant operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See QueryAssistant method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a QueryAssistant operation. pageNum := 0 err := client.QueryAssistantPages(params, func(page *connectwisdomservice.QueryAssistantOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) QueryAssistantPagesWithContext(ctx aws.Context, input *QueryAssistantInput, fn func(*QueryAssistantOutput, bool) bool, opts ...request.Option) error
QueryAssistantPagesWithContext same as QueryAssistantPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) QueryAssistantRequest(input *QueryAssistantInput) (req *request.Request, output *QueryAssistantOutput)
QueryAssistantRequest generates a "aws/request.Request" representing the client's request for the QueryAssistant operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See QueryAssistant for more information on using the QueryAssistant API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the QueryAssistantRequest method. req, resp := client.QueryAssistantRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/QueryAssistant
func (c *ConnectWisdomService) QueryAssistantWithContext(ctx aws.Context, input *QueryAssistantInput, opts ...request.Option) (*QueryAssistantOutput, error)
QueryAssistantWithContext is the same as QueryAssistant with the addition of the ability to pass a context and additional request options.
See QueryAssistant for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUri(input *RemoveKnowledgeBaseTemplateUriInput) (*RemoveKnowledgeBaseTemplateUriOutput, error)
RemoveKnowledgeBaseTemplateUri API operation for Amazon Connect Wisdom Service.
Removes a URI template from a knowledge base.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation RemoveKnowledgeBaseTemplateUri for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RemoveKnowledgeBaseTemplateUri
func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUriRequest(input *RemoveKnowledgeBaseTemplateUriInput) (req *request.Request, output *RemoveKnowledgeBaseTemplateUriOutput)
RemoveKnowledgeBaseTemplateUriRequest generates a "aws/request.Request" representing the client's request for the RemoveKnowledgeBaseTemplateUri operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RemoveKnowledgeBaseTemplateUri for more information on using the RemoveKnowledgeBaseTemplateUri API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RemoveKnowledgeBaseTemplateUriRequest method. req, resp := client.RemoveKnowledgeBaseTemplateUriRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RemoveKnowledgeBaseTemplateUri
func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUriWithContext(ctx aws.Context, input *RemoveKnowledgeBaseTemplateUriInput, opts ...request.Option) (*RemoveKnowledgeBaseTemplateUriOutput, error)
RemoveKnowledgeBaseTemplateUriWithContext is the same as RemoveKnowledgeBaseTemplateUri with the addition of the ability to pass a context and additional request options.
See RemoveKnowledgeBaseTemplateUri for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) SearchContent(input *SearchContentInput) (*SearchContentOutput, error)
SearchContent API operation for Amazon Connect Wisdom Service.
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation SearchContent for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchContent
func (c *ConnectWisdomService) SearchContentPages(input *SearchContentInput, fn func(*SearchContentOutput, bool) bool) error
SearchContentPages iterates over the pages of a SearchContent operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See SearchContent method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a SearchContent operation. pageNum := 0 err := client.SearchContentPages(params, func(page *connectwisdomservice.SearchContentOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) SearchContentPagesWithContext(ctx aws.Context, input *SearchContentInput, fn func(*SearchContentOutput, bool) bool, opts ...request.Option) error
SearchContentPagesWithContext same as SearchContentPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) SearchContentRequest(input *SearchContentInput) (req *request.Request, output *SearchContentOutput)
SearchContentRequest generates a "aws/request.Request" representing the client's request for the SearchContent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SearchContent for more information on using the SearchContent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SearchContentRequest method. req, resp := client.SearchContentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchContent
func (c *ConnectWisdomService) SearchContentWithContext(ctx aws.Context, input *SearchContentInput, opts ...request.Option) (*SearchContentOutput, error)
SearchContentWithContext is the same as SearchContent with the addition of the ability to pass a context and additional request options.
See SearchContent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) SearchSessions(input *SearchSessionsInput) (*SearchSessionsOutput, error)
SearchSessions API operation for Amazon Connect Wisdom Service.
Searches for sessions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation SearchSessions for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchSessions
func (c *ConnectWisdomService) SearchSessionsPages(input *SearchSessionsInput, fn func(*SearchSessionsOutput, bool) bool) error
SearchSessionsPages iterates over the pages of a SearchSessions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See SearchSessions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a SearchSessions operation. pageNum := 0 err := client.SearchSessionsPages(params, func(page *connectwisdomservice.SearchSessionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ConnectWisdomService) SearchSessionsPagesWithContext(ctx aws.Context, input *SearchSessionsInput, fn func(*SearchSessionsOutput, bool) bool, opts ...request.Option) error
SearchSessionsPagesWithContext same as SearchSessionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) SearchSessionsRequest(input *SearchSessionsInput) (req *request.Request, output *SearchSessionsOutput)
SearchSessionsRequest generates a "aws/request.Request" representing the client's request for the SearchSessions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SearchSessions for more information on using the SearchSessions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SearchSessionsRequest method. req, resp := client.SearchSessionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchSessions
func (c *ConnectWisdomService) SearchSessionsWithContext(ctx aws.Context, input *SearchSessionsInput, opts ...request.Option) (*SearchSessionsOutput, error)
SearchSessionsWithContext is the same as SearchSessions with the addition of the ability to pass a context and additional request options.
See SearchSessions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) StartContentUpload(input *StartContentUploadInput) (*StartContentUploadOutput, error)
StartContentUpload API operation for Amazon Connect Wisdom Service.
Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_CreateContent.html) to finalize the content creation process or UpdateContent (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_UpdateContent.html) to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation StartContentUpload for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/StartContentUpload
func (c *ConnectWisdomService) StartContentUploadRequest(input *StartContentUploadInput) (req *request.Request, output *StartContentUploadOutput)
StartContentUploadRequest generates a "aws/request.Request" representing the client's request for the StartContentUpload operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartContentUpload for more information on using the StartContentUpload API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StartContentUploadRequest method. req, resp := client.StartContentUploadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/StartContentUpload
func (c *ConnectWisdomService) StartContentUploadWithContext(ctx aws.Context, input *StartContentUploadInput, opts ...request.Option) (*StartContentUploadOutput, error)
StartContentUploadWithContext is the same as StartContentUpload with the addition of the ability to pass a context and additional request options.
See StartContentUpload for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Connect Wisdom Service.
Adds the specified tags to the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation TagResource for usage and error information.
Returned Error Types:
TooManyTagsException Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/TagResource
func (c *ConnectWisdomService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/TagResource
func (c *ConnectWisdomService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Connect Wisdom Service.
Removes the specified tags from the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation UntagResource for usage and error information.
Returned Error Types:
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UntagResource
func (c *ConnectWisdomService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UntagResource
func (c *ConnectWisdomService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) UpdateContent(input *UpdateContentInput) (*UpdateContentOutput, error)
UpdateContent API operation for Amazon Connect Wisdom Service.
Updates information about the content.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation UpdateContent for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
PreconditionFailedException The provided revisionId does not match, indicating the content has been modified since it was last read.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateContent
func (c *ConnectWisdomService) UpdateContentRequest(input *UpdateContentInput) (req *request.Request, output *UpdateContentOutput)
UpdateContentRequest generates a "aws/request.Request" representing the client's request for the UpdateContent operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateContent for more information on using the UpdateContent API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateContentRequest method. req, resp := client.UpdateContentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateContent
func (c *ConnectWisdomService) UpdateContentWithContext(ctx aws.Context, input *UpdateContentInput, opts ...request.Option) (*UpdateContentOutput, error)
UpdateContentWithContext is the same as UpdateContent with the addition of the ability to pass a context and additional request options.
See UpdateContent for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUri(input *UpdateKnowledgeBaseTemplateUriInput) (*UpdateKnowledgeBaseTemplateUriOutput, error)
UpdateKnowledgeBaseTemplateUri API operation for Amazon Connect Wisdom Service.
Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Connect Wisdom Service's API operation UpdateKnowledgeBaseTemplateUri for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by a service.
AccessDeniedException You do not have sufficient access to perform this action.
ResourceNotFoundException The specified resource does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateKnowledgeBaseTemplateUri
func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUriRequest(input *UpdateKnowledgeBaseTemplateUriInput) (req *request.Request, output *UpdateKnowledgeBaseTemplateUriOutput)
UpdateKnowledgeBaseTemplateUriRequest generates a "aws/request.Request" representing the client's request for the UpdateKnowledgeBaseTemplateUri operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateKnowledgeBaseTemplateUri for more information on using the UpdateKnowledgeBaseTemplateUri API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateKnowledgeBaseTemplateUriRequest method. req, resp := client.UpdateKnowledgeBaseTemplateUriRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateKnowledgeBaseTemplateUri
func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUriWithContext(ctx aws.Context, input *UpdateKnowledgeBaseTemplateUriInput, opts ...request.Option) (*UpdateKnowledgeBaseTemplateUriOutput, error)
UpdateKnowledgeBaseTemplateUriWithContext is the same as UpdateKnowledgeBaseTemplateUri with the addition of the ability to pass a context and additional request options.
See UpdateKnowledgeBaseTemplateUri for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type ContentData struct { // The Amazon Resource Name (ARN) of the content. // // ContentArn is a required field ContentArn *string `locationName:"contentArn" type:"string" required:"true"` // The identifier of the content. // // ContentId is a required field ContentId *string `locationName:"contentId" type:"string" required:"true"` // The media type of the content. // // ContentType is a required field ContentType *string `locationName:"contentType" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` // The identifier of the knowledge base. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` // The URI of the content. LinkOutUri *string `locationName:"linkOutUri" min:"1" type:"string"` // A key/value map to store attributes without affecting tagging or recommendations. // For example, when synchronizing data between an external system and Wisdom, // you can store an external version identifier as metadata to utilize for determining // drift. // // Metadata is a required field Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"` // The name of the content. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The identifier of the content revision. // // RevisionId is a required field RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` // The status of the content. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ContentStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The title of the content. // // Title is a required field Title *string `locationName:"title" min:"1" type:"string" required:"true"` // The URL of the content. // // Url is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ContentData's // String and GoString methods. // // Url is a required field Url *string `locationName:"url" min:"1" type:"string" required:"true" sensitive:"true"` // The expiration time of the URL as an epoch timestamp. // // UrlExpiry is a required field UrlExpiry *time.Time `locationName:"urlExpiry" type:"timestamp" timestampFormat:"unixTimestamp" required:"true"` // contains filtered or unexported fields }
Information about the content.
func (s ContentData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ContentData) SetContentArn(v string) *ContentData
SetContentArn sets the ContentArn field's value.
func (s *ContentData) SetContentId(v string) *ContentData
SetContentId sets the ContentId field's value.
func (s *ContentData) SetContentType(v string) *ContentData
SetContentType sets the ContentType field's value.
func (s *ContentData) SetKnowledgeBaseArn(v string) *ContentData
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *ContentData) SetKnowledgeBaseId(v string) *ContentData
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *ContentData) SetLinkOutUri(v string) *ContentData
SetLinkOutUri sets the LinkOutUri field's value.
func (s *ContentData) SetMetadata(v map[string]*string) *ContentData
SetMetadata sets the Metadata field's value.
func (s *ContentData) SetName(v string) *ContentData
SetName sets the Name field's value.
func (s *ContentData) SetRevisionId(v string) *ContentData
SetRevisionId sets the RevisionId field's value.
func (s *ContentData) SetStatus(v string) *ContentData
SetStatus sets the Status field's value.
func (s *ContentData) SetTags(v map[string]*string) *ContentData
SetTags sets the Tags field's value.
func (s *ContentData) SetTitle(v string) *ContentData
SetTitle sets the Title field's value.
func (s *ContentData) SetUrl(v string) *ContentData
SetUrl sets the Url field's value.
func (s *ContentData) SetUrlExpiry(v time.Time) *ContentData
SetUrlExpiry sets the UrlExpiry field's value.
func (s ContentData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ContentReference struct { // The Amazon Resource Name (ARN) of the content. ContentArn *string `locationName:"contentArn" type:"string"` // The identifier of the content. ContentId *string `locationName:"contentId" type:"string"` // The Amazon Resource Name (ARN) of the knowledge base. KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string"` // The identifier of the knowledge base. KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string"` // contains filtered or unexported fields }
Reference information about the content.
func (s ContentReference) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ContentReference) SetContentArn(v string) *ContentReference
SetContentArn sets the ContentArn field's value.
func (s *ContentReference) SetContentId(v string) *ContentReference
SetContentId sets the ContentId field's value.
func (s *ContentReference) SetKnowledgeBaseArn(v string) *ContentReference
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *ContentReference) SetKnowledgeBaseId(v string) *ContentReference
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s ContentReference) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ContentSummary struct { // The Amazon Resource Name (ARN) of the content. // // ContentArn is a required field ContentArn *string `locationName:"contentArn" type:"string" required:"true"` // The identifier of the content. // // ContentId is a required field ContentId *string `locationName:"contentId" type:"string" required:"true"` // The media type of the content. // // ContentType is a required field ContentType *string `locationName:"contentType" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` // The identifier of the knowledge base. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` // A key/value map to store attributes without affecting tagging or recommendations. // For example, when synchronizing data between an external system and Wisdom, // you can store an external version identifier as metadata to utilize for determining // drift. // // Metadata is a required field Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"` // The name of the content. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The identifier of the revision of the content. // // RevisionId is a required field RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` // The status of the content. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ContentStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The title of the content. // // Title is a required field Title *string `locationName:"title" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Summary information about the content.
func (s ContentSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ContentSummary) SetContentArn(v string) *ContentSummary
SetContentArn sets the ContentArn field's value.
func (s *ContentSummary) SetContentId(v string) *ContentSummary
SetContentId sets the ContentId field's value.
func (s *ContentSummary) SetContentType(v string) *ContentSummary
SetContentType sets the ContentType field's value.
func (s *ContentSummary) SetKnowledgeBaseArn(v string) *ContentSummary
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *ContentSummary) SetKnowledgeBaseId(v string) *ContentSummary
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *ContentSummary) SetMetadata(v map[string]*string) *ContentSummary
SetMetadata sets the Metadata field's value.
func (s *ContentSummary) SetName(v string) *ContentSummary
SetName sets the Name field's value.
func (s *ContentSummary) SetRevisionId(v string) *ContentSummary
SetRevisionId sets the RevisionId field's value.
func (s *ContentSummary) SetStatus(v string) *ContentSummary
SetStatus sets the Status field's value.
func (s *ContentSummary) SetTags(v map[string]*string) *ContentSummary
SetTags sets the Tags field's value.
func (s *ContentSummary) SetTitle(v string) *ContentSummary
SetTitle sets the Title field's value.
func (s ContentSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateAssistantAssociationInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The identifier of the associated resource. // // Association is a required field Association *AssistantAssociationInputData `locationName:"association" type:"structure" required:"true"` // The type of association. // // AssociationType is a required field AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"AssociationType"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If not provided, the Amazon Web Services SDK populates this // field. For more information about idempotency, see Making retries safe with // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateAssistantAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantAssociationInput) SetAssistantId(v string) *CreateAssistantAssociationInput
SetAssistantId sets the AssistantId field's value.
func (s *CreateAssistantAssociationInput) SetAssociation(v *AssistantAssociationInputData) *CreateAssistantAssociationInput
SetAssociation sets the Association field's value.
func (s *CreateAssistantAssociationInput) SetAssociationType(v string) *CreateAssistantAssociationInput
SetAssociationType sets the AssociationType field's value.
func (s *CreateAssistantAssociationInput) SetClientToken(v string) *CreateAssistantAssociationInput
SetClientToken sets the ClientToken field's value.
func (s *CreateAssistantAssociationInput) SetTags(v map[string]*string) *CreateAssistantAssociationInput
SetTags sets the Tags field's value.
func (s CreateAssistantAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAssistantAssociationOutput struct { // The assistant association. AssistantAssociation *AssistantAssociationData `locationName:"assistantAssociation" type:"structure"` // contains filtered or unexported fields }
func (s CreateAssistantAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantAssociationOutput) SetAssistantAssociation(v *AssistantAssociationData) *CreateAssistantAssociationOutput
SetAssistantAssociation sets the AssistantAssociation field's value.
func (s CreateAssistantAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateAssistantInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If not provided, the Amazon Web Services SDK populates this // field. For more information about idempotency, see Making retries safe with // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The description of the assistant. Description *string `locationName:"description" min:"1" type:"string"` // The name of the assistant. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The type of assistant. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"AssistantType"` // contains filtered or unexported fields }
func (s CreateAssistantInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantInput) SetClientToken(v string) *CreateAssistantInput
SetClientToken sets the ClientToken field's value.
func (s *CreateAssistantInput) SetDescription(v string) *CreateAssistantInput
SetDescription sets the Description field's value.
func (s *CreateAssistantInput) SetName(v string) *CreateAssistantInput
SetName sets the Name field's value.
func (s *CreateAssistantInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateAssistantInput
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *CreateAssistantInput) SetTags(v map[string]*string) *CreateAssistantInput
SetTags sets the Tags field's value.
func (s *CreateAssistantInput) SetType(v string) *CreateAssistantInput
SetType sets the Type field's value.
func (s CreateAssistantInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAssistantOutput struct { // Information about the assistant. Assistant *AssistantData `locationName:"assistant" type:"structure"` // contains filtered or unexported fields }
func (s CreateAssistantOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAssistantOutput) SetAssistant(v *AssistantData) *CreateAssistantOutput
SetAssistant sets the Assistant field's value.
func (s CreateAssistantOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateContentInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If not provided, the Amazon Web Services SDK populates this // field. For more information about idempotency, see Making retries safe with // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // A key/value map to store attributes without affecting tagging or recommendations. // For example, when synchronizing data between an external system and Wisdom, // you can store an external version identifier as metadata to utilize for determining // drift. Metadata map[string]*string `locationName:"metadata" type:"map"` // The name of the content. Each piece of content in a knowledge base must have // a unique name. You can retrieve a piece of content using only its knowledge // base and its name with the SearchContent (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_SearchContent.html) // API. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The URI you want to use for the article. If the knowledge base has a templateUri, // setting this argument overrides it for this piece of content. OverrideLinkOutUri *string `locationName:"overrideLinkOutUri" min:"1" type:"string"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // The title of the content. If not set, the title is equal to the name. Title *string `locationName:"title" min:"1" type:"string"` // A pointer to the uploaded asset. This value is returned by StartContentUpload // (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html). // // UploadId is a required field UploadId *string `locationName:"uploadId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateContentInput) SetClientToken(v string) *CreateContentInput
SetClientToken sets the ClientToken field's value.
func (s *CreateContentInput) SetKnowledgeBaseId(v string) *CreateContentInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *CreateContentInput) SetMetadata(v map[string]*string) *CreateContentInput
SetMetadata sets the Metadata field's value.
func (s *CreateContentInput) SetName(v string) *CreateContentInput
SetName sets the Name field's value.
func (s *CreateContentInput) SetOverrideLinkOutUri(v string) *CreateContentInput
SetOverrideLinkOutUri sets the OverrideLinkOutUri field's value.
func (s *CreateContentInput) SetTags(v map[string]*string) *CreateContentInput
SetTags sets the Tags field's value.
func (s *CreateContentInput) SetTitle(v string) *CreateContentInput
SetTitle sets the Title field's value.
func (s *CreateContentInput) SetUploadId(v string) *CreateContentInput
SetUploadId sets the UploadId field's value.
func (s CreateContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateContentOutput struct { // The content. Content *ContentData `locationName:"content" type:"structure"` // contains filtered or unexported fields }
func (s CreateContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateContentOutput) SetContent(v *ContentData) *CreateContentOutput
SetContent sets the Content field's value.
func (s CreateContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateKnowledgeBaseInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If not provided, the Amazon Web Services SDK populates this // field. For more information about idempotency, see Making retries safe with // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The description. Description *string `locationName:"description" min:"1" type:"string"` // The type of knowledge base. Only CUSTOM knowledge bases allow you to upload // your own content. EXTERNAL knowledge bases support integrations with third-party // systems whose content is synchronized automatically. // // KnowledgeBaseType is a required field KnowledgeBaseType *string `locationName:"knowledgeBaseType" type:"string" required:"true" enum:"KnowledgeBaseType"` // The name of the knowledge base. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Information about how to render the content. RenderingConfiguration *RenderingConfiguration `locationName:"renderingConfiguration" type:"structure"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // The source of the knowledge base content. Only set this argument for EXTERNAL // knowledge bases. SourceConfiguration *SourceConfiguration `locationName:"sourceConfiguration" type:"structure"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateKnowledgeBaseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateKnowledgeBaseInput) SetClientToken(v string) *CreateKnowledgeBaseInput
SetClientToken sets the ClientToken field's value.
func (s *CreateKnowledgeBaseInput) SetDescription(v string) *CreateKnowledgeBaseInput
SetDescription sets the Description field's value.
func (s *CreateKnowledgeBaseInput) SetKnowledgeBaseType(v string) *CreateKnowledgeBaseInput
SetKnowledgeBaseType sets the KnowledgeBaseType field's value.
func (s *CreateKnowledgeBaseInput) SetName(v string) *CreateKnowledgeBaseInput
SetName sets the Name field's value.
func (s *CreateKnowledgeBaseInput) SetRenderingConfiguration(v *RenderingConfiguration) *CreateKnowledgeBaseInput
SetRenderingConfiguration sets the RenderingConfiguration field's value.
func (s *CreateKnowledgeBaseInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateKnowledgeBaseInput
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *CreateKnowledgeBaseInput) SetSourceConfiguration(v *SourceConfiguration) *CreateKnowledgeBaseInput
SetSourceConfiguration sets the SourceConfiguration field's value.
func (s *CreateKnowledgeBaseInput) SetTags(v map[string]*string) *CreateKnowledgeBaseInput
SetTags sets the Tags field's value.
func (s CreateKnowledgeBaseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateKnowledgeBaseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateKnowledgeBaseOutput struct { // The knowledge base. KnowledgeBase *KnowledgeBaseData `locationName:"knowledgeBase" type:"structure"` // contains filtered or unexported fields }
func (s CreateKnowledgeBaseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateKnowledgeBaseOutput) SetKnowledgeBase(v *KnowledgeBaseData) *CreateKnowledgeBaseOutput
SetKnowledgeBase sets the KnowledgeBase field's value.
func (s CreateKnowledgeBaseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSessionInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. If not provided, the Amazon Web Services SDK populates this // field. For more information about idempotency, see Making retries safe with // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The description. Description *string `locationName:"description" min:"1" type:"string"` // The name of the session. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateSessionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSessionInput) SetAssistantId(v string) *CreateSessionInput
SetAssistantId sets the AssistantId field's value.
func (s *CreateSessionInput) SetClientToken(v string) *CreateSessionInput
SetClientToken sets the ClientToken field's value.
func (s *CreateSessionInput) SetDescription(v string) *CreateSessionInput
SetDescription sets the Description field's value.
func (s *CreateSessionInput) SetName(v string) *CreateSessionInput
SetName sets the Name field's value.
func (s *CreateSessionInput) SetTags(v map[string]*string) *CreateSessionInput
SetTags sets the Tags field's value.
func (s CreateSessionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSessionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSessionOutput struct { // The session. Session *SessionData `locationName:"session" type:"structure"` // contains filtered or unexported fields }
func (s CreateSessionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSessionOutput) SetSession(v *SessionData) *CreateSessionOutput
SetSession sets the Session field's value.
func (s CreateSessionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAssistantAssociationInput struct { // The identifier of the assistant association. Can be either the ID or the // ARN. URLs cannot contain the ARN. // // AssistantAssociationId is a required field AssistantAssociationId *string `location:"uri" locationName:"assistantAssociationId" type:"string" required:"true"` // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAssistantAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAssistantAssociationInput) SetAssistantAssociationId(v string) *DeleteAssistantAssociationInput
SetAssistantAssociationId sets the AssistantAssociationId field's value.
func (s *DeleteAssistantAssociationInput) SetAssistantId(v string) *DeleteAssistantAssociationInput
SetAssistantId sets the AssistantId field's value.
func (s DeleteAssistantAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAssistantAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAssistantAssociationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAssistantAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAssistantAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAssistantInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAssistantInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAssistantInput) SetAssistantId(v string) *DeleteAssistantInput
SetAssistantId sets the AssistantId field's value.
func (s DeleteAssistantInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAssistantInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAssistantOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAssistantOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAssistantOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteContentInput struct { // The identifier of the content. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // ContentId is a required field ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteContentInput) SetContentId(v string) *DeleteContentInput
SetContentId sets the ContentId field's value.
func (s *DeleteContentInput) SetKnowledgeBaseId(v string) *DeleteContentInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s DeleteContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteContentOutput struct {
// contains filtered or unexported fields
}
func (s DeleteContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteKnowledgeBaseInput struct { // The knowledge base to delete content from. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteKnowledgeBaseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteKnowledgeBaseInput) SetKnowledgeBaseId(v string) *DeleteKnowledgeBaseInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s DeleteKnowledgeBaseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteKnowledgeBaseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKnowledgeBaseOutput struct {
// contains filtered or unexported fields
}
func (s DeleteKnowledgeBaseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteKnowledgeBaseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Document struct { // A reference to the content resource. // // ContentReference is a required field ContentReference *ContentReference `locationName:"contentReference" type:"structure" required:"true"` // The excerpt from the document. Excerpt *DocumentText `locationName:"excerpt" type:"structure"` // The title of the document. Title *DocumentText `locationName:"title" type:"structure"` // contains filtered or unexported fields }
The document.
func (s Document) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Document) SetContentReference(v *ContentReference) *Document
SetContentReference sets the ContentReference field's value.
func (s *Document) SetExcerpt(v *DocumentText) *Document
SetExcerpt sets the Excerpt field's value.
func (s *Document) SetTitle(v *DocumentText) *Document
SetTitle sets the Title field's value.
func (s Document) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DocumentText struct { // Highlights in the document text. Highlights []*Highlight `locationName:"highlights" type:"list"` // Text in the document. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DocumentText's // String and GoString methods. Text *string `locationName:"text" type:"string" sensitive:"true"` // contains filtered or unexported fields }
The text of the document.
func (s DocumentText) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DocumentText) SetHighlights(v []*Highlight) *DocumentText
SetHighlights sets the Highlights field's value.
func (s *DocumentText) SetText(v string) *DocumentText
SetText sets the Text field's value.
func (s DocumentText) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Filter struct { // The field on which to filter. // // Field is a required field Field *string `locationName:"field" type:"string" required:"true" enum:"FilterField"` // The operator to use for comparing the field’s value with the provided value. // // Operator is a required field Operator *string `locationName:"operator" type:"string" required:"true" enum:"FilterOperator"` // The desired field value on which to filter. // // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A search filter.
func (s Filter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Filter) SetField(v string) *Filter
SetField sets the Field field's value.
func (s *Filter) SetOperator(v string) *Filter
SetOperator sets the Operator field's value.
func (s *Filter) SetValue(v string) *Filter
SetValue sets the Value field's value.
func (s Filter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Filter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAssistantAssociationInput struct { // The identifier of the assistant association. Can be either the ID or the // ARN. URLs cannot contain the ARN. // // AssistantAssociationId is a required field AssistantAssociationId *string `location:"uri" locationName:"assistantAssociationId" type:"string" required:"true"` // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetAssistantAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantAssociationInput) SetAssistantAssociationId(v string) *GetAssistantAssociationInput
SetAssistantAssociationId sets the AssistantAssociationId field's value.
func (s *GetAssistantAssociationInput) SetAssistantId(v string) *GetAssistantAssociationInput
SetAssistantId sets the AssistantId field's value.
func (s GetAssistantAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAssistantAssociationOutput struct { // The assistant association. AssistantAssociation *AssistantAssociationData `locationName:"assistantAssociation" type:"structure"` // contains filtered or unexported fields }
func (s GetAssistantAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantAssociationOutput) SetAssistantAssociation(v *AssistantAssociationData) *GetAssistantAssociationOutput
SetAssistantAssociation sets the AssistantAssociation field's value.
func (s GetAssistantAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAssistantInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetAssistantInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantInput) SetAssistantId(v string) *GetAssistantInput
SetAssistantId sets the AssistantId field's value.
func (s GetAssistantInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAssistantOutput struct { // Information about the assistant. Assistant *AssistantData `locationName:"assistant" type:"structure"` // contains filtered or unexported fields }
func (s GetAssistantOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAssistantOutput) SetAssistant(v *AssistantData) *GetAssistantOutput
SetAssistant sets the Assistant field's value.
func (s GetAssistantOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetContentInput struct { // The identifier of the content. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // ContentId is a required field ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentInput) SetContentId(v string) *GetContentInput
SetContentId sets the ContentId field's value.
func (s *GetContentInput) SetKnowledgeBaseId(v string) *GetContentInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s GetContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetContentOutput struct { // The content. Content *ContentData `locationName:"content" type:"structure"` // contains filtered or unexported fields }
func (s GetContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentOutput) SetContent(v *ContentData) *GetContentOutput
SetContent sets the Content field's value.
func (s GetContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetContentSummaryInput struct { // The identifier of the content. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // ContentId is a required field ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetContentSummaryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentSummaryInput) SetContentId(v string) *GetContentSummaryInput
SetContentId sets the ContentId field's value.
func (s *GetContentSummaryInput) SetKnowledgeBaseId(v string) *GetContentSummaryInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s GetContentSummaryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentSummaryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetContentSummaryOutput struct { // The content summary. ContentSummary *ContentSummary `locationName:"contentSummary" type:"structure"` // contains filtered or unexported fields }
func (s GetContentSummaryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetContentSummaryOutput) SetContentSummary(v *ContentSummary) *GetContentSummaryOutput
SetContentSummary sets the ContentSummary field's value.
func (s GetContentSummaryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetKnowledgeBaseInput struct { // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetKnowledgeBaseInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetKnowledgeBaseInput) SetKnowledgeBaseId(v string) *GetKnowledgeBaseInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s GetKnowledgeBaseInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetKnowledgeBaseInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetKnowledgeBaseOutput struct { // The knowledge base. KnowledgeBase *KnowledgeBaseData `locationName:"knowledgeBase" type:"structure"` // contains filtered or unexported fields }
func (s GetKnowledgeBaseOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetKnowledgeBaseOutput) SetKnowledgeBase(v *KnowledgeBaseData) *GetKnowledgeBaseOutput
SetKnowledgeBase sets the KnowledgeBase field's value.
func (s GetKnowledgeBaseOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecommendationsInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The identifier of the session. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // SessionId is a required field SessionId *string `location:"uri" locationName:"sessionId" type:"string" required:"true"` // The duration (in seconds) for which the call waits for a recommendation to // be made available before returning. If a recommendation is available, the // call returns sooner than WaitTimeSeconds. If no messages are available and // the wait time expires, the call returns successfully with an empty list. WaitTimeSeconds *int64 `location:"querystring" locationName:"waitTimeSeconds" type:"integer"` // contains filtered or unexported fields }
func (s GetRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRecommendationsInput) SetAssistantId(v string) *GetRecommendationsInput
SetAssistantId sets the AssistantId field's value.
func (s *GetRecommendationsInput) SetMaxResults(v int64) *GetRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (s *GetRecommendationsInput) SetSessionId(v string) *GetRecommendationsInput
SetSessionId sets the SessionId field's value.
func (s *GetRecommendationsInput) SetWaitTimeSeconds(v int64) *GetRecommendationsInput
SetWaitTimeSeconds sets the WaitTimeSeconds field's value.
func (s GetRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRecommendationsOutput struct { // The recommendations. // // Recommendations is a required field Recommendations []*RecommendationData `locationName:"recommendations" type:"list" required:"true"` // The triggers corresponding to recommendations. Triggers []*RecommendationTrigger `locationName:"triggers" type:"list"` // contains filtered or unexported fields }
func (s GetRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetRecommendationsOutput) SetRecommendations(v []*RecommendationData) *GetRecommendationsOutput
SetRecommendations sets the Recommendations field's value.
func (s *GetRecommendationsOutput) SetTriggers(v []*RecommendationTrigger) *GetRecommendationsOutput
SetTriggers sets the Triggers field's value.
func (s GetRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetSessionInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The identifier of the session. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // SessionId is a required field SessionId *string `location:"uri" locationName:"sessionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetSessionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSessionInput) SetAssistantId(v string) *GetSessionInput
SetAssistantId sets the AssistantId field's value.
func (s *GetSessionInput) SetSessionId(v string) *GetSessionInput
SetSessionId sets the SessionId field's value.
func (s GetSessionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSessionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSessionOutput struct { // The session. Session *SessionData `locationName:"session" type:"structure"` // contains filtered or unexported fields }
func (s GetSessionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetSessionOutput) SetSession(v *SessionData) *GetSessionOutput
SetSession sets the Session field's value.
func (s GetSessionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Highlight struct { // The offset for the start of the highlight. BeginOffsetInclusive *int64 `locationName:"beginOffsetInclusive" type:"integer"` // The offset for the end of the highlight. EndOffsetExclusive *int64 `locationName:"endOffsetExclusive" type:"integer"` // contains filtered or unexported fields }
Offset specification to describe highlighting of document excerpts for rendering search results and recommendations.
func (s Highlight) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Highlight) SetBeginOffsetInclusive(v int64) *Highlight
SetBeginOffsetInclusive sets the BeginOffsetInclusive field's value.
func (s *Highlight) SetEndOffsetExclusive(v int64) *Highlight
SetEndOffsetExclusive sets the EndOffsetExclusive field's value.
func (s Highlight) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KnowledgeBaseAssociationData struct { // The Amazon Resource Name (ARN) of the knowledge base. KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string"` // The identifier of the knowledge base. KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string"` // contains filtered or unexported fields }
Association information about the knowledge base.
func (s KnowledgeBaseAssociationData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *KnowledgeBaseAssociationData) SetKnowledgeBaseArn(v string) *KnowledgeBaseAssociationData
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *KnowledgeBaseAssociationData) SetKnowledgeBaseId(v string) *KnowledgeBaseAssociationData
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s KnowledgeBaseAssociationData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KnowledgeBaseData struct { // The description. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` // The identifier of the knowledge base. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` // The type of knowledge base. // // KnowledgeBaseType is a required field KnowledgeBaseType *string `locationName:"knowledgeBaseType" type:"string" required:"true" enum:"KnowledgeBaseType"` // An epoch timestamp indicating the most recent content modification inside // the knowledge base. If no content exists in a knowledge base, this value // is unset. LastContentModificationTime *time.Time `locationName:"lastContentModificationTime" type:"timestamp" timestampFormat:"unixTimestamp"` // The name of the knowledge base. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Information about how to render the content. RenderingConfiguration *RenderingConfiguration `locationName:"renderingConfiguration" type:"structure"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // Source configuration information about the knowledge base. SourceConfiguration *SourceConfiguration `locationName:"sourceConfiguration" type:"structure"` // The status of the knowledge base. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"KnowledgeBaseStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Information about the knowledge base.
func (s KnowledgeBaseData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *KnowledgeBaseData) SetDescription(v string) *KnowledgeBaseData
SetDescription sets the Description field's value.
func (s *KnowledgeBaseData) SetKnowledgeBaseArn(v string) *KnowledgeBaseData
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *KnowledgeBaseData) SetKnowledgeBaseId(v string) *KnowledgeBaseData
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *KnowledgeBaseData) SetKnowledgeBaseType(v string) *KnowledgeBaseData
SetKnowledgeBaseType sets the KnowledgeBaseType field's value.
func (s *KnowledgeBaseData) SetLastContentModificationTime(v time.Time) *KnowledgeBaseData
SetLastContentModificationTime sets the LastContentModificationTime field's value.
func (s *KnowledgeBaseData) SetName(v string) *KnowledgeBaseData
SetName sets the Name field's value.
func (s *KnowledgeBaseData) SetRenderingConfiguration(v *RenderingConfiguration) *KnowledgeBaseData
SetRenderingConfiguration sets the RenderingConfiguration field's value.
func (s *KnowledgeBaseData) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *KnowledgeBaseData
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *KnowledgeBaseData) SetSourceConfiguration(v *SourceConfiguration) *KnowledgeBaseData
SetSourceConfiguration sets the SourceConfiguration field's value.
func (s *KnowledgeBaseData) SetStatus(v string) *KnowledgeBaseData
SetStatus sets the Status field's value.
func (s *KnowledgeBaseData) SetTags(v map[string]*string) *KnowledgeBaseData
SetTags sets the Tags field's value.
func (s KnowledgeBaseData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KnowledgeBaseSummary struct { // The description of the knowledge base. Description *string `locationName:"description" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` // The identifier of the knowledge base. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` // The type of knowledge base. // // KnowledgeBaseType is a required field KnowledgeBaseType *string `locationName:"knowledgeBaseType" type:"string" required:"true" enum:"KnowledgeBaseType"` // The name of the knowledge base. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Information about how to render the content. RenderingConfiguration *RenderingConfiguration `locationName:"renderingConfiguration" type:"structure"` // The KMS key used for encryption. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` // Configuration information about the external data source. SourceConfiguration *SourceConfiguration `locationName:"sourceConfiguration" type:"structure"` // The status of the knowledge base summary. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"KnowledgeBaseStatus"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Summary information about the knowledge base.
func (s KnowledgeBaseSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *KnowledgeBaseSummary) SetDescription(v string) *KnowledgeBaseSummary
SetDescription sets the Description field's value.
func (s *KnowledgeBaseSummary) SetKnowledgeBaseArn(v string) *KnowledgeBaseSummary
SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value.
func (s *KnowledgeBaseSummary) SetKnowledgeBaseId(v string) *KnowledgeBaseSummary
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *KnowledgeBaseSummary) SetKnowledgeBaseType(v string) *KnowledgeBaseSummary
SetKnowledgeBaseType sets the KnowledgeBaseType field's value.
func (s *KnowledgeBaseSummary) SetName(v string) *KnowledgeBaseSummary
SetName sets the Name field's value.
func (s *KnowledgeBaseSummary) SetRenderingConfiguration(v *RenderingConfiguration) *KnowledgeBaseSummary
SetRenderingConfiguration sets the RenderingConfiguration field's value.
func (s *KnowledgeBaseSummary) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *KnowledgeBaseSummary
SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
func (s *KnowledgeBaseSummary) SetSourceConfiguration(v *SourceConfiguration) *KnowledgeBaseSummary
SetSourceConfiguration sets the SourceConfiguration field's value.
func (s *KnowledgeBaseSummary) SetStatus(v string) *KnowledgeBaseSummary
SetStatus sets the Status field's value.
func (s *KnowledgeBaseSummary) SetTags(v map[string]*string) *KnowledgeBaseSummary
SetTags sets the Tags field's value.
func (s KnowledgeBaseSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAssistantAssociationsInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAssistantAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantAssociationsInput) SetAssistantId(v string) *ListAssistantAssociationsInput
SetAssistantId sets the AssistantId field's value.
func (s *ListAssistantAssociationsInput) SetMaxResults(v int64) *ListAssistantAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAssistantAssociationsInput) SetNextToken(v string) *ListAssistantAssociationsInput
SetNextToken sets the NextToken field's value.
func (s ListAssistantAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAssistantAssociationsOutput struct { // Summary information about assistant associations. // // AssistantAssociationSummaries is a required field AssistantAssociationSummaries []*AssistantAssociationSummary `locationName:"assistantAssociationSummaries" type:"list" required:"true"` // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAssistantAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantAssociationsOutput) SetAssistantAssociationSummaries(v []*AssistantAssociationSummary) *ListAssistantAssociationsOutput
SetAssistantAssociationSummaries sets the AssistantAssociationSummaries field's value.
func (s *ListAssistantAssociationsOutput) SetNextToken(v string) *ListAssistantAssociationsOutput
SetNextToken sets the NextToken field's value.
func (s ListAssistantAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAssistantsInput struct { // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAssistantsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantsInput) SetMaxResults(v int64) *ListAssistantsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAssistantsInput) SetNextToken(v string) *ListAssistantsInput
SetNextToken sets the NextToken field's value.
func (s ListAssistantsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAssistantsOutput struct { // Information about the assistants. // // AssistantSummaries is a required field AssistantSummaries []*AssistantSummary `locationName:"assistantSummaries" type:"list" required:"true"` // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListAssistantsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssistantsOutput) SetAssistantSummaries(v []*AssistantSummary) *ListAssistantsOutput
SetAssistantSummaries sets the AssistantSummaries field's value.
func (s *ListAssistantsOutput) SetNextToken(v string) *ListAssistantsOutput
SetNextToken sets the NextToken field's value.
func (s ListAssistantsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListContentsInput struct { // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListContentsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListContentsInput) SetKnowledgeBaseId(v string) *ListContentsInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *ListContentsInput) SetMaxResults(v int64) *ListContentsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListContentsInput) SetNextToken(v string) *ListContentsInput
SetNextToken sets the NextToken field's value.
func (s ListContentsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListContentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListContentsOutput struct { // Information about the content. // // ContentSummaries is a required field ContentSummaries []*ContentSummary `locationName:"contentSummaries" type:"list" required:"true"` // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListContentsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListContentsOutput) SetContentSummaries(v []*ContentSummary) *ListContentsOutput
SetContentSummaries sets the ContentSummaries field's value.
func (s *ListContentsOutput) SetNextToken(v string) *ListContentsOutput
SetNextToken sets the NextToken field's value.
func (s ListContentsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListKnowledgeBasesInput struct { // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListKnowledgeBasesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListKnowledgeBasesInput) SetMaxResults(v int64) *ListKnowledgeBasesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListKnowledgeBasesInput) SetNextToken(v string) *ListKnowledgeBasesInput
SetNextToken sets the NextToken field's value.
func (s ListKnowledgeBasesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListKnowledgeBasesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListKnowledgeBasesOutput struct { // Information about the knowledge bases. // // KnowledgeBaseSummaries is a required field KnowledgeBaseSummaries []*KnowledgeBaseSummary `locationName:"knowledgeBaseSummaries" type:"list" required:"true"` // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListKnowledgeBasesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListKnowledgeBasesOutput) SetKnowledgeBaseSummaries(v []*KnowledgeBaseSummary) *ListKnowledgeBasesOutput
SetKnowledgeBaseSummaries sets the KnowledgeBaseSummaries field's value.
func (s *ListKnowledgeBasesOutput) SetNextToken(v string) *ListKnowledgeBasesOutput
SetNextToken sets the NextToken field's value.
func (s ListKnowledgeBasesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotifyRecommendationsReceivedError struct { // A recommendation is causing an error. Message *string `locationName:"message" type:"string"` // The identifier of the recommendation that is in error. RecommendationId *string `locationName:"recommendationId" type:"string"` // contains filtered or unexported fields }
An error occurred when creating a recommendation.
func (s NotifyRecommendationsReceivedError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotifyRecommendationsReceivedError) SetMessage(v string) *NotifyRecommendationsReceivedError
SetMessage sets the Message field's value.
func (s *NotifyRecommendationsReceivedError) SetRecommendationId(v string) *NotifyRecommendationsReceivedError
SetRecommendationId sets the RecommendationId field's value.
func (s NotifyRecommendationsReceivedError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotifyRecommendationsReceivedInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The identifiers of the recommendations. // // RecommendationIds is a required field RecommendationIds []*string `locationName:"recommendationIds" type:"list" required:"true"` // The identifier of the session. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // SessionId is a required field SessionId *string `location:"uri" locationName:"sessionId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s NotifyRecommendationsReceivedInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotifyRecommendationsReceivedInput) SetAssistantId(v string) *NotifyRecommendationsReceivedInput
SetAssistantId sets the AssistantId field's value.
func (s *NotifyRecommendationsReceivedInput) SetRecommendationIds(v []*string) *NotifyRecommendationsReceivedInput
SetRecommendationIds sets the RecommendationIds field's value.
func (s *NotifyRecommendationsReceivedInput) SetSessionId(v string) *NotifyRecommendationsReceivedInput
SetSessionId sets the SessionId field's value.
func (s NotifyRecommendationsReceivedInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotifyRecommendationsReceivedInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotifyRecommendationsReceivedOutput struct { // The identifiers of recommendations that are causing errors. Errors []*NotifyRecommendationsReceivedError `locationName:"errors" type:"list"` // The identifiers of the recommendations. RecommendationIds []*string `locationName:"recommendationIds" type:"list"` // contains filtered or unexported fields }
func (s NotifyRecommendationsReceivedOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotifyRecommendationsReceivedOutput) SetErrors(v []*NotifyRecommendationsReceivedError) *NotifyRecommendationsReceivedOutput
SetErrors sets the Errors field's value.
func (s *NotifyRecommendationsReceivedOutput) SetRecommendationIds(v []*string) *NotifyRecommendationsReceivedOutput
SetRecommendationIds sets the RecommendationIds field's value.
func (s NotifyRecommendationsReceivedOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PreconditionFailedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The provided revisionId does not match, indicating the content has been modified since it was last read.
func (s *PreconditionFailedException) Code() string
Code returns the exception type name.
func (s *PreconditionFailedException) Error() string
func (s PreconditionFailedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PreconditionFailedException) Message() string
Message returns the exception's message.
func (s *PreconditionFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *PreconditionFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *PreconditionFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s PreconditionFailedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type QueryAssistantInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The text to search for. // // QueryText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by QueryAssistantInput's // String and GoString methods. // // QueryText is a required field QueryText *string `locationName:"queryText" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (s QueryAssistantInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *QueryAssistantInput) SetAssistantId(v string) *QueryAssistantInput
SetAssistantId sets the AssistantId field's value.
func (s *QueryAssistantInput) SetMaxResults(v int64) *QueryAssistantInput
SetMaxResults sets the MaxResults field's value.
func (s *QueryAssistantInput) SetNextToken(v string) *QueryAssistantInput
SetNextToken sets the NextToken field's value.
func (s *QueryAssistantInput) SetQueryText(v string) *QueryAssistantInput
SetQueryText sets the QueryText field's value.
func (s QueryAssistantInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *QueryAssistantInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type QueryAssistantOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The results of the query. // // Results is a required field Results []*ResultData `locationName:"results" type:"list" required:"true"` // contains filtered or unexported fields }
func (s QueryAssistantOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *QueryAssistantOutput) SetNextToken(v string) *QueryAssistantOutput
SetNextToken sets the NextToken field's value.
func (s *QueryAssistantOutput) SetResults(v []*ResultData) *QueryAssistantOutput
SetResults sets the Results field's value.
func (s QueryAssistantOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type QueryRecommendationTriggerData struct { // The text associated with the recommendation trigger. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by QueryRecommendationTriggerData's // String and GoString methods. Text *string `locationName:"text" type:"string" sensitive:"true"` // contains filtered or unexported fields }
Data associated with the QUERY RecommendationTriggerType.
func (s QueryRecommendationTriggerData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *QueryRecommendationTriggerData) SetText(v string) *QueryRecommendationTriggerData
SetText sets the Text field's value.
func (s QueryRecommendationTriggerData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationData struct { // The recommended document. // // Document is a required field Document *Document `locationName:"document" type:"structure" required:"true"` // The identifier of the recommendation. // // RecommendationId is a required field RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"` // The relevance level of the recommendation. RelevanceLevel *string `locationName:"relevanceLevel" type:"string" enum:"RelevanceLevel"` // The relevance score of the recommendation. RelevanceScore *float64 `locationName:"relevanceScore" type:"double"` // The type of recommendation. Type *string `locationName:"type" type:"string" enum:"RecommendationType"` // contains filtered or unexported fields }
Information about the recommendation.
func (s RecommendationData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RecommendationData) SetDocument(v *Document) *RecommendationData
SetDocument sets the Document field's value.
func (s *RecommendationData) SetRecommendationId(v string) *RecommendationData
SetRecommendationId sets the RecommendationId field's value.
func (s *RecommendationData) SetRelevanceLevel(v string) *RecommendationData
SetRelevanceLevel sets the RelevanceLevel field's value.
func (s *RecommendationData) SetRelevanceScore(v float64) *RecommendationData
SetRelevanceScore sets the RelevanceScore field's value.
func (s *RecommendationData) SetType(v string) *RecommendationData
SetType sets the Type field's value.
func (s RecommendationData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationTrigger struct { // A union type containing information related to the trigger. // // Data is a required field Data *RecommendationTriggerData `locationName:"data" type:"structure" required:"true"` // The identifier of the recommendation trigger. // // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The identifiers of the recommendations. // // RecommendationIds is a required field RecommendationIds []*string `locationName:"recommendationIds" type:"list" required:"true"` // The source of the recommendation trigger. // // * ISSUE_DETECTION: The corresponding recommendations were triggered by // a Contact Lens issue. // // * RULE_EVALUATION: The corresponding recommendations were triggered by // a Contact Lens rule. // // Source is a required field Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSourceType"` // The type of recommendation trigger. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"RecommendationTriggerType"` // contains filtered or unexported fields }
A recommendation trigger provides context on the event that produced the referenced recommendations. Recommendations are only referenced in recommendationIds by a single RecommendationTrigger.
func (s RecommendationTrigger) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RecommendationTrigger) SetData(v *RecommendationTriggerData) *RecommendationTrigger
SetData sets the Data field's value.
func (s *RecommendationTrigger) SetId(v string) *RecommendationTrigger
SetId sets the Id field's value.
func (s *RecommendationTrigger) SetRecommendationIds(v []*string) *RecommendationTrigger
SetRecommendationIds sets the RecommendationIds field's value.
func (s *RecommendationTrigger) SetSource(v string) *RecommendationTrigger
SetSource sets the Source field's value.
func (s *RecommendationTrigger) SetType(v string) *RecommendationTrigger
SetType sets the Type field's value.
func (s RecommendationTrigger) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationTriggerData struct { // Data associated with the QUERY RecommendationTriggerType. Query *QueryRecommendationTriggerData `locationName:"query" type:"structure"` // contains filtered or unexported fields }
A union type containing information related to the trigger.
func (s RecommendationTriggerData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RecommendationTriggerData) SetQuery(v *QueryRecommendationTriggerData) *RecommendationTriggerData
SetQuery sets the Query field's value.
func (s RecommendationTriggerData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemoveKnowledgeBaseTemplateUriInput struct { // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s RemoveKnowledgeBaseTemplateUriInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemoveKnowledgeBaseTemplateUriInput) SetKnowledgeBaseId(v string) *RemoveKnowledgeBaseTemplateUriInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s RemoveKnowledgeBaseTemplateUriInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemoveKnowledgeBaseTemplateUriInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveKnowledgeBaseTemplateUriOutput struct {
// contains filtered or unexported fields
}
func (s RemoveKnowledgeBaseTemplateUriOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s RemoveKnowledgeBaseTemplateUriOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RenderingConfiguration struct { // A URI template containing exactly one variable in ${variableName} format. // This can only be set for EXTERNAL knowledge bases. For Salesforce, ServiceNow, // and Zendesk, the variable must be one of the following: // // * Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, // or IsDeleted // // * ServiceNow: number, short_description, sys_mod_count, workflow_state, // or active // // * Zendesk: id, title, updated_at, or draft // // The variable is replaced with the actual value for a piece of content when // calling GetContent (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html). TemplateUri *string `locationName:"templateUri" min:"1" type:"string"` // contains filtered or unexported fields }
Information about how to render the content.
func (s RenderingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RenderingConfiguration) SetTemplateUri(v string) *RenderingConfiguration
SetTemplateUri sets the TemplateUri field's value.
func (s RenderingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RenderingConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The specified resource name. ResourceName *string `locationName:"resourceName" type:"string"` // contains filtered or unexported fields }
The specified resource does not exist.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResultData struct { // The document. // // Document is a required field Document *Document `locationName:"document" type:"structure" required:"true"` // The relevance score of the results. RelevanceScore *float64 `locationName:"relevanceScore" type:"double"` // The identifier of the result data. // // ResultId is a required field ResultId *string `locationName:"resultId" type:"string" required:"true"` // contains filtered or unexported fields }
Information about the result.
func (s ResultData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResultData) SetDocument(v *Document) *ResultData
SetDocument sets the Document field's value.
func (s *ResultData) SetRelevanceScore(v float64) *ResultData
SetRelevanceScore sets the RelevanceScore field's value.
func (s *ResultData) SetResultId(v string) *ResultData
SetResultId sets the ResultId field's value.
func (s ResultData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SearchContentInput struct { // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The search expression to filter results. // // SearchExpression is a required field SearchExpression *SearchExpression `locationName:"searchExpression" type:"structure" required:"true"` // contains filtered or unexported fields }
func (s SearchContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchContentInput) SetKnowledgeBaseId(v string) *SearchContentInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *SearchContentInput) SetMaxResults(v int64) *SearchContentInput
SetMaxResults sets the MaxResults field's value.
func (s *SearchContentInput) SetNextToken(v string) *SearchContentInput
SetNextToken sets the NextToken field's value.
func (s *SearchContentInput) SetSearchExpression(v *SearchExpression) *SearchContentInput
SetSearchExpression sets the SearchExpression field's value.
func (s SearchContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchContentOutput struct { // Summary information about the content. // // ContentSummaries is a required field ContentSummaries []*ContentSummary `locationName:"contentSummaries" type:"list" required:"true"` // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (s SearchContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchContentOutput) SetContentSummaries(v []*ContentSummary) *SearchContentOutput
SetContentSummaries sets the ContentSummaries field's value.
func (s *SearchContentOutput) SetNextToken(v string) *SearchContentOutput
SetNextToken sets the NextToken field's value.
func (s SearchContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SearchExpression struct { // The search expression filters. // // Filters is a required field Filters []*Filter `locationName:"filters" type:"list" required:"true"` // contains filtered or unexported fields }
The search expression.
func (s SearchExpression) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression
SetFilters sets the Filters field's value.
func (s SearchExpression) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchExpression) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchSessionsInput struct { // The identifier of the Wisdom assistant. Can be either the ID or the ARN. // URLs cannot contain the ARN. // // AssistantId is a required field AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The search expression to filter results. // // SearchExpression is a required field SearchExpression *SearchExpression `locationName:"searchExpression" type:"structure" required:"true"` // contains filtered or unexported fields }
func (s SearchSessionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchSessionsInput) SetAssistantId(v string) *SearchSessionsInput
SetAssistantId sets the AssistantId field's value.
func (s *SearchSessionsInput) SetMaxResults(v int64) *SearchSessionsInput
SetMaxResults sets the MaxResults field's value.
func (s *SearchSessionsInput) SetNextToken(v string) *SearchSessionsInput
SetNextToken sets the NextToken field's value.
func (s *SearchSessionsInput) SetSearchExpression(v *SearchExpression) *SearchSessionsInput
SetSearchExpression sets the SearchExpression field's value.
func (s SearchSessionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchSessionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchSessionsOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // Summary information about the sessions. // // SessionSummaries is a required field SessionSummaries []*SessionSummary `locationName:"sessionSummaries" type:"list" required:"true"` // contains filtered or unexported fields }
func (s SearchSessionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SearchSessionsOutput) SetNextToken(v string) *SearchSessionsOutput
SetNextToken sets the NextToken field's value.
func (s *SearchSessionsOutput) SetSessionSummaries(v []*SessionSummary) *SearchSessionsOutput
SetSessionSummaries sets the SessionSummaries field's value.
func (s SearchSessionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServerSideEncryptionConfiguration struct { // The KMS key. For information about valid ID values, see Key identifiers (KeyId) // (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id). KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` // contains filtered or unexported fields }
The KMS key used for encryption.
func (s ServerSideEncryptionConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ServerSideEncryptionConfiguration) SetKmsKeyId(v string) *ServerSideEncryptionConfiguration
SetKmsKeyId sets the KmsKeyId field's value.
func (s ServerSideEncryptionConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ServerSideEncryptionConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SessionData struct { // The description of the session. Description *string `locationName:"description" min:"1" type:"string"` // The name of the session. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the session. // // SessionArn is a required field SessionArn *string `locationName:"sessionArn" type:"string" required:"true"` // The identifier of the session. // // SessionId is a required field SessionId *string `locationName:"sessionId" type:"string" required:"true"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Information about the session.
func (s SessionData) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SessionData) SetDescription(v string) *SessionData
SetDescription sets the Description field's value.
func (s *SessionData) SetName(v string) *SessionData
SetName sets the Name field's value.
func (s *SessionData) SetSessionArn(v string) *SessionData
SetSessionArn sets the SessionArn field's value.
func (s *SessionData) SetSessionId(v string) *SessionData
SetSessionId sets the SessionId field's value.
func (s *SessionData) SetTags(v map[string]*string) *SessionData
SetTags sets the Tags field's value.
func (s SessionData) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SessionSummary struct { // The Amazon Resource Name (ARN) of the Wisdom assistant. // // AssistantArn is a required field AssistantArn *string `locationName:"assistantArn" type:"string" required:"true"` // The identifier of the Wisdom assistant. // // AssistantId is a required field AssistantId *string `locationName:"assistantId" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the session. // // SessionArn is a required field SessionArn *string `locationName:"sessionArn" type:"string" required:"true"` // The identifier of the session. // // SessionId is a required field SessionId *string `locationName:"sessionId" type:"string" required:"true"` // contains filtered or unexported fields }
Summary information about the session.
func (s SessionSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SessionSummary) SetAssistantArn(v string) *SessionSummary
SetAssistantArn sets the AssistantArn field's value.
func (s *SessionSummary) SetAssistantId(v string) *SessionSummary
SetAssistantId sets the AssistantId field's value.
func (s *SessionSummary) SetSessionArn(v string) *SessionSummary
SetSessionArn sets the SessionArn field's value.
func (s *SessionSummary) SetSessionId(v string) *SessionSummary
SetSessionId sets the SessionId field's value.
func (s SessionSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SourceConfiguration struct { // Configuration information for Amazon AppIntegrations to automatically ingest // content. AppIntegrations *AppIntegrationsConfiguration `locationName:"appIntegrations" type:"structure"` // contains filtered or unexported fields }
Configuration information about the external data source.
func (s SourceConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SourceConfiguration) SetAppIntegrations(v *AppIntegrationsConfiguration) *SourceConfiguration
SetAppIntegrations sets the AppIntegrations field's value.
func (s SourceConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SourceConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartContentUploadInput struct { // The type of content to upload. // // ContentType is a required field ContentType *string `locationName:"contentType" type:"string" required:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s StartContentUploadInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartContentUploadInput) SetContentType(v string) *StartContentUploadInput
SetContentType sets the ContentType field's value.
func (s *StartContentUploadInput) SetKnowledgeBaseId(v string) *StartContentUploadInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s StartContentUploadInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartContentUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartContentUploadOutput struct { // The headers to include in the upload. // // HeadersToInclude is a required field HeadersToInclude map[string]*string `locationName:"headersToInclude" type:"map" required:"true"` // The identifier of the upload. // // UploadId is a required field UploadId *string `locationName:"uploadId" min:"1" type:"string" required:"true"` // The URL of the upload. // // Url is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by StartContentUploadOutput's // String and GoString methods. // // Url is a required field Url *string `locationName:"url" min:"1" type:"string" required:"true" sensitive:"true"` // The expiration time of the URL as an epoch timestamp. // // UrlExpiry is a required field UrlExpiry *time.Time `locationName:"urlExpiry" type:"timestamp" timestampFormat:"unixTimestamp" required:"true"` // contains filtered or unexported fields }
func (s StartContentUploadOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartContentUploadOutput) SetHeadersToInclude(v map[string]*string) *StartContentUploadOutput
SetHeadersToInclude sets the HeadersToInclude field's value.
func (s *StartContentUploadOutput) SetUploadId(v string) *StartContentUploadOutput
SetUploadId sets the UploadId field's value.
func (s *StartContentUploadOutput) SetUrl(v string) *StartContentUploadOutput
SetUrl sets the Url field's value.
func (s *StartContentUploadOutput) SetUrlExpiry(v time.Time) *StartContentUploadOutput
SetUrlExpiry sets the UrlExpiry field's value.
func (s StartContentUploadOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tags used to organize, track, or control access for this resource. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyTagsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The specified resource name. ResourceName *string `locationName:"resourceName" type:"string"` // contains filtered or unexported fields }
Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.
func (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (s *TooManyTagsException) Error() string
func (s TooManyTagsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s TooManyTagsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The tag keys. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateContentInput struct { // The identifier of the content. Can be either the ID or the ARN. URLs cannot // contain the ARN. // // ContentId is a required field ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` // The identifier of the knowledge base. Can be either the ID or the ARN // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // A key/value map to store attributes without affecting tagging or recommendations. // For example, when synchronizing data between an external system and Wisdom, // you can store an external version identifier as metadata to utilize for determining // drift. Metadata map[string]*string `locationName:"metadata" type:"map"` // The URI for the article. If the knowledge base has a templateUri, setting // this argument overrides it for this piece of content. To remove an existing // overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri // to true. OverrideLinkOutUri *string `locationName:"overrideLinkOutUri" min:"1" type:"string"` // Unset the existing overrideLinkOutUri if it exists. RemoveOverrideLinkOutUri *bool `locationName:"removeOverrideLinkOutUri" type:"boolean"` // The revisionId of the content resource to update, taken from an earlier call // to GetContent, GetContentSummary, SearchContent, or ListContents. If included, // this argument acts as an optimistic lock to ensure content was not modified // since it was last read. If it has been modified, this API throws a PreconditionFailedException. RevisionId *string `locationName:"revisionId" min:"1" type:"string"` // The title of the content. Title *string `locationName:"title" min:"1" type:"string"` // A pointer to the uploaded asset. This value is returned by StartContentUpload // (https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html). UploadId *string `locationName:"uploadId" min:"1" type:"string"` // contains filtered or unexported fields }
func (s UpdateContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateContentInput) SetContentId(v string) *UpdateContentInput
SetContentId sets the ContentId field's value.
func (s *UpdateContentInput) SetKnowledgeBaseId(v string) *UpdateContentInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *UpdateContentInput) SetMetadata(v map[string]*string) *UpdateContentInput
SetMetadata sets the Metadata field's value.
func (s *UpdateContentInput) SetOverrideLinkOutUri(v string) *UpdateContentInput
SetOverrideLinkOutUri sets the OverrideLinkOutUri field's value.
func (s *UpdateContentInput) SetRemoveOverrideLinkOutUri(v bool) *UpdateContentInput
SetRemoveOverrideLinkOutUri sets the RemoveOverrideLinkOutUri field's value.
func (s *UpdateContentInput) SetRevisionId(v string) *UpdateContentInput
SetRevisionId sets the RevisionId field's value.
func (s *UpdateContentInput) SetTitle(v string) *UpdateContentInput
SetTitle sets the Title field's value.
func (s *UpdateContentInput) SetUploadId(v string) *UpdateContentInput
SetUploadId sets the UploadId field's value.
func (s UpdateContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateContentOutput struct { // The content. Content *ContentData `locationName:"content" type:"structure"` // contains filtered or unexported fields }
func (s UpdateContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateContentOutput) SetContent(v *ContentData) *UpdateContentOutput
SetContent sets the Content field's value.
func (s UpdateContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateKnowledgeBaseTemplateUriInput struct { // The identifier of the knowledge base. Can be either the ID or the ARN. URLs // cannot contain the ARN. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // The template URI to update. // // TemplateUri is a required field TemplateUri *string `locationName:"templateUri" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateKnowledgeBaseTemplateUriInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateKnowledgeBaseTemplateUriInput) SetKnowledgeBaseId(v string) *UpdateKnowledgeBaseTemplateUriInput
SetKnowledgeBaseId sets the KnowledgeBaseId field's value.
func (s *UpdateKnowledgeBaseTemplateUriInput) SetTemplateUri(v string) *UpdateKnowledgeBaseTemplateUriInput
SetTemplateUri sets the TemplateUri field's value.
func (s UpdateKnowledgeBaseTemplateUriInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateKnowledgeBaseTemplateUriInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateKnowledgeBaseTemplateUriOutput struct { // The knowledge base to update. KnowledgeBase *KnowledgeBaseData `locationName:"knowledgeBase" type:"structure"` // contains filtered or unexported fields }
func (s UpdateKnowledgeBaseTemplateUriOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateKnowledgeBaseTemplateUriOutput) SetKnowledgeBase(v *KnowledgeBaseData) *UpdateKnowledgeBaseTemplateUriOutput
SetKnowledgeBase sets the KnowledgeBase field's value.
func (s UpdateKnowledgeBaseTemplateUriOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The input fails to satisfy the constraints specified by a service.
func (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".