| 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.Proton.GetEnvironment
Description
Get detailed data for an environment.
Synopsis
- data GetEnvironment = GetEnvironment' {}
- newGetEnvironment :: Text -> GetEnvironment
- getEnvironment_name :: Lens' GetEnvironment Text
- data GetEnvironmentResponse = GetEnvironmentResponse' {}
- newGetEnvironmentResponse :: Int -> Environment -> GetEnvironmentResponse
- getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int
- getEnvironmentResponse_environment :: Lens' GetEnvironmentResponse Environment
Creating a Request
data GetEnvironment Source #
See: newGetEnvironment smart constructor.
Constructors
| GetEnvironment' | |
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_name - The name of the environment that you want to get the detailed data for.
Request Lenses
getEnvironment_name :: Lens' GetEnvironment Text Source #
The name of the environment that you want to get the detailed data for.
Destructuring the Response
data GetEnvironmentResponse Source #
See: newGetEnvironmentResponse smart constructor.
Constructors
| GetEnvironmentResponse' | |
Fields
| |
Instances
newGetEnvironmentResponse Source #
Arguments
| :: Int | |
| -> Environment | |
| -> GetEnvironmentResponse |
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:httpStatus:GetEnvironmentResponse', getEnvironmentResponse_httpStatus - The response's http status code.
$sel:environment:GetEnvironmentResponse', getEnvironmentResponse_environment - The detailed data of the requested environment.
Response Lenses
getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int Source #
The response's http status code.
getEnvironmentResponse_environment :: Lens' GetEnvironmentResponse Environment Source #
The detailed data of the requested environment.