@aws-sdk/client-greengrassv2 3.428.0 → 3.429.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.
@@ -145,7 +145,7 @@ export declare class ValidationException extends __BaseException {
145
145
  * @public
146
146
  * <p>The reason for the validation exception.</p>
147
147
  */
148
- reason?: ValidationExceptionReason | string;
148
+ reason?: ValidationExceptionReason;
149
149
  /**
150
150
  * @public
151
151
  * <p>The list of fields that failed to validate.</p>
@@ -373,7 +373,7 @@ export interface CloudComponentStatus {
373
373
  * @public
374
374
  * <p>The state of the component version.</p>
375
375
  */
376
- componentState?: CloudComponentState | string;
376
+ componentState?: CloudComponentState;
377
377
  /**
378
378
  * @public
379
379
  * <p>A message that communicates details, such as errors, about the status of the component
@@ -409,7 +409,7 @@ export interface CloudComponentStatus {
409
409
  * </li>
410
410
  * </ul>
411
411
  */
412
- vendorGuidance?: VendorGuidance | string;
412
+ vendorGuidance?: VendorGuidance;
413
413
  /**
414
414
  * @public
415
415
  * <p>A message that communicates details about the vendor guidance state
@@ -590,7 +590,7 @@ export interface ComponentDependencyRequirement {
590
590
  * <p>Default: <code>HARD</code>
591
591
  * </p>
592
592
  */
593
- dependencyType?: ComponentDependencyType | string;
593
+ dependencyType?: ComponentDependencyType;
594
594
  }
595
595
  /**
596
596
  * @public
@@ -783,7 +783,7 @@ export interface CoreDevice {
783
783
  * </li>
784
784
  * </ul>
785
785
  */
786
- status?: CoreDeviceStatus | string;
786
+ status?: CoreDeviceStatus;
787
787
  /**
788
788
  * @public
789
789
  * <p>The time at which the core device's status last updated, expressed in ISO 8601
@@ -833,7 +833,7 @@ export interface LambdaEventSource {
833
833
  * </li>
834
834
  * </ul>
835
835
  */
836
- type: LambdaEventSourceType | string | undefined;
836
+ type: LambdaEventSourceType | undefined;
837
837
  }
838
838
  /**
839
839
  * @public
@@ -876,7 +876,7 @@ export interface LambdaDeviceMount {
876
876
  * <p>Default: <code>ro</code>
877
877
  * </p>
878
878
  */
879
- permission?: LambdaFilesystemPermission | string;
879
+ permission?: LambdaFilesystemPermission;
880
880
  /**
881
881
  * @public
882
882
  * <p>Whether or not to add the component's system user as an owner of the device.</p>
@@ -909,7 +909,7 @@ export interface LambdaVolumeMount {
909
909
  * <p>Default: <code>ro</code>
910
910
  * </p>
911
911
  */
912
- permission?: LambdaFilesystemPermission | string;
912
+ permission?: LambdaFilesystemPermission;
913
913
  /**
914
914
  * @public
915
915
  * <p>Whether or not to add the IoT Greengrass user group as an owner of the volume.</p>
@@ -974,7 +974,7 @@ export interface LambdaLinuxProcessParams {
974
974
  * <p>Default: <code>GreengrassContainer</code>
975
975
  * </p>
976
976
  */
977
- isolationMode?: LambdaIsolationMode | string;
977
+ isolationMode?: LambdaIsolationMode;
978
978
  /**
979
979
  * @public
980
980
  * <p>The parameters for the container in which the Lambda function runs.</p>
@@ -1048,7 +1048,7 @@ export interface LambdaExecutionParameters {
1048
1048
  * <p>Default: <code>json</code>
1049
1049
  * </p>
1050
1050
  */
1051
- inputPayloadEncodingType?: LambdaInputPayloadEncodingType | string;
1051
+ inputPayloadEncodingType?: LambdaInputPayloadEncodingType;
1052
1052
  /**
1053
1053
  * @public
1054
1054
  * <p>The list of arguments to pass to the Lambda function when it runs.</p>
@@ -1272,7 +1272,7 @@ export interface DeploymentComponentUpdatePolicy {
1272
1272
  * <p>Default: <code>NOTIFY_COMPONENTS</code>
1273
1273
  * </p>
1274
1274
  */
1275
- action?: DeploymentComponentUpdatePolicyAction | string;
1275
+ action?: DeploymentComponentUpdatePolicyAction;
1276
1276
  }
1277
1277
  /**
1278
1278
  * @public
@@ -1316,7 +1316,7 @@ export interface DeploymentPolicies {
1316
1316
  * <p>Default: <code>ROLLBACK</code>
1317
1317
  * </p>
1318
1318
  */
1319
- failureHandlingPolicy?: DeploymentFailureHandlingPolicy | string;
1319
+ failureHandlingPolicy?: DeploymentFailureHandlingPolicy;
1320
1320
  /**
1321
1321
  * @public
1322
1322
  * <p>The component update policy for the configuration deployment. This policy defines when
@@ -1375,12 +1375,12 @@ export interface IoTJobAbortCriteria {
1375
1375
  * @public
1376
1376
  * <p>The type of job deployment failure that can cancel a job.</p>
1377
1377
  */
1378
- failureType: IoTJobExecutionFailureType | string | undefined;
1378
+ failureType: IoTJobExecutionFailureType | undefined;
1379
1379
  /**
1380
1380
  * @public
1381
1381
  * <p>The action to perform when the criteria are met.</p>
1382
1382
  */
1383
- action: IoTJobAbortAction | string | undefined;
1383
+ action: IoTJobAbortAction | undefined;
1384
1384
  /**
1385
1385
  * @public
1386
1386
  * <p>The minimum percentage of <code>failureType</code> failures that occur before the job can
@@ -1663,7 +1663,7 @@ export interface Deployment {
1663
1663
  * @public
1664
1664
  * <p>The status of the deployment.</p>
1665
1665
  */
1666
- deploymentStatus?: DeploymentStatus | string;
1666
+ deploymentStatus?: DeploymentStatus;
1667
1667
  /**
1668
1668
  * @public
1669
1669
  * <p>Whether or not the deployment is the latest revision for its target.</p>
@@ -1890,7 +1890,7 @@ export interface EffectiveDeployment {
1890
1890
  * </li>
1891
1891
  * </ul>
1892
1892
  */
1893
- coreDeviceExecutionStatus: EffectiveDeploymentExecutionStatus | string | undefined;
1893
+ coreDeviceExecutionStatus: EffectiveDeploymentExecutionStatus | undefined;
1894
1894
  /**
1895
1895
  * @public
1896
1896
  * <p>The reason code for the update, if the job was updated.</p>
@@ -1934,7 +1934,7 @@ export interface GetComponentRequest {
1934
1934
  * @public
1935
1935
  * <p>The format of the recipe.</p>
1936
1936
  */
1937
- recipeOutputFormat?: RecipeOutputFormat | string;
1937
+ recipeOutputFormat?: RecipeOutputFormat;
1938
1938
  /**
1939
1939
  * @public
1940
1940
  * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the component version.</p>
@@ -1949,7 +1949,7 @@ export interface GetComponentResponse {
1949
1949
  * @public
1950
1950
  * <p>The format of the recipe.</p>
1951
1951
  */
1952
- recipeOutputFormat: RecipeOutputFormat | string | undefined;
1952
+ recipeOutputFormat: RecipeOutputFormat | undefined;
1953
1953
  /**
1954
1954
  * @public
1955
1955
  * <p>The recipe of the component version.</p>
@@ -2070,7 +2070,7 @@ export interface GetCoreDeviceResponse {
2070
2070
  * </li>
2071
2071
  * </ul>
2072
2072
  */
2073
- status?: CoreDeviceStatus | string;
2073
+ status?: CoreDeviceStatus;
2074
2074
  /**
2075
2075
  * @public
2076
2076
  * <p>The time at which the core device's status last updated, expressed in ISO 8601
@@ -2123,7 +2123,7 @@ export interface GetDeploymentResponse {
2123
2123
  * @public
2124
2124
  * <p>The status of the deployment.</p>
2125
2125
  */
2126
- deploymentStatus?: DeploymentStatus | string;
2126
+ deploymentStatus?: DeploymentStatus;
2127
2127
  /**
2128
2128
  * @public
2129
2129
  * <p>The ID of the IoT job that applies the deployment to target devices.</p>
@@ -2242,7 +2242,7 @@ export interface ListComponentsRequest {
2242
2242
  * <p>Default: <code>PRIVATE</code>
2243
2243
  * </p>
2244
2244
  */
2245
- scope?: ComponentVisibilityScope | string;
2245
+ scope?: ComponentVisibilityScope;
2246
2246
  /**
2247
2247
  * @public
2248
2248
  * <p>The maximum number of results to be returned per paginated request.</p>
@@ -2332,7 +2332,7 @@ export interface ListCoreDevicesRequest {
2332
2332
  * </li>
2333
2333
  * </ul>
2334
2334
  */
2335
- status?: CoreDeviceStatus | string;
2335
+ status?: CoreDeviceStatus;
2336
2336
  /**
2337
2337
  * @public
2338
2338
  * <p>The maximum number of results to be returned per paginated request.</p>
@@ -2385,7 +2385,7 @@ export interface ListDeploymentsRequest {
2385
2385
  * <p>Default: <code>LATEST_ONLY</code>
2386
2386
  * </p>
2387
2387
  */
2388
- historyFilter?: DeploymentHistoryFilter | string;
2388
+ historyFilter?: DeploymentHistoryFilter;
2389
2389
  /**
2390
2390
  * @public
2391
2391
  * <p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>
@@ -2503,7 +2503,7 @@ export interface ListInstalledComponentsRequest {
2503
2503
  * <p>Default: <code>ROOT</code>
2504
2504
  * </p>
2505
2505
  */
2506
- topologyFilter?: InstalledComponentTopologyFilter | string;
2506
+ topologyFilter?: InstalledComponentTopologyFilter;
2507
2507
  }
2508
2508
  /**
2509
2509
  * @public
@@ -2542,7 +2542,7 @@ export interface InstalledComponent {
2542
2542
  * @public
2543
2543
  * <p>The lifecycle state of the component.</p>
2544
2544
  */
2545
- lifecycleState?: InstalledComponentLifecycleState | string;
2545
+ lifecycleState?: InstalledComponentLifecycleState;
2546
2546
  /**
2547
2547
  * @public
2548
2548
  * <p>A detailed response about the lifecycle state of the component that explains the reason
@@ -2701,7 +2701,7 @@ export interface ResolvedComponentVersion {
2701
2701
  * </li>
2702
2702
  * </ul>
2703
2703
  */
2704
- vendorGuidance?: VendorGuidance | string;
2704
+ vendorGuidance?: VendorGuidance;
2705
2705
  /**
2706
2706
  * @public
2707
2707
  * <p>A message that communicates details about the vendor guidance state
@@ -48,7 +48,7 @@ export type ValidationExceptionReason =
48
48
  export declare class ValidationException extends __BaseException {
49
49
  readonly name: "ValidationException";
50
50
  readonly $fault: "client";
51
- reason?: ValidationExceptionReason | string;
51
+ reason?: ValidationExceptionReason;
52
52
  fields?: ValidationExceptionField[];
53
53
  constructor(
54
54
  opts: __ExceptionOptionType<ValidationException, __BaseException>
@@ -125,10 +125,10 @@ export declare const VendorGuidance: {
125
125
  export type VendorGuidance =
126
126
  (typeof VendorGuidance)[keyof typeof VendorGuidance];
127
127
  export interface CloudComponentStatus {
128
- componentState?: CloudComponentState | string;
128
+ componentState?: CloudComponentState;
129
129
  message?: string;
130
130
  errors?: Record<string, string>;
131
- vendorGuidance?: VendorGuidance | string;
131
+ vendorGuidance?: VendorGuidance;
132
132
  vendorGuidanceMessage?: string;
133
133
  }
134
134
  export interface ComponentPlatform {
@@ -165,7 +165,7 @@ export type ComponentDependencyType =
165
165
  (typeof ComponentDependencyType)[keyof typeof ComponentDependencyType];
166
166
  export interface ComponentDependencyRequirement {
167
167
  versionRequirement?: string;
168
- dependencyType?: ComponentDependencyType | string;
168
+ dependencyType?: ComponentDependencyType;
169
169
  }
170
170
  export interface SystemResourceLimits {
171
171
  memory?: number;
@@ -206,7 +206,7 @@ export type CoreDeviceStatus =
206
206
  (typeof CoreDeviceStatus)[keyof typeof CoreDeviceStatus];
207
207
  export interface CoreDevice {
208
208
  coreDeviceThingName?: string;
209
- status?: CoreDeviceStatus | string;
209
+ status?: CoreDeviceStatus;
210
210
  lastStatusUpdateTimestamp?: Date;
211
211
  }
212
212
  export declare const LambdaEventSourceType: {
@@ -217,7 +217,7 @@ export type LambdaEventSourceType =
217
217
  (typeof LambdaEventSourceType)[keyof typeof LambdaEventSourceType];
218
218
  export interface LambdaEventSource {
219
219
  topic: string | undefined;
220
- type: LambdaEventSourceType | string | undefined;
220
+ type: LambdaEventSourceType | undefined;
221
221
  }
222
222
  export declare const LambdaInputPayloadEncodingType: {
223
223
  readonly BINARY: "binary";
@@ -233,13 +233,13 @@ export type LambdaFilesystemPermission =
233
233
  (typeof LambdaFilesystemPermission)[keyof typeof LambdaFilesystemPermission];
234
234
  export interface LambdaDeviceMount {
235
235
  path: string | undefined;
236
- permission?: LambdaFilesystemPermission | string;
236
+ permission?: LambdaFilesystemPermission;
237
237
  addGroupOwner?: boolean;
238
238
  }
239
239
  export interface LambdaVolumeMount {
240
240
  sourcePath: string | undefined;
241
241
  destinationPath: string | undefined;
242
- permission?: LambdaFilesystemPermission | string;
242
+ permission?: LambdaFilesystemPermission;
243
243
  addGroupOwner?: boolean;
244
244
  }
245
245
  export interface LambdaContainerParams {
@@ -255,7 +255,7 @@ export declare const LambdaIsolationMode: {
255
255
  export type LambdaIsolationMode =
256
256
  (typeof LambdaIsolationMode)[keyof typeof LambdaIsolationMode];
257
257
  export interface LambdaLinuxProcessParams {
258
- isolationMode?: LambdaIsolationMode | string;
258
+ isolationMode?: LambdaIsolationMode;
259
259
  containerParams?: LambdaContainerParams;
260
260
  }
261
261
  export interface LambdaExecutionParameters {
@@ -266,7 +266,7 @@ export interface LambdaExecutionParameters {
266
266
  timeoutInSeconds?: number;
267
267
  statusTimeoutInSeconds?: number;
268
268
  pinned?: boolean;
269
- inputPayloadEncodingType?: LambdaInputPayloadEncodingType | string;
269
+ inputPayloadEncodingType?: LambdaInputPayloadEncodingType;
270
270
  execArgs?: string[];
271
271
  environmentVariables?: Record<string, string>;
272
272
  linuxProcessParams?: LambdaLinuxProcessParams;
@@ -321,7 +321,7 @@ export type DeploymentComponentUpdatePolicyAction =
321
321
  (typeof DeploymentComponentUpdatePolicyAction)[keyof typeof DeploymentComponentUpdatePolicyAction];
322
322
  export interface DeploymentComponentUpdatePolicy {
323
323
  timeoutInSeconds?: number;
324
- action?: DeploymentComponentUpdatePolicyAction | string;
324
+ action?: DeploymentComponentUpdatePolicyAction;
325
325
  }
326
326
  export interface DeploymentConfigurationValidationPolicy {
327
327
  timeoutInSeconds?: number;
@@ -333,7 +333,7 @@ export declare const DeploymentFailureHandlingPolicy: {
333
333
  export type DeploymentFailureHandlingPolicy =
334
334
  (typeof DeploymentFailureHandlingPolicy)[keyof typeof DeploymentFailureHandlingPolicy];
335
335
  export interface DeploymentPolicies {
336
- failureHandlingPolicy?: DeploymentFailureHandlingPolicy | string;
336
+ failureHandlingPolicy?: DeploymentFailureHandlingPolicy;
337
337
  componentUpdatePolicy?: DeploymentComponentUpdatePolicy;
338
338
  configurationValidationPolicy?: DeploymentConfigurationValidationPolicy;
339
339
  }
@@ -351,8 +351,8 @@ export declare const IoTJobExecutionFailureType: {
351
351
  export type IoTJobExecutionFailureType =
352
352
  (typeof IoTJobExecutionFailureType)[keyof typeof IoTJobExecutionFailureType];
353
353
  export interface IoTJobAbortCriteria {
354
- failureType: IoTJobExecutionFailureType | string | undefined;
355
- action: IoTJobAbortAction | string | undefined;
354
+ failureType: IoTJobExecutionFailureType | undefined;
355
+ action: IoTJobAbortAction | undefined;
356
356
  thresholdPercentage: number | undefined;
357
357
  minNumberOfExecutedThings: number | undefined;
358
358
  }
@@ -419,7 +419,7 @@ export interface Deployment {
419
419
  deploymentId?: string;
420
420
  deploymentName?: string;
421
421
  creationTimestamp?: Date;
422
- deploymentStatus?: DeploymentStatus | string;
422
+ deploymentStatus?: DeploymentStatus;
423
423
  isLatestForTarget?: boolean;
424
424
  parentTargetArn?: string;
425
425
  }
@@ -470,10 +470,7 @@ export interface EffectiveDeployment {
470
470
  iotJobArn?: string;
471
471
  description?: string;
472
472
  targetArn: string | undefined;
473
- coreDeviceExecutionStatus:
474
- | EffectiveDeploymentExecutionStatus
475
- | string
476
- | undefined;
473
+ coreDeviceExecutionStatus: EffectiveDeploymentExecutionStatus | undefined;
477
474
  reason?: string;
478
475
  creationTimestamp: Date | undefined;
479
476
  modifiedTimestamp: Date | undefined;
@@ -486,11 +483,11 @@ export declare const RecipeOutputFormat: {
486
483
  export type RecipeOutputFormat =
487
484
  (typeof RecipeOutputFormat)[keyof typeof RecipeOutputFormat];
488
485
  export interface GetComponentRequest {
489
- recipeOutputFormat?: RecipeOutputFormat | string;
486
+ recipeOutputFormat?: RecipeOutputFormat;
490
487
  arn: string | undefined;
491
488
  }
492
489
  export interface GetComponentResponse {
493
- recipeOutputFormat: RecipeOutputFormat | string | undefined;
490
+ recipeOutputFormat: RecipeOutputFormat | undefined;
494
491
  recipe: Uint8Array | undefined;
495
492
  tags?: Record<string, string>;
496
493
  }
@@ -516,7 +513,7 @@ export interface GetCoreDeviceResponse {
516
513
  coreVersion?: string;
517
514
  platform?: string;
518
515
  architecture?: string;
519
- status?: CoreDeviceStatus | string;
516
+ status?: CoreDeviceStatus;
520
517
  lastStatusUpdateTimestamp?: Date;
521
518
  tags?: Record<string, string>;
522
519
  }
@@ -528,7 +525,7 @@ export interface GetDeploymentResponse {
528
525
  revisionId?: string;
529
526
  deploymentId?: string;
530
527
  deploymentName?: string;
531
- deploymentStatus?: DeploymentStatus | string;
528
+ deploymentStatus?: DeploymentStatus;
532
529
  iotJobId?: string;
533
530
  iotJobArn?: string;
534
531
  components?: Record<string, ComponentDeploymentSpecification>;
@@ -554,7 +551,7 @@ export interface ListClientDevicesAssociatedWithCoreDeviceResponse {
554
551
  nextToken?: string;
555
552
  }
556
553
  export interface ListComponentsRequest {
557
- scope?: ComponentVisibilityScope | string;
554
+ scope?: ComponentVisibilityScope;
558
555
  maxResults?: number;
559
556
  nextToken?: string;
560
557
  }
@@ -573,7 +570,7 @@ export interface ListComponentVersionsResponse {
573
570
  }
574
571
  export interface ListCoreDevicesRequest {
575
572
  thingGroupArn?: string;
576
- status?: CoreDeviceStatus | string;
573
+ status?: CoreDeviceStatus;
577
574
  maxResults?: number;
578
575
  nextToken?: string;
579
576
  }
@@ -583,7 +580,7 @@ export interface ListCoreDevicesResponse {
583
580
  }
584
581
  export interface ListDeploymentsRequest {
585
582
  targetArn?: string;
586
- historyFilter?: DeploymentHistoryFilter | string;
583
+ historyFilter?: DeploymentHistoryFilter;
587
584
  parentTargetArn?: string;
588
585
  maxResults?: number;
589
586
  nextToken?: string;
@@ -611,7 +608,7 @@ export interface ListInstalledComponentsRequest {
611
608
  coreDeviceThingName: string | undefined;
612
609
  maxResults?: number;
613
610
  nextToken?: string;
614
- topologyFilter?: InstalledComponentTopologyFilter | string;
611
+ topologyFilter?: InstalledComponentTopologyFilter;
615
612
  }
616
613
  export declare const InstalledComponentLifecycleState: {
617
614
  readonly BROKEN: "BROKEN";
@@ -628,7 +625,7 @@ export type InstalledComponentLifecycleState =
628
625
  export interface InstalledComponent {
629
626
  componentName?: string;
630
627
  componentVersion?: string;
631
- lifecycleState?: InstalledComponentLifecycleState | string;
628
+ lifecycleState?: InstalledComponentLifecycleState;
632
629
  lifecycleStateDetails?: string;
633
630
  isRoot?: boolean;
634
631
  lastStatusChangeTimestamp?: Date;
@@ -655,7 +652,7 @@ export interface ResolvedComponentVersion {
655
652
  componentName?: string;
656
653
  componentVersion?: string;
657
654
  recipe?: Uint8Array;
658
- vendorGuidance?: VendorGuidance | string;
655
+ vendorGuidance?: VendorGuidance;
659
656
  message?: string;
660
657
  }
661
658
  export interface ResolveComponentCandidatesResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
3
  "description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",