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 |
Creates a path to analyze for reachability.
Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see What is Reachability Analyzer.
Synopsis
- data CreateNetworkInsightsPath = CreateNetworkInsightsPath' {}
- newCreateNetworkInsightsPath :: Text -> Text -> Protocol -> Text -> CreateNetworkInsightsPath
- createNetworkInsightsPath_destinationIp :: Lens' CreateNetworkInsightsPath (Maybe Text)
- createNetworkInsightsPath_destinationPort :: Lens' CreateNetworkInsightsPath (Maybe Natural)
- createNetworkInsightsPath_dryRun :: Lens' CreateNetworkInsightsPath (Maybe Bool)
- createNetworkInsightsPath_sourceIp :: Lens' CreateNetworkInsightsPath (Maybe Text)
- createNetworkInsightsPath_tagSpecifications :: Lens' CreateNetworkInsightsPath (Maybe [TagSpecification])
- createNetworkInsightsPath_source :: Lens' CreateNetworkInsightsPath Text
- createNetworkInsightsPath_destination :: Lens' CreateNetworkInsightsPath Text
- createNetworkInsightsPath_protocol :: Lens' CreateNetworkInsightsPath Protocol
- createNetworkInsightsPath_clientToken :: Lens' CreateNetworkInsightsPath Text
- data CreateNetworkInsightsPathResponse = CreateNetworkInsightsPathResponse' {}
- newCreateNetworkInsightsPathResponse :: Int -> CreateNetworkInsightsPathResponse
- createNetworkInsightsPathResponse_networkInsightsPath :: Lens' CreateNetworkInsightsPathResponse (Maybe NetworkInsightsPath)
- createNetworkInsightsPathResponse_httpStatus :: Lens' CreateNetworkInsightsPathResponse Int
Creating a Request
data CreateNetworkInsightsPath Source #
See: newCreateNetworkInsightsPath
smart constructor.
CreateNetworkInsightsPath' | |
|
Instances
newCreateNetworkInsightsPath Source #
:: Text | |
-> Text | |
-> Protocol | |
-> Text | |
-> CreateNetworkInsightsPath |
Create a value of CreateNetworkInsightsPath
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:
CreateNetworkInsightsPath
, createNetworkInsightsPath_destinationIp
- The IP address of the Amazon Web Services resource that is the
destination of the path.
CreateNetworkInsightsPath
, createNetworkInsightsPath_destinationPort
- The destination port.
$sel:dryRun:CreateNetworkInsightsPath'
, createNetworkInsightsPath_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
.
CreateNetworkInsightsPath
, createNetworkInsightsPath_sourceIp
- The IP address of the Amazon Web Services resource that is the source of
the path.
CreateNetworkInsightsPath
, createNetworkInsightsPath_tagSpecifications
- The tags to add to the path.
CreateNetworkInsightsPath
, createNetworkInsightsPath_source
- The Amazon Web Services resource that is the source of the path.
CreateNetworkInsightsPath
, createNetworkInsightsPath_destination
- The Amazon Web Services resource that is the destination of the path.
CreateNetworkInsightsPath
, createNetworkInsightsPath_protocol
- The protocol.
CreateNetworkInsightsPath
, createNetworkInsightsPath_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
Request Lenses
createNetworkInsightsPath_destinationIp :: Lens' CreateNetworkInsightsPath (Maybe Text) Source #
The IP address of the Amazon Web Services resource that is the destination of the path.
createNetworkInsightsPath_destinationPort :: Lens' CreateNetworkInsightsPath (Maybe Natural) Source #
The destination port.
createNetworkInsightsPath_dryRun :: Lens' CreateNetworkInsightsPath (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
.
createNetworkInsightsPath_sourceIp :: Lens' CreateNetworkInsightsPath (Maybe Text) Source #
The IP address of the Amazon Web Services resource that is the source of the path.
createNetworkInsightsPath_tagSpecifications :: Lens' CreateNetworkInsightsPath (Maybe [TagSpecification]) Source #
The tags to add to the path.
createNetworkInsightsPath_source :: Lens' CreateNetworkInsightsPath Text Source #
The Amazon Web Services resource that is the source of the path.
createNetworkInsightsPath_destination :: Lens' CreateNetworkInsightsPath Text Source #
The Amazon Web Services resource that is the destination of the path.
createNetworkInsightsPath_protocol :: Lens' CreateNetworkInsightsPath Protocol Source #
The protocol.
createNetworkInsightsPath_clientToken :: Lens' CreateNetworkInsightsPath Text Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Destructuring the Response
data CreateNetworkInsightsPathResponse Source #
See: newCreateNetworkInsightsPathResponse
smart constructor.
CreateNetworkInsightsPathResponse' | |
|
Instances
Generic CreateNetworkInsightsPathResponse Source # | |
Read CreateNetworkInsightsPathResponse Source # | |
Show CreateNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.CreateNetworkInsightsPath | |
NFData CreateNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.CreateNetworkInsightsPath rnf :: CreateNetworkInsightsPathResponse -> () # | |
Eq CreateNetworkInsightsPathResponse Source # | |
type Rep CreateNetworkInsightsPathResponse Source # | |
Defined in Amazonka.EC2.CreateNetworkInsightsPath type Rep CreateNetworkInsightsPathResponse = D1 ('MetaData "CreateNetworkInsightsPathResponse" "Amazonka.EC2.CreateNetworkInsightsPath" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateNetworkInsightsPathResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInsightsPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInsightsPath)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateNetworkInsightsPathResponse Source #
Create a value of CreateNetworkInsightsPathResponse
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:networkInsightsPath:CreateNetworkInsightsPathResponse'
, createNetworkInsightsPathResponse_networkInsightsPath
- Information about the path.
$sel:httpStatus:CreateNetworkInsightsPathResponse'
, createNetworkInsightsPathResponse_httpStatus
- The response's http status code.
Response Lenses
createNetworkInsightsPathResponse_networkInsightsPath :: Lens' CreateNetworkInsightsPathResponse (Maybe NetworkInsightsPath) Source #
Information about the path.
createNetworkInsightsPathResponse_httpStatus :: Lens' CreateNetworkInsightsPathResponse Int Source #
The response's http status code.