libZSservicesZSamazonka-personalizeZSamazonka-personalize
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Personalize.CreateFilter

Description

Creates a recommendation filter. For more information, see filter.

Synopsis

Creating a Request

data CreateFilter Source #

See: newCreateFilter smart constructor.

Constructors

CreateFilter' 

Fields

  • name :: Text

    The name of the filter to create.

  • datasetGroupArn :: Text

    The ARN of the dataset group that the filter will belong to.

  • filterExpression :: Sensitive Text

    The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.

Instances

Instances details
Eq CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Show CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Generic CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Associated Types

type Rep CreateFilter :: Type -> Type #

NFData CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Methods

rnf :: CreateFilter -> () #

Hashable CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

ToJSON CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

AWSRequest CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Associated Types

type AWSResponse CreateFilter #

ToHeaders CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

ToPath CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

ToQuery CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

type Rep CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

type Rep CreateFilter = D1 ('MetaData "CreateFilter" "Amazonka.Personalize.CreateFilter" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "CreateFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "datasetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "filterExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))
type AWSResponse CreateFilter Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

newCreateFilter Source #

Create a value of CreateFilter 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:name:CreateFilter', createFilter_name - The name of the filter to create.

$sel:datasetGroupArn:CreateFilter', createFilter_datasetGroupArn - The ARN of the dataset group that the filter will belong to.

$sel:filterExpression:CreateFilter', createFilter_filterExpression - The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.

Request Lenses

createFilter_name :: Lens' CreateFilter Text Source #

The name of the filter to create.

createFilter_datasetGroupArn :: Lens' CreateFilter Text Source #

The ARN of the dataset group that the filter will belong to.

createFilter_filterExpression :: Lens' CreateFilter Text Source #

The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.

Destructuring the Response

data CreateFilterResponse Source #

See: newCreateFilterResponse smart constructor.

Constructors

CreateFilterResponse' 

Fields

Instances

Instances details
Eq CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Read CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Show CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Generic CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Associated Types

type Rep CreateFilterResponse :: Type -> Type #

NFData CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

Methods

rnf :: CreateFilterResponse -> () #

type Rep CreateFilterResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateFilter

type Rep CreateFilterResponse = D1 ('MetaData "CreateFilterResponse" "Amazonka.Personalize.CreateFilter" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "CreateFilterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateFilterResponse Source #

Create a value of CreateFilterResponse 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:filterArn:CreateFilterResponse', createFilterResponse_filterArn - The ARN of the new filter.

$sel:httpStatus:CreateFilterResponse', createFilterResponse_httpStatus - The response's http status code.

Response Lenses