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