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.HttpDataSourceConfig

Description

 
Synopsis

Documentation

data HttpDataSourceConfig Source #

Describes an HTTP data source configuration.

See: newHttpDataSourceConfig smart constructor.

Constructors

HttpDataSourceConfig' 

Fields

  • authorizationConfig :: Maybe AuthorizationConfig

    The authorization configuration in case the HTTP endpoint requires authorization.

  • endpoint :: Maybe Text

    The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

Instances

Instances details
FromJSON HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

ToJSON HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Generic HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Associated Types

type Rep HttpDataSourceConfig :: Type -> Type #

Read HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Show HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

NFData HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Methods

rnf :: HttpDataSourceConfig -> () #

Eq HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Hashable HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

type Rep HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

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

newHttpDataSourceConfig :: HttpDataSourceConfig Source #

Create a value of HttpDataSourceConfig 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:authorizationConfig:HttpDataSourceConfig', httpDataSourceConfig_authorizationConfig - The authorization configuration in case the HTTP endpoint requires authorization.

$sel:endpoint:HttpDataSourceConfig', httpDataSourceConfig_endpoint - The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) Source #

The authorization configuration in case the HTTP endpoint requires authorization.

httpDataSourceConfig_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) Source #

The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.