| 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.GreengrassV2.Types.Component
Description
Synopsis
Documentation
Contains information about a component.
See: newComponent smart constructor.
Constructors
| Component' | |
Fields
| |
Instances
| FromJSON Component Source # | |
| Generic Component Source # | |
| Read Component Source # | |
| Show Component Source # | |
| NFData Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
| Eq Component Source # | |
| Hashable Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
| type Rep Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component type Rep Component = D1 ('MetaData "Component" "Amazonka.GreengrassV2.Types.Component" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "Component'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentLatestVersion))))) | |
newComponent :: Component Source #
Create a value of Component 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:
Component, component_arn - The
ARN
of the component version.
$sel:componentName:Component', component_componentName - The name of the component.
$sel:latestVersion:Component', component_latestVersion - The latest version of the component and its details.
component_latestVersion :: Lens' Component (Maybe ComponentLatestVersion) Source #
The latest version of the component and its details.