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 specified network resource.
Synopsis
- data GetNetworkResource = GetNetworkResource' {}
- newGetNetworkResource :: Text -> GetNetworkResource
- getNetworkResource_networkResourceArn :: Lens' GetNetworkResource Text
- data GetNetworkResourceResponse = GetNetworkResourceResponse' {
- tags :: Maybe (Sensitive (HashMap Text Text))
- httpStatus :: Int
- networkResource :: NetworkResource
- newGetNetworkResourceResponse :: Int -> NetworkResource -> GetNetworkResourceResponse
- getNetworkResourceResponse_tags :: Lens' GetNetworkResourceResponse (Maybe (HashMap Text Text))
- getNetworkResourceResponse_httpStatus :: Lens' GetNetworkResourceResponse Int
- getNetworkResourceResponse_networkResource :: Lens' GetNetworkResourceResponse NetworkResource
Creating a Request
data GetNetworkResource Source #
See: newGetNetworkResource
smart constructor.
GetNetworkResource' | |
|
Instances
newGetNetworkResource Source #
Create a value of GetNetworkResource
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:
GetNetworkResource
, getNetworkResource_networkResourceArn
- The Amazon Resource Name (ARN) of the network resource.
Request Lenses
getNetworkResource_networkResourceArn :: Lens' GetNetworkResource Text Source #
The Amazon Resource Name (ARN) of the network resource.
Destructuring the Response
data GetNetworkResourceResponse Source #
See: newGetNetworkResourceResponse
smart constructor.
GetNetworkResourceResponse' | |
|
Instances
newGetNetworkResourceResponse Source #
Create a value of GetNetworkResourceResponse
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:
GetNetworkResourceResponse
, getNetworkResourceResponse_tags
- The network resource tags.
$sel:httpStatus:GetNetworkResourceResponse'
, getNetworkResourceResponse_httpStatus
- The response's http status code.
$sel:networkResource:GetNetworkResourceResponse'
, getNetworkResourceResponse_networkResource
- Information about the network resource.
Response Lenses
getNetworkResourceResponse_tags :: Lens' GetNetworkResourceResponse (Maybe (HashMap Text Text)) Source #
The network resource tags.
getNetworkResourceResponse_httpStatus :: Lens' GetNetworkResourceResponse Int Source #
The response's http status code.
getNetworkResourceResponse_networkResource :: Lens' GetNetworkResourceResponse NetworkResource Source #
Information about the network resource.