Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Type = Type' {
- arn :: Maybe Text
- definition :: Maybe Text
- format :: Maybe TypeDefinitionFormat
- name :: Maybe Text
- description :: Maybe Text
- newType :: Type
- type_arn :: Lens' Type (Maybe Text)
- type_definition :: Lens' Type (Maybe Text)
- type_format :: Lens' Type (Maybe TypeDefinitionFormat)
- type_name :: Lens' Type (Maybe Text)
- type_description :: Lens' Type (Maybe Text)
Documentation
Describes a type.
See: newType
smart constructor.
Type' | |
|
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 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_format :: Lens' Type (Maybe TypeDefinitionFormat) Source #
The type format: SDL or JSON.