amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMR.Types.UsernamePassword

Description

 
Synopsis

Documentation

data UsernamePassword Source #

The username and password that you use to connect to cluster endpoints.

See: newUsernamePassword smart constructor.

Constructors

UsernamePassword' 

Fields

  • password :: Maybe Text

    The password associated with the temporary credentials that you use to connect to cluster endpoints.

  • username :: Maybe Text

    The username associated with the temporary credentials that you use to connect to cluster endpoints.

Instances

Instances details
FromJSON UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

Generic UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

Associated Types

type Rep UsernamePassword :: Type -> Type #

Show UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

NFData UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

Methods

rnf :: UsernamePassword -> () #

Eq UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

Hashable UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

type Rep UsernamePassword Source # 
Instance details

Defined in Amazonka.EMR.Types.UsernamePassword

type Rep UsernamePassword = D1 ('MetaData "UsernamePassword" "Amazonka.EMR.Types.UsernamePassword" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "UsernamePassword'" 'PrefixI 'True) (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newUsernamePassword :: UsernamePassword Source #

Create a value of UsernamePassword 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:password:UsernamePassword', usernamePassword_password - The password associated with the temporary credentials that you use to connect to cluster endpoints.

$sel:username:UsernamePassword', usernamePassword_username - The username associated with the temporary credentials that you use to connect to cluster endpoints.

usernamePassword_password :: Lens' UsernamePassword (Maybe Text) Source #

The password associated with the temporary credentials that you use to connect to cluster endpoints.

usernamePassword_username :: Lens' UsernamePassword (Maybe Text) Source #

The username associated with the temporary credentials that you use to connect to cluster endpoints.