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 |
Deletes one or more flow logs.
Synopsis
- data DeleteFlowLogs = DeleteFlowLogs' {
- dryRun :: Maybe Bool
- flowLogIds :: [Text]
- newDeleteFlowLogs :: DeleteFlowLogs
- deleteFlowLogs_dryRun :: Lens' DeleteFlowLogs (Maybe Bool)
- deleteFlowLogs_flowLogIds :: Lens' DeleteFlowLogs [Text]
- data DeleteFlowLogsResponse = DeleteFlowLogsResponse' {}
- newDeleteFlowLogsResponse :: Int -> DeleteFlowLogsResponse
- deleteFlowLogsResponse_unsuccessful :: Lens' DeleteFlowLogsResponse (Maybe [UnsuccessfulItem])
- deleteFlowLogsResponse_httpStatus :: Lens' DeleteFlowLogsResponse Int
Creating a Request
data DeleteFlowLogs Source #
See: newDeleteFlowLogs
smart constructor.
DeleteFlowLogs' | |
|
Instances
newDeleteFlowLogs :: DeleteFlowLogs Source #
Create a value of DeleteFlowLogs
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:dryRun:DeleteFlowLogs'
, deleteFlowLogs_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:flowLogIds:DeleteFlowLogs'
, deleteFlowLogs_flowLogIds
- One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
Request Lenses
deleteFlowLogs_dryRun :: Lens' DeleteFlowLogs (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deleteFlowLogs_flowLogIds :: Lens' DeleteFlowLogs [Text] Source #
One or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
Destructuring the Response
data DeleteFlowLogsResponse Source #
See: newDeleteFlowLogsResponse
smart constructor.
DeleteFlowLogsResponse' | |
|
Instances
newDeleteFlowLogsResponse Source #
Create a value of DeleteFlowLogsResponse
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:unsuccessful:DeleteFlowLogsResponse'
, deleteFlowLogsResponse_unsuccessful
- Information about the flow logs that could not be deleted successfully.
$sel:httpStatus:DeleteFlowLogsResponse'
, deleteFlowLogsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFlowLogsResponse_unsuccessful :: Lens' DeleteFlowLogsResponse (Maybe [UnsuccessfulItem]) Source #
Information about the flow logs that could not be deleted successfully.
deleteFlowLogsResponse_httpStatus :: Lens' DeleteFlowLogsResponse Int Source #
The response's http status code.