libZSservicesZSamazonka-appsyncZSamazonka-appsync
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.AppSync.Types.AuthorizationConfig

Description

 
Synopsis

Documentation

data AuthorizationConfig Source #

The authorization config in case the HTTP endpoint requires authorization.

See: newAuthorizationConfig smart constructor.

Constructors

AuthorizationConfig' 

Fields

Instances

Instances details
Eq AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Read AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Show 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 #

NFData AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

Methods

rnf :: AuthorizationConfig -> () #

Hashable AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

ToJSON AuthorizationConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.AuthorizationConfig

FromJSON 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" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" '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 settings.

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

  • AWS_IAM: The authorization type is Sigv4.

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

The Identity and Access Management settings.

authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType Source #

The authorization type required by the HTTP endpoint.

  • AWS_IAM: The authorization type is Sigv4.