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 |
Starts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.
Synopsis
- data StartNetworkInsightsAnalysis = StartNetworkInsightsAnalysis' {}
- newStartNetworkInsightsAnalysis :: Text -> Text -> StartNetworkInsightsAnalysis
- startNetworkInsightsAnalysis_additionalAccounts :: Lens' StartNetworkInsightsAnalysis (Maybe [Text])
- startNetworkInsightsAnalysis_dryRun :: Lens' StartNetworkInsightsAnalysis (Maybe Bool)
- startNetworkInsightsAnalysis_filterInArns :: Lens' StartNetworkInsightsAnalysis (Maybe [Text])
- startNetworkInsightsAnalysis_tagSpecifications :: Lens' StartNetworkInsightsAnalysis (Maybe [TagSpecification])
- startNetworkInsightsAnalysis_networkInsightsPathId :: Lens' StartNetworkInsightsAnalysis Text
- startNetworkInsightsAnalysis_clientToken :: Lens' StartNetworkInsightsAnalysis Text
- data StartNetworkInsightsAnalysisResponse = StartNetworkInsightsAnalysisResponse' {}
- newStartNetworkInsightsAnalysisResponse :: Int -> StartNetworkInsightsAnalysisResponse
- startNetworkInsightsAnalysisResponse_networkInsightsAnalysis :: Lens' StartNetworkInsightsAnalysisResponse (Maybe NetworkInsightsAnalysis)
- startNetworkInsightsAnalysisResponse_httpStatus :: Lens' StartNetworkInsightsAnalysisResponse Int
Creating a Request
data StartNetworkInsightsAnalysis Source #
See: newStartNetworkInsightsAnalysis
smart constructor.
StartNetworkInsightsAnalysis' | |
|
Instances
newStartNetworkInsightsAnalysis Source #
:: Text | |
-> Text | |
-> StartNetworkInsightsAnalysis |
Create a value of StartNetworkInsightsAnalysis
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:
StartNetworkInsightsAnalysis
, startNetworkInsightsAnalysis_additionalAccounts
- The member accounts that contain resources that the path can traverse.
$sel:dryRun:StartNetworkInsightsAnalysis'
, startNetworkInsightsAnalysis_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
.
StartNetworkInsightsAnalysis
, startNetworkInsightsAnalysis_filterInArns
- The Amazon Resource Names (ARN) of the resources that the path must
traverse.
StartNetworkInsightsAnalysis
, startNetworkInsightsAnalysis_tagSpecifications
- The tags to apply.
StartNetworkInsightsAnalysis
, startNetworkInsightsAnalysis_networkInsightsPathId
- The ID of the path.
StartNetworkInsightsAnalysis
, startNetworkInsightsAnalysis_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
startNetworkInsightsAnalysis_additionalAccounts :: Lens' StartNetworkInsightsAnalysis (Maybe [Text]) Source #
The member accounts that contain resources that the path can traverse.
startNetworkInsightsAnalysis_dryRun :: Lens' StartNetworkInsightsAnalysis (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
.
startNetworkInsightsAnalysis_filterInArns :: Lens' StartNetworkInsightsAnalysis (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the resources that the path must traverse.
startNetworkInsightsAnalysis_tagSpecifications :: Lens' StartNetworkInsightsAnalysis (Maybe [TagSpecification]) Source #
The tags to apply.
startNetworkInsightsAnalysis_networkInsightsPathId :: Lens' StartNetworkInsightsAnalysis Text Source #
The ID of the path.
startNetworkInsightsAnalysis_clientToken :: Lens' StartNetworkInsightsAnalysis 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 StartNetworkInsightsAnalysisResponse Source #
See: newStartNetworkInsightsAnalysisResponse
smart constructor.
StartNetworkInsightsAnalysisResponse' | |
|
Instances
Generic StartNetworkInsightsAnalysisResponse Source # | |
Read StartNetworkInsightsAnalysisResponse Source # | |
Show StartNetworkInsightsAnalysisResponse Source # | |
NFData StartNetworkInsightsAnalysisResponse Source # | |
Defined in Amazonka.EC2.StartNetworkInsightsAnalysis rnf :: StartNetworkInsightsAnalysisResponse -> () # | |
Eq StartNetworkInsightsAnalysisResponse Source # | |
type Rep StartNetworkInsightsAnalysisResponse Source # | |
Defined in Amazonka.EC2.StartNetworkInsightsAnalysis type Rep StartNetworkInsightsAnalysisResponse = D1 ('MetaData "StartNetworkInsightsAnalysisResponse" "Amazonka.EC2.StartNetworkInsightsAnalysis" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "StartNetworkInsightsAnalysisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkInsightsAnalysis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInsightsAnalysis)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartNetworkInsightsAnalysisResponse Source #
Create a value of StartNetworkInsightsAnalysisResponse
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:networkInsightsAnalysis:StartNetworkInsightsAnalysisResponse'
, startNetworkInsightsAnalysisResponse_networkInsightsAnalysis
- Information about the network insights analysis.
$sel:httpStatus:StartNetworkInsightsAnalysisResponse'
, startNetworkInsightsAnalysisResponse_httpStatus
- The response's http status code.
Response Lenses
startNetworkInsightsAnalysisResponse_networkInsightsAnalysis :: Lens' StartNetworkInsightsAnalysisResponse (Maybe NetworkInsightsAnalysis) Source #
Information about the network insights analysis.
startNetworkInsightsAnalysisResponse_httpStatus :: Lens' StartNetworkInsightsAnalysisResponse Int Source #
The response's http status code.