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 the FinSpace environment object.
Synopsis
- data GetEnvironment = GetEnvironment' {}
- newGetEnvironment :: Text -> GetEnvironment
- getEnvironment_environmentId :: Lens' GetEnvironment Text
- data GetEnvironmentResponse = GetEnvironmentResponse' {}
- newGetEnvironmentResponse :: Int -> GetEnvironmentResponse
- getEnvironmentResponse_environment :: Lens' GetEnvironmentResponse (Maybe Environment)
- getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int
Creating a Request
data GetEnvironment Source #
See: newGetEnvironment
smart constructor.
GetEnvironment' | |
|
Instances
Create a value of GetEnvironment
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:environmentId:GetEnvironment'
, getEnvironment_environmentId
- The identifier of the FinSpace environment.
Request Lenses
getEnvironment_environmentId :: Lens' GetEnvironment Text Source #
The identifier of the FinSpace environment.
Destructuring the Response
data GetEnvironmentResponse Source #
See: newGetEnvironmentResponse
smart constructor.
GetEnvironmentResponse' | |
|
Instances
newGetEnvironmentResponse Source #
Create a value of GetEnvironmentResponse
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:environment:GetEnvironmentResponse'
, getEnvironmentResponse_environment
- The name of the FinSpace environment.
$sel:httpStatus:GetEnvironmentResponse'
, getEnvironmentResponse_httpStatus
- The response's http status code.
Response Lenses
getEnvironmentResponse_environment :: Lens' GetEnvironmentResponse (Maybe Environment) Source #
The name of the FinSpace environment.
getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int Source #
The response's http status code.