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 a core definition.
Synopsis
- data DeleteCoreDefinition = DeleteCoreDefinition' {}
- newDeleteCoreDefinition :: Text -> DeleteCoreDefinition
- deleteCoreDefinition_coreDefinitionId :: Lens' DeleteCoreDefinition Text
- data DeleteCoreDefinitionResponse = DeleteCoreDefinitionResponse' {
- httpStatus :: Int
- newDeleteCoreDefinitionResponse :: Int -> DeleteCoreDefinitionResponse
- deleteCoreDefinitionResponse_httpStatus :: Lens' DeleteCoreDefinitionResponse Int
Creating a Request
data DeleteCoreDefinition Source #
See: newDeleteCoreDefinition
smart constructor.
DeleteCoreDefinition' | |
|
Instances
newDeleteCoreDefinition Source #
Create a value of DeleteCoreDefinition
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:coreDefinitionId:DeleteCoreDefinition'
, deleteCoreDefinition_coreDefinitionId
- The ID of the core definition.
Request Lenses
deleteCoreDefinition_coreDefinitionId :: Lens' DeleteCoreDefinition Text Source #
The ID of the core definition.
Destructuring the Response
data DeleteCoreDefinitionResponse Source #
See: newDeleteCoreDefinitionResponse
smart constructor.
DeleteCoreDefinitionResponse' | |
|
Instances
newDeleteCoreDefinitionResponse Source #
Create a value of DeleteCoreDefinitionResponse
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:DeleteCoreDefinitionResponse'
, deleteCoreDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCoreDefinitionResponse_httpStatus :: Lens' DeleteCoreDefinitionResponse Int Source #
The response's http status code.