@aws-sdk/client-imagebuilder 3.936.0 → 3.937.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.
Files changed (36) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +240 -17
  3. package/dist-es/Imagebuilder.js +4 -0
  4. package/dist-es/commands/DistributeImageCommand.js +16 -0
  5. package/dist-es/commands/RetryImageCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/errors.js +36 -0
  8. package/dist-es/schemas/schemas_0.js +174 -18
  9. package/dist-types/Imagebuilder.d.ts +14 -0
  10. package/dist-types/ImagebuilderClient.d.ts +4 -2
  11. package/dist-types/commands/CreateComponentCommand.d.ts +10 -0
  12. package/dist-types/commands/CreateContainerRecipeCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateImageCommand.d.ts +6 -0
  14. package/dist-types/commands/CreateImageRecipeCommand.d.ts +6 -0
  15. package/dist-types/commands/CreateWorkflowCommand.d.ts +10 -0
  16. package/dist-types/commands/DistributeImageCommand.d.ts +127 -0
  17. package/dist-types/commands/GetComponentCommand.d.ts +6 -0
  18. package/dist-types/commands/GetContainerRecipeCommand.d.ts +6 -0
  19. package/dist-types/commands/GetImageCommand.d.ts +6 -0
  20. package/dist-types/commands/GetImageRecipeCommand.d.ts +6 -0
  21. package/dist-types/commands/GetWorkflowCommand.d.ts +6 -0
  22. package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +1 -0
  23. package/dist-types/commands/RetryImageCommand.d.ts +105 -0
  24. package/dist-types/commands/index.d.ts +2 -0
  25. package/dist-types/models/errors.d.ts +36 -0
  26. package/dist-types/models/models_0.d.ts +189 -15
  27. package/dist-types/schemas/schemas_0.d.ts +10 -0
  28. package/dist-types/ts3.4/Imagebuilder.d.ts +34 -0
  29. package/dist-types/ts3.4/ImagebuilderClient.d.ts +12 -0
  30. package/dist-types/ts3.4/commands/DistributeImageCommand.d.ts +50 -0
  31. package/dist-types/ts3.4/commands/RetryImageCommand.d.ts +47 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  33. package/dist-types/ts3.4/models/errors.d.ts +21 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  36. package/package.json +1 -1
@@ -1,5 +1,12 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ImagebuilderServiceException as __BaseException } from "./ImagebuilderServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
3
10
  export declare class CallRateLimitExceededException extends __BaseException {
4
11
  readonly name: "CallRateLimitExceededException";
5
12
  readonly $fault: "client";
@@ -53,6 +60,13 @@ export declare class ServiceUnavailableException extends __BaseException {
53
60
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
54
61
  );
55
62
  }
63
+ export declare class DryRunOperationException extends __BaseException {
64
+ readonly name: "DryRunOperationException";
65
+ readonly $fault: "client";
66
+ constructor(
67
+ opts: __ExceptionOptionType<DryRunOperationException, __BaseException>
68
+ );
69
+ }
56
70
  export declare class InvalidParameterCombinationException extends __BaseException {
57
71
  readonly name: "InvalidParameterCombinationException";
58
72
  readonly $fault: "client";
@@ -98,6 +112,13 @@ export declare class ResourceNotFoundException extends __BaseException {
98
112
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
99
113
  );
100
114
  }
115
+ export declare class TooManyRequestsException extends __BaseException {
116
+ readonly name: "TooManyRequestsException";
117
+ readonly $fault: "client";
118
+ constructor(
119
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
120
+ );
121
+ }
101
122
  export declare class InvalidPaginationTokenException extends __BaseException {
102
123
  readonly name: "InvalidPaginationTokenException";
103
124
  readonly $fault: "client";
@@ -245,11 +245,19 @@ export interface CreateComponentRequest {
245
245
  kmsKeyId?: string | undefined;
246
246
  tags?: Record<string, string> | undefined;
247
247
  clientToken?: string | undefined;
248
+ dryRun?: boolean | undefined;
249
+ }
250
+ export interface LatestVersionReferences {
251
+ latestVersionArn?: string | undefined;
252
+ latestMajorVersionArn?: string | undefined;
253
+ latestMinorVersionArn?: string | undefined;
254
+ latestPatchVersionArn?: string | undefined;
248
255
  }
249
256
  export interface CreateComponentResponse {
250
257
  requestId?: string | undefined;
251
258
  clientToken?: string | undefined;
252
259
  componentBuildVersionArn?: string | undefined;
260
+ latestVersionReferences?: LatestVersionReferences | undefined;
253
261
  }
254
262
  export interface CreateContainerRecipeRequest {
255
263
  containerType: ContainerType | undefined;
@@ -273,6 +281,7 @@ export interface CreateContainerRecipeResponse {
273
281
  requestId?: string | undefined;
274
282
  clientToken?: string | undefined;
275
283
  containerRecipeArn?: string | undefined;
284
+ latestVersionReferences?: LatestVersionReferences | undefined;
276
285
  }
277
286
  export interface FastLaunchLaunchTemplateSpecification {
278
287
  launchTemplateId?: string | undefined;
@@ -372,6 +381,7 @@ export interface CreateImageResponse {
372
381
  requestId?: string | undefined;
373
382
  clientToken?: string | undefined;
374
383
  imageBuildVersionArn?: string | undefined;
384
+ latestVersionReferences?: LatestVersionReferences | undefined;
375
385
  }
376
386
  export interface PipelineLoggingConfiguration {
377
387
  imageLogGroupName?: string | undefined;
@@ -423,6 +433,7 @@ export interface CreateImageRecipeResponse {
423
433
  requestId?: string | undefined;
424
434
  clientToken?: string | undefined;
425
435
  imageRecipeArn?: string | undefined;
436
+ latestVersionReferences?: LatestVersionReferences | undefined;
426
437
  }
427
438
  export interface InstanceMetadataOptions {
428
439
  httpTokens?: string | undefined;
@@ -534,10 +545,12 @@ export interface CreateWorkflowRequest {
534
545
  tags?: Record<string, string> | undefined;
535
546
  clientToken?: string | undefined;
536
547
  type: WorkflowType | undefined;
548
+ dryRun?: boolean | undefined;
537
549
  }
538
550
  export interface CreateWorkflowResponse {
539
551
  clientToken?: string | undefined;
540
552
  workflowBuildVersionArn?: string | undefined;
553
+ latestVersionReferences?: LatestVersionReferences | undefined;
541
554
  }
542
555
  export interface CvssScore {
543
556
  baseScore?: number | undefined;
@@ -618,6 +631,18 @@ export interface DeleteWorkflowRequest {
618
631
  export interface DeleteWorkflowResponse {
619
632
  workflowBuildVersionArn?: string | undefined;
620
633
  }
634
+ export interface DistributeImageRequest {
635
+ sourceImage: string | undefined;
636
+ distributionConfigurationArn: string | undefined;
637
+ executionRole: string | undefined;
638
+ tags?: Record<string, string> | undefined;
639
+ clientToken?: string | undefined;
640
+ loggingConfiguration?: ImageLoggingConfiguration | undefined;
641
+ }
642
+ export interface DistributeImageResponse {
643
+ clientToken?: string | undefined;
644
+ imageBuildVersionArn?: string | undefined;
645
+ }
621
646
  export interface DistributionConfiguration {
622
647
  arn?: string | undefined;
623
648
  name?: string | undefined;
@@ -647,6 +672,7 @@ export interface GetComponentRequest {
647
672
  export interface GetComponentResponse {
648
673
  requestId?: string | undefined;
649
674
  component?: Component | undefined;
675
+ latestVersionReferences?: LatestVersionReferences | undefined;
650
676
  }
651
677
  export interface GetComponentPolicyRequest {
652
678
  componentArn: string | undefined;
@@ -661,6 +687,7 @@ export interface GetContainerRecipeRequest {
661
687
  export interface GetContainerRecipeResponse {
662
688
  requestId?: string | undefined;
663
689
  containerRecipe?: ContainerRecipe | undefined;
690
+ latestVersionReferences?: LatestVersionReferences | undefined;
664
691
  }
665
692
  export interface GetContainerRecipePolicyRequest {
666
693
  containerRecipeArn: string | undefined;
@@ -755,6 +782,7 @@ export interface Image {
755
782
  export interface GetImageResponse {
756
783
  requestId?: string | undefined;
757
784
  image?: Image | undefined;
785
+ latestVersionReferences?: LatestVersionReferences | undefined;
758
786
  }
759
787
  export interface GetImagePipelineRequest {
760
788
  imagePipelineArn: string | undefined;
@@ -801,6 +829,7 @@ export interface GetImageRecipeRequest {
801
829
  export interface GetImageRecipeResponse {
802
830
  requestId?: string | undefined;
803
831
  imageRecipe?: ImageRecipe | undefined;
832
+ latestVersionReferences?: LatestVersionReferences | undefined;
804
833
  }
805
834
  export interface GetImageRecipePolicyRequest {
806
835
  imageRecipeArn: string | undefined;
@@ -899,6 +928,7 @@ export interface Workflow {
899
928
  }
900
929
  export interface GetWorkflowResponse {
901
930
  workflow?: Workflow | undefined;
931
+ latestVersionReferences?: LatestVersionReferences | undefined;
902
932
  }
903
933
  export interface GetWorkflowExecutionRequest {
904
934
  workflowExecutionId: string | undefined;
@@ -1390,6 +1420,7 @@ export interface WorkflowExecutionMetadata {
1390
1420
  startTime?: string | undefined;
1391
1421
  endTime?: string | undefined;
1392
1422
  parallelGroup?: string | undefined;
1423
+ retried?: boolean | undefined;
1393
1424
  }
1394
1425
  export interface ListWorkflowExecutionsResponse {
1395
1426
  requestId?: string | undefined;
@@ -1477,6 +1508,14 @@ export interface PutImageRecipePolicyResponse {
1477
1508
  requestId?: string | undefined;
1478
1509
  imageRecipeArn?: string | undefined;
1479
1510
  }
1511
+ export interface RetryImageRequest {
1512
+ imageBuildVersionArn: string | undefined;
1513
+ clientToken?: string | undefined;
1514
+ }
1515
+ export interface RetryImageResponse {
1516
+ clientToken?: string | undefined;
1517
+ imageBuildVersionArn?: string | undefined;
1518
+ }
1480
1519
  export interface SendWorkflowStepActionRequest {
1481
1520
  stepExecutionId: string | undefined;
1482
1521
  imageBuildVersionArn: string | undefined;
@@ -4,6 +4,7 @@ import {
4
4
  StaticOperationSchema,
5
5
  StaticStructureSchema,
6
6
  } from "@smithy/types";
7
+ export declare var AccessDeniedException: StaticErrorSchema;
7
8
  export declare var AccountAggregation: StaticStructureSchema;
8
9
  export declare var AdditionalInstanceConfiguration: StaticStructureSchema;
9
10
  export declare var Ami: StaticStructureSchema;
@@ -65,9 +66,12 @@ export declare var DeleteLifecyclePolicyRequest: StaticStructureSchema;
65
66
  export declare var DeleteLifecyclePolicyResponse: StaticStructureSchema;
66
67
  export declare var DeleteWorkflowRequest: StaticStructureSchema;
67
68
  export declare var DeleteWorkflowResponse: StaticStructureSchema;
69
+ export declare var DistributeImageRequest: StaticStructureSchema;
70
+ export declare var DistributeImageResponse: StaticStructureSchema;
68
71
  export declare var Distribution: StaticStructureSchema;
69
72
  export declare var DistributionConfiguration: StaticStructureSchema;
70
73
  export declare var DistributionConfigurationSummary: StaticStructureSchema;
74
+ export declare var DryRunOperationException: StaticErrorSchema;
71
75
  export declare var EbsInstanceBlockDeviceSpecification: StaticStructureSchema;
72
76
  export declare var EcrConfiguration: StaticStructureSchema;
73
77
  export declare var FastLaunchConfiguration: StaticStructureSchema;
@@ -145,6 +149,7 @@ export declare var InvalidParameterException: StaticErrorSchema;
145
149
  export declare var InvalidParameterValueException: StaticErrorSchema;
146
150
  export declare var InvalidRequestException: StaticErrorSchema;
147
151
  export declare var InvalidVersionNumberException: StaticErrorSchema;
152
+ export declare var LatestVersionReferences: StaticStructureSchema;
148
153
  export declare var LaunchPermissionConfiguration: StaticStructureSchema;
149
154
  export declare var LaunchTemplateConfiguration: StaticStructureSchema;
150
155
  export declare var LifecycleExecution: StaticStructureSchema;
@@ -232,6 +237,8 @@ export declare var ResourceNotFoundException: StaticErrorSchema;
232
237
  export declare var ResourceState: StaticStructureSchema;
233
238
  export declare var ResourceStateUpdateExclusionRules: StaticStructureSchema;
234
239
  export declare var ResourceStateUpdateIncludeResources: StaticStructureSchema;
240
+ export declare var RetryImageRequest: StaticStructureSchema;
241
+ export declare var RetryImageResponse: StaticStructureSchema;
235
242
  export declare var S3ExportConfiguration: StaticStructureSchema;
236
243
  export declare var S3Logs: StaticStructureSchema;
237
244
  export declare var Schedule: StaticStructureSchema;
@@ -250,6 +257,7 @@ export declare var SystemsManagerAgent: StaticStructureSchema;
250
257
  export declare var TagResourceRequest: StaticStructureSchema;
251
258
  export declare var TagResourceResponse: StaticStructureSchema;
252
259
  export declare var TargetContainerRepository: StaticStructureSchema;
260
+ export declare var TooManyRequestsException: StaticErrorSchema;
253
261
  export declare var UntagResourceRequest: StaticStructureSchema;
254
262
  export declare var UntagResourceResponse: StaticStructureSchema;
255
263
  export declare var UpdateDistributionConfigurationRequest: StaticStructureSchema;
@@ -354,6 +362,7 @@ export declare var DeleteImageRecipe: StaticOperationSchema;
354
362
  export declare var DeleteInfrastructureConfiguration: StaticOperationSchema;
355
363
  export declare var DeleteLifecyclePolicy: StaticOperationSchema;
356
364
  export declare var DeleteWorkflow: StaticOperationSchema;
365
+ export declare var DistributeImage: StaticOperationSchema;
357
366
  export declare var GetComponent: StaticOperationSchema;
358
367
  export declare var GetComponentPolicy: StaticOperationSchema;
359
368
  export declare var GetContainerRecipe: StaticOperationSchema;
@@ -400,6 +409,7 @@ export declare var PutComponentPolicy: StaticOperationSchema;
400
409
  export declare var PutContainerRecipePolicy: StaticOperationSchema;
401
410
  export declare var PutImagePolicy: StaticOperationSchema;
402
411
  export declare var PutImageRecipePolicy: StaticOperationSchema;
412
+ export declare var RetryImage: StaticOperationSchema;
403
413
  export declare var SendWorkflowStepAction: StaticOperationSchema;
404
414
  export declare var StartImagePipelineExecution: StaticOperationSchema;
405
415
  export declare var StartResourceStateUpdate: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-imagebuilder",
3
3
  "description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.937.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",