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.EC2.DeleteNetworkInsightsPath
Description
Deletes the specified path.
Synopsis
- data DeleteNetworkInsightsPath = DeleteNetworkInsightsPath' {}
- newDeleteNetworkInsightsPath :: Text -> DeleteNetworkInsightsPath
- deleteNetworkInsightsPath_dryRun :: Lens' DeleteNetworkInsightsPath (Maybe Bool)
- deleteNetworkInsightsPath_networkInsightsPathId :: Lens' DeleteNetworkInsightsPath Text
- data DeleteNetworkInsightsPathResponse = DeleteNetworkInsightsPathResponse' {}
- newDeleteNetworkInsightsPathResponse :: Int -> DeleteNetworkInsightsPathResponse
- deleteNetworkInsightsPathResponse_networkInsightsPathId :: Lens' DeleteNetworkInsightsPathResponse (Maybe Text)
- deleteNetworkInsightsPathResponse_httpStatus :: Lens' DeleteNetworkInsightsPathResponse Int
Creating a Request
data DeleteNetworkInsightsPath Source #
See: newDeleteNetworkInsightsPath
smart constructor.
Constructors
DeleteNetworkInsightsPath' | |
Fields
|
Instances
newDeleteNetworkInsightsPath Source #
Arguments
:: Text | |
-> DeleteNetworkInsightsPath |
Create a value of DeleteNetworkInsightsPath
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:DeleteNetworkInsightsPath'
, deleteNetworkInsightsPath_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
.
DeleteNetworkInsightsPath
, deleteNetworkInsightsPath_networkInsightsPathId
- The ID of the path.
Request Lenses
deleteNetworkInsightsPath_dryRun :: Lens' DeleteNetworkInsightsPath (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
.
deleteNetworkInsightsPath_networkInsightsPathId :: Lens' DeleteNetworkInsightsPath Text Source #
The ID of the path.
Destructuring the Response
data DeleteNetworkInsightsPathResponse Source #
See: newDeleteNetworkInsightsPathResponse
smart constructor.
Constructors
DeleteNetworkInsightsPathResponse' | |
Fields
|
Instances
newDeleteNetworkInsightsPathResponse Source #
Arguments
:: Int | |
-> DeleteNetworkInsightsPathResponse |
Create a value of DeleteNetworkInsightsPathResponse
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:
DeleteNetworkInsightsPath
, deleteNetworkInsightsPathResponse_networkInsightsPathId
- The ID of the path.
$sel:httpStatus:DeleteNetworkInsightsPathResponse'
, deleteNetworkInsightsPathResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNetworkInsightsPathResponse_networkInsightsPathId :: Lens' DeleteNetworkInsightsPathResponse (Maybe Text) Source #
The ID of the path.
deleteNetworkInsightsPathResponse_httpStatus :: Lens' DeleteNetworkInsightsPathResponse Int Source #
The response's http status code.