@aws-sdk/client-greengrassv2 3.301.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,13 +110,18 @@ export interface ValidationExceptionField {
110
110
  }
111
111
  /**
112
112
  * @public
113
+ * @enum
113
114
  */
114
- export declare enum ValidationExceptionReason {
115
- CANNOT_PARSE = "CANNOT_PARSE",
116
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
117
- OTHER = "OTHER",
118
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
119
- }
115
+ export declare const ValidationExceptionReason: {
116
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
117
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
118
+ readonly OTHER: "OTHER";
119
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
120
125
  /**
121
126
  * @public
122
127
  * <p>The request isn't valid. This can occur if your request contains malformed JSON or
@@ -301,22 +306,32 @@ export declare class ConflictException extends __BaseException {
301
306
  }
302
307
  /**
303
308
  * @public
309
+ * @enum
304
310
  */
305
- export declare enum CloudComponentState {
306
- DEPLOYABLE = "DEPLOYABLE",
307
- DEPRECATED = "DEPRECATED",
308
- FAILED = "FAILED",
309
- INITIATED = "INITIATED",
310
- REQUESTED = "REQUESTED"
311
- }
311
+ export declare const CloudComponentState: {
312
+ readonly DEPLOYABLE: "DEPLOYABLE";
313
+ readonly DEPRECATED: "DEPRECATED";
314
+ readonly FAILED: "FAILED";
315
+ readonly INITIATED: "INITIATED";
316
+ readonly REQUESTED: "REQUESTED";
317
+ };
312
318
  /**
313
319
  * @public
314
320
  */
315
- export declare enum VendorGuidance {
316
- ACTIVE = "ACTIVE",
317
- DELETED = "DELETED",
318
- DISCONTINUED = "DISCONTINUED"
319
- }
321
+ export type CloudComponentState = (typeof CloudComponentState)[keyof typeof CloudComponentState];
322
+ /**
323
+ * @public
324
+ * @enum
325
+ */
326
+ export declare const VendorGuidance: {
327
+ readonly ACTIVE: "ACTIVE";
328
+ readonly DELETED: "DELETED";
329
+ readonly DISCONTINUED: "DISCONTINUED";
330
+ };
331
+ /**
332
+ * @public
333
+ */
334
+ export type VendorGuidance = (typeof VendorGuidance)[keyof typeof VendorGuidance];
320
335
  /**
321
336
  * @public
322
337
  * <p>Contains the status of a component version in the IoT Greengrass service.</p>
@@ -483,11 +498,16 @@ export interface ComponentConfigurationUpdate {
483
498
  }
484
499
  /**
485
500
  * @public
501
+ * @enum
486
502
  */
487
- export declare enum ComponentDependencyType {
488
- HARD = "HARD",
489
- SOFT = "SOFT"
490
- }
503
+ export declare const ComponentDependencyType: {
504
+ readonly HARD: "HARD";
505
+ readonly SOFT: "SOFT";
506
+ };
507
+ /**
508
+ * @public
509
+ */
510
+ export type ComponentDependencyType = (typeof ComponentDependencyType)[keyof typeof ComponentDependencyType];
491
511
  /**
492
512
  * @public
493
513
  * <p>Contains information about a component dependency for a Lambda function component.</p>
@@ -619,11 +639,16 @@ export interface ComponentVersionListItem {
619
639
  }
620
640
  /**
621
641
  * @public
642
+ * @enum
622
643
  */
623
- export declare enum ComponentVisibilityScope {
624
- PRIVATE = "PRIVATE",
625
- PUBLIC = "PUBLIC"
626
- }
644
+ export declare const ComponentVisibilityScope: {
645
+ readonly PRIVATE: "PRIVATE";
646
+ readonly PUBLIC: "PUBLIC";
647
+ };
648
+ /**
649
+ * @public
650
+ */
651
+ export type ComponentVisibilityScope = (typeof ComponentVisibilityScope)[keyof typeof ComponentVisibilityScope];
627
652
  /**
628
653
  * @public
629
654
  * <p>Contains information about an endpoint and port where client devices can connect to an
@@ -651,11 +676,16 @@ export interface ConnectivityInfo {
651
676
  }
652
677
  /**
653
678
  * @public
679
+ * @enum
654
680
  */
655
- export declare enum CoreDeviceStatus {
656
- HEALTHY = "HEALTHY",
657
- UNHEALTHY = "UNHEALTHY"
658
- }
681
+ export declare const CoreDeviceStatus: {
682
+ readonly HEALTHY: "HEALTHY";
683
+ readonly UNHEALTHY: "UNHEALTHY";
684
+ };
685
+ /**
686
+ * @public
687
+ */
688
+ export type CoreDeviceStatus = (typeof CoreDeviceStatus)[keyof typeof CoreDeviceStatus];
659
689
  /**
660
690
  * @public
661
691
  * <p>Contains information about a Greengrass core device, which is an IoT thing that runs the IoT Greengrass
@@ -690,11 +720,16 @@ export interface CoreDevice {
690
720
  }
691
721
  /**
692
722
  * @public
723
+ * @enum
693
724
  */
694
- export declare enum LambdaEventSourceType {
695
- IOT_CORE = "IOT_CORE",
696
- PUB_SUB = "PUB_SUB"
697
- }
725
+ export declare const LambdaEventSourceType: {
726
+ readonly IOT_CORE: "IOT_CORE";
727
+ readonly PUB_SUB: "PUB_SUB";
728
+ };
729
+ /**
730
+ * @public
731
+ */
732
+ export type LambdaEventSourceType = (typeof LambdaEventSourceType)[keyof typeof LambdaEventSourceType];
698
733
  /**
699
734
  * @public
700
735
  * <p>Contains information about an event source for an Lambda function. The event source
@@ -727,18 +762,28 @@ export interface LambdaEventSource {
727
762
  }
728
763
  /**
729
764
  * @public
765
+ * @enum
730
766
  */
731
- export declare enum LambdaInputPayloadEncodingType {
732
- BINARY = "binary",
733
- JSON = "json"
734
- }
767
+ export declare const LambdaInputPayloadEncodingType: {
768
+ readonly BINARY: "binary";
769
+ readonly JSON: "json";
770
+ };
735
771
  /**
736
772
  * @public
737
773
  */
738
- export declare enum LambdaFilesystemPermission {
739
- RO = "ro",
740
- RW = "rw"
741
- }
774
+ export type LambdaInputPayloadEncodingType = (typeof LambdaInputPayloadEncodingType)[keyof typeof LambdaInputPayloadEncodingType];
775
+ /**
776
+ * @public
777
+ * @enum
778
+ */
779
+ export declare const LambdaFilesystemPermission: {
780
+ readonly RO: "ro";
781
+ readonly RW: "rw";
782
+ };
783
+ /**
784
+ * @public
785
+ */
786
+ export type LambdaFilesystemPermission = (typeof LambdaFilesystemPermission)[keyof typeof LambdaFilesystemPermission];
742
787
  /**
743
788
  * @public
744
789
  * <p>Contains information about a device that Linux processes in a container can access.</p>
@@ -820,11 +865,16 @@ export interface LambdaContainerParams {
820
865
  }
821
866
  /**
822
867
  * @public
868
+ * @enum
823
869
  */
824
- export declare enum LambdaIsolationMode {
825
- GREENGRASS_CONTAINER = "GreengrassContainer",
826
- NO_CONTAINER = "NoContainer"
827
- }
870
+ export declare const LambdaIsolationMode: {
871
+ readonly GREENGRASS_CONTAINER: "GreengrassContainer";
872
+ readonly NO_CONTAINER: "NoContainer";
873
+ };
874
+ /**
875
+ * @public
876
+ */
877
+ export type LambdaIsolationMode = (typeof LambdaIsolationMode)[keyof typeof LambdaIsolationMode];
828
878
  /**
829
879
  * @public
830
880
  * <p>Contains parameters for a Linux process that contains an Lambda function.</p>
@@ -1052,11 +1102,16 @@ export declare class ServiceQuotaExceededException extends __BaseException {
1052
1102
  }
1053
1103
  /**
1054
1104
  * @public
1105
+ * @enum
1055
1106
  */
1056
- export declare enum DeploymentComponentUpdatePolicyAction {
1057
- NOTIFY_COMPONENTS = "NOTIFY_COMPONENTS",
1058
- SKIP_NOTIFY_COMPONENTS = "SKIP_NOTIFY_COMPONENTS"
1059
- }
1107
+ export declare const DeploymentComponentUpdatePolicyAction: {
1108
+ readonly NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS";
1109
+ readonly SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS";
1110
+ };
1111
+ /**
1112
+ * @public
1113
+ */
1114
+ export type DeploymentComponentUpdatePolicyAction = (typeof DeploymentComponentUpdatePolicyAction)[keyof typeof DeploymentComponentUpdatePolicyAction];
1060
1115
  /**
1061
1116
  * @public
1062
1117
  * <p>Contains information about a deployment's policy that defines when components are safe to
@@ -1114,11 +1169,16 @@ export interface DeploymentConfigurationValidationPolicy {
1114
1169
  }
1115
1170
  /**
1116
1171
  * @public
1172
+ * @enum
1117
1173
  */
1118
- export declare enum DeploymentFailureHandlingPolicy {
1119
- DO_NOTHING = "DO_NOTHING",
1120
- ROLLBACK = "ROLLBACK"
1121
- }
1174
+ export declare const DeploymentFailureHandlingPolicy: {
1175
+ readonly DO_NOTHING: "DO_NOTHING";
1176
+ readonly ROLLBACK: "ROLLBACK";
1177
+ };
1178
+ /**
1179
+ * @public
1180
+ */
1181
+ export type DeploymentFailureHandlingPolicy = (typeof DeploymentFailureHandlingPolicy)[keyof typeof DeploymentFailureHandlingPolicy];
1122
1182
  /**
1123
1183
  * @public
1124
1184
  * <p>Contains information about policies that define how a deployment updates components and
@@ -1145,19 +1205,29 @@ export interface DeploymentPolicies {
1145
1205
  }
1146
1206
  /**
1147
1207
  * @public
1208
+ * @enum
1148
1209
  */
1149
- export declare enum IoTJobAbortAction {
1150
- CANCEL = "CANCEL"
1151
- }
1210
+ export declare const IoTJobAbortAction: {
1211
+ readonly CANCEL: "CANCEL";
1212
+ };
1152
1213
  /**
1153
1214
  * @public
1154
1215
  */
1155
- export declare enum IoTJobExecutionFailureType {
1156
- ALL = "ALL",
1157
- FAILED = "FAILED",
1158
- REJECTED = "REJECTED",
1159
- TIMED_OUT = "TIMED_OUT"
1160
- }
1216
+ export type IoTJobAbortAction = (typeof IoTJobAbortAction)[keyof typeof IoTJobAbortAction];
1217
+ /**
1218
+ * @public
1219
+ * @enum
1220
+ */
1221
+ export declare const IoTJobExecutionFailureType: {
1222
+ readonly ALL: "ALL";
1223
+ readonly FAILED: "FAILED";
1224
+ readonly REJECTED: "REJECTED";
1225
+ readonly TIMED_OUT: "TIMED_OUT";
1226
+ };
1227
+ /**
1228
+ * @public
1229
+ */
1230
+ export type IoTJobExecutionFailureType = (typeof IoTJobExecutionFailureType)[keyof typeof IoTJobExecutionFailureType];
1161
1231
  /**
1162
1232
  * @public
1163
1233
  * <p>Contains criteria that define when and how to cancel a job.</p>
@@ -1388,14 +1458,19 @@ export interface DeleteDeploymentRequest {
1388
1458
  }
1389
1459
  /**
1390
1460
  * @public
1461
+ * @enum
1391
1462
  */
1392
- export declare enum DeploymentStatus {
1393
- ACTIVE = "ACTIVE",
1394
- CANCELED = "CANCELED",
1395
- COMPLETED = "COMPLETED",
1396
- FAILED = "FAILED",
1397
- INACTIVE = "INACTIVE"
1398
- }
1463
+ export declare const DeploymentStatus: {
1464
+ readonly ACTIVE: "ACTIVE";
1465
+ readonly CANCELED: "CANCELED";
1466
+ readonly COMPLETED: "COMPLETED";
1467
+ readonly FAILED: "FAILED";
1468
+ readonly INACTIVE: "INACTIVE";
1469
+ };
1470
+ /**
1471
+ * @public
1472
+ */
1473
+ export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
1399
1474
  /**
1400
1475
  * @public
1401
1476
  * <p>Contains information about a deployment.</p>
@@ -1436,11 +1511,16 @@ export interface Deployment {
1436
1511
  }
1437
1512
  /**
1438
1513
  * @public
1514
+ * @enum
1439
1515
  */
1440
- export declare enum DeploymentHistoryFilter {
1441
- ALL = "ALL",
1442
- LATEST_ONLY = "LATEST_ONLY"
1443
- }
1516
+ export declare const DeploymentHistoryFilter: {
1517
+ readonly ALL: "ALL";
1518
+ readonly LATEST_ONLY: "LATEST_ONLY";
1519
+ };
1520
+ /**
1521
+ * @public
1522
+ */
1523
+ export type DeploymentHistoryFilter = (typeof DeploymentHistoryFilter)[keyof typeof DeploymentHistoryFilter];
1444
1524
  /**
1445
1525
  * @public
1446
1526
  */
@@ -1511,16 +1591,21 @@ export interface DisassociateServiceRoleFromAccountResponse {
1511
1591
  }
1512
1592
  /**
1513
1593
  * @public
1594
+ * @enum
1514
1595
  */
1515
- export declare enum EffectiveDeploymentExecutionStatus {
1516
- CANCELED = "CANCELED",
1517
- COMPLETED = "COMPLETED",
1518
- FAILED = "FAILED",
1519
- IN_PROGRESS = "IN_PROGRESS",
1520
- QUEUED = "QUEUED",
1521
- REJECTED = "REJECTED",
1522
- TIMED_OUT = "TIMED_OUT"
1523
- }
1596
+ export declare const EffectiveDeploymentExecutionStatus: {
1597
+ readonly CANCELED: "CANCELED";
1598
+ readonly COMPLETED: "COMPLETED";
1599
+ readonly FAILED: "FAILED";
1600
+ readonly IN_PROGRESS: "IN_PROGRESS";
1601
+ readonly QUEUED: "QUEUED";
1602
+ readonly REJECTED: "REJECTED";
1603
+ readonly TIMED_OUT: "TIMED_OUT";
1604
+ };
1605
+ /**
1606
+ * @public
1607
+ */
1608
+ export type EffectiveDeploymentExecutionStatus = (typeof EffectiveDeploymentExecutionStatus)[keyof typeof EffectiveDeploymentExecutionStatus];
1524
1609
  /**
1525
1610
  * @public
1526
1611
  * <p>Contains all error-related information for the deployment record. The status details will
@@ -1600,11 +1685,16 @@ export interface EffectiveDeployment {
1600
1685
  }
1601
1686
  /**
1602
1687
  * @public
1688
+ * @enum
1603
1689
  */
1604
- export declare enum RecipeOutputFormat {
1605
- JSON = "JSON",
1606
- YAML = "YAML"
1607
- }
1690
+ export declare const RecipeOutputFormat: {
1691
+ readonly JSON: "JSON";
1692
+ readonly YAML: "YAML";
1693
+ };
1694
+ /**
1695
+ * @public
1696
+ */
1697
+ export type RecipeOutputFormat = (typeof RecipeOutputFormat)[keyof typeof RecipeOutputFormat];
1608
1698
  /**
1609
1699
  * @public
1610
1700
  */
@@ -2064,11 +2154,16 @@ export interface ListEffectiveDeploymentsResponse {
2064
2154
  }
2065
2155
  /**
2066
2156
  * @public
2157
+ * @enum
2067
2158
  */
2068
- export declare enum InstalledComponentTopologyFilter {
2069
- ALL = "ALL",
2070
- ROOT = "ROOT"
2071
- }
2159
+ export declare const InstalledComponentTopologyFilter: {
2160
+ readonly ALL: "ALL";
2161
+ readonly ROOT: "ROOT";
2162
+ };
2163
+ /**
2164
+ * @public
2165
+ */
2166
+ export type InstalledComponentTopologyFilter = (typeof InstalledComponentTopologyFilter)[keyof typeof InstalledComponentTopologyFilter];
2072
2167
  /**
2073
2168
  * @public
2074
2169
  */
@@ -2108,17 +2203,22 @@ export interface ListInstalledComponentsRequest {
2108
2203
  }
2109
2204
  /**
2110
2205
  * @public
2206
+ * @enum
2111
2207
  */
2112
- export declare enum InstalledComponentLifecycleState {
2113
- BROKEN = "BROKEN",
2114
- ERRORED = "ERRORED",
2115
- FINISHED = "FINISHED",
2116
- INSTALLED = "INSTALLED",
2117
- NEW = "NEW",
2118
- RUNNING = "RUNNING",
2119
- STARTING = "STARTING",
2120
- STOPPING = "STOPPING"
2121
- }
2208
+ export declare const InstalledComponentLifecycleState: {
2209
+ readonly BROKEN: "BROKEN";
2210
+ readonly ERRORED: "ERRORED";
2211
+ readonly FINISHED: "FINISHED";
2212
+ readonly INSTALLED: "INSTALLED";
2213
+ readonly NEW: "NEW";
2214
+ readonly RUNNING: "RUNNING";
2215
+ readonly STARTING: "STARTING";
2216
+ readonly STOPPING: "STOPPING";
2217
+ };
2218
+ /**
2219
+ * @public
2220
+ */
2221
+ export type InstalledComponentLifecycleState = (typeof InstalledComponentLifecycleState)[keyof typeof InstalledComponentLifecycleState];
2122
2222
  /**
2123
2223
  * @public
2124
2224
  * <p>Contains information about a component on a Greengrass core device.</p>