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 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.
DeleteNetworkInsightsPath' | |
|
Instances
newDeleteNetworkInsightsPath Source #
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.
DeleteNetworkInsightsPathResponse' | |
|
Instances
Generic DeleteNetworkInsightsPathResponse Source # | |
Read DeleteNetworkInsightsPathResponse Source # | |
Show DeleteNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkInsightsPath | |
NFData DeleteNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkInsightsPath rnf :: DeleteNetworkInsightsPathResponse -> () # | |
Eq DeleteNetworkInsightsPathResponse Source # | |
type Rep DeleteNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.DeleteNetworkInsightsPath type Rep DeleteNetworkInsightsPathResponse = D1 ('MetaData "DeleteNetworkInsightsPathResponse" "Amazonka.EC2.DeleteNetworkInsightsPath" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteNetworkInsightsPathResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInsightsPathId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteNetworkInsightsPathResponse Source #
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.