kendraindex

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapacityUnits

type CapacityUnits struct {
	// QueryCapacityUnits: number, optional
	QueryCapacityUnits terra.NumberValue `hcl:"query_capacity_units,attr"`
	// StorageCapacityUnits: number, optional
	StorageCapacityUnits terra.NumberValue `hcl:"storage_capacity_units,attr"`
}

type CapacityUnitsAttributes

type CapacityUnitsAttributes struct {
	// contains filtered or unexported fields
}

func (CapacityUnitsAttributes) InternalRef

func (cu CapacityUnitsAttributes) InternalRef() (terra.Reference, error)

func (CapacityUnitsAttributes) InternalTokens

func (cu CapacityUnitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityUnitsAttributes) InternalWithRef

func (CapacityUnitsAttributes) QueryCapacityUnits

func (cu CapacityUnitsAttributes) QueryCapacityUnits() terra.NumberValue

func (CapacityUnitsAttributes) StorageCapacityUnits

func (cu CapacityUnitsAttributes) StorageCapacityUnits() terra.NumberValue

type CapacityUnitsState

type CapacityUnitsState struct {
	QueryCapacityUnits   float64 `json:"query_capacity_units"`
	StorageCapacityUnits float64 `json:"storage_capacity_units"`
}

type DocumentMetadataConfigurationUpdates

type DocumentMetadataConfigurationUpdates struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Relevance: optional
	Relevance *Relevance `hcl:"relevance,block"`
	// Search: optional
	Search *Search `hcl:"search,block"`
}

type DocumentMetadataConfigurationUpdatesAttributes

type DocumentMetadataConfigurationUpdatesAttributes struct {
	// contains filtered or unexported fields
}

func (DocumentMetadataConfigurationUpdatesAttributes) InternalRef

func (DocumentMetadataConfigurationUpdatesAttributes) InternalTokens

func (DocumentMetadataConfigurationUpdatesAttributes) InternalWithRef

func (DocumentMetadataConfigurationUpdatesAttributes) Name

func (DocumentMetadataConfigurationUpdatesAttributes) Relevance

func (DocumentMetadataConfigurationUpdatesAttributes) Search

func (DocumentMetadataConfigurationUpdatesAttributes) Type

type DocumentMetadataConfigurationUpdatesState

type DocumentMetadataConfigurationUpdatesState struct {
	Name      string           `json:"name"`
	Type      string           `json:"type"`
	Relevance []RelevanceState `json:"relevance"`
	Search    []SearchState    `json:"search"`
}

type FaqStatistics

type FaqStatistics struct{}

type FaqStatisticsAttributes

type FaqStatisticsAttributes struct {
	// contains filtered or unexported fields
}

func (FaqStatisticsAttributes) IndexedQuestionAnswersCount

func (fs FaqStatisticsAttributes) IndexedQuestionAnswersCount() terra.NumberValue

func (FaqStatisticsAttributes) InternalRef

func (fs FaqStatisticsAttributes) InternalRef() (terra.Reference, error)

func (FaqStatisticsAttributes) InternalTokens

func (fs FaqStatisticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FaqStatisticsAttributes) InternalWithRef

type FaqStatisticsState

type FaqStatisticsState struct {
	IndexedQuestionAnswersCount float64 `json:"indexed_question_answers_count"`
}

type IndexStatistics

type IndexStatistics struct {
	// FaqStatistics: min=0
	FaqStatistics []FaqStatistics `hcl:"faq_statistics,block" validate:"min=0"`
	// TextDocumentStatistics: min=0
	TextDocumentStatistics []TextDocumentStatistics `hcl:"text_document_statistics,block" validate:"min=0"`
}

type IndexStatisticsAttributes

type IndexStatisticsAttributes struct {
	// contains filtered or unexported fields
}

func (IndexStatisticsAttributes) FaqStatistics

func (IndexStatisticsAttributes) InternalRef

func (is IndexStatisticsAttributes) InternalRef() (terra.Reference, error)

func (IndexStatisticsAttributes) InternalTokens

func (is IndexStatisticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexStatisticsAttributes) InternalWithRef

func (IndexStatisticsAttributes) TextDocumentStatistics

type IndexStatisticsState

type IndexStatisticsState struct {
	FaqStatistics          []FaqStatisticsState          `json:"faq_statistics"`
	TextDocumentStatistics []TextDocumentStatisticsState `json:"text_document_statistics"`
}

type JsonTokenTypeConfiguration

type JsonTokenTypeConfiguration struct {
	// GroupAttributeField: string, required
	GroupAttributeField terra.StringValue `hcl:"group_attribute_field,attr" validate:"required"`
	// UserNameAttributeField: string, required
	UserNameAttributeField terra.StringValue `hcl:"user_name_attribute_field,attr" validate:"required"`
}

type JsonTokenTypeConfigurationAttributes

type JsonTokenTypeConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (JsonTokenTypeConfigurationAttributes) GroupAttributeField

func (jttc JsonTokenTypeConfigurationAttributes) GroupAttributeField() terra.StringValue

func (JsonTokenTypeConfigurationAttributes) InternalRef

func (JsonTokenTypeConfigurationAttributes) InternalTokens

func (jttc JsonTokenTypeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JsonTokenTypeConfigurationAttributes) InternalWithRef

func (JsonTokenTypeConfigurationAttributes) UserNameAttributeField

func (jttc JsonTokenTypeConfigurationAttributes) UserNameAttributeField() terra.StringValue

type JsonTokenTypeConfigurationState

type JsonTokenTypeConfigurationState struct {
	GroupAttributeField    string `json:"group_attribute_field"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type JwtTokenTypeConfiguration

type JwtTokenTypeConfiguration struct {
	// ClaimRegex: string, optional
	ClaimRegex terra.StringValue `hcl:"claim_regex,attr"`
	// GroupAttributeField: string, optional
	GroupAttributeField terra.StringValue `hcl:"group_attribute_field,attr"`
	// Issuer: string, optional
	Issuer terra.StringValue `hcl:"issuer,attr"`
	// KeyLocation: string, required
	KeyLocation terra.StringValue `hcl:"key_location,attr" validate:"required"`
	// SecretsManagerArn: string, optional
	SecretsManagerArn terra.StringValue `hcl:"secrets_manager_arn,attr"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
	// UserNameAttributeField: string, optional
	UserNameAttributeField terra.StringValue `hcl:"user_name_attribute_field,attr"`
}

type JwtTokenTypeConfigurationAttributes

type JwtTokenTypeConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (JwtTokenTypeConfigurationAttributes) ClaimRegex

func (JwtTokenTypeConfigurationAttributes) GroupAttributeField

func (jttc JwtTokenTypeConfigurationAttributes) GroupAttributeField() terra.StringValue

func (JwtTokenTypeConfigurationAttributes) InternalRef

func (JwtTokenTypeConfigurationAttributes) InternalTokens

func (jttc JwtTokenTypeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JwtTokenTypeConfigurationAttributes) InternalWithRef

func (JwtTokenTypeConfigurationAttributes) Issuer

func (JwtTokenTypeConfigurationAttributes) KeyLocation

func (JwtTokenTypeConfigurationAttributes) SecretsManagerArn

func (jttc JwtTokenTypeConfigurationAttributes) SecretsManagerArn() terra.StringValue

func (JwtTokenTypeConfigurationAttributes) Url

func (JwtTokenTypeConfigurationAttributes) UserNameAttributeField

func (jttc JwtTokenTypeConfigurationAttributes) UserNameAttributeField() terra.StringValue

type JwtTokenTypeConfigurationState

type JwtTokenTypeConfigurationState struct {
	ClaimRegex             string `json:"claim_regex"`
	GroupAttributeField    string `json:"group_attribute_field"`
	Issuer                 string `json:"issuer"`
	KeyLocation            string `json:"key_location"`
	SecretsManagerArn      string `json:"secrets_manager_arn"`
	Url                    string `json:"url"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type Relevance

type Relevance struct {
	// Duration: string, optional
	Duration terra.StringValue `hcl:"duration,attr"`
	// Freshness: bool, optional
	Freshness terra.BoolValue `hcl:"freshness,attr"`
	// Importance: number, optional
	Importance terra.NumberValue `hcl:"importance,attr"`
	// RankOrder: string, optional
	RankOrder terra.StringValue `hcl:"rank_order,attr"`
	// ValuesImportanceMap: map of number, optional
	ValuesImportanceMap terra.MapValue[terra.NumberValue] `hcl:"values_importance_map,attr"`
}

type RelevanceAttributes

type RelevanceAttributes struct {
	// contains filtered or unexported fields
}

func (RelevanceAttributes) Duration

func (r RelevanceAttributes) Duration() terra.StringValue

func (RelevanceAttributes) Freshness

func (r RelevanceAttributes) Freshness() terra.BoolValue

func (RelevanceAttributes) Importance

func (r RelevanceAttributes) Importance() terra.NumberValue

func (RelevanceAttributes) InternalRef

func (r RelevanceAttributes) InternalRef() (terra.Reference, error)

func (RelevanceAttributes) InternalTokens

func (r RelevanceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RelevanceAttributes) InternalWithRef

func (r RelevanceAttributes) InternalWithRef(ref terra.Reference) RelevanceAttributes

func (RelevanceAttributes) RankOrder

func (r RelevanceAttributes) RankOrder() terra.StringValue

func (RelevanceAttributes) ValuesImportanceMap

func (r RelevanceAttributes) ValuesImportanceMap() terra.MapValue[terra.NumberValue]

type RelevanceState

type RelevanceState struct {
	Duration            string             `json:"duration"`
	Freshness           bool               `json:"freshness"`
	Importance          float64            `json:"importance"`
	RankOrder           string             `json:"rank_order"`
	ValuesImportanceMap map[string]float64 `json:"values_importance_map"`
}
type Search struct {
	// Displayable: bool, optional
	Displayable terra.BoolValue `hcl:"displayable,attr"`
	// Facetable: bool, optional
	Facetable terra.BoolValue `hcl:"facetable,attr"`
	// Searchable: bool, optional
	Searchable terra.BoolValue `hcl:"searchable,attr"`
	// Sortable: bool, optional
	Sortable terra.BoolValue `hcl:"sortable,attr"`
}

type SearchAttributes

type SearchAttributes struct {
	// contains filtered or unexported fields
}

func (SearchAttributes) Displayable

func (s SearchAttributes) Displayable() terra.BoolValue

func (SearchAttributes) Facetable

func (s SearchAttributes) Facetable() terra.BoolValue

func (SearchAttributes) InternalRef

func (s SearchAttributes) InternalRef() (terra.Reference, error)

func (SearchAttributes) InternalTokens

func (s SearchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SearchAttributes) InternalWithRef

func (s SearchAttributes) InternalWithRef(ref terra.Reference) SearchAttributes

func (SearchAttributes) Searchable

func (s SearchAttributes) Searchable() terra.BoolValue

func (SearchAttributes) Sortable

func (s SearchAttributes) Sortable() terra.BoolValue

type SearchState

type SearchState struct {
	Displayable bool `json:"displayable"`
	Facetable   bool `json:"facetable"`
	Searchable  bool `json:"searchable"`
	Sortable    bool `json:"sortable"`
}

type ServerSideEncryptionConfiguration

type ServerSideEncryptionConfiguration struct {
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
}

type ServerSideEncryptionConfigurationAttributes

type ServerSideEncryptionConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (ServerSideEncryptionConfigurationAttributes) InternalRef

func (ServerSideEncryptionConfigurationAttributes) InternalTokens

func (ServerSideEncryptionConfigurationAttributes) InternalWithRef

func (ServerSideEncryptionConfigurationAttributes) KmsKeyId

type ServerSideEncryptionConfigurationState

type ServerSideEncryptionConfigurationState struct {
	KmsKeyId string `json:"kms_key_id"`
}

type TextDocumentStatistics

type TextDocumentStatistics struct{}

type TextDocumentStatisticsAttributes

type TextDocumentStatisticsAttributes struct {
	// contains filtered or unexported fields
}

func (TextDocumentStatisticsAttributes) IndexedTextBytes

func (tds TextDocumentStatisticsAttributes) IndexedTextBytes() terra.NumberValue

func (TextDocumentStatisticsAttributes) IndexedTextDocumentsCount

func (tds TextDocumentStatisticsAttributes) IndexedTextDocumentsCount() terra.NumberValue

func (TextDocumentStatisticsAttributes) InternalRef

func (TextDocumentStatisticsAttributes) InternalTokens

func (tds TextDocumentStatisticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TextDocumentStatisticsAttributes) InternalWithRef

type TextDocumentStatisticsState

type TextDocumentStatisticsState struct {
	IndexedTextBytes          float64 `json:"indexed_text_bytes"`
	IndexedTextDocumentsCount float64 `json:"indexed_text_documents_count"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type UserGroupResolutionConfiguration

type UserGroupResolutionConfiguration struct {
	// UserGroupResolutionMode: string, required
	UserGroupResolutionMode terra.StringValue `hcl:"user_group_resolution_mode,attr" validate:"required"`
}

type UserGroupResolutionConfigurationAttributes

type UserGroupResolutionConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (UserGroupResolutionConfigurationAttributes) InternalRef

func (UserGroupResolutionConfigurationAttributes) InternalTokens

func (UserGroupResolutionConfigurationAttributes) InternalWithRef

func (UserGroupResolutionConfigurationAttributes) UserGroupResolutionMode

func (ugrc UserGroupResolutionConfigurationAttributes) UserGroupResolutionMode() terra.StringValue

type UserGroupResolutionConfigurationState

type UserGroupResolutionConfigurationState struct {
	UserGroupResolutionMode string `json:"user_group_resolution_mode"`
}

type UserTokenConfigurations

type UserTokenConfigurations struct {
	// JsonTokenTypeConfiguration: optional
	JsonTokenTypeConfiguration *JsonTokenTypeConfiguration `hcl:"json_token_type_configuration,block"`
	// JwtTokenTypeConfiguration: optional
	JwtTokenTypeConfiguration *JwtTokenTypeConfiguration `hcl:"jwt_token_type_configuration,block"`
}

type UserTokenConfigurationsAttributes

type UserTokenConfigurationsAttributes struct {
	// contains filtered or unexported fields
}

func (UserTokenConfigurationsAttributes) InternalRef

func (UserTokenConfigurationsAttributes) InternalTokens

func (utc UserTokenConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserTokenConfigurationsAttributes) InternalWithRef

func (UserTokenConfigurationsAttributes) JsonTokenTypeConfiguration

func (UserTokenConfigurationsAttributes) JwtTokenTypeConfiguration

type UserTokenConfigurationsState

type UserTokenConfigurationsState struct {
	JsonTokenTypeConfiguration []JsonTokenTypeConfigurationState `json:"json_token_type_configuration"`
	JwtTokenTypeConfiguration  []JwtTokenTypeConfigurationState  `json:"jwt_token_type_configuration"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL