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 the expressions configured for the search domain. Can be limited to
specific expressions by name. By default, shows all expressions 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
Configuring Expressions
in the Amazon CloudSearch Developer Guide.
Synopsis
- data DescribeExpressions = DescribeExpressions' {
- deployed :: Maybe Bool
- expressionNames :: Maybe [Text]
- domainName :: Text
- newDescribeExpressions :: Text -> DescribeExpressions
- describeExpressions_deployed :: Lens' DescribeExpressions (Maybe Bool)
- describeExpressions_expressionNames :: Lens' DescribeExpressions (Maybe [Text])
- describeExpressions_domainName :: Lens' DescribeExpressions Text
- data DescribeExpressionsResponse = DescribeExpressionsResponse' {
- httpStatus :: Int
- expressions :: [ExpressionStatus]
- newDescribeExpressionsResponse :: Int -> DescribeExpressionsResponse
- describeExpressionsResponse_httpStatus :: Lens' DescribeExpressionsResponse Int
- describeExpressionsResponse_expressions :: Lens' DescribeExpressionsResponse [ExpressionStatus]
Creating a Request
data DescribeExpressions Source #
Container for the parameters to the DescribeDomains
operation.
Specifies the name of the domain you want to describe. To restrict the
response to particular expressions, specify the names of the expressions
you want to describe. To show the active configuration and exclude any
pending changes, set the Deployed
option to true
.
See: newDescribeExpressions
smart constructor.
DescribeExpressions' | |
|
Instances
newDescribeExpressions Source #
Create a value of DescribeExpressions
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:DescribeExpressions'
, describeExpressions_deployed
- Whether to display the deployed configuration (true
) or include any
pending changes (false
). Defaults to false
.
$sel:expressionNames:DescribeExpressions'
, describeExpressions_expressionNames
- Limits the DescribeExpressions
response to the specified expressions.
If not specified, all expressions are shown.
$sel:domainName:DescribeExpressions'
, describeExpressions_domainName
- The name of the domain you want to describe.
Request Lenses
describeExpressions_deployed :: Lens' DescribeExpressions (Maybe Bool) Source #
Whether to display the deployed configuration (true
) or include any
pending changes (false
). Defaults to false
.
describeExpressions_expressionNames :: Lens' DescribeExpressions (Maybe [Text]) Source #
Limits the DescribeExpressions
response to the specified expressions.
If not specified, all expressions are shown.
describeExpressions_domainName :: Lens' DescribeExpressions Text Source #
The name of the domain you want to describe.
Destructuring the Response
data DescribeExpressionsResponse Source #
The result of a DescribeExpressions
request. Contains the expressions
configured for the domain specified in the request.
See: newDescribeExpressionsResponse
smart constructor.
DescribeExpressionsResponse' | |
|
Instances
newDescribeExpressionsResponse Source #
Create a value of DescribeExpressionsResponse
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:DescribeExpressionsResponse'
, describeExpressionsResponse_httpStatus
- The response's http status code.
$sel:expressions:DescribeExpressionsResponse'
, describeExpressionsResponse_expressions
- The expressions configured for the domain.
Response Lenses
describeExpressionsResponse_httpStatus :: Lens' DescribeExpressionsResponse Int Source #
The response's http status code.
describeExpressionsResponse_expressions :: Lens' DescribeExpressionsResponse [ExpressionStatus] Source #
The expressions configured for the domain.