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 Network Access Scope.
Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations teams to verify that their networks on Amazon Web Services conform to their network security and governance objectives. For more information, see the Amazon Web Services Network Access Analyzer Guide.
Synopsis
- data CreateNetworkInsightsAccessScope = CreateNetworkInsightsAccessScope' {}
- newCreateNetworkInsightsAccessScope :: Text -> CreateNetworkInsightsAccessScope
- createNetworkInsightsAccessScope_dryRun :: Lens' CreateNetworkInsightsAccessScope (Maybe Bool)
- createNetworkInsightsAccessScope_excludePaths :: Lens' CreateNetworkInsightsAccessScope (Maybe [AccessScopePathRequest])
- createNetworkInsightsAccessScope_matchPaths :: Lens' CreateNetworkInsightsAccessScope (Maybe [AccessScopePathRequest])
- createNetworkInsightsAccessScope_tagSpecifications :: Lens' CreateNetworkInsightsAccessScope (Maybe [TagSpecification])
- createNetworkInsightsAccessScope_clientToken :: Lens' CreateNetworkInsightsAccessScope Text
- data CreateNetworkInsightsAccessScopeResponse = CreateNetworkInsightsAccessScopeResponse' {}
- newCreateNetworkInsightsAccessScopeResponse :: Int -> CreateNetworkInsightsAccessScopeResponse
- createNetworkInsightsAccessScopeResponse_networkInsightsAccessScope :: Lens' CreateNetworkInsightsAccessScopeResponse (Maybe NetworkInsightsAccessScope)
- createNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeContent :: Lens' CreateNetworkInsightsAccessScopeResponse (Maybe NetworkInsightsAccessScopeContent)
- createNetworkInsightsAccessScopeResponse_httpStatus :: Lens' CreateNetworkInsightsAccessScopeResponse Int
Creating a Request
data CreateNetworkInsightsAccessScope Source #
See: newCreateNetworkInsightsAccessScope
smart constructor.
CreateNetworkInsightsAccessScope' | |
|
Instances
newCreateNetworkInsightsAccessScope Source #
Create a value of CreateNetworkInsightsAccessScope
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:CreateNetworkInsightsAccessScope'
, createNetworkInsightsAccessScope_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
.
CreateNetworkInsightsAccessScope
, createNetworkInsightsAccessScope_excludePaths
- The paths to exclude.
CreateNetworkInsightsAccessScope
, createNetworkInsightsAccessScope_matchPaths
- The paths to match.
CreateNetworkInsightsAccessScope
, createNetworkInsightsAccessScope_tagSpecifications
- The tags to apply.
CreateNetworkInsightsAccessScope
, createNetworkInsightsAccessScope_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
createNetworkInsightsAccessScope_dryRun :: Lens' CreateNetworkInsightsAccessScope (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
.
createNetworkInsightsAccessScope_excludePaths :: Lens' CreateNetworkInsightsAccessScope (Maybe [AccessScopePathRequest]) Source #
The paths to exclude.
createNetworkInsightsAccessScope_matchPaths :: Lens' CreateNetworkInsightsAccessScope (Maybe [AccessScopePathRequest]) Source #
The paths to match.
createNetworkInsightsAccessScope_tagSpecifications :: Lens' CreateNetworkInsightsAccessScope (Maybe [TagSpecification]) Source #
The tags to apply.
createNetworkInsightsAccessScope_clientToken :: Lens' CreateNetworkInsightsAccessScope 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 CreateNetworkInsightsAccessScopeResponse Source #
See: newCreateNetworkInsightsAccessScopeResponse
smart constructor.
CreateNetworkInsightsAccessScopeResponse' | |
|
Instances
newCreateNetworkInsightsAccessScopeResponse Source #
Create a value of CreateNetworkInsightsAccessScopeResponse
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:networkInsightsAccessScope:CreateNetworkInsightsAccessScopeResponse'
, createNetworkInsightsAccessScopeResponse_networkInsightsAccessScope
- The Network Access Scope.
$sel:networkInsightsAccessScopeContent:CreateNetworkInsightsAccessScopeResponse'
, createNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeContent
- The Network Access Scope content.
$sel:httpStatus:CreateNetworkInsightsAccessScopeResponse'
, createNetworkInsightsAccessScopeResponse_httpStatus
- The response's http status code.
Response Lenses
createNetworkInsightsAccessScopeResponse_networkInsightsAccessScope :: Lens' CreateNetworkInsightsAccessScopeResponse (Maybe NetworkInsightsAccessScope) Source #
The Network Access Scope.
createNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeContent :: Lens' CreateNetworkInsightsAccessScopeResponse (Maybe NetworkInsightsAccessScopeContent) Source #
The Network Access Scope content.
createNetworkInsightsAccessScopeResponse_httpStatus :: Lens' CreateNetworkInsightsAccessScopeResponse Int Source #
The response's http status code.