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

Description

 
Synopsis

Documentation

data Type Source #

Describes a type.

See: newType smart constructor.

Constructors

Type' 

Fields

Instances

Instances details
Eq Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Read Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Show Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Generic Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

NFData Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

rnf :: Type -> () #

Hashable Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

FromJSON Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

type Rep Type Source # 
Instance details

Defined in Amazonka.AppSync.Types.Type

newType :: Type Source #

Create a value of Type 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:arn:Type', type_arn - The type ARN.

$sel:definition:Type', type_definition - The type definition.

$sel:format:Type', type_format - The type format: SDL or JSON.

$sel:name:Type', type_name - The type name.

$sel:description:Type', type_description - The type description.

type_arn :: Lens' Type (Maybe Text) Source #

The type ARN.

type_definition :: Lens' Type (Maybe Text) Source #

The type definition.

type_format :: Lens' Type (Maybe TypeDefinitionFormat) Source #

The type format: SDL or JSON.

type_name :: Lens' Type (Maybe Text) Source #

The type name.

type_description :: Lens' Type (Maybe Text) Source #

The type description.