@aws-sdk/client-greengrassv2 3.934.0 → 3.936.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.
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { GreengrassV2ServiceException as __BaseException } from "./GreengrassV2ServiceException";
3
- /**
4
- * <p>You don't have permission to perform the action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
1
+ import { CloudComponentState, ComponentDependencyType, ComponentVisibilityScope, CoreDeviceStatus, DeploymentComponentUpdatePolicyAction, DeploymentFailureHandlingPolicy, DeploymentHistoryFilter, DeploymentStatus, EffectiveDeploymentExecutionStatus, InstalledComponentLifecycleState, InstalledComponentTopologyFilter, IotEndpointType, IoTJobAbortAction, IoTJobExecutionFailureType, LambdaEventSourceType, LambdaFilesystemPermission, LambdaInputPayloadEncodingType, LambdaIsolationMode, RecipeOutputFormat, S3EndpointType, VendorGuidance } from "./enums";
15
2
  /**
16
3
  * <p>Contains a request to associate a client device with a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html">BatchAssociateClientDeviceWithCoreDevice</a> operation consumes a list of these
17
4
  * requests.</p>
@@ -86,23 +73,6 @@ export interface AssociateServiceRoleToAccountResponse {
86
73
  */
87
74
  associatedAt?: string | undefined;
88
75
  }
89
- /**
90
- * <p>IoT Greengrass can't process your request right now. Try again later.</p>
91
- * @public
92
- */
93
- export declare class InternalServerException extends __BaseException {
94
- readonly name: "InternalServerException";
95
- readonly $fault: "server";
96
- /**
97
- * <p>The amount of time to wait before you retry the request.</p>
98
- * @public
99
- */
100
- retryAfterSeconds?: number | undefined;
101
- /**
102
- * @internal
103
- */
104
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
105
- }
106
76
  /**
107
77
  * <p>Contains information about a validation exception field.</p>
108
78
  * @public
@@ -119,43 +89,6 @@ export interface ValidationExceptionField {
119
89
  */
120
90
  message: string | undefined;
121
91
  }
122
- /**
123
- * @public
124
- * @enum
125
- */
126
- export declare const ValidationExceptionReason: {
127
- readonly CANNOT_PARSE: "CANNOT_PARSE";
128
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
129
- readonly OTHER: "OTHER";
130
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
131
- };
132
- /**
133
- * @public
134
- */
135
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
136
- /**
137
- * <p>The request isn't valid. This can occur if your request contains malformed JSON or
138
- * unsupported characters.</p>
139
- * @public
140
- */
141
- export declare class ValidationException extends __BaseException {
142
- readonly name: "ValidationException";
143
- readonly $fault: "client";
144
- /**
145
- * <p>The reason for the validation exception.</p>
146
- * @public
147
- */
148
- reason?: ValidationExceptionReason | undefined;
149
- /**
150
- * <p>The list of fields that failed to validate.</p>
151
- * @public
152
- */
153
- fields?: ValidationExceptionField[] | undefined;
154
- /**
155
- * @internal
156
- */
157
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
158
- }
159
92
  /**
160
93
  * @public
161
94
  */
@@ -182,56 +115,6 @@ export interface BatchAssociateClientDeviceWithCoreDeviceResponse {
182
115
  */
183
116
  errorEntries?: AssociateClientDeviceWithCoreDeviceErrorEntry[] | undefined;
184
117
  }
185
- /**
186
- * <p>The requested resource can't be found.</p>
187
- * @public
188
- */
189
- export declare class ResourceNotFoundException extends __BaseException {
190
- readonly name: "ResourceNotFoundException";
191
- readonly $fault: "client";
192
- /**
193
- * <p>The ID of the resource that isn't found.</p>
194
- * @public
195
- */
196
- resourceId: string | undefined;
197
- /**
198
- * <p>The type of the resource that isn't found.</p>
199
- * @public
200
- */
201
- resourceType: string | undefined;
202
- /**
203
- * @internal
204
- */
205
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
206
- }
207
- /**
208
- * <p>Your request exceeded a request rate quota. For example, you might have exceeded the
209
- * amount of times that you can retrieve device or deployment status per second.</p>
210
- * @public
211
- */
212
- export declare class ThrottlingException extends __BaseException {
213
- readonly name: "ThrottlingException";
214
- readonly $fault: "client";
215
- /**
216
- * <p>The code for the quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
217
- * @public
218
- */
219
- quotaCode?: string | undefined;
220
- /**
221
- * <p>The code for the service in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
222
- * @public
223
- */
224
- serviceCode?: string | undefined;
225
- /**
226
- * <p>The amount of time to wait before you retry the request.</p>
227
- * @public
228
- */
229
- retryAfterSeconds?: number | undefined;
230
- /**
231
- * @internal
232
- */
233
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
234
- }
235
118
  /**
236
119
  * <p>Contains a request to disassociate a client device from a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html">BatchDisassociateClientDeviceWithCoreDevice</a> operation consumes a list of these
237
120
  * requests.</p>
@@ -313,57 +196,6 @@ export interface CancelDeploymentResponse {
313
196
  */
314
197
  message?: string | undefined;
315
198
  }
316
- /**
317
- * <p>Your request has conflicting operations. This can occur if you're trying to perform more
318
- * than one operation on the same resource at the same time.</p>
319
- * @public
320
- */
321
- export declare class ConflictException extends __BaseException {
322
- readonly name: "ConflictException";
323
- readonly $fault: "client";
324
- /**
325
- * <p>The ID of the resource that conflicts with the request.</p>
326
- * @public
327
- */
328
- resourceId: string | undefined;
329
- /**
330
- * <p>The type of the resource that conflicts with the request.</p>
331
- * @public
332
- */
333
- resourceType: string | undefined;
334
- /**
335
- * @internal
336
- */
337
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
338
- }
339
- /**
340
- * @public
341
- * @enum
342
- */
343
- export declare const CloudComponentState: {
344
- readonly DEPLOYABLE: "DEPLOYABLE";
345
- readonly DEPRECATED: "DEPRECATED";
346
- readonly FAILED: "FAILED";
347
- readonly INITIATED: "INITIATED";
348
- readonly REQUESTED: "REQUESTED";
349
- };
350
- /**
351
- * @public
352
- */
353
- export type CloudComponentState = (typeof CloudComponentState)[keyof typeof CloudComponentState];
354
- /**
355
- * @public
356
- * @enum
357
- */
358
- export declare const VendorGuidance: {
359
- readonly ACTIVE: "ACTIVE";
360
- readonly DELETED: "DELETED";
361
- readonly DISCONTINUED: "DISCONTINUED";
362
- };
363
- /**
364
- * @public
365
- */
366
- export type VendorGuidance = (typeof VendorGuidance)[keyof typeof VendorGuidance];
367
199
  /**
368
200
  * <p>Contains the status of a component version in the IoT Greengrass service.</p>
369
201
  * @public
@@ -549,18 +381,6 @@ export interface ComponentConfigurationUpdate {
549
381
  */
550
382
  reset?: string[] | undefined;
551
383
  }
552
- /**
553
- * @public
554
- * @enum
555
- */
556
- export declare const ComponentDependencyType: {
557
- readonly HARD: "HARD";
558
- readonly SOFT: "SOFT";
559
- };
560
- /**
561
- * @public
562
- */
563
- export type ComponentDependencyType = (typeof ComponentDependencyType)[keyof typeof ComponentDependencyType];
564
384
  /**
565
385
  * <p>Contains information about a component dependency for a Lambda function component.</p>
566
386
  * @public
@@ -703,18 +523,6 @@ export interface ComponentVersionListItem {
703
523
  */
704
524
  arn?: string | undefined;
705
525
  }
706
- /**
707
- * @public
708
- * @enum
709
- */
710
- export declare const ComponentVisibilityScope: {
711
- readonly PRIVATE: "PRIVATE";
712
- readonly PUBLIC: "PUBLIC";
713
- };
714
- /**
715
- * @public
716
- */
717
- export type ComponentVisibilityScope = (typeof ComponentVisibilityScope)[keyof typeof ComponentVisibilityScope];
718
526
  /**
719
527
  * <p>Contains information about an endpoint and port where client devices can connect to an
720
528
  * MQTT broker on a Greengrass core device.</p>
@@ -744,18 +552,6 @@ export interface ConnectivityInfo {
744
552
  */
745
553
  metadata?: string | undefined;
746
554
  }
747
- /**
748
- * @public
749
- * @enum
750
- */
751
- export declare const CoreDeviceStatus: {
752
- readonly HEALTHY: "HEALTHY";
753
- readonly UNHEALTHY: "UNHEALTHY";
754
- };
755
- /**
756
- * @public
757
- */
758
- export type CoreDeviceStatus = (typeof CoreDeviceStatus)[keyof typeof CoreDeviceStatus];
759
555
  /**
760
556
  * <p>Contains information about a Greengrass core device, which is an IoT thing that runs the IoT Greengrass
761
557
  * Core software.</p>
@@ -818,18 +614,6 @@ export interface CoreDevice {
818
614
  */
819
615
  runtime?: string | undefined;
820
616
  }
821
- /**
822
- * @public
823
- * @enum
824
- */
825
- export declare const LambdaEventSourceType: {
826
- readonly IOT_CORE: "IOT_CORE";
827
- readonly PUB_SUB: "PUB_SUB";
828
- };
829
- /**
830
- * @public
831
- */
832
- export type LambdaEventSourceType = (typeof LambdaEventSourceType)[keyof typeof LambdaEventSourceType];
833
617
  /**
834
618
  * <p>Contains information about an event source for an Lambda function. The event source
835
619
  * defines the topics on which this Lambda function subscribes to receive messages that run the
@@ -862,30 +646,6 @@ export interface LambdaEventSource {
862
646
  */
863
647
  type: LambdaEventSourceType | undefined;
864
648
  }
865
- /**
866
- * @public
867
- * @enum
868
- */
869
- export declare const LambdaInputPayloadEncodingType: {
870
- readonly BINARY: "binary";
871
- readonly JSON: "json";
872
- };
873
- /**
874
- * @public
875
- */
876
- export type LambdaInputPayloadEncodingType = (typeof LambdaInputPayloadEncodingType)[keyof typeof LambdaInputPayloadEncodingType];
877
- /**
878
- * @public
879
- * @enum
880
- */
881
- export declare const LambdaFilesystemPermission: {
882
- readonly RO: "ro";
883
- readonly RW: "rw";
884
- };
885
- /**
886
- * @public
887
- */
888
- export type LambdaFilesystemPermission = (typeof LambdaFilesystemPermission)[keyof typeof LambdaFilesystemPermission];
889
649
  /**
890
650
  * <p>Contains information about a device that Linux processes in a container can access.</p>
891
651
  * @public
@@ -976,18 +736,6 @@ export interface LambdaContainerParams {
976
736
  */
977
737
  devices?: LambdaDeviceMount[] | undefined;
978
738
  }
979
- /**
980
- * @public
981
- * @enum
982
- */
983
- export declare const LambdaIsolationMode: {
984
- readonly GREENGRASS_CONTAINER: "GreengrassContainer";
985
- readonly NO_CONTAINER: "NoContainer";
986
- };
987
- /**
988
- * @public
989
- */
990
- export type LambdaIsolationMode = (typeof LambdaIsolationMode)[keyof typeof LambdaIsolationMode];
991
739
  /**
992
740
  * <p>Contains parameters for a Linux process that contains an Lambda function.</p>
993
741
  * @public
@@ -1199,65 +947,6 @@ export interface CreateComponentVersionResponse {
1199
947
  */
1200
948
  status: CloudComponentStatus | undefined;
1201
949
  }
1202
- /**
1203
- * <p>The request is already in progress. This exception occurs when you use a client token for
1204
- * multiple requests while IoT Greengrass is still processing an earlier request that uses the same client
1205
- * token.</p>
1206
- * @public
1207
- */
1208
- export declare class RequestAlreadyInProgressException extends __BaseException {
1209
- readonly name: "RequestAlreadyInProgressException";
1210
- readonly $fault: "client";
1211
- /**
1212
- * @internal
1213
- */
1214
- constructor(opts: __ExceptionOptionType<RequestAlreadyInProgressException, __BaseException>);
1215
- }
1216
- /**
1217
- * <p>Your request exceeds a service quota. For example, you might have the maximum number of
1218
- * components that you can create.</p>
1219
- * @public
1220
- */
1221
- export declare class ServiceQuotaExceededException extends __BaseException {
1222
- readonly name: "ServiceQuotaExceededException";
1223
- readonly $fault: "client";
1224
- /**
1225
- * <p>The ID of the resource that exceeds the service quota.</p>
1226
- * @public
1227
- */
1228
- resourceId?: string | undefined;
1229
- /**
1230
- * <p>The type of the resource that exceeds the service quota.</p>
1231
- * @public
1232
- */
1233
- resourceType?: string | undefined;
1234
- /**
1235
- * <p>The code for the quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
1236
- * @public
1237
- */
1238
- quotaCode: string | undefined;
1239
- /**
1240
- * <p>The code for the service in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
1241
- * @public
1242
- */
1243
- serviceCode: string | undefined;
1244
- /**
1245
- * @internal
1246
- */
1247
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1248
- }
1249
- /**
1250
- * @public
1251
- * @enum
1252
- */
1253
- export declare const DeploymentComponentUpdatePolicyAction: {
1254
- readonly NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS";
1255
- readonly SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS";
1256
- };
1257
- /**
1258
- * @public
1259
- */
1260
- export type DeploymentComponentUpdatePolicyAction = (typeof DeploymentComponentUpdatePolicyAction)[keyof typeof DeploymentComponentUpdatePolicyAction];
1261
950
  /**
1262
951
  * <p>Contains information about a deployment's policy that defines when components are safe to
1263
952
  * update.</p>
@@ -1318,18 +1007,6 @@ export interface DeploymentConfigurationValidationPolicy {
1318
1007
  */
1319
1008
  timeoutInSeconds?: number | undefined;
1320
1009
  }
1321
- /**
1322
- * @public
1323
- * @enum
1324
- */
1325
- export declare const DeploymentFailureHandlingPolicy: {
1326
- readonly DO_NOTHING: "DO_NOTHING";
1327
- readonly ROLLBACK: "ROLLBACK";
1328
- };
1329
- /**
1330
- * @public
1331
- */
1332
- export type DeploymentFailureHandlingPolicy = (typeof DeploymentFailureHandlingPolicy)[keyof typeof DeploymentFailureHandlingPolicy];
1333
1010
  /**
1334
1011
  * <p>Contains information about policies that define how a deployment updates components and
1335
1012
  * handles failure.</p>
@@ -1357,31 +1034,6 @@ export interface DeploymentPolicies {
1357
1034
  */
1358
1035
  configurationValidationPolicy?: DeploymentConfigurationValidationPolicy | undefined;
1359
1036
  }
1360
- /**
1361
- * @public
1362
- * @enum
1363
- */
1364
- export declare const IoTJobAbortAction: {
1365
- readonly CANCEL: "CANCEL";
1366
- };
1367
- /**
1368
- * @public
1369
- */
1370
- export type IoTJobAbortAction = (typeof IoTJobAbortAction)[keyof typeof IoTJobAbortAction];
1371
- /**
1372
- * @public
1373
- * @enum
1374
- */
1375
- export declare const IoTJobExecutionFailureType: {
1376
- readonly ALL: "ALL";
1377
- readonly FAILED: "FAILED";
1378
- readonly REJECTED: "REJECTED";
1379
- readonly TIMED_OUT: "TIMED_OUT";
1380
- };
1381
- /**
1382
- * @public
1383
- */
1384
- export type IoTJobExecutionFailureType = (typeof IoTJobExecutionFailureType)[keyof typeof IoTJobExecutionFailureType];
1385
1037
  /**
1386
1038
  * <p>Contains criteria that define when and how to cancel a job.</p>
1387
1039
  * <p>The deployment stops if the following conditions are true:</p>
@@ -1641,21 +1293,6 @@ export interface DeleteDeploymentRequest {
1641
1293
  */
1642
1294
  deploymentId: string | undefined;
1643
1295
  }
1644
- /**
1645
- * @public
1646
- * @enum
1647
- */
1648
- export declare const DeploymentStatus: {
1649
- readonly ACTIVE: "ACTIVE";
1650
- readonly CANCELED: "CANCELED";
1651
- readonly COMPLETED: "COMPLETED";
1652
- readonly FAILED: "FAILED";
1653
- readonly INACTIVE: "INACTIVE";
1654
- };
1655
- /**
1656
- * @public
1657
- */
1658
- export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
1659
1296
  /**
1660
1297
  * <p>Contains information about a deployment.</p>
1661
1298
  * @public
@@ -1702,18 +1339,6 @@ export interface Deployment {
1702
1339
  */
1703
1340
  parentTargetArn?: string | undefined;
1704
1341
  }
1705
- /**
1706
- * @public
1707
- * @enum
1708
- */
1709
- export declare const DeploymentHistoryFilter: {
1710
- readonly ALL: "ALL";
1711
- readonly LATEST_ONLY: "LATEST_ONLY";
1712
- };
1713
- /**
1714
- * @public
1715
- */
1716
- export type DeploymentHistoryFilter = (typeof DeploymentHistoryFilter)[keyof typeof DeploymentHistoryFilter];
1717
1342
  /**
1718
1343
  * @public
1719
1344
  */
@@ -1793,24 +1418,6 @@ export interface DisassociateServiceRoleFromAccountResponse {
1793
1418
  */
1794
1419
  disassociatedAt?: string | undefined;
1795
1420
  }
1796
- /**
1797
- * @public
1798
- * @enum
1799
- */
1800
- export declare const EffectiveDeploymentExecutionStatus: {
1801
- readonly CANCELED: "CANCELED";
1802
- readonly COMPLETED: "COMPLETED";
1803
- readonly FAILED: "FAILED";
1804
- readonly IN_PROGRESS: "IN_PROGRESS";
1805
- readonly QUEUED: "QUEUED";
1806
- readonly REJECTED: "REJECTED";
1807
- readonly SUCCEEDED: "SUCCEEDED";
1808
- readonly TIMED_OUT: "TIMED_OUT";
1809
- };
1810
- /**
1811
- * @public
1812
- */
1813
- export type EffectiveDeploymentExecutionStatus = (typeof EffectiveDeploymentExecutionStatus)[keyof typeof EffectiveDeploymentExecutionStatus];
1814
1421
  /**
1815
1422
  * <p>Contains all error-related information for the deployment record. The status details will
1816
1423
  * be null if the deployment is in a success state.</p>
@@ -1941,18 +1548,6 @@ export interface EffectiveDeployment {
1941
1548
  */
1942
1549
  statusDetails?: EffectiveDeploymentStatusDetails | undefined;
1943
1550
  }
1944
- /**
1945
- * @public
1946
- * @enum
1947
- */
1948
- export declare const RecipeOutputFormat: {
1949
- readonly JSON: "JSON";
1950
- readonly YAML: "YAML";
1951
- };
1952
- /**
1953
- * @public
1954
- */
1955
- export type RecipeOutputFormat = (typeof RecipeOutputFormat)[keyof typeof RecipeOutputFormat];
1956
1551
  /**
1957
1552
  * @public
1958
1553
  */
@@ -1990,30 +1585,6 @@ export interface GetComponentResponse {
1990
1585
  */
1991
1586
  tags?: Record<string, string> | undefined;
1992
1587
  }
1993
- /**
1994
- * @public
1995
- * @enum
1996
- */
1997
- export declare const IotEndpointType: {
1998
- readonly fips: "fips";
1999
- readonly standard: "standard";
2000
- };
2001
- /**
2002
- * @public
2003
- */
2004
- export type IotEndpointType = (typeof IotEndpointType)[keyof typeof IotEndpointType];
2005
- /**
2006
- * @public
2007
- * @enum
2008
- */
2009
- export declare const S3EndpointType: {
2010
- readonly GLOBAL: "GLOBAL";
2011
- readonly REGIONAL: "REGIONAL";
2012
- };
2013
- /**
2014
- * @public
2015
- */
2016
- export type S3EndpointType = (typeof S3EndpointType)[keyof typeof S3EndpointType];
2017
1588
  /**
2018
1589
  * @public
2019
1590
  */
@@ -2554,18 +2125,6 @@ export interface ListEffectiveDeploymentsResponse {
2554
2125
  */
2555
2126
  nextToken?: string | undefined;
2556
2127
  }
2557
- /**
2558
- * @public
2559
- * @enum
2560
- */
2561
- export declare const InstalledComponentTopologyFilter: {
2562
- readonly ALL: "ALL";
2563
- readonly ROOT: "ROOT";
2564
- };
2565
- /**
2566
- * @public
2567
- */
2568
- export type InstalledComponentTopologyFilter = (typeof InstalledComponentTopologyFilter)[keyof typeof InstalledComponentTopologyFilter];
2569
2128
  /**
2570
2129
  * @public
2571
2130
  */
@@ -2607,24 +2166,6 @@ export interface ListInstalledComponentsRequest {
2607
2166
  */
2608
2167
  topologyFilter?: InstalledComponentTopologyFilter | undefined;
2609
2168
  }
2610
- /**
2611
- * @public
2612
- * @enum
2613
- */
2614
- export declare const InstalledComponentLifecycleState: {
2615
- readonly BROKEN: "BROKEN";
2616
- readonly ERRORED: "ERRORED";
2617
- readonly FINISHED: "FINISHED";
2618
- readonly INSTALLED: "INSTALLED";
2619
- readonly NEW: "NEW";
2620
- readonly RUNNING: "RUNNING";
2621
- readonly STARTING: "STARTING";
2622
- readonly STOPPING: "STOPPING";
2623
- };
2624
- /**
2625
- * @public
2626
- */
2627
- export type InstalledComponentLifecycleState = (typeof InstalledComponentLifecycleState)[keyof typeof InstalledComponentLifecycleState];
2628
2169
  /**
2629
2170
  * <p>Contains information about a component on a Greengrass core device.</p>
2630
2171
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { GreengrassV2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { GreengrassV2ServiceException } from "./models/GreengrassV2ServiceException";