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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrassv2/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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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.

Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.

Returns:

  • (String)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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.

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.

Returns:

  • (Array<String>)


1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1888

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