Copyright | (c) 2013-2016 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 |
Retrieves detailed information for a specified constraint.
- describeConstraint :: Text -> DescribeConstraint
- data DescribeConstraint
- dAcceptLanguage :: Lens' DescribeConstraint (Maybe Text)
- dId :: Lens' DescribeConstraint Text
- describeConstraintResponse :: Int -> DescribeConstraintResponse
- data DescribeConstraintResponse
- drsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)
- drsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)
- drsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)
- drsResponseStatus :: Lens' DescribeConstraintResponse Int
Creating a Request
Creates a value of DescribeConstraint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAcceptLanguage
- The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.dId
- The identifier of the constraint.
data DescribeConstraint Source #
See: describeConstraint
smart constructor.
Request Lenses
dAcceptLanguage :: Lens' DescribeConstraint (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
Destructuring the Response
describeConstraintResponse Source #
Creates a value of DescribeConstraintResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsStatus
- The status of the current request.drsConstraintDetail
- Detailed constraint information.drsConstraintParameters
- The current parameters associated with the specified constraint.drsResponseStatus
- -- | The response status code.
data DescribeConstraintResponse Source #
See: describeConstraintResponse
smart constructor.
Response Lenses
drsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus) Source #
The status of the current request.
drsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail) Source #
Detailed constraint information.
drsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text) Source #
The current parameters associated with the specified constraint.
drsResponseStatus :: Lens' DescribeConstraintResponse Int Source #
- - | The response status code.