amazonka-appsync-2.0: Amazon AppSync 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.AppSync.Types.AuthorizationConfig

Description

 
Synopsis

Documentation

data AuthorizationConfig Source #

The authorization configuration in case the HTTP endpoint requires authorization.

See: newAuthorizationConfig smart constructor.

Constructors

AuthorizationConfig' 

Fields

Instances

Instances details
FromJSON AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

ToJSON AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Generic AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Associated Types

type Rep AuthorizationConfig :: Type -> Type #

Read AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Show AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

NFData AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Methods

rnf :: AuthorizationConfig -> () #

Eq AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Hashable AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

type Rep AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

type Rep AuthorizationConfig = D1 ('MetaData "AuthorizationConfig" "Amazonka.AppSync.Types.AuthorizationConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AuthorizationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsIamConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsIamConfig)) :*: S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthorizationType)))

newAuthorizationConfig Source #

Create a value of AuthorizationConfig 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:awsIamConfig:AuthorizationConfig', authorizationConfig_awsIamConfig - The Identity and Access Management (IAM) settings.

$sel:authorizationType:AuthorizationConfig', authorizationConfig_authorizationType - The authorization type that the HTTP endpoint requires.

  • AWS_IAM: The authorization type is Signature Version 4 (SigV4).

authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) Source #

The Identity and Access Management (IAM) settings.

authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType Source #

The authorization type that the HTTP endpoint requires.

  • AWS_IAM: The authorization type is Signature Version 4 (SigV4).