libZSservicesZSamazonka-mwaaZSamazonka-mwaa
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MwAA.CreateCliToken

Description

Create a CLI token to use Airflow CLI.

Synopsis

Creating a Request

data CreateCliToken Source #

See: newCreateCliToken smart constructor.

Constructors

CreateCliToken' 

Fields

  • name :: Text

    Create a CLI token request for a MWAA environment.

Instances

Instances details
Eq CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Read CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Show CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Generic CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Associated Types

type Rep CreateCliToken :: Type -> Type #

NFData CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Methods

rnf :: CreateCliToken -> () #

Hashable CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

ToJSON CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

AWSRequest CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Associated Types

type AWSResponse CreateCliToken #

ToHeaders CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

ToPath CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

ToQuery CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

type Rep CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

type Rep CreateCliToken = D1 ('MetaData "CreateCliToken" "Amazonka.MwAA.CreateCliToken" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "CreateCliToken'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateCliToken Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

newCreateCliToken Source #

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.

Constructors

CreateCliTokenResponse' 

Fields

Instances

Instances details
Eq CreateCliTokenResponse Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Show CreateCliTokenResponse Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Generic CreateCliTokenResponse Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Associated Types

type Rep CreateCliTokenResponse :: Type -> Type #

NFData CreateCliTokenResponse Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

Methods

rnf :: CreateCliTokenResponse -> () #

type Rep CreateCliTokenResponse Source # 
Instance details

Defined in Amazonka.MwAA.CreateCliToken

type Rep CreateCliTokenResponse = D1 ('MetaData "CreateCliTokenResponse" "Amazonka.MwAA.CreateCliToken" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "CreateCliTokenResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "webServerHostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cliToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.