| 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 |
Amazonka.MwAA.GetEnvironment
Description
Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
Synopsis
- data GetEnvironment = GetEnvironment' {}
- newGetEnvironment :: Text -> GetEnvironment
- getEnvironment_name :: 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' | |
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:
$sel:name:GetEnvironment', getEnvironment_name - The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.
Request Lenses
getEnvironment_name :: Lens' GetEnvironment Text Source #
The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment.
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 - An object containing all available details about the environment.
$sel:httpStatus:GetEnvironmentResponse', getEnvironmentResponse_httpStatus - The response's http status code.
Response Lenses
getEnvironmentResponse_environment :: Lens' GetEnvironmentResponse (Maybe Environment) Source #
An object containing all available details about the environment.
getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int Source #
The response's http status code.