| 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 |
Amazonka.PrivateNetworks.GetNetwork
Description
Gets the specified network.
Synopsis
- data GetNetwork = GetNetwork' {
- networkArn :: Text
- newGetNetwork :: Text -> GetNetwork
- getNetwork_networkArn :: Lens' GetNetwork Text
- data GetNetworkResponse = GetNetworkResponse' {}
- newGetNetworkResponse :: Int -> Network -> GetNetworkResponse
- getNetworkResponse_tags :: Lens' GetNetworkResponse (Maybe (HashMap Text Text))
- getNetworkResponse_httpStatus :: Lens' GetNetworkResponse Int
- getNetworkResponse_network :: Lens' GetNetworkResponse Network
Creating a Request
data GetNetwork Source #
See: newGetNetwork smart constructor.
Constructors
| GetNetwork' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetNetwork |
Create a value of GetNetwork 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:
GetNetwork, getNetwork_networkArn - The Amazon Resource Name (ARN) of the network.
Request Lenses
getNetwork_networkArn :: Lens' GetNetwork Text Source #
The Amazon Resource Name (ARN) of the network.
Destructuring the Response
data GetNetworkResponse Source #
See: newGetNetworkResponse smart constructor.
Constructors
| GetNetworkResponse' | |
Instances
newGetNetworkResponse Source #
Arguments
| :: Int | |
| -> Network | |
| -> GetNetworkResponse |
Create a value of GetNetworkResponse 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:
GetNetworkResponse, getNetworkResponse_tags - The network tags.
$sel:httpStatus:GetNetworkResponse', getNetworkResponse_httpStatus - The response's http status code.
$sel:network:GetNetworkResponse', getNetworkResponse_network - Information about the network.
Response Lenses
getNetworkResponse_tags :: Lens' GetNetworkResponse (Maybe (HashMap Text Text)) Source #
The network tags.
getNetworkResponse_httpStatus :: Lens' GetNetworkResponse Int Source #
The response's http status code.
getNetworkResponse_network :: Lens' GetNetworkResponse Network Source #
Information about the network.