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 |
Describes 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.
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:
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.
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
- 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.