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

Description

 
Synopsis

Documentation

data AppSyncRuntime Source #

Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

See: newAppSyncRuntime smart constructor.

Constructors

AppSyncRuntime' 

Fields

  • name :: RuntimeName

    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

  • runtimeVersion :: Text

    The version of the runtime to use. Currently, the only allowed version is 1.0.0.

Instances

Instances details
FromJSON AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

ToJSON AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Generic AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Associated Types

type Rep AppSyncRuntime :: Type -> Type #

Read AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Show AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

NFData AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Methods

rnf :: AppSyncRuntime -> () #

Eq AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

Hashable AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

type Rep AppSyncRuntime Source # 
Instance details

Defined in Amazonka.AppSync.Types.AppSyncRuntime

type Rep AppSyncRuntime = D1 ('MetaData "AppSyncRuntime" "Amazonka.AppSync.Types.AppSyncRuntime" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "AppSyncRuntime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuntimeName) :*: S1 ('MetaSel ('Just "runtimeVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAppSyncRuntime Source #

Create a value of AppSyncRuntime 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:name:AppSyncRuntime', appSyncRuntime_name - The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

$sel:runtimeVersion:AppSyncRuntime', appSyncRuntime_runtimeVersion - The version of the runtime to use. Currently, the only allowed version is 1.0.0.

appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName Source #

The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.

appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text Source #

The version of the runtime to use. Currently, the only allowed version is 1.0.0.