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 Component = Component' {
- state :: Maybe ComponentState
- platform :: Maybe Platform
- arn :: Maybe Text
- data' :: Maybe Text
- supportedOsVersions :: Maybe (NonEmpty Text)
- encrypted :: Maybe Bool
- owner :: Maybe Text
- dateCreated :: Maybe Text
- name :: Maybe Text
- kmsKeyId :: Maybe Text
- version :: Maybe Text
- parameters :: Maybe [ComponentParameterDetail]
- changeDescription :: Maybe Text
- type' :: Maybe ComponentType
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newComponent :: Component
- component_state :: Lens' Component (Maybe ComponentState)
- component_platform :: Lens' Component (Maybe Platform)
- component_arn :: Lens' Component (Maybe Text)
- component_data :: Lens' Component (Maybe Text)
- component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text))
- component_encrypted :: Lens' Component (Maybe Bool)
- component_owner :: Lens' Component (Maybe Text)
- component_dateCreated :: Lens' Component (Maybe Text)
- component_name :: Lens' Component (Maybe Text)
- component_kmsKeyId :: Lens' Component (Maybe Text)
- component_version :: Lens' Component (Maybe Text)
- component_parameters :: Lens' Component (Maybe [ComponentParameterDetail])
- component_changeDescription :: Lens' Component (Maybe Text)
- component_type :: Lens' Component (Maybe ComponentType)
- component_description :: Lens' Component (Maybe Text)
- component_tags :: Lens' Component (Maybe (HashMap Text Text))
Documentation
A detailed view of a component.
See: newComponent
smart constructor.
Component' | |
|
Instances
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:state:Component'
, component_state
- Describes the current status of the component. This is used for
components that are no longer active.
$sel:platform:Component'
, component_platform
- The platform of the component.
$sel:arn:Component'
, component_arn
- The Amazon Resource Name (ARN) of the component.
$sel:data':Component'
, component_data
- The data of the component.
$sel:supportedOsVersions:Component'
, component_supportedOsVersions
- The operating system (OS) version supported by the component. If the OS
information is available, a prefix match is performed against the base
image OS version during image recipe creation.
$sel:encrypted:Component'
, component_encrypted
- The encryption status of the component.
$sel:owner:Component'
, component_owner
- The owner of the component.
$sel:dateCreated:Component'
, component_dateCreated
- The date that the component was created.
$sel:name:Component'
, component_name
- The name of the component.
$sel:kmsKeyId:Component'
, component_kmsKeyId
- The KMS key identifier used to encrypt the component.
$sel:version:Component'
, component_version
- The version of the component.
$sel:parameters:Component'
, component_parameters
- Contains parameter details for each of the parameters that are defined
for the component.
$sel:changeDescription:Component'
, component_changeDescription
- The change description of the component.
$sel:type':Component'
, component_type
- The type of the component denotes whether the component is used to build
the image or only to test it.
$sel:description:Component'
, component_description
- The description of the component.
$sel:tags:Component'
, component_tags
- The tags associated with the component.
component_state :: Lens' Component (Maybe ComponentState) Source #
Describes the current status of the component. This is used for components that are no longer active.
component_arn :: Lens' Component (Maybe Text) Source #
The Amazon Resource Name (ARN) of the component.
component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text)) Source #
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
component_dateCreated :: Lens' Component (Maybe Text) Source #
The date that the component was created.
component_kmsKeyId :: Lens' Component (Maybe Text) Source #
The KMS key identifier used to encrypt the component.
component_parameters :: Lens' Component (Maybe [ComponentParameterDetail]) Source #
Contains parameter details for each of the parameters that are defined for the component.
component_changeDescription :: Lens' Component (Maybe Text) Source #
The change description of the component.
component_type :: Lens' Component (Maybe ComponentType) Source #
The type of the component denotes whether the component is used to build the image or only to test it.