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 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_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted])
- batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text))
- batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int
Creating a Request
data BatchDeleteBuilds Source #
See: newBatchDeleteBuilds
smart constructor.
Instances
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.
BatchDeleteBuildsResponse' | |
|
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:buildsNotDeleted:BatchDeleteBuildsResponse'
, batchDeleteBuildsResponse_buildsNotDeleted
- Information about any builds that could not be successfully deleted.
$sel:buildsDeleted:BatchDeleteBuildsResponse'
, batchDeleteBuildsResponse_buildsDeleted
- The IDs of the builds that were successfully deleted.
$sel:httpStatus:BatchDeleteBuildsResponse'
, batchDeleteBuildsResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteBuildsResponse_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted]) Source #
Information about any builds that could not be successfully deleted.
batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text)) Source #
The IDs of the builds that were successfully deleted.
batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int Source #
The response's http status code.