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 |
In an environment account, get the detailed data for an environment account connection.
For more information, see Environment account connections in the Proton User guide.
Synopsis
- data GetEnvironmentAccountConnection = GetEnvironmentAccountConnection' {}
- newGetEnvironmentAccountConnection :: Text -> GetEnvironmentAccountConnection
- getEnvironmentAccountConnection_id :: Lens' GetEnvironmentAccountConnection Text
- data GetEnvironmentAccountConnectionResponse = GetEnvironmentAccountConnectionResponse' {}
- newGetEnvironmentAccountConnectionResponse :: Int -> EnvironmentAccountConnection -> GetEnvironmentAccountConnectionResponse
- getEnvironmentAccountConnectionResponse_httpStatus :: Lens' GetEnvironmentAccountConnectionResponse Int
- getEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' GetEnvironmentAccountConnectionResponse EnvironmentAccountConnection
Creating a Request
data GetEnvironmentAccountConnection Source #
See: newGetEnvironmentAccountConnection
smart constructor.
Instances
newGetEnvironmentAccountConnection Source #
Create a value of GetEnvironmentAccountConnection
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:
GetEnvironmentAccountConnection
, getEnvironmentAccountConnection_id
- The ID of the environment account connection that you want to get the
detailed data for.
Request Lenses
getEnvironmentAccountConnection_id :: Lens' GetEnvironmentAccountConnection Text Source #
The ID of the environment account connection that you want to get the detailed data for.
Destructuring the Response
data GetEnvironmentAccountConnectionResponse Source #
See: newGetEnvironmentAccountConnectionResponse
smart constructor.
GetEnvironmentAccountConnectionResponse' | |
|
Instances
newGetEnvironmentAccountConnectionResponse Source #
:: Int | |
-> EnvironmentAccountConnection |
|
-> GetEnvironmentAccountConnectionResponse |
Create a value of GetEnvironmentAccountConnectionResponse
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:httpStatus:GetEnvironmentAccountConnectionResponse'
, getEnvironmentAccountConnectionResponse_httpStatus
- The response's http status code.
$sel:environmentAccountConnection:GetEnvironmentAccountConnectionResponse'
, getEnvironmentAccountConnectionResponse_environmentAccountConnection
- The detailed data of the requested environment account connection.
Response Lenses
getEnvironmentAccountConnectionResponse_httpStatus :: Lens' GetEnvironmentAccountConnectionResponse Int Source #
The response's http status code.
getEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' GetEnvironmentAccountConnectionResponse EnvironmentAccountConnection Source #
The detailed data of the requested environment account connection.