Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Removes an IndexField
from the search domain. For more information,
see
Configuring Index Fields
in the Amazon CloudSearch Developer Guide.
Synopsis
- data DeleteIndexField = DeleteIndexField' {
- domainName :: Text
- indexFieldName :: Text
- newDeleteIndexField :: Text -> Text -> DeleteIndexField
- deleteIndexField_domainName :: Lens' DeleteIndexField Text
- deleteIndexField_indexFieldName :: Lens' DeleteIndexField Text
- data DeleteIndexFieldResponse = DeleteIndexFieldResponse' {}
- newDeleteIndexFieldResponse :: Int -> IndexFieldStatus -> DeleteIndexFieldResponse
- deleteIndexFieldResponse_httpStatus :: Lens' DeleteIndexFieldResponse Int
- deleteIndexFieldResponse_indexField :: Lens' DeleteIndexFieldResponse IndexFieldStatus
Creating a Request
data DeleteIndexField Source #
Container for the parameters to the DeleteIndexField
operation.
Specifies the name of the domain you want to update and the name of the
index field you want to delete.
See: newDeleteIndexField
smart constructor.
DeleteIndexField' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteIndexField |
Create a value of DeleteIndexField
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:domainName:DeleteIndexField'
, deleteIndexField_domainName
- Undocumented member.
$sel:indexFieldName:DeleteIndexField'
, deleteIndexField_indexFieldName
- The name of the index field your want to remove from the domain's
indexing options.
Request Lenses
deleteIndexField_domainName :: Lens' DeleteIndexField Text Source #
Undocumented member.
deleteIndexField_indexFieldName :: Lens' DeleteIndexField Text Source #
The name of the index field your want to remove from the domain's indexing options.
Destructuring the Response
data DeleteIndexFieldResponse Source #
The result of a DeleteIndexField
request.
See: newDeleteIndexFieldResponse
smart constructor.
DeleteIndexFieldResponse' | |
|
Instances
newDeleteIndexFieldResponse Source #
Create a value of DeleteIndexFieldResponse
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:DeleteIndexFieldResponse'
, deleteIndexFieldResponse_httpStatus
- The response's http status code.
$sel:indexField:DeleteIndexFieldResponse'
, deleteIndexFieldResponse_indexField
- The status of the index field being deleted.
Response Lenses
deleteIndexFieldResponse_httpStatus :: Lens' DeleteIndexFieldResponse Int Source #
The response's http status code.
deleteIndexFieldResponse_indexField :: Lens' DeleteIndexFieldResponse IndexFieldStatus Source #
The status of the index field being deleted.