| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppSync.Types.Type
Description
Synopsis
- data Type = Type' {
- arn :: Maybe Text
- definition :: Maybe Text
- description :: Maybe Text
- format :: Maybe TypeDefinitionFormat
- name :: Maybe Text
- newType :: Type
- type_arn :: Lens' Type (Maybe Text)
- type_definition :: Lens' Type (Maybe Text)
- type_description :: Lens' Type (Maybe Text)
- type_format :: Lens' Type (Maybe TypeDefinitionFormat)
- type_name :: Lens' Type (Maybe Text)
Documentation
Describes a type.
See: newType smart constructor.
Constructors
| Type' | |
Fields
| |
Instances
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 Amazon Resource Name (ARN).
$sel:definition:Type', type_definition - The type definition.
$sel:description:Type', type_description - The type description.
$sel:format:Type', type_format - The type format: SDL or JSON.
$sel:name:Type', type_name - The type name.
type_format :: Lens' Type (Maybe TypeDefinitionFormat) Source #
The type format: SDL or JSON.