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.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 config in case the HTTP endpoint requires authorization.

  • endpoint :: Maybe Text

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

Instances

Instances details
Eq HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Read HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

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

NFData HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

Methods

rnf :: HttpDataSourceConfig -> () #

Hashable HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

ToJSON HttpDataSourceConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.HttpDataSourceConfig

FromJSON 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" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" '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 config in case the HTTP endpoint requires authorization.

$sel:endpoint:HttpDataSourceConfig', httpDataSourceConfig_endpoint - The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, 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 config in case the HTTP endpoint requires authorization.

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

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