Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for DefineIndexField.
- defineIndexField :: Text -> IndexField -> DefineIndexField
- data DefineIndexField
- defeDomainName :: Lens' DefineIndexField Text
- defeIndexField :: Lens' DefineIndexField IndexField
- defineIndexFieldResponse :: Int -> IndexFieldStatus -> DefineIndexFieldResponse
- data DefineIndexFieldResponse
- defrsStatus :: Lens' DefineIndexFieldResponse Int
- defrsIndexField :: Lens' DefineIndexFieldResponse IndexFieldStatus
Creating a Request
Creates a value of DefineIndexField
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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: defineIndexField
smart constructor.
Request Lenses
defeDomainName :: Lens' DefineIndexField Text Source
Undocumented member.
defeIndexField :: Lens' DefineIndexField IndexField Source
The index field and field options you want to configure.
Destructuring the Response
defineIndexFieldResponse Source
Creates a value of DefineIndexFieldResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefineIndexFieldResponse Source
The result of a DefineIndexField
request. Contains the status of the
newly-configured index field.
See: defineIndexFieldResponse
smart constructor.
Response Lenses
defrsStatus :: Lens' DefineIndexFieldResponse Int Source
The response status code.
defrsIndexField :: Lens' DefineIndexFieldResponse IndexFieldStatus Source
Undocumented member.