| 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.BatchDeleteBuilds
Description
Deletes one or more builds.
Synopsis
- data BatchDeleteBuilds = BatchDeleteBuilds' {}
- newBatchDeleteBuilds :: NonEmpty Text -> BatchDeleteBuilds
- batchDeleteBuilds_ids :: Lens' BatchDeleteBuilds (NonEmpty Text)
- data BatchDeleteBuildsResponse = BatchDeleteBuildsResponse' {}
- newBatchDeleteBuildsResponse :: Int -> BatchDeleteBuildsResponse
- batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text))
- batchDeleteBuildsResponse_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted])
- batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int
Creating a Request
data BatchDeleteBuilds Source #
See: newBatchDeleteBuilds smart constructor.
Constructors
| BatchDeleteBuilds' | |
Instances
Arguments
| :: NonEmpty Text | |
| -> BatchDeleteBuilds |
Create a value of BatchDeleteBuilds 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:ids:BatchDeleteBuilds', batchDeleteBuilds_ids - The IDs of the builds to delete.
Request Lenses
batchDeleteBuilds_ids :: Lens' BatchDeleteBuilds (NonEmpty Text) Source #
The IDs of the builds to delete.
Destructuring the Response
data BatchDeleteBuildsResponse Source #
See: newBatchDeleteBuildsResponse smart constructor.
Constructors
| BatchDeleteBuildsResponse' | |
Fields
| |
Instances
newBatchDeleteBuildsResponse Source #
Create a value of BatchDeleteBuildsResponse 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:BatchDeleteBuildsResponse', batchDeleteBuildsResponse_buildsDeleted - The IDs of the builds that were successfully deleted.
$sel:buildsNotDeleted:BatchDeleteBuildsResponse', batchDeleteBuildsResponse_buildsNotDeleted - Information about any builds that could not be successfully deleted.
$sel:httpStatus:BatchDeleteBuildsResponse', batchDeleteBuildsResponse_httpStatus - The response's http status code.
Response Lenses
batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text)) Source #
The IDs of the builds that were successfully deleted.
batchDeleteBuildsResponse_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted]) Source #
Information about any builds that could not be successfully deleted.
batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int Source #
The response's http status code.