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
Documentation
Contains information about a component.
See: newComponent
smart constructor.
Component' | |
|
Instances
Eq Component Source # | |
Read Component Source # | |
Show Component Source # | |
Generic Component Source # | |
NFData Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
Hashable Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component | |
FromJSON Component Source # | |
type Rep Component Source # | |
Defined in Amazonka.GreengrassV2.Types.Component type Rep Component = D1 ('MetaData "Component" "Amazonka.GreengrassV2.Types.Component" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" '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:
$sel:arn: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.