@aws-sdk/client-imagebuilder 3.301.0 → 3.306.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.
- package/README.md +51 -3
- package/dist-cjs/Imagebuilder.js +90 -0
- package/dist-cjs/commands/GetWorkflowExecutionCommand.js +45 -0
- package/dist-cjs/commands/GetWorkflowStepExecutionCommand.js +45 -0
- package/dist-cjs/commands/ListImageScanFindingAggregationsCommand.js +45 -0
- package/dist-cjs/commands/ListImageScanFindingsCommand.js +45 -0
- package/dist-cjs/commands/ListWorkflowExecutionsCommand.js +45 -0
- package/dist-cjs/commands/ListWorkflowStepExecutionsCommand.js +45 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +113 -92
- package/dist-cjs/pagination/ListImageScanFindingAggregationsPaginator.js +28 -0
- package/dist-cjs/pagination/ListImageScanFindingsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowStepExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +945 -13
- package/dist-es/Imagebuilder.js +90 -0
- package/dist-es/commands/GetWorkflowExecutionCommand.js +41 -0
- package/dist-es/commands/GetWorkflowStepExecutionCommand.js +41 -0
- package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +41 -0
- package/dist-es/commands/ListImageScanFindingsCommand.js +41 -0
- package/dist-es/commands/ListWorkflowExecutionsCommand.js +41 -0
- package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +41 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +112 -91
- package/dist-es/pagination/ListImageScanFindingAggregationsPaginator.js +24 -0
- package/dist-es/pagination/ListImageScanFindingsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowStepExecutionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +931 -12
- package/dist-types/Imagebuilder.d.ts +165 -75
- package/dist-types/ImagebuilderClient.d.ts +11 -5
- package/dist-types/commands/CancelImageCreationCommand.d.ts +8 -7
- package/dist-types/commands/CreateComponentCommand.d.ts +16 -13
- package/dist-types/commands/CreateContainerRecipeCommand.d.ts +13 -9
- package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +15 -12
- package/dist-types/commands/CreateImageCommand.d.ts +23 -10
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +21 -9
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +13 -10
- package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +13 -10
- package/dist-types/commands/DeleteComponentCommand.d.ts +9 -8
- package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +8 -7
- package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +9 -8
- package/dist-types/commands/DeleteImageCommand.d.ts +16 -14
- package/dist-types/commands/DeleteImagePipelineCommand.d.ts +9 -8
- package/dist-types/commands/DeleteImageRecipeCommand.d.ts +9 -8
- package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +9 -8
- package/dist-types/commands/GetComponentCommand.d.ts +7 -6
- package/dist-types/commands/GetComponentPolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetContainerRecipeCommand.d.ts +6 -5
- package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +3 -2
- package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +7 -6
- package/dist-types/commands/GetImageCommand.d.ts +7 -6
- package/dist-types/commands/GetImagePipelineCommand.d.ts +7 -6
- package/dist-types/commands/GetImagePolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetImageRecipeCommand.d.ts +7 -6
- package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +7 -6
- package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +85 -0
- package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +85 -0
- package/dist-types/commands/ImportComponentCommand.d.ts +10 -9
- package/dist-types/commands/ImportVmImageCommand.d.ts +12 -12
- package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +8 -6
- package/dist-types/commands/ListComponentsCommand.d.ts +9 -8
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +6 -5
- package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +6 -5
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +7 -6
- package/dist-types/commands/ListImagePackagesCommand.d.ts +8 -6
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +6 -5
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +6 -5
- package/dist-types/commands/ListImageRecipesCommand.d.ts +7 -6
- package/dist-types/commands/ListImageScanFindingAggregationsCommand.d.ts +120 -0
- package/dist-types/commands/ListImageScanFindingsCommand.d.ts +96 -0
- package/dist-types/commands/ListImagesCommand.d.ts +8 -7
- package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +7 -6
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +90 -0
- package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +90 -0
- package/dist-types/commands/PutComponentPolicyCommand.d.ts +9 -8
- package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +14 -6
- package/dist-types/commands/PutImagePolicyCommand.d.ts +8 -7
- package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +9 -8
- package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +9 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +11 -10
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +21 -11
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +10 -9
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1712 -524
- package/dist-types/pagination/ListImageScanFindingAggregationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListImageScanFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowStepExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +102 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetWorkflowExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetWorkflowStepExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListImageScanFindingAggregationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListImageScanFindingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWorkflowExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWorkflowStepExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +372 -76
- package/dist-types/ts3.4/pagination/ListImageScanFindingAggregationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImageScanFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowStepExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +34 -34
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ImagebuilderServiceException as __BaseException } from "./ImagebuilderServiceException";
|
|
3
|
+
export interface SeverityCounts {
|
|
4
|
+
all?: number;
|
|
5
|
+
critical?: number;
|
|
6
|
+
high?: number;
|
|
7
|
+
medium?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface AccountAggregation {
|
|
10
|
+
accountId?: string;
|
|
11
|
+
severityCounts?: SeverityCounts;
|
|
12
|
+
}
|
|
3
13
|
export interface SystemsManagerAgent {
|
|
4
14
|
uninstallAfterBuild?: boolean;
|
|
5
15
|
}
|
|
@@ -7,19 +17,20 @@ export interface AdditionalInstanceConfiguration {
|
|
|
7
17
|
systemsManagerAgent?: SystemsManagerAgent;
|
|
8
18
|
userDataOverride?: string;
|
|
9
19
|
}
|
|
10
|
-
export declare
|
|
11
|
-
AVAILABLE
|
|
12
|
-
BUILDING
|
|
13
|
-
CANCELLED
|
|
14
|
-
CREATING
|
|
15
|
-
DELETED
|
|
16
|
-
DEPRECATED
|
|
17
|
-
DISTRIBUTING
|
|
18
|
-
FAILED
|
|
19
|
-
INTEGRATING
|
|
20
|
-
PENDING
|
|
21
|
-
TESTING
|
|
22
|
-
}
|
|
20
|
+
export declare const ImageStatus: {
|
|
21
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
22
|
+
readonly BUILDING: "BUILDING";
|
|
23
|
+
readonly CANCELLED: "CANCELLED";
|
|
24
|
+
readonly CREATING: "CREATING";
|
|
25
|
+
readonly DELETED: "DELETED";
|
|
26
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
27
|
+
readonly DISTRIBUTING: "DISTRIBUTING";
|
|
28
|
+
readonly FAILED: "FAILED";
|
|
29
|
+
readonly INTEGRATING: "INTEGRATING";
|
|
30
|
+
readonly PENDING: "PENDING";
|
|
31
|
+
readonly TESTING: "TESTING";
|
|
32
|
+
};
|
|
33
|
+
export type ImageStatus = (typeof ImageStatus)[keyof typeof ImageStatus];
|
|
23
34
|
export interface ImageState {
|
|
24
35
|
status?: ImageStatus | string;
|
|
25
36
|
reason?: string;
|
|
@@ -46,11 +57,12 @@ export interface AmiDistributionConfiguration {
|
|
|
46
57
|
kmsKeyId?: string;
|
|
47
58
|
launchPermission?: LaunchPermissionConfiguration;
|
|
48
59
|
}
|
|
49
|
-
export declare
|
|
50
|
-
IMPORT
|
|
51
|
-
SCHEDULED
|
|
52
|
-
USER_INITIATED
|
|
53
|
-
}
|
|
60
|
+
export declare const BuildType: {
|
|
61
|
+
readonly IMPORT: "IMPORT";
|
|
62
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
63
|
+
readonly USER_INITIATED: "USER_INITIATED";
|
|
64
|
+
};
|
|
65
|
+
export type BuildType = (typeof BuildType)[keyof typeof BuildType];
|
|
54
66
|
export declare class CallRateLimitExceededException extends __BaseException {
|
|
55
67
|
readonly name: "CallRateLimitExceededException";
|
|
56
68
|
readonly $fault: "client";
|
|
@@ -119,21 +131,25 @@ export interface ComponentParameterDetail {
|
|
|
119
131
|
defaultValue?: string[];
|
|
120
132
|
description?: string;
|
|
121
133
|
}
|
|
122
|
-
export declare
|
|
123
|
-
LINUX
|
|
124
|
-
WINDOWS
|
|
125
|
-
}
|
|
126
|
-
export
|
|
127
|
-
|
|
128
|
-
|
|
134
|
+
export declare const Platform: {
|
|
135
|
+
readonly LINUX: "Linux";
|
|
136
|
+
readonly WINDOWS: "Windows";
|
|
137
|
+
};
|
|
138
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
139
|
+
export declare const ComponentStatus: {
|
|
140
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
141
|
+
};
|
|
142
|
+
export type ComponentStatus =
|
|
143
|
+
(typeof ComponentStatus)[keyof typeof ComponentStatus];
|
|
129
144
|
export interface ComponentState {
|
|
130
145
|
status?: ComponentStatus | string;
|
|
131
146
|
reason?: string;
|
|
132
147
|
}
|
|
133
|
-
export declare
|
|
134
|
-
BUILD
|
|
135
|
-
TEST
|
|
136
|
-
}
|
|
148
|
+
export declare const ComponentType: {
|
|
149
|
+
readonly BUILD: "BUILD";
|
|
150
|
+
readonly TEST: "TEST";
|
|
151
|
+
};
|
|
152
|
+
export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
137
153
|
export interface Component {
|
|
138
154
|
arn?: string;
|
|
139
155
|
name?: string;
|
|
@@ -162,9 +178,11 @@ export interface ComponentConfiguration {
|
|
|
162
178
|
componentArn: string | undefined;
|
|
163
179
|
parameters?: ComponentParameter[];
|
|
164
180
|
}
|
|
165
|
-
export declare
|
|
166
|
-
SHELL
|
|
167
|
-
}
|
|
181
|
+
export declare const ComponentFormat: {
|
|
182
|
+
readonly SHELL: "SHELL";
|
|
183
|
+
};
|
|
184
|
+
export type ComponentFormat =
|
|
185
|
+
(typeof ComponentFormat)[keyof typeof ComponentFormat];
|
|
168
186
|
export interface ComponentSummary {
|
|
169
187
|
arn?: string;
|
|
170
188
|
name?: string;
|
|
@@ -196,9 +214,11 @@ export interface Container {
|
|
|
196
214
|
region?: string;
|
|
197
215
|
imageUris?: string[];
|
|
198
216
|
}
|
|
199
|
-
export declare
|
|
200
|
-
ECR
|
|
201
|
-
}
|
|
217
|
+
export declare const ContainerRepositoryService: {
|
|
218
|
+
readonly ECR: "ECR";
|
|
219
|
+
};
|
|
220
|
+
export type ContainerRepositoryService =
|
|
221
|
+
(typeof ContainerRepositoryService)[keyof typeof ContainerRepositoryService];
|
|
202
222
|
export interface TargetContainerRepository {
|
|
203
223
|
service: ContainerRepositoryService | string | undefined;
|
|
204
224
|
repositoryName: string | undefined;
|
|
@@ -208,18 +228,20 @@ export interface ContainerDistributionConfiguration {
|
|
|
208
228
|
containerTags?: string[];
|
|
209
229
|
targetRepository: TargetContainerRepository | undefined;
|
|
210
230
|
}
|
|
211
|
-
export declare
|
|
212
|
-
DOCKER
|
|
213
|
-
}
|
|
214
|
-
export
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
231
|
+
export declare const ContainerType: {
|
|
232
|
+
readonly DOCKER: "DOCKER";
|
|
233
|
+
};
|
|
234
|
+
export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
|
|
235
|
+
export declare const EbsVolumeType: {
|
|
236
|
+
readonly GP2: "gp2";
|
|
237
|
+
readonly GP3: "gp3";
|
|
238
|
+
readonly IO1: "io1";
|
|
239
|
+
readonly IO2: "io2";
|
|
240
|
+
readonly SC1: "sc1";
|
|
241
|
+
readonly ST1: "st1";
|
|
242
|
+
readonly STANDARD: "standard";
|
|
243
|
+
};
|
|
244
|
+
export type EbsVolumeType = (typeof EbsVolumeType)[keyof typeof EbsVolumeType];
|
|
223
245
|
export interface EbsInstanceBlockDeviceSpecification {
|
|
224
246
|
encrypted?: boolean;
|
|
225
247
|
deleteOnTermination?: boolean;
|
|
@@ -361,11 +383,13 @@ export interface LaunchTemplateConfiguration {
|
|
|
361
383
|
accountId?: string;
|
|
362
384
|
setDefaultVersion?: boolean;
|
|
363
385
|
}
|
|
364
|
-
export declare
|
|
365
|
-
RAW
|
|
366
|
-
VHD
|
|
367
|
-
VMDK
|
|
368
|
-
}
|
|
386
|
+
export declare const DiskImageFormat: {
|
|
387
|
+
readonly RAW: "RAW";
|
|
388
|
+
readonly VHD: "VHD";
|
|
389
|
+
readonly VMDK: "VMDK";
|
|
390
|
+
};
|
|
391
|
+
export type DiskImageFormat =
|
|
392
|
+
(typeof DiskImageFormat)[keyof typeof DiskImageFormat];
|
|
369
393
|
export interface S3ExportConfiguration {
|
|
370
394
|
roleName: string | undefined;
|
|
371
395
|
diskImageFormat: DiskImageFormat | string | undefined;
|
|
@@ -393,6 +417,14 @@ export interface CreateDistributionConfigurationResponse {
|
|
|
393
417
|
clientToken?: string;
|
|
394
418
|
distributionConfigurationArn?: string;
|
|
395
419
|
}
|
|
420
|
+
export interface EcrConfiguration {
|
|
421
|
+
repositoryName?: string;
|
|
422
|
+
containerTags?: string[];
|
|
423
|
+
}
|
|
424
|
+
export interface ImageScanningConfiguration {
|
|
425
|
+
imageScanningEnabled?: boolean;
|
|
426
|
+
ecrConfiguration?: EcrConfiguration;
|
|
427
|
+
}
|
|
396
428
|
export interface ImageTestsConfiguration {
|
|
397
429
|
imageTestsEnabled?: boolean;
|
|
398
430
|
timeoutMinutes?: number;
|
|
@@ -406,25 +438,30 @@ export interface CreateImageRequest {
|
|
|
406
438
|
enhancedImageMetadataEnabled?: boolean;
|
|
407
439
|
tags?: Record<string, string>;
|
|
408
440
|
clientToken?: string;
|
|
441
|
+
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
409
442
|
}
|
|
410
443
|
export interface CreateImageResponse {
|
|
411
444
|
requestId?: string;
|
|
412
445
|
clientToken?: string;
|
|
413
446
|
imageBuildVersionArn?: string;
|
|
414
447
|
}
|
|
415
|
-
export declare
|
|
416
|
-
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
|
417
|
-
EXPRESSION_MATCH_ONLY
|
|
418
|
-
}
|
|
448
|
+
export declare const PipelineExecutionStartCondition: {
|
|
449
|
+
readonly EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE: "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE";
|
|
450
|
+
readonly EXPRESSION_MATCH_ONLY: "EXPRESSION_MATCH_ONLY";
|
|
451
|
+
};
|
|
452
|
+
export type PipelineExecutionStartCondition =
|
|
453
|
+
(typeof PipelineExecutionStartCondition)[keyof typeof PipelineExecutionStartCondition];
|
|
419
454
|
export interface Schedule {
|
|
420
455
|
scheduleExpression?: string;
|
|
421
456
|
timezone?: string;
|
|
422
457
|
pipelineExecutionStartCondition?: PipelineExecutionStartCondition | string;
|
|
423
458
|
}
|
|
424
|
-
export declare
|
|
425
|
-
DISABLED
|
|
426
|
-
ENABLED
|
|
427
|
-
}
|
|
459
|
+
export declare const PipelineStatus: {
|
|
460
|
+
readonly DISABLED: "DISABLED";
|
|
461
|
+
readonly ENABLED: "ENABLED";
|
|
462
|
+
};
|
|
463
|
+
export type PipelineStatus =
|
|
464
|
+
(typeof PipelineStatus)[keyof typeof PipelineStatus];
|
|
428
465
|
export interface CreateImagePipelineRequest {
|
|
429
466
|
name: string | undefined;
|
|
430
467
|
description?: string;
|
|
@@ -438,6 +475,7 @@ export interface CreateImagePipelineRequest {
|
|
|
438
475
|
status?: PipelineStatus | string;
|
|
439
476
|
tags?: Record<string, string>;
|
|
440
477
|
clientToken?: string;
|
|
478
|
+
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
441
479
|
}
|
|
442
480
|
export interface CreateImagePipelineResponse {
|
|
443
481
|
requestId?: string;
|
|
@@ -493,6 +531,24 @@ export interface CreateInfrastructureConfigurationResponse {
|
|
|
493
531
|
clientToken?: string;
|
|
494
532
|
infrastructureConfigurationArn?: string;
|
|
495
533
|
}
|
|
534
|
+
export interface CvssScore {
|
|
535
|
+
baseScore?: number;
|
|
536
|
+
scoringVector?: string;
|
|
537
|
+
version?: string;
|
|
538
|
+
source?: string;
|
|
539
|
+
}
|
|
540
|
+
export interface CvssScoreAdjustment {
|
|
541
|
+
metric?: string;
|
|
542
|
+
reason?: string;
|
|
543
|
+
}
|
|
544
|
+
export interface CvssScoreDetails {
|
|
545
|
+
scoreSource?: string;
|
|
546
|
+
cvssSource?: string;
|
|
547
|
+
version?: string;
|
|
548
|
+
score?: number;
|
|
549
|
+
scoringVector?: string;
|
|
550
|
+
adjustments?: CvssScoreAdjustment[];
|
|
551
|
+
}
|
|
496
552
|
export interface DeleteComponentRequest {
|
|
497
553
|
componentBuildVersionArn: string | undefined;
|
|
498
554
|
}
|
|
@@ -617,10 +673,11 @@ export interface GetDistributionConfigurationResponse {
|
|
|
617
673
|
export interface GetImageRequest {
|
|
618
674
|
imageBuildVersionArn: string | undefined;
|
|
619
675
|
}
|
|
620
|
-
export declare
|
|
621
|
-
AMI
|
|
622
|
-
DOCKER
|
|
623
|
-
}
|
|
676
|
+
export declare const ImageType: {
|
|
677
|
+
readonly AMI: "AMI";
|
|
678
|
+
readonly DOCKER: "DOCKER";
|
|
679
|
+
};
|
|
680
|
+
export type ImageType = (typeof ImageType)[keyof typeof ImageType];
|
|
624
681
|
export interface ImageRecipe {
|
|
625
682
|
arn?: string;
|
|
626
683
|
type?: ImageType | string;
|
|
@@ -637,12 +694,13 @@ export interface ImageRecipe {
|
|
|
637
694
|
workingDirectory?: string;
|
|
638
695
|
additionalInstanceConfiguration?: AdditionalInstanceConfiguration;
|
|
639
696
|
}
|
|
640
|
-
export declare
|
|
641
|
-
AMAZON_MANAGED
|
|
642
|
-
AWS_MARKETPLACE
|
|
643
|
-
CUSTOM
|
|
644
|
-
IMPORTED
|
|
645
|
-
}
|
|
697
|
+
export declare const ImageSource: {
|
|
698
|
+
readonly AMAZON_MANAGED: "AMAZON_MANAGED";
|
|
699
|
+
readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
|
|
700
|
+
readonly CUSTOM: "CUSTOM";
|
|
701
|
+
readonly IMPORTED: "IMPORTED";
|
|
702
|
+
};
|
|
703
|
+
export type ImageSource = (typeof ImageSource)[keyof typeof ImageSource];
|
|
646
704
|
export interface InfrastructureConfiguration {
|
|
647
705
|
arn?: string;
|
|
648
706
|
name?: string;
|
|
@@ -665,6 +723,21 @@ export interface OutputResources {
|
|
|
665
723
|
amis?: Ami[];
|
|
666
724
|
containers?: Container[];
|
|
667
725
|
}
|
|
726
|
+
export declare const ImageScanStatus: {
|
|
727
|
+
readonly ABANDONED: "ABANDONED";
|
|
728
|
+
readonly COLLECTING: "COLLECTING";
|
|
729
|
+
readonly COMPLETED: "COMPLETED";
|
|
730
|
+
readonly FAILED: "FAILED";
|
|
731
|
+
readonly PENDING: "PENDING";
|
|
732
|
+
readonly SCANNING: "SCANNING";
|
|
733
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
734
|
+
};
|
|
735
|
+
export type ImageScanStatus =
|
|
736
|
+
(typeof ImageScanStatus)[keyof typeof ImageScanStatus];
|
|
737
|
+
export interface ImageScanState {
|
|
738
|
+
status?: ImageScanStatus | string;
|
|
739
|
+
reason?: string;
|
|
740
|
+
}
|
|
668
741
|
export interface Image {
|
|
669
742
|
arn?: string;
|
|
670
743
|
type?: ImageType | string;
|
|
@@ -686,6 +759,8 @@ export interface Image {
|
|
|
686
759
|
tags?: Record<string, string>;
|
|
687
760
|
buildType?: BuildType | string;
|
|
688
761
|
imageSource?: ImageSource | string;
|
|
762
|
+
scanState?: ImageScanState;
|
|
763
|
+
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
689
764
|
}
|
|
690
765
|
export interface GetImageResponse {
|
|
691
766
|
requestId?: string;
|
|
@@ -712,6 +787,7 @@ export interface ImagePipeline {
|
|
|
712
787
|
dateLastRun?: string;
|
|
713
788
|
dateNextRun?: string;
|
|
714
789
|
tags?: Record<string, string>;
|
|
790
|
+
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
715
791
|
}
|
|
716
792
|
export interface GetImagePipelineResponse {
|
|
717
793
|
requestId?: string;
|
|
@@ -745,6 +821,84 @@ export interface GetInfrastructureConfigurationResponse {
|
|
|
745
821
|
requestId?: string;
|
|
746
822
|
infrastructureConfiguration?: InfrastructureConfiguration;
|
|
747
823
|
}
|
|
824
|
+
export interface GetWorkflowExecutionRequest {
|
|
825
|
+
workflowExecutionId: string | undefined;
|
|
826
|
+
}
|
|
827
|
+
export declare const WorkflowExecutionStatus: {
|
|
828
|
+
readonly COMPLETED: "COMPLETED";
|
|
829
|
+
readonly FAILED: "FAILED";
|
|
830
|
+
readonly PENDING: "PENDING";
|
|
831
|
+
readonly ROLLBACK_COMPLETED: "ROLLBACK_COMPLETED";
|
|
832
|
+
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
833
|
+
readonly RUNNING: "RUNNING";
|
|
834
|
+
readonly SKIPPED: "SKIPPED";
|
|
835
|
+
};
|
|
836
|
+
export type WorkflowExecutionStatus =
|
|
837
|
+
(typeof WorkflowExecutionStatus)[keyof typeof WorkflowExecutionStatus];
|
|
838
|
+
export declare const WorkflowType: {
|
|
839
|
+
readonly BUILD: "BUILD";
|
|
840
|
+
readonly DISTRIBUTION: "DISTRIBUTION";
|
|
841
|
+
readonly TEST: "TEST";
|
|
842
|
+
};
|
|
843
|
+
export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
|
|
844
|
+
export interface GetWorkflowExecutionResponse {
|
|
845
|
+
requestId?: string;
|
|
846
|
+
workflowBuildVersionArn?: string;
|
|
847
|
+
workflowExecutionId?: string;
|
|
848
|
+
imageBuildVersionArn?: string;
|
|
849
|
+
type?: WorkflowType | string;
|
|
850
|
+
status?: WorkflowExecutionStatus | string;
|
|
851
|
+
message?: string;
|
|
852
|
+
totalStepCount?: number;
|
|
853
|
+
totalStepsSucceeded?: number;
|
|
854
|
+
totalStepsFailed?: number;
|
|
855
|
+
totalStepsSkipped?: number;
|
|
856
|
+
startTime?: string;
|
|
857
|
+
endTime?: string;
|
|
858
|
+
}
|
|
859
|
+
export interface GetWorkflowStepExecutionRequest {
|
|
860
|
+
stepExecutionId: string | undefined;
|
|
861
|
+
}
|
|
862
|
+
export declare const WorkflowStepExecutionRollbackStatus: {
|
|
863
|
+
readonly COMPLETED: "COMPLETED";
|
|
864
|
+
readonly FAILED: "FAILED";
|
|
865
|
+
readonly RUNNING: "RUNNING";
|
|
866
|
+
readonly SKIPPED: "SKIPPED";
|
|
867
|
+
};
|
|
868
|
+
export type WorkflowStepExecutionRollbackStatus =
|
|
869
|
+
(typeof WorkflowStepExecutionRollbackStatus)[keyof typeof WorkflowStepExecutionRollbackStatus];
|
|
870
|
+
export declare const WorkflowStepExecutionStatus: {
|
|
871
|
+
readonly COMPLETED: "COMPLETED";
|
|
872
|
+
readonly FAILED: "FAILED";
|
|
873
|
+
readonly PENDING: "PENDING";
|
|
874
|
+
readonly RUNNING: "RUNNING";
|
|
875
|
+
readonly SKIPPED: "SKIPPED";
|
|
876
|
+
};
|
|
877
|
+
export type WorkflowStepExecutionStatus =
|
|
878
|
+
(typeof WorkflowStepExecutionStatus)[keyof typeof WorkflowStepExecutionStatus];
|
|
879
|
+
export interface GetWorkflowStepExecutionResponse {
|
|
880
|
+
requestId?: string;
|
|
881
|
+
stepExecutionId?: string;
|
|
882
|
+
workflowBuildVersionArn?: string;
|
|
883
|
+
workflowExecutionId?: string;
|
|
884
|
+
imageBuildVersionArn?: string;
|
|
885
|
+
name?: string;
|
|
886
|
+
description?: string;
|
|
887
|
+
action?: string;
|
|
888
|
+
status?: WorkflowStepExecutionStatus | string;
|
|
889
|
+
rollbackStatus?: WorkflowStepExecutionRollbackStatus | string;
|
|
890
|
+
message?: string;
|
|
891
|
+
inputs?: string;
|
|
892
|
+
outputs?: string;
|
|
893
|
+
startTime?: string;
|
|
894
|
+
endTime?: string;
|
|
895
|
+
onFailure?: string;
|
|
896
|
+
timeoutSeconds?: number;
|
|
897
|
+
}
|
|
898
|
+
export interface ImageAggregation {
|
|
899
|
+
imageBuildVersionArn?: string;
|
|
900
|
+
severityCounts?: SeverityCounts;
|
|
901
|
+
}
|
|
748
902
|
export interface ImportComponentRequest {
|
|
749
903
|
name: string | undefined;
|
|
750
904
|
semanticVersion: string | undefined;
|
|
@@ -799,12 +953,13 @@ export interface ListComponentBuildVersionsResponse {
|
|
|
799
953
|
componentSummaryList?: ComponentSummary[];
|
|
800
954
|
nextToken?: string;
|
|
801
955
|
}
|
|
802
|
-
export declare
|
|
803
|
-
AMAZON
|
|
804
|
-
SELF
|
|
805
|
-
SHARED
|
|
806
|
-
THIRDPARTY
|
|
807
|
-
}
|
|
956
|
+
export declare const Ownership: {
|
|
957
|
+
readonly AMAZON: "Amazon";
|
|
958
|
+
readonly SELF: "Self";
|
|
959
|
+
readonly SHARED: "Shared";
|
|
960
|
+
readonly THIRDPARTY: "ThirdParty";
|
|
961
|
+
};
|
|
962
|
+
export type Ownership = (typeof Ownership)[keyof typeof Ownership];
|
|
808
963
|
export interface ListComponentsRequest {
|
|
809
964
|
owner?: Ownership | string;
|
|
810
965
|
filters?: Filter[];
|
|
@@ -944,6 +1099,94 @@ export interface ListImagesResponse {
|
|
|
944
1099
|
imageVersionList?: ImageVersion[];
|
|
945
1100
|
nextToken?: string;
|
|
946
1101
|
}
|
|
1102
|
+
export interface ListImageScanFindingAggregationsRequest {
|
|
1103
|
+
filter?: Filter;
|
|
1104
|
+
nextToken?: string;
|
|
1105
|
+
}
|
|
1106
|
+
export interface ImagePipelineAggregation {
|
|
1107
|
+
imagePipelineArn?: string;
|
|
1108
|
+
severityCounts?: SeverityCounts;
|
|
1109
|
+
}
|
|
1110
|
+
export interface VulnerabilityIdAggregation {
|
|
1111
|
+
vulnerabilityId?: string;
|
|
1112
|
+
severityCounts?: SeverityCounts;
|
|
1113
|
+
}
|
|
1114
|
+
export interface ImageScanFindingAggregation {
|
|
1115
|
+
accountAggregation?: AccountAggregation;
|
|
1116
|
+
imageAggregation?: ImageAggregation;
|
|
1117
|
+
imagePipelineAggregation?: ImagePipelineAggregation;
|
|
1118
|
+
vulnerabilityIdAggregation?: VulnerabilityIdAggregation;
|
|
1119
|
+
}
|
|
1120
|
+
export interface ListImageScanFindingAggregationsResponse {
|
|
1121
|
+
requestId?: string;
|
|
1122
|
+
aggregationType?: string;
|
|
1123
|
+
responses?: ImageScanFindingAggregation[];
|
|
1124
|
+
nextToken?: string;
|
|
1125
|
+
}
|
|
1126
|
+
export interface ImageScanFindingsFilter {
|
|
1127
|
+
name?: string;
|
|
1128
|
+
values?: string[];
|
|
1129
|
+
}
|
|
1130
|
+
export interface ListImageScanFindingsRequest {
|
|
1131
|
+
filters?: ImageScanFindingsFilter[];
|
|
1132
|
+
maxResults?: number;
|
|
1133
|
+
nextToken?: string;
|
|
1134
|
+
}
|
|
1135
|
+
export interface InspectorScoreDetails {
|
|
1136
|
+
adjustedCvss?: CvssScoreDetails;
|
|
1137
|
+
}
|
|
1138
|
+
export interface VulnerablePackage {
|
|
1139
|
+
name?: string;
|
|
1140
|
+
version?: string;
|
|
1141
|
+
sourceLayerHash?: string;
|
|
1142
|
+
epoch?: number;
|
|
1143
|
+
release?: string;
|
|
1144
|
+
arch?: string;
|
|
1145
|
+
packageManager?: string;
|
|
1146
|
+
filePath?: string;
|
|
1147
|
+
fixedInVersion?: string;
|
|
1148
|
+
remediation?: string;
|
|
1149
|
+
}
|
|
1150
|
+
export interface PackageVulnerabilityDetails {
|
|
1151
|
+
vulnerabilityId: string | undefined;
|
|
1152
|
+
vulnerablePackages?: VulnerablePackage[];
|
|
1153
|
+
source?: string;
|
|
1154
|
+
cvss?: CvssScore[];
|
|
1155
|
+
relatedVulnerabilities?: string[];
|
|
1156
|
+
sourceUrl?: string;
|
|
1157
|
+
vendorSeverity?: string;
|
|
1158
|
+
vendorCreatedAt?: Date;
|
|
1159
|
+
vendorUpdatedAt?: Date;
|
|
1160
|
+
referenceUrls?: string[];
|
|
1161
|
+
}
|
|
1162
|
+
export interface RemediationRecommendation {
|
|
1163
|
+
text?: string;
|
|
1164
|
+
url?: string;
|
|
1165
|
+
}
|
|
1166
|
+
export interface Remediation {
|
|
1167
|
+
recommendation?: RemediationRecommendation;
|
|
1168
|
+
}
|
|
1169
|
+
export interface ImageScanFinding {
|
|
1170
|
+
awsAccountId?: string;
|
|
1171
|
+
imageBuildVersionArn?: string;
|
|
1172
|
+
imagePipelineArn?: string;
|
|
1173
|
+
type?: string;
|
|
1174
|
+
description?: string;
|
|
1175
|
+
title?: string;
|
|
1176
|
+
remediation?: Remediation;
|
|
1177
|
+
severity?: string;
|
|
1178
|
+
firstObservedAt?: Date;
|
|
1179
|
+
updatedAt?: Date;
|
|
1180
|
+
inspectorScore?: number;
|
|
1181
|
+
inspectorScoreDetails?: InspectorScoreDetails;
|
|
1182
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
1183
|
+
fixAvailable?: string;
|
|
1184
|
+
}
|
|
1185
|
+
export interface ListImageScanFindingsResponse {
|
|
1186
|
+
requestId?: string;
|
|
1187
|
+
findings?: ImageScanFinding[];
|
|
1188
|
+
nextToken?: string;
|
|
1189
|
+
}
|
|
947
1190
|
export interface ListInfrastructureConfigurationsRequest {
|
|
948
1191
|
filters?: Filter[];
|
|
949
1192
|
maxResults?: number;
|
|
@@ -978,6 +1221,58 @@ export interface ListTagsForResourceRequest {
|
|
|
978
1221
|
export interface ListTagsForResourceResponse {
|
|
979
1222
|
tags?: Record<string, string>;
|
|
980
1223
|
}
|
|
1224
|
+
export interface ListWorkflowExecutionsRequest {
|
|
1225
|
+
maxResults?: number;
|
|
1226
|
+
nextToken?: string;
|
|
1227
|
+
imageBuildVersionArn: string | undefined;
|
|
1228
|
+
}
|
|
1229
|
+
export interface WorkflowExecutionMetadata {
|
|
1230
|
+
workflowBuildVersionArn?: string;
|
|
1231
|
+
workflowExecutionId?: string;
|
|
1232
|
+
type?: WorkflowType | string;
|
|
1233
|
+
status?: WorkflowExecutionStatus | string;
|
|
1234
|
+
message?: string;
|
|
1235
|
+
totalStepCount?: number;
|
|
1236
|
+
totalStepsSucceeded?: number;
|
|
1237
|
+
totalStepsFailed?: number;
|
|
1238
|
+
totalStepsSkipped?: number;
|
|
1239
|
+
startTime?: string;
|
|
1240
|
+
endTime?: string;
|
|
1241
|
+
}
|
|
1242
|
+
export interface ListWorkflowExecutionsResponse {
|
|
1243
|
+
requestId?: string;
|
|
1244
|
+
workflowExecutions?: WorkflowExecutionMetadata[];
|
|
1245
|
+
imageBuildVersionArn?: string;
|
|
1246
|
+
message?: string;
|
|
1247
|
+
nextToken?: string;
|
|
1248
|
+
}
|
|
1249
|
+
export interface ListWorkflowStepExecutionsRequest {
|
|
1250
|
+
maxResults?: number;
|
|
1251
|
+
nextToken?: string;
|
|
1252
|
+
workflowExecutionId: string | undefined;
|
|
1253
|
+
}
|
|
1254
|
+
export interface WorkflowStepMetadata {
|
|
1255
|
+
stepExecutionId?: string;
|
|
1256
|
+
name?: string;
|
|
1257
|
+
description?: string;
|
|
1258
|
+
action?: string;
|
|
1259
|
+
status?: WorkflowStepExecutionStatus | string;
|
|
1260
|
+
rollbackStatus?: WorkflowStepExecutionRollbackStatus | string;
|
|
1261
|
+
message?: string;
|
|
1262
|
+
inputs?: string;
|
|
1263
|
+
outputs?: string;
|
|
1264
|
+
startTime?: string;
|
|
1265
|
+
endTime?: string;
|
|
1266
|
+
}
|
|
1267
|
+
export interface ListWorkflowStepExecutionsResponse {
|
|
1268
|
+
requestId?: string;
|
|
1269
|
+
steps?: WorkflowStepMetadata[];
|
|
1270
|
+
workflowBuildVersionArn?: string;
|
|
1271
|
+
workflowExecutionId?: string;
|
|
1272
|
+
imageBuildVersionArn?: string;
|
|
1273
|
+
message?: string;
|
|
1274
|
+
nextToken?: string;
|
|
1275
|
+
}
|
|
981
1276
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
982
1277
|
readonly name: "InvalidParameterValueException";
|
|
983
1278
|
readonly $fault: "client";
|
|
@@ -1059,6 +1354,7 @@ export interface UpdateImagePipelineRequest {
|
|
|
1059
1354
|
schedule?: Schedule;
|
|
1060
1355
|
status?: PipelineStatus | string;
|
|
1061
1356
|
clientToken?: string;
|
|
1357
|
+
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
1062
1358
|
}
|
|
1063
1359
|
export interface UpdateImagePipelineResponse {
|
|
1064
1360
|
requestId?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListImageScanFindingAggregationsCommandInput,
|
|
4
|
+
ListImageScanFindingAggregationsCommandOutput,
|
|
5
|
+
} from "../commands/ListImageScanFindingAggregationsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListImageScanFindingAggregations(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListImageScanFindingAggregationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListImageScanFindingAggregationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListImageScanFindingsCommandInput,
|
|
4
|
+
ListImageScanFindingsCommandOutput,
|
|
5
|
+
} from "../commands/ListImageScanFindingsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListImageScanFindings(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListImageScanFindingsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListImageScanFindingsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowExecutionsCommandInput,
|
|
4
|
+
ListWorkflowExecutionsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowExecutionsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWorkflowExecutions(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowExecutionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWorkflowExecutionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowStepExecutionsCommandInput,
|
|
4
|
+
ListWorkflowStepExecutionsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowStepExecutionsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWorkflowStepExecutions(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowStepExecutionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWorkflowStepExecutionsCommandOutput>;
|
|
@@ -8,5 +8,9 @@ export * from "./ListImagePackagesPaginator";
|
|
|
8
8
|
export * from "./ListImagePipelineImagesPaginator";
|
|
9
9
|
export * from "./ListImagePipelinesPaginator";
|
|
10
10
|
export * from "./ListImageRecipesPaginator";
|
|
11
|
+
export * from "./ListImageScanFindingAggregationsPaginator";
|
|
12
|
+
export * from "./ListImageScanFindingsPaginator";
|
|
11
13
|
export * from "./ListImagesPaginator";
|
|
12
14
|
export * from "./ListInfrastructureConfigurationsPaginator";
|
|
15
|
+
export * from "./ListWorkflowExecutionsPaginator";
|
|
16
|
+
export * from "./ListWorkflowStepExecutionsPaginator";
|