Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets information about the specified constraint.
Synopsis
- describeConstraint :: Text -> DescribeConstraint
- data DescribeConstraint
- dAcceptLanguage :: Lens' DescribeConstraint (Maybe Text)
- dId :: Lens' DescribeConstraint Text
- describeConstraintResponse :: Int -> DescribeConstraintResponse
- data DescribeConstraintResponse
- desrsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)
- desrsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)
- desrsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)
- desrsResponseStatus :: 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. *en
- English (default) *jp
- Japanese *zh
- ChinesedId
- The identifier of the constraint.
data DescribeConstraint Source #
See: describeConstraint
smart constructor.
Instances
Request Lenses
dAcceptLanguage :: Lens' DescribeConstraint (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
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:
desrsStatus
- The status of the current request.desrsConstraintDetail
- Information about the constraint.desrsConstraintParameters
- The constraint parameters.desrsResponseStatus
- -- | The response status code.
data DescribeConstraintResponse Source #
See: describeConstraintResponse
smart constructor.
Instances
Response Lenses
desrsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus) Source #
The status of the current request.
desrsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail) Source #
Information about the constraint.
desrsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text) Source #
The constraint parameters.
desrsResponseStatus :: Lens' DescribeConstraintResponse Int Source #
- - | The response status code.