| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearch.DeleteIndexField
Description
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.
Constructors
| DeleteIndexField' | |
Fields
| |
Instances
Arguments
| :: 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:
DeleteIndexField, deleteIndexField_domainName - Undocumented member.
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.
Constructors
| DeleteIndexFieldResponse' | |
Fields
| |
Instances
newDeleteIndexFieldResponse Source #
Arguments
| :: Int | |
| -> IndexFieldStatus | |
| -> DeleteIndexFieldResponse |
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.