@@ -1629,6 +1629,32 @@ export enum EffectiveDeploymentExecutionStatus {
1629
1629
TIMED_OUT = "TIMED_OUT" ,
1630
1630
}
1631
1631
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
+
1632
1658
/**
1633
1659
* <p>Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.</p>
1634
1660
*/
@@ -1683,6 +1709,12 @@ export interface EffectiveDeployment {
1683
1709
* format.</p>
1684
1710
*/
1685
1711
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 ;
1686
1718
}
1687
1719
1688
1720
export enum RecipeOutputFormat {
@@ -2208,7 +2240,8 @@ export interface InstalledComponent {
2208
2240
lifecycleState ?: InstalledComponentLifecycleState | string ;
2209
2241
2210
2242
/**
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>
2212
2245
*/
2213
2246
lifecycleStateDetails ?: string ;
2214
2247
@@ -2224,15 +2257,45 @@ export interface InstalledComponent {
2224
2257
* deployment, it might not undergo a state change and this status would not be updated.</p>
2225
2258
*/
2226
2259
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 [ ] ;
2227
2285
}
2228
2286
2229
2287
export interface ListInstalledComponentsResponse {
2230
2288
/**
2231
2289
* <p>A list that summarizes each component on the core device.</p>
2232
2290
* <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>
2236
2299
* </note>
2237
2300
*/
2238
2301
installedComponents ?: InstalledComponent [ ] ;
@@ -2805,6 +2868,13 @@ export const DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = (
2805
2868
...obj ,
2806
2869
} ) ;
2807
2870
2871
+ /**
2872
+ * @internal
2873
+ */
2874
+ export const EffectiveDeploymentStatusDetailsFilterSensitiveLog = ( obj : EffectiveDeploymentStatusDetails ) : any => ( {
2875
+ ...obj ,
2876
+ } ) ;
2877
+
2808
2878
/**
2809
2879
* @internal
2810
2880
*/
0 commit comments