Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const EndpointsID + const ErrCodeAccessDeniedException + const ErrCodeConflictException + const ErrCodeInternalServerException + const ErrCodeResourceNotFoundException + const ErrCodeResourceUnavailableException + const ErrCodeServiceQuotaExceededException + const ErrCodeThrottlingException + const ErrCodeValidationException + const RescoreExecutionPlanStatusActive + const RescoreExecutionPlanStatusCreating + const RescoreExecutionPlanStatusDeleting + const RescoreExecutionPlanStatusFailed + const RescoreExecutionPlanStatusUpdating + const ServiceID + const ServiceName + func RescoreExecutionPlanStatus_Values() []string + type AccessDeniedException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *AccessDeniedException) Code() string + func (s *AccessDeniedException) Error() string + func (s *AccessDeniedException) Message() string + func (s *AccessDeniedException) OrigErr() error + func (s *AccessDeniedException) RequestID() string + func (s *AccessDeniedException) StatusCode() int + func (s AccessDeniedException) GoString() string + func (s AccessDeniedException) String() string + type CapacityUnitsConfiguration struct + RescoreCapacityUnits *int64 + func (s *CapacityUnitsConfiguration) SetRescoreCapacityUnits(v int64) *CapacityUnitsConfiguration + func (s *CapacityUnitsConfiguration) Validate() error + func (s CapacityUnitsConfiguration) GoString() string + func (s CapacityUnitsConfiguration) String() string + type ConflictException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ConflictException) Code() string + func (s *ConflictException) Error() string + func (s *ConflictException) Message() string + func (s *ConflictException) OrigErr() error + func (s *ConflictException) RequestID() string + func (s *ConflictException) StatusCode() int + func (s ConflictException) GoString() string + func (s ConflictException) String() string + type CreateRescoreExecutionPlanInput struct + CapacityUnits *CapacityUnitsConfiguration + ClientToken *string + Description *string + Name *string + Tags []*Tag + func (s *CreateRescoreExecutionPlanInput) SetCapacityUnits(v *CapacityUnitsConfiguration) *CreateRescoreExecutionPlanInput + func (s *CreateRescoreExecutionPlanInput) SetClientToken(v string) *CreateRescoreExecutionPlanInput + func (s *CreateRescoreExecutionPlanInput) SetDescription(v string) *CreateRescoreExecutionPlanInput + func (s *CreateRescoreExecutionPlanInput) SetName(v string) *CreateRescoreExecutionPlanInput + func (s *CreateRescoreExecutionPlanInput) SetTags(v []*Tag) *CreateRescoreExecutionPlanInput + func (s *CreateRescoreExecutionPlanInput) Validate() error + func (s CreateRescoreExecutionPlanInput) GoString() string + func (s CreateRescoreExecutionPlanInput) String() string + type CreateRescoreExecutionPlanOutput struct + Arn *string + Id *string + func (s *CreateRescoreExecutionPlanOutput) SetArn(v string) *CreateRescoreExecutionPlanOutput + func (s *CreateRescoreExecutionPlanOutput) SetId(v string) *CreateRescoreExecutionPlanOutput + func (s CreateRescoreExecutionPlanOutput) GoString() string + func (s CreateRescoreExecutionPlanOutput) String() string + type DeleteRescoreExecutionPlanInput struct + Id *string + func (s *DeleteRescoreExecutionPlanInput) SetId(v string) *DeleteRescoreExecutionPlanInput + func (s *DeleteRescoreExecutionPlanInput) Validate() error + func (s DeleteRescoreExecutionPlanInput) GoString() string + func (s DeleteRescoreExecutionPlanInput) String() string + type DeleteRescoreExecutionPlanOutput struct + func (s DeleteRescoreExecutionPlanOutput) GoString() string + func (s DeleteRescoreExecutionPlanOutput) String() string + type DescribeRescoreExecutionPlanInput struct + Id *string + func (s *DescribeRescoreExecutionPlanInput) SetId(v string) *DescribeRescoreExecutionPlanInput + func (s *DescribeRescoreExecutionPlanInput) Validate() error + func (s DescribeRescoreExecutionPlanInput) GoString() string + func (s DescribeRescoreExecutionPlanInput) String() string + type DescribeRescoreExecutionPlanOutput struct + Arn *string + CapacityUnits *CapacityUnitsConfiguration + CreatedAt *time.Time + Description *string + ErrorMessage *string + Id *string + Name *string + Status *string + UpdatedAt *time.Time + func (s *DescribeRescoreExecutionPlanOutput) SetArn(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetCapacityUnits(v *CapacityUnitsConfiguration) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetCreatedAt(v time.Time) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetDescription(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetErrorMessage(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetId(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetName(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetStatus(v string) *DescribeRescoreExecutionPlanOutput + func (s *DescribeRescoreExecutionPlanOutput) SetUpdatedAt(v time.Time) *DescribeRescoreExecutionPlanOutput + func (s DescribeRescoreExecutionPlanOutput) GoString() string + func (s DescribeRescoreExecutionPlanOutput) String() string + type Document struct + Body *string + GroupId *string + Id *string + OriginalScore *float64 + Title *string + TokenizedBody []*string + TokenizedTitle []*string + func (s *Document) SetBody(v string) *Document + func (s *Document) SetGroupId(v string) *Document + func (s *Document) SetId(v string) *Document + func (s *Document) SetOriginalScore(v float64) *Document + func (s *Document) SetTitle(v string) *Document + func (s *Document) SetTokenizedBody(v []*string) *Document + func (s *Document) SetTokenizedTitle(v []*string) *Document + func (s *Document) Validate() error + func (s Document) GoString() string + func (s Document) String() string + type InternalServerException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InternalServerException) Code() string + func (s *InternalServerException) Error() string + func (s *InternalServerException) Message() string + func (s *InternalServerException) OrigErr() error + func (s *InternalServerException) RequestID() string + func (s *InternalServerException) StatusCode() int + func (s InternalServerException) GoString() string + func (s InternalServerException) String() string + type KendraRanking struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *KendraRanking + func (c *KendraRanking) CreateRescoreExecutionPlan(input *CreateRescoreExecutionPlanInput) (*CreateRescoreExecutionPlanOutput, error) + func (c *KendraRanking) CreateRescoreExecutionPlanRequest(input *CreateRescoreExecutionPlanInput) (req *request.Request, output *CreateRescoreExecutionPlanOutput) + func (c *KendraRanking) CreateRescoreExecutionPlanWithContext(ctx aws.Context, input *CreateRescoreExecutionPlanInput, ...) (*CreateRescoreExecutionPlanOutput, error) + func (c *KendraRanking) DeleteRescoreExecutionPlan(input *DeleteRescoreExecutionPlanInput) (*DeleteRescoreExecutionPlanOutput, error) + func (c *KendraRanking) DeleteRescoreExecutionPlanRequest(input *DeleteRescoreExecutionPlanInput) (req *request.Request, output *DeleteRescoreExecutionPlanOutput) + func (c *KendraRanking) DeleteRescoreExecutionPlanWithContext(ctx aws.Context, input *DeleteRescoreExecutionPlanInput, ...) (*DeleteRescoreExecutionPlanOutput, error) + func (c *KendraRanking) DescribeRescoreExecutionPlan(input *DescribeRescoreExecutionPlanInput) (*DescribeRescoreExecutionPlanOutput, error) + func (c *KendraRanking) DescribeRescoreExecutionPlanRequest(input *DescribeRescoreExecutionPlanInput) (req *request.Request, output *DescribeRescoreExecutionPlanOutput) + func (c *KendraRanking) DescribeRescoreExecutionPlanWithContext(ctx aws.Context, input *DescribeRescoreExecutionPlanInput, ...) (*DescribeRescoreExecutionPlanOutput, error) + func (c *KendraRanking) ListRescoreExecutionPlans(input *ListRescoreExecutionPlansInput) (*ListRescoreExecutionPlansOutput, error) + func (c *KendraRanking) ListRescoreExecutionPlansPages(input *ListRescoreExecutionPlansInput, ...) error + func (c *KendraRanking) ListRescoreExecutionPlansPagesWithContext(ctx aws.Context, input *ListRescoreExecutionPlansInput, ...) error + func (c *KendraRanking) ListRescoreExecutionPlansRequest(input *ListRescoreExecutionPlansInput) (req *request.Request, output *ListRescoreExecutionPlansOutput) + func (c *KendraRanking) ListRescoreExecutionPlansWithContext(ctx aws.Context, input *ListRescoreExecutionPlansInput, opts ...request.Option) (*ListRescoreExecutionPlansOutput, error) + func (c *KendraRanking) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) + func (c *KendraRanking) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) + func (c *KendraRanking) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) + func (c *KendraRanking) Rescore(input *RescoreInput) (*RescoreOutput, error) + func (c *KendraRanking) RescoreRequest(input *RescoreInput) (req *request.Request, output *RescoreOutput) + func (c *KendraRanking) RescoreWithContext(ctx aws.Context, input *RescoreInput, opts ...request.Option) (*RescoreOutput, error) + func (c *KendraRanking) TagResource(input *TagResourceInput) (*TagResourceOutput, error) + func (c *KendraRanking) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) + func (c *KendraRanking) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) + func (c *KendraRanking) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) + func (c *KendraRanking) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) + func (c *KendraRanking) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) + func (c *KendraRanking) UpdateRescoreExecutionPlan(input *UpdateRescoreExecutionPlanInput) (*UpdateRescoreExecutionPlanOutput, error) + func (c *KendraRanking) UpdateRescoreExecutionPlanRequest(input *UpdateRescoreExecutionPlanInput) (req *request.Request, output *UpdateRescoreExecutionPlanOutput) + func (c *KendraRanking) UpdateRescoreExecutionPlanWithContext(ctx aws.Context, input *UpdateRescoreExecutionPlanInput, ...) (*UpdateRescoreExecutionPlanOutput, error) + type ListRescoreExecutionPlansInput struct + MaxResults *int64 + NextToken *string + func (s *ListRescoreExecutionPlansInput) SetMaxResults(v int64) *ListRescoreExecutionPlansInput + func (s *ListRescoreExecutionPlansInput) SetNextToken(v string) *ListRescoreExecutionPlansInput + func (s *ListRescoreExecutionPlansInput) Validate() error + func (s ListRescoreExecutionPlansInput) GoString() string + func (s ListRescoreExecutionPlansInput) String() string + type ListRescoreExecutionPlansOutput struct + NextToken *string + SummaryItems []*RescoreExecutionPlanSummary + func (s *ListRescoreExecutionPlansOutput) SetNextToken(v string) *ListRescoreExecutionPlansOutput + func (s *ListRescoreExecutionPlansOutput) SetSummaryItems(v []*RescoreExecutionPlanSummary) *ListRescoreExecutionPlansOutput + func (s ListRescoreExecutionPlansOutput) GoString() string + func (s ListRescoreExecutionPlansOutput) String() string + type ListTagsForResourceInput struct + ResourceARN *string + func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput + func (s *ListTagsForResourceInput) Validate() error + func (s ListTagsForResourceInput) GoString() string + func (s ListTagsForResourceInput) String() string + type ListTagsForResourceOutput struct + Tags []*Tag + func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput + func (s ListTagsForResourceOutput) GoString() string + func (s ListTagsForResourceOutput) String() string + type RescoreExecutionPlanSummary struct + CreatedAt *time.Time + Id *string + Name *string + Status *string + UpdatedAt *time.Time + func (s *RescoreExecutionPlanSummary) SetCreatedAt(v time.Time) *RescoreExecutionPlanSummary + func (s *RescoreExecutionPlanSummary) SetId(v string) *RescoreExecutionPlanSummary + func (s *RescoreExecutionPlanSummary) SetName(v string) *RescoreExecutionPlanSummary + func (s *RescoreExecutionPlanSummary) SetStatus(v string) *RescoreExecutionPlanSummary + func (s *RescoreExecutionPlanSummary) SetUpdatedAt(v time.Time) *RescoreExecutionPlanSummary + func (s RescoreExecutionPlanSummary) GoString() string + func (s RescoreExecutionPlanSummary) String() string + type RescoreInput struct + Documents []*Document + RescoreExecutionPlanId *string + SearchQuery *string + func (s *RescoreInput) SetDocuments(v []*Document) *RescoreInput + func (s *RescoreInput) SetRescoreExecutionPlanId(v string) *RescoreInput + func (s *RescoreInput) SetSearchQuery(v string) *RescoreInput + func (s *RescoreInput) Validate() error + func (s RescoreInput) GoString() string + func (s RescoreInput) String() string + type RescoreOutput struct + RescoreId *string + ResultItems []*RescoreResultItem + func (s *RescoreOutput) SetRescoreId(v string) *RescoreOutput + func (s *RescoreOutput) SetResultItems(v []*RescoreResultItem) *RescoreOutput + func (s RescoreOutput) GoString() string + func (s RescoreOutput) String() string + type RescoreResultItem struct + DocumentId *string + Score *float64 + func (s *RescoreResultItem) SetDocumentId(v string) *RescoreResultItem + func (s *RescoreResultItem) SetScore(v float64) *RescoreResultItem + func (s RescoreResultItem) GoString() string + func (s RescoreResultItem) String() string + type ResourceNotFoundException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type ResourceUnavailableException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceUnavailableException) Code() string + func (s *ResourceUnavailableException) Error() string + func (s *ResourceUnavailableException) Message() string + func (s *ResourceUnavailableException) OrigErr() error + func (s *ResourceUnavailableException) RequestID() string + func (s *ResourceUnavailableException) StatusCode() int + func (s ResourceUnavailableException) GoString() string + func (s ResourceUnavailableException) String() string + type ServiceQuotaExceededException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ServiceQuotaExceededException) Code() string + func (s *ServiceQuotaExceededException) Error() string + func (s *ServiceQuotaExceededException) Message() string + func (s *ServiceQuotaExceededException) OrigErr() error + func (s *ServiceQuotaExceededException) RequestID() string + func (s *ServiceQuotaExceededException) StatusCode() int + func (s ServiceQuotaExceededException) GoString() string + func (s ServiceQuotaExceededException) String() string + type Tag struct + Key *string + Value *string + func (s *Tag) SetKey(v string) *Tag + func (s *Tag) SetValue(v string) *Tag + func (s *Tag) Validate() error + func (s Tag) GoString() string + func (s Tag) String() string + type TagResourceInput struct + ResourceARN *string + Tags []*Tag + func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput + func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput + func (s *TagResourceInput) Validate() error + func (s TagResourceInput) GoString() string + func (s TagResourceInput) String() string + type TagResourceOutput struct + func (s TagResourceOutput) GoString() string + func (s TagResourceOutput) String() string + type ThrottlingException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ThrottlingException) Code() string + func (s *ThrottlingException) Error() string + func (s *ThrottlingException) Message() string + func (s *ThrottlingException) OrigErr() error + func (s *ThrottlingException) RequestID() string + func (s *ThrottlingException) StatusCode() int + func (s ThrottlingException) GoString() string + func (s ThrottlingException) String() string + type UntagResourceInput struct + ResourceARN *string + TagKeys []*string + func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput + func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput + func (s *UntagResourceInput) Validate() error + func (s UntagResourceInput) GoString() string + func (s UntagResourceInput) String() string + type UntagResourceOutput struct + func (s UntagResourceOutput) GoString() string + func (s UntagResourceOutput) String() string + type UpdateRescoreExecutionPlanInput struct + CapacityUnits *CapacityUnitsConfiguration + Description *string + Id *string + Name *string + func (s *UpdateRescoreExecutionPlanInput) SetCapacityUnits(v *CapacityUnitsConfiguration) *UpdateRescoreExecutionPlanInput + func (s *UpdateRescoreExecutionPlanInput) SetDescription(v string) *UpdateRescoreExecutionPlanInput + func (s *UpdateRescoreExecutionPlanInput) SetId(v string) *UpdateRescoreExecutionPlanInput + func (s *UpdateRescoreExecutionPlanInput) SetName(v string) *UpdateRescoreExecutionPlanInput + func (s *UpdateRescoreExecutionPlanInput) Validate() error + func (s UpdateRescoreExecutionPlanInput) GoString() string + func (s UpdateRescoreExecutionPlanInput) String() string + type UpdateRescoreExecutionPlanOutput struct + func (s UpdateRescoreExecutionPlanOutput) GoString() string + func (s UpdateRescoreExecutionPlanOutput) String() string + type ValidationException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ValidationException) Code() string + func (s *ValidationException) Error() string + func (s *ValidationException) Message() string + func (s *ValidationException) OrigErr() error + func (s *ValidationException) RequestID() string + func (s *ValidationException) StatusCode() int + func (s ValidationException) GoString() string + func (s ValidationException) String() string