| 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.FinSpace.GetEnvironment
Description
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.
Constructors
| GetEnvironment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetEnvironment |
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:
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.
Constructors
| GetEnvironmentResponse' | |
Fields
| |
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.