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 batch build.
Synopsis
- data DeleteBuildBatch = DeleteBuildBatch' {}
- newDeleteBuildBatch :: Text -> DeleteBuildBatch
- deleteBuildBatch_id :: Lens' DeleteBuildBatch Text
- data DeleteBuildBatchResponse = DeleteBuildBatchResponse' {}
- newDeleteBuildBatchResponse :: Int -> DeleteBuildBatchResponse
- deleteBuildBatchResponse_buildsNotDeleted :: Lens' DeleteBuildBatchResponse (Maybe [BuildNotDeleted])
- deleteBuildBatchResponse_buildsDeleted :: Lens' DeleteBuildBatchResponse (Maybe (NonEmpty Text))
- deleteBuildBatchResponse_statusCode :: Lens' DeleteBuildBatchResponse (Maybe Text)
- deleteBuildBatchResponse_httpStatus :: Lens' DeleteBuildBatchResponse Int
Creating a Request
data DeleteBuildBatch Source #
See: newDeleteBuildBatch
smart constructor.
Instances
Create a value of DeleteBuildBatch
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:id:DeleteBuildBatch'
, deleteBuildBatch_id
- The identifier of the batch build to delete.
Request Lenses
deleteBuildBatch_id :: Lens' DeleteBuildBatch Text Source #
The identifier of the batch build to delete.
Destructuring the Response
data DeleteBuildBatchResponse Source #
See: newDeleteBuildBatchResponse
smart constructor.
DeleteBuildBatchResponse' | |
|
Instances
newDeleteBuildBatchResponse Source #
Create a value of DeleteBuildBatchResponse
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:buildsNotDeleted:DeleteBuildBatchResponse'
, deleteBuildBatchResponse_buildsNotDeleted
- An array of BuildNotDeleted
objects that specify the builds that could
not be deleted.
$sel:buildsDeleted:DeleteBuildBatchResponse'
, deleteBuildBatchResponse_buildsDeleted
- An array of strings that contain the identifiers of the builds that were
deleted.
$sel:statusCode:DeleteBuildBatchResponse'
, deleteBuildBatchResponse_statusCode
- The status code.
$sel:httpStatus:DeleteBuildBatchResponse'
, deleteBuildBatchResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBuildBatchResponse_buildsNotDeleted :: Lens' DeleteBuildBatchResponse (Maybe [BuildNotDeleted]) Source #
An array of BuildNotDeleted
objects that specify the builds that could
not be deleted.
deleteBuildBatchResponse_buildsDeleted :: Lens' DeleteBuildBatchResponse (Maybe (NonEmpty Text)) Source #
An array of strings that contain the identifiers of the builds that were deleted.
deleteBuildBatchResponse_statusCode :: Lens' DeleteBuildBatchResponse (Maybe Text) Source #
The status code.
deleteBuildBatchResponse_httpStatus :: Lens' DeleteBuildBatchResponse Int Source #
The response's http status code.