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 an existing blueprint.
Synopsis
- data DeleteBlueprint = DeleteBlueprint' {}
- newDeleteBlueprint :: Text -> DeleteBlueprint
- deleteBlueprint_name :: Lens' DeleteBlueprint Text
- data DeleteBlueprintResponse = DeleteBlueprintResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newDeleteBlueprintResponse :: Int -> DeleteBlueprintResponse
- deleteBlueprintResponse_name :: Lens' DeleteBlueprintResponse (Maybe Text)
- deleteBlueprintResponse_httpStatus :: Lens' DeleteBlueprintResponse Int
Creating a Request
data DeleteBlueprint Source #
See: newDeleteBlueprint
smart constructor.
Instances
Create a value of DeleteBlueprint
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:name:DeleteBlueprint'
, deleteBlueprint_name
- The name of the blueprint to delete.
Request Lenses
deleteBlueprint_name :: Lens' DeleteBlueprint Text Source #
The name of the blueprint to delete.
Destructuring the Response
data DeleteBlueprintResponse Source #
See: newDeleteBlueprintResponse
smart constructor.
DeleteBlueprintResponse' | |
|
Instances
newDeleteBlueprintResponse Source #
Create a value of DeleteBlueprintResponse
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:name:DeleteBlueprint'
, deleteBlueprintResponse_name
- Returns the name of the blueprint that was deleted.
$sel:httpStatus:DeleteBlueprintResponse'
, deleteBlueprintResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBlueprintResponse_name :: Lens' DeleteBlueprintResponse (Maybe Text) Source #
Returns the name of the blueprint that was deleted.
deleteBlueprintResponse_httpStatus :: Lens' DeleteBlueprintResponse Int Source #
The response's http status code.