@@ -1629,6 +1629,32 @@ export enum EffectiveDeploymentExecutionStatus {
16291629 TIMED_OUT = "TIMED_OUT" ,
16301630}
16311631
1632+ /**
1633+ * <p>Contains all error-related information for the deployment record. The status details will
1634+ * be null if the deployment is in a success state.</p>
1635+ * <note>
1636+ * <p>Greengrass nucleus v2.8.0 or later is required to get an accurate <code>errorStack</code> and
1637+ * <code>errorTypes</code> response. This field will not be returned for earlier Greengrass nucleus
1638+ * versions.</p>
1639+ * </note>
1640+ */
1641+ export interface EffectiveDeploymentStatusDetails {
1642+ /**
1643+ * <p>Contains an ordered list of short error codes that range from the most generic error to
1644+ * the most specific one. The error codes describe the reason for failure whenever the
1645+ * <code>coreDeviceExecutionStatus</code> is in a failed state. The response will be an empty
1646+ * list if there is no error.</p>
1647+ */
1648+ errorStack ?: string [ ] ;
1649+
1650+ /**
1651+ * <p>Contains tags which describe the error. You can use the error types to classify errors to
1652+ * assist with remediating the failure. The response will be an empty list if there is no
1653+ * error.</p>
1654+ */
1655+ errorTypes ?: string [ ] ;
1656+ }
1657+
16321658/**
16331659 * <p>Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.</p>
16341660 */
@@ -1683,6 +1709,12 @@ export interface EffectiveDeployment {
16831709 * format.</p>
16841710 */
16851711 modifiedTimestamp : Date | undefined ;
1712+
1713+ /**
1714+ * <p>The status details that explain why a deployment has an error. This response will be null
1715+ * if the deployment is in a success state.</p>
1716+ */
1717+ statusDetails ?: EffectiveDeploymentStatusDetails ;
16861718}
16871719
16881720export enum RecipeOutputFormat {
@@ -2208,7 +2240,8 @@ export interface InstalledComponent {
22082240 lifecycleState ?: InstalledComponentLifecycleState | string ;
22092241
22102242 /**
2211- * <p>The details about the lifecycle state of the component.</p>
2243+ * <p>A detailed response about the lifecycle state of the component that explains the reason
2244+ * why a component has an error or is broken.</p>
22122245 */
22132246 lifecycleStateDetails ?: string ;
22142247
@@ -2224,15 +2257,45 @@ export interface InstalledComponent {
22242257 * deployment, it might not undergo a state change and this status would not be updated.</p>
22252258 */
22262259 lastStatusChangeTimestamp ?: Date ;
2260+
2261+ /**
2262+ * <p>The last time the Greengrass core device sent a message containing a certain component to the
2263+ * Amazon Web Services Cloud.</p>
2264+ * <p>A component does not need to see a state change for this field to update.</p>
2265+ */
2266+ lastReportedTimestamp ?: Date ;
2267+
2268+ /**
2269+ * <p>The most recent deployment source that brought the component to the Greengrass core device. For
2270+ * a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for
2271+ * local deployments it will be <code>LOCAL</code>.</p>
2272+ */
2273+ lastInstallationSource ?: string ;
2274+
2275+ /**
2276+ * <p>The status codes that indicate the reason for failure whenever the
2277+ * <code>lifecycleState</code> has an error or is in a broken state.</p>
2278+ * <note>
2279+ * <p>Greengrass nucleus v2.8.0 or later is required to get an accurate
2280+ * <code>lifecycleStatusCodes</code> response. This response can be inaccurate in earlier
2281+ * Greengrass nucleus versions.</p>
2282+ * </note>
2283+ */
2284+ lifecycleStatusCodes ?: string [ ] ;
22272285}
22282286
22292287export interface ListInstalledComponentsResponse {
22302288 /**
22312289 * <p>A list that summarizes each component on the core device.</p>
22322290 * <note>
2233- * <p>Accuracy of the <code>lastStatusChangeTimestamp</code> response depends on Greengrass nucleus
2234- * v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier
2235- * versions.</p>
2291+ * <p>Greengrass nucleus v2.7.0 or later is required to get an accurate
2292+ * <code>lastStatusChangeTimestamp</code> response. This response can be inaccurate in
2293+ * earlier Greengrass nucleus versions.</p>
2294+ * </note>
2295+ * <note>
2296+ * <p>Greengrass nucleus v2.8.0 or later is required to get an accurate
2297+ * <code>lastInstallationSource</code> and <code>lastReportedTimestamp</code> response. This
2298+ * response can be inaccurate or null in earlier Greengrass nucleus versions.</p>
22362299 * </note>
22372300 */
22382301 installedComponents ?: InstalledComponent [ ] ;
@@ -2805,6 +2868,13 @@ export const DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = (
28052868 ...obj ,
28062869} ) ;
28072870
2871+ /**
2872+ * @internal
2873+ */
2874+ export const EffectiveDeploymentStatusDetailsFilterSensitiveLog = ( obj : EffectiveDeploymentStatusDetails ) : any => ( {
2875+ ...obj ,
2876+ } ) ;
2877+
28082878/**
28092879 * @internal
28102880 */
0 commit comments