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 |
Gets the content for the specified Network Access Scope.
Synopsis
- data GetNetworkInsightsAccessScopeContent = GetNetworkInsightsAccessScopeContent' {}
- newGetNetworkInsightsAccessScopeContent :: Text -> GetNetworkInsightsAccessScopeContent
- getNetworkInsightsAccessScopeContent_dryRun :: Lens' GetNetworkInsightsAccessScopeContent (Maybe Bool)
- getNetworkInsightsAccessScopeContent_networkInsightsAccessScopeId :: Lens' GetNetworkInsightsAccessScopeContent Text
- data GetNetworkInsightsAccessScopeContentResponse = GetNetworkInsightsAccessScopeContentResponse' {}
- newGetNetworkInsightsAccessScopeContentResponse :: Int -> GetNetworkInsightsAccessScopeContentResponse
- getNetworkInsightsAccessScopeContentResponse_networkInsightsAccessScopeContent :: Lens' GetNetworkInsightsAccessScopeContentResponse (Maybe NetworkInsightsAccessScopeContent)
- getNetworkInsightsAccessScopeContentResponse_httpStatus :: Lens' GetNetworkInsightsAccessScopeContentResponse Int
Creating a Request
data GetNetworkInsightsAccessScopeContent Source #
See: newGetNetworkInsightsAccessScopeContent
smart constructor.
GetNetworkInsightsAccessScopeContent' | |
|
Instances
newGetNetworkInsightsAccessScopeContent Source #
Create a value of GetNetworkInsightsAccessScopeContent
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:GetNetworkInsightsAccessScopeContent'
, getNetworkInsightsAccessScopeContent_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
.
GetNetworkInsightsAccessScopeContent
, getNetworkInsightsAccessScopeContent_networkInsightsAccessScopeId
- The ID of the Network Access Scope.
Request Lenses
getNetworkInsightsAccessScopeContent_dryRun :: Lens' GetNetworkInsightsAccessScopeContent (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
.
getNetworkInsightsAccessScopeContent_networkInsightsAccessScopeId :: Lens' GetNetworkInsightsAccessScopeContent Text Source #
The ID of the Network Access Scope.
Destructuring the Response
data GetNetworkInsightsAccessScopeContentResponse Source #
See: newGetNetworkInsightsAccessScopeContentResponse
smart constructor.
GetNetworkInsightsAccessScopeContentResponse' | |
|
Instances
newGetNetworkInsightsAccessScopeContentResponse Source #
:: Int |
|
-> GetNetworkInsightsAccessScopeContentResponse |
Create a value of GetNetworkInsightsAccessScopeContentResponse
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:networkInsightsAccessScopeContent:GetNetworkInsightsAccessScopeContentResponse'
, getNetworkInsightsAccessScopeContentResponse_networkInsightsAccessScopeContent
- The Network Access Scope content.
$sel:httpStatus:GetNetworkInsightsAccessScopeContentResponse'
, getNetworkInsightsAccessScopeContentResponse_httpStatus
- The response's http status code.
Response Lenses
getNetworkInsightsAccessScopeContentResponse_networkInsightsAccessScopeContent :: Lens' GetNetworkInsightsAccessScopeContentResponse (Maybe NetworkInsightsAccessScopeContent) Source #
The Network Access Scope content.
getNetworkInsightsAccessScopeContentResponse_httpStatus :: Lens' GetNetworkInsightsAccessScopeContentResponse Int Source #
The response's http status code.