Class: Aws::GreengrassV2::Types::InstalledComponent

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-greengrassv2/types.rb

Overview

Contains information about a component on a Greengrass core device.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#component_nameString

The name of the component.

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#component_versionString

The version of the component.

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#is_rootBoolean

Whether or not the component is a root component.

Returns:

  • (Boolean)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#last_installation_sourceString

The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be ‘LOCAL`.

<note markdown=“1”> Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.

</note>

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#last_reported_timestampTime

The last time the Greengrass core device sent a message containing a component’s state to the Amazon Web Services Cloud.

A component does not need to see a state change for this field to update.

Returns:

  • (Time)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#last_status_change_timestampTime

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

Returns:

  • (Time)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_stateString

The lifecycle state of the component.

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_state_detailsString

A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.

Returns:

  • (String)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_status_codesArray<String>

The status codes that indicate the reason for failure whenever the ‘lifecycleState` has an error or is in a broken state.

<note markdown=“1”> Greengrass nucleus v2.8.0 or later is required to get an accurate ‘lifecycleStatusCodes` response. This response can be inaccurate in earlier Greengrass nucleus versions.

</note>

Returns:

  • (Array<String>)


1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'lib/aws-sdk-greengrassv2/types.rb', line 1860

class InstalledComponent < Struct.new(
  :component_name,
  :component_version,
  :lifecycle_state,
  :lifecycle_state_details,
  :is_root,
  :last_status_change_timestamp,
  :last_reported_timestamp,
  :last_installation_source,
  :lifecycle_status_codes)
  SENSITIVE = []
  include Aws::Structure
end