| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.DeleteConstraint
Description
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.
Constructors
| DeleteConstraint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteConstraint |
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
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.
Constructors
| DeleteConstraintResponse' | |
Fields
| |
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.