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 specified constraint.
Synopsis
- data DescribeConstraint = DescribeConstraint' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDescribeConstraint :: Text -> DescribeConstraint
- describeConstraint_acceptLanguage :: Lens' DescribeConstraint (Maybe Text)
- describeConstraint_id :: Lens' DescribeConstraint Text
- data DescribeConstraintResponse = DescribeConstraintResponse' {}
- newDescribeConstraintResponse :: Int -> DescribeConstraintResponse
- describeConstraintResponse_status :: Lens' DescribeConstraintResponse (Maybe RequestStatus)
- describeConstraintResponse_constraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)
- describeConstraintResponse_constraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)
- describeConstraintResponse_httpStatus :: Lens' DescribeConstraintResponse Int
Creating a Request
data DescribeConstraint Source #
See: newDescribeConstraint
smart constructor.
DescribeConstraint' | |
|
Instances
newDescribeConstraint Source #
Create a value of DescribeConstraint
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:acceptLanguage:DescribeConstraint'
, describeConstraint_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeConstraint'
, describeConstraint_id
- The identifier of the constraint.
Request Lenses
describeConstraint_acceptLanguage :: Lens' DescribeConstraint (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeConstraint_id :: Lens' DescribeConstraint Text Source #
The identifier of the constraint.
Destructuring the Response
data DescribeConstraintResponse Source #
See: newDescribeConstraintResponse
smart constructor.
DescribeConstraintResponse' | |
|
Instances
newDescribeConstraintResponse Source #
Create a value of DescribeConstraintResponse
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:status:DescribeConstraintResponse'
, describeConstraintResponse_status
- The status of the current request.
$sel:constraintDetail:DescribeConstraintResponse'
, describeConstraintResponse_constraintDetail
- Information about the constraint.
$sel:constraintParameters:DescribeConstraintResponse'
, describeConstraintResponse_constraintParameters
- The constraint parameters.
$sel:httpStatus:DescribeConstraintResponse'
, describeConstraintResponse_httpStatus
- The response's http status code.
Response Lenses
describeConstraintResponse_status :: Lens' DescribeConstraintResponse (Maybe RequestStatus) Source #
The status of the current request.
describeConstraintResponse_constraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail) Source #
Information about the constraint.
describeConstraintResponse_constraintParameters :: Lens' DescribeConstraintResponse (Maybe Text) Source #
The constraint parameters.
describeConstraintResponse_httpStatus :: Lens' DescribeConstraintResponse Int Source #
The response's http status code.