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 |
Create a CLI token to use Airflow CLI.
Synopsis
- data CreateCliToken = CreateCliToken' {}
- newCreateCliToken :: Text -> CreateCliToken
- createCliToken_name :: Lens' CreateCliToken Text
- data CreateCliTokenResponse = CreateCliTokenResponse' {
- webServerHostname :: Maybe Text
- cliToken :: Maybe (Sensitive Text)
- httpStatus :: Int
- newCreateCliTokenResponse :: Int -> CreateCliTokenResponse
- createCliTokenResponse_webServerHostname :: Lens' CreateCliTokenResponse (Maybe Text)
- createCliTokenResponse_cliToken :: Lens' CreateCliTokenResponse (Maybe Text)
- createCliTokenResponse_httpStatus :: Lens' CreateCliTokenResponse Int
Creating a Request
data CreateCliToken Source #
See: newCreateCliToken
smart constructor.
Instances
Create a value of CreateCliToken
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:CreateCliToken'
, createCliToken_name
- Create a CLI token request for a MWAA environment.
Request Lenses
createCliToken_name :: Lens' CreateCliToken Text Source #
Create a CLI token request for a MWAA environment.
Destructuring the Response
data CreateCliTokenResponse Source #
See: newCreateCliTokenResponse
smart constructor.
CreateCliTokenResponse' | |
|
Instances
newCreateCliTokenResponse Source #
Create a value of CreateCliTokenResponse
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:webServerHostname:CreateCliTokenResponse'
, createCliTokenResponse_webServerHostname
- Create an Airflow CLI login token response for the provided webserver
hostname.
$sel:cliToken:CreateCliTokenResponse'
, createCliTokenResponse_cliToken
- Create an Airflow CLI login token response for the provided JWT token.
$sel:httpStatus:CreateCliTokenResponse'
, createCliTokenResponse_httpStatus
- The response's http status code.
Response Lenses
createCliTokenResponse_webServerHostname :: Lens' CreateCliTokenResponse (Maybe Text) Source #
Create an Airflow CLI login token response for the provided webserver hostname.
createCliTokenResponse_cliToken :: Lens' CreateCliTokenResponse (Maybe Text) Source #
Create an Airflow CLI login token response for the provided JWT token.
createCliTokenResponse_httpStatus :: Lens' CreateCliTokenResponse Int Source #
The response's http status code.