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 |
Returns information about the LIVE policy for a core network.
Synopsis
- data GetCoreNetwork = GetCoreNetwork' {}
- newGetCoreNetwork :: Text -> GetCoreNetwork
- getCoreNetwork_coreNetworkId :: Lens' GetCoreNetwork Text
- data GetCoreNetworkResponse = GetCoreNetworkResponse' {}
- newGetCoreNetworkResponse :: Int -> GetCoreNetworkResponse
- getCoreNetworkResponse_coreNetwork :: Lens' GetCoreNetworkResponse (Maybe CoreNetwork)
- getCoreNetworkResponse_httpStatus :: Lens' GetCoreNetworkResponse Int
Creating a Request
data GetCoreNetwork Source #
See: newGetCoreNetwork
smart constructor.
GetCoreNetwork' | |
|
Instances
Create a value of GetCoreNetwork
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:
GetCoreNetwork
, getCoreNetwork_coreNetworkId
- The ID of a core network.
Request Lenses
getCoreNetwork_coreNetworkId :: Lens' GetCoreNetwork Text Source #
The ID of a core network.
Destructuring the Response
data GetCoreNetworkResponse Source #
See: newGetCoreNetworkResponse
smart constructor.
GetCoreNetworkResponse' | |
|
Instances
newGetCoreNetworkResponse Source #
Create a value of GetCoreNetworkResponse
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:coreNetwork:GetCoreNetworkResponse'
, getCoreNetworkResponse_coreNetwork
- Details about a core network.
$sel:httpStatus:GetCoreNetworkResponse'
, getCoreNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
getCoreNetworkResponse_coreNetwork :: Lens' GetCoreNetworkResponse (Maybe CoreNetwork) Source #
Details about a core network.
getCoreNetworkResponse_httpStatus :: Lens' GetCoreNetworkResponse Int Source #
The response's http status code.