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 |
Deletes the specified constraint.
A delegated admin is authorized to invoke this command.
Synopsis
- data DeleteConstraint = DeleteConstraint' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDeleteConstraint :: Text -> DeleteConstraint
- deleteConstraint_acceptLanguage :: Lens' DeleteConstraint (Maybe Text)
- deleteConstraint_id :: Lens' DeleteConstraint Text
- data DeleteConstraintResponse = DeleteConstraintResponse' {
- httpStatus :: Int
- newDeleteConstraintResponse :: Int -> DeleteConstraintResponse
- deleteConstraintResponse_httpStatus :: Lens' DeleteConstraintResponse Int
Creating a Request
data DeleteConstraint Source #
See: newDeleteConstraint
smart constructor.
DeleteConstraint' | |
|
Instances
Create a value of DeleteConstraint
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:DeleteConstraint'
, deleteConstraint_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DeleteConstraint'
, deleteConstraint_id
- The identifier of the constraint.
Request Lenses
deleteConstraint_acceptLanguage :: Lens' DeleteConstraint (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
deleteConstraint_id :: Lens' DeleteConstraint Text Source #
The identifier of the constraint.
Destructuring the Response
data DeleteConstraintResponse Source #
See: newDeleteConstraintResponse
smart constructor.
DeleteConstraintResponse' | |
|
Instances
newDeleteConstraintResponse Source #
Create a value of DeleteConstraintResponse
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:DeleteConstraintResponse'
, deleteConstraintResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConstraintResponse_httpStatus :: Lens' DeleteConstraintResponse Int Source #
The response's http status code.