Copyright | (c) 2013-2017 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 |
Updates an existing constraint.
- updateConstraint :: Text -> UpdateConstraint
- data UpdateConstraint
- ucAcceptLanguage :: Lens' UpdateConstraint (Maybe Text)
- ucDescription :: Lens' UpdateConstraint (Maybe Text)
- ucId :: Lens' UpdateConstraint Text
- updateConstraintResponse :: Int -> UpdateConstraintResponse
- data UpdateConstraintResponse
- ucrsStatus :: Lens' UpdateConstraintResponse (Maybe RequestStatus)
- ucrsConstraintDetail :: Lens' UpdateConstraintResponse (Maybe ConstraintDetail)
- ucrsConstraintParameters :: Lens' UpdateConstraintResponse (Maybe Text)
- ucrsResponseStatus :: Lens' UpdateConstraintResponse Int
Creating a Request
:: Text | |
-> UpdateConstraint |
Creates a value of UpdateConstraint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineseucDescription
- The updated text description of the constraint.ucId
- The identifier of the constraint to update.
data UpdateConstraint Source #
See: updateConstraint
smart constructor.
Request Lenses
ucAcceptLanguage :: Lens' UpdateConstraint (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
ucDescription :: Lens' UpdateConstraint (Maybe Text) Source #
The updated text description of the constraint.
Destructuring the Response
updateConstraintResponse Source #
Creates a value of UpdateConstraintResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrsStatus
- The status of the current request.ucrsConstraintDetail
- The resulting detailed constraint information.ucrsConstraintParameters
- The resulting updated constraint parameters.ucrsResponseStatus
- -- | The response status code.
data UpdateConstraintResponse Source #
See: updateConstraintResponse
smart constructor.
Response Lenses
ucrsStatus :: Lens' UpdateConstraintResponse (Maybe RequestStatus) Source #
The status of the current request.
ucrsConstraintDetail :: Lens' UpdateConstraintResponse (Maybe ConstraintDetail) Source #
The resulting detailed constraint information.
ucrsConstraintParameters :: Lens' UpdateConstraintResponse (Maybe Text) Source #
The resulting updated constraint parameters.
ucrsResponseStatus :: Lens' UpdateConstraintResponse Int Source #
- - | The response status code.