Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a network profile.
Synopsis
- data GetNetworkProfile = GetNetworkProfile' {}
- newGetNetworkProfile :: Text -> GetNetworkProfile
- getNetworkProfile_arn :: Lens' GetNetworkProfile Text
- data GetNetworkProfileResponse = GetNetworkProfileResponse' {}
- newGetNetworkProfileResponse :: Int -> GetNetworkProfileResponse
- getNetworkProfileResponse_networkProfile :: Lens' GetNetworkProfileResponse (Maybe NetworkProfile)
- getNetworkProfileResponse_httpStatus :: Lens' GetNetworkProfileResponse Int
Creating a Request
data GetNetworkProfile Source #
See: newGetNetworkProfile
smart constructor.
Instances
Create a value of GetNetworkProfile
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:arn:GetNetworkProfile'
, getNetworkProfile_arn
- The ARN of the network profile to return information about.
Request Lenses
getNetworkProfile_arn :: Lens' GetNetworkProfile Text Source #
The ARN of the network profile to return information about.
Destructuring the Response
data GetNetworkProfileResponse Source #
See: newGetNetworkProfileResponse
smart constructor.
GetNetworkProfileResponse' | |
|
Instances
newGetNetworkProfileResponse Source #
Create a value of GetNetworkProfileResponse
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:networkProfile:GetNetworkProfileResponse'
, getNetworkProfileResponse_networkProfile
- The network profile.
$sel:httpStatus:GetNetworkProfileResponse'
, getNetworkProfileResponse_httpStatus
- The response's http status code.
Response Lenses
getNetworkProfileResponse_networkProfile :: Lens' GetNetworkProfileResponse (Maybe NetworkProfile) Source #
The network profile.
getNetworkProfileResponse_httpStatus :: Lens' GetNetworkProfileResponse Int Source #
The response's http status code.