amazonka-cloudsearch-2.0: Amazon CloudSearch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudSearch.DefineIndexField

Description

Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.

Synopsis

Creating a Request

data DefineIndexField Source #

Container for the parameters to the DefineIndexField operation. Specifies the name of the domain you want to update and the index field configuration.

See: newDefineIndexField smart constructor.

Constructors

DefineIndexField' 

Fields

Instances

Instances details
ToHeaders DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

ToPath DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

ToQuery DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

AWSRequest DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Associated Types

type AWSResponse DefineIndexField #

Generic DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Associated Types

type Rep DefineIndexField :: Type -> Type #

Read DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Show DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

NFData DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Methods

rnf :: DefineIndexField -> () #

Eq DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Hashable DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

type AWSResponse DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

type Rep DefineIndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

type Rep DefineIndexField = D1 ('MetaData "DefineIndexField" "Amazonka.CloudSearch.DefineIndexField" "amazonka-cloudsearch-2.0-A2SXRDW2ivUDvdOgQgoVJQ" 'False) (C1 ('MetaCons "DefineIndexField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IndexField)))

newDefineIndexField Source #

Create a value of DefineIndexField with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DefineIndexField, defineIndexField_domainName - Undocumented member.

DefineIndexField, defineIndexField_indexField - The index field and field options you want to configure.

Request Lenses

defineIndexField_indexField :: Lens' DefineIndexField IndexField Source #

The index field and field options you want to configure.

Destructuring the Response

data DefineIndexFieldResponse Source #

The result of a DefineIndexField request. Contains the status of the newly-configured index field.

See: newDefineIndexFieldResponse smart constructor.

Constructors

DefineIndexFieldResponse' 

Fields

Instances

Instances details
Generic DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Associated Types

type Rep DefineIndexFieldResponse :: Type -> Type #

Read DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Show DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

NFData DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

Eq DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

type Rep DefineIndexFieldResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineIndexField

type Rep DefineIndexFieldResponse = D1 ('MetaData "DefineIndexFieldResponse" "Amazonka.CloudSearch.DefineIndexField" "amazonka-cloudsearch-2.0-A2SXRDW2ivUDvdOgQgoVJQ" 'False) (C1 ('MetaCons "DefineIndexFieldResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "indexField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IndexFieldStatus)))

newDefineIndexFieldResponse Source #

Create a value of DefineIndexFieldResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DefineIndexFieldResponse', defineIndexFieldResponse_httpStatus - The response's http status code.

DefineIndexField, defineIndexFieldResponse_indexField - Undocumented member.

Response Lenses