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 |
Gets information about the index fields configured for the search
domain. Can be limited to specific fields by name. By default, shows all
fields and includes any pending changes to the configuration. Set the
Deployed
option to true
to show the active configuration and exclude
pending changes. For more information, see
Getting Domain Information
in the Amazon CloudSearch Developer Guide.
Synopsis
- data DescribeIndexFields = DescribeIndexFields' {
- deployed :: Maybe Bool
- fieldNames :: Maybe [Text]
- domainName :: Text
- newDescribeIndexFields :: Text -> DescribeIndexFields
- describeIndexFields_deployed :: Lens' DescribeIndexFields (Maybe Bool)
- describeIndexFields_fieldNames :: Lens' DescribeIndexFields (Maybe [Text])
- describeIndexFields_domainName :: Lens' DescribeIndexFields Text
- data DescribeIndexFieldsResponse = DescribeIndexFieldsResponse' {
- httpStatus :: Int
- indexFields :: [IndexFieldStatus]
- newDescribeIndexFieldsResponse :: Int -> DescribeIndexFieldsResponse
- describeIndexFieldsResponse_httpStatus :: Lens' DescribeIndexFieldsResponse Int
- describeIndexFieldsResponse_indexFields :: Lens' DescribeIndexFieldsResponse [IndexFieldStatus]
Creating a Request
data DescribeIndexFields Source #
Container for the parameters to the DescribeIndexFields
operation.
Specifies the name of the domain you want to describe. To restrict the
response to particular index fields, specify the names of the index
fields you want to describe. To show the active configuration and
exclude any pending changes, set the Deployed
option to true
.
See: newDescribeIndexFields
smart constructor.
DescribeIndexFields' | |
|
Instances
newDescribeIndexFields Source #
Create a value of DescribeIndexFields
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:deployed:DescribeIndexFields'
, describeIndexFields_deployed
- Whether to display the deployed configuration (true
) or include any
pending changes (false
). Defaults to false
.
$sel:fieldNames:DescribeIndexFields'
, describeIndexFields_fieldNames
- A list of the index fields you want to describe. If not specified,
information is returned for all configured index fields.
$sel:domainName:DescribeIndexFields'
, describeIndexFields_domainName
- The name of the domain you want to describe.
Request Lenses
describeIndexFields_deployed :: Lens' DescribeIndexFields (Maybe Bool) Source #
Whether to display the deployed configuration (true
) or include any
pending changes (false
). Defaults to false
.
describeIndexFields_fieldNames :: Lens' DescribeIndexFields (Maybe [Text]) Source #
A list of the index fields you want to describe. If not specified, information is returned for all configured index fields.
describeIndexFields_domainName :: Lens' DescribeIndexFields Text Source #
The name of the domain you want to describe.
Destructuring the Response
data DescribeIndexFieldsResponse Source #
The result of a DescribeIndexFields
request. Contains the index fields
configured for the domain specified in the request.
See: newDescribeIndexFieldsResponse
smart constructor.
DescribeIndexFieldsResponse' | |
|
Instances
newDescribeIndexFieldsResponse Source #
Create a value of DescribeIndexFieldsResponse
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:DescribeIndexFieldsResponse'
, describeIndexFieldsResponse_httpStatus
- The response's http status code.
$sel:indexFields:DescribeIndexFieldsResponse'
, describeIndexFieldsResponse_indexFields
- The index fields configured for the domain.
Response Lenses
describeIndexFieldsResponse_httpStatus :: Lens' DescribeIndexFieldsResponse Int Source #
The response's http status code.
describeIndexFieldsResponse_indexFields :: Lens' DescribeIndexFieldsResponse [IndexFieldStatus] Source #
The index fields configured for the domain.