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.DefineExpression

Description

Configures an Expression for the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.

Synopsis

Creating a Request

data DefineExpression Source #

Container for the parameters to the DefineExpression operation. Specifies the name of the domain you want to update and the expression you want to configure.

See: newDefineExpression smart constructor.

Instances

Instances details
ToHeaders DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

ToPath DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

ToQuery DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

AWSRequest DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Associated Types

type AWSResponse DefineExpression #

Generic DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Associated Types

type Rep DefineExpression :: Type -> Type #

Read DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Show DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

NFData DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Methods

rnf :: DefineExpression -> () #

Eq DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Hashable DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

type AWSResponse DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

type Rep DefineExpression Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

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

newDefineExpression Source #

Create a value of DefineExpression 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:

DefineExpression, defineExpression_domainName - Undocumented member.

DefineExpression, defineExpression_expression - Undocumented member.

Request Lenses

Destructuring the Response

data DefineExpressionResponse Source #

The result of a DefineExpression request. Contains the status of the newly-configured expression.

See: newDefineExpressionResponse smart constructor.

Constructors

DefineExpressionResponse' 

Fields

Instances

Instances details
Generic DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Associated Types

type Rep DefineExpressionResponse :: Type -> Type #

Read DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Show DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

NFData DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

Eq DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

type Rep DefineExpressionResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DefineExpression

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

newDefineExpressionResponse Source #

Create a value of DefineExpressionResponse 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:DefineExpressionResponse', defineExpressionResponse_httpStatus - The response's http status code.

DefineExpression, defineExpressionResponse_expression - Undocumented member.

Response Lenses