@aws-sdk/client-imagebuilder 3.470.0 → 3.473.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 +56 -0
- package/dist-cjs/Imagebuilder.js +14 -0
- package/dist-cjs/commands/CreateWorkflowCommand.js +51 -0
- package/dist-cjs/commands/DeleteWorkflowCommand.js +51 -0
- package/dist-cjs/commands/GetWorkflowCommand.js +51 -0
- package/dist-cjs/commands/ListWaitingWorkflowStepsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkflowBuildVersionsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkflowsCommand.js +51 -0
- package/dist-cjs/commands/SendWorkflowStepActionCommand.js +51 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +19 -6
- package/dist-cjs/pagination/ListWaitingWorkflowStepsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowBuildVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +565 -3
- package/dist-es/Imagebuilder.js +14 -0
- package/dist-es/commands/CreateWorkflowCommand.js +47 -0
- package/dist-es/commands/DeleteWorkflowCommand.js +47 -0
- package/dist-es/commands/GetWorkflowCommand.js +47 -0
- package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +47 -0
- package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +47 -0
- package/dist-es/commands/ListWorkflowsCommand.js +47 -0
- package/dist-es/commands/SendWorkflowStepActionCommand.js +47 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +18 -5
- package/dist-es/pagination/ListWaitingWorkflowStepsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowBuildVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +548 -0
- package/dist-types/Imagebuilder.d.ts +49 -0
- package/dist-types/ImagebuilderClient.d.ts +9 -2
- package/dist-types/commands/CreateImageCommand.d.ts +16 -0
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +126 -0
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +98 -0
- package/dist-types/commands/GetImageCommand.d.ts +16 -0
- package/dist-types/commands/GetImagePipelineCommand.d.ts +16 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +122 -0
- package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +2 -1
- package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +16 -0
- package/dist-types/commands/ListWaitingWorkflowStepsCommand.d.ts +110 -0
- package/dist-types/commands/ListWorkflowBuildVersionsCommand.d.ts +118 -0
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +2 -2
- package/dist-types/commands/ListWorkflowsCommand.d.ts +119 -0
- package/dist-types/commands/SendWorkflowStepActionCommand.d.ts +115 -0
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +18 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +786 -61
- package/dist-types/pagination/ListWaitingWorkflowStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowBuildVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +119 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListWaitingWorkflowStepsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWorkflowBuildVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SendWorkflowStepActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +170 -6
- package/dist-types/ts3.4/pagination/ListWaitingWorkflowStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowBuildVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +2 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ImagebuilderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ImagebuilderClient";
|
|
14
|
+
import {
|
|
15
|
+
ListWaitingWorkflowStepsRequest,
|
|
16
|
+
ListWaitingWorkflowStepsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListWaitingWorkflowStepsCommandInput
|
|
20
|
+
extends ListWaitingWorkflowStepsRequest {}
|
|
21
|
+
export interface ListWaitingWorkflowStepsCommandOutput
|
|
22
|
+
extends ListWaitingWorkflowStepsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListWaitingWorkflowStepsCommand extends $Command<
|
|
25
|
+
ListWaitingWorkflowStepsCommandInput,
|
|
26
|
+
ListWaitingWorkflowStepsCommandOutput,
|
|
27
|
+
ImagebuilderClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListWaitingWorkflowStepsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListWaitingWorkflowStepsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: ImagebuilderClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListWaitingWorkflowStepsCommandInput,
|
|
38
|
+
ListWaitingWorkflowStepsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ImagebuilderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ImagebuilderClient";
|
|
14
|
+
import {
|
|
15
|
+
ListWorkflowBuildVersionsRequest,
|
|
16
|
+
ListWorkflowBuildVersionsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListWorkflowBuildVersionsCommandInput
|
|
20
|
+
extends ListWorkflowBuildVersionsRequest {}
|
|
21
|
+
export interface ListWorkflowBuildVersionsCommandOutput
|
|
22
|
+
extends ListWorkflowBuildVersionsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListWorkflowBuildVersionsCommand extends $Command<
|
|
25
|
+
ListWorkflowBuildVersionsCommandInput,
|
|
26
|
+
ListWorkflowBuildVersionsCommandOutput,
|
|
27
|
+
ImagebuilderClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListWorkflowBuildVersionsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListWorkflowBuildVersionsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: ImagebuilderClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListWorkflowBuildVersionsCommandInput,
|
|
38
|
+
ListWorkflowBuildVersionsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ImagebuilderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ImagebuilderClient";
|
|
14
|
+
import {
|
|
15
|
+
ListWorkflowsRequest,
|
|
16
|
+
ListWorkflowsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListWorkflowsCommandInput extends ListWorkflowsRequest {}
|
|
20
|
+
export interface ListWorkflowsCommandOutput
|
|
21
|
+
extends ListWorkflowsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListWorkflowsCommand extends $Command<
|
|
24
|
+
ListWorkflowsCommandInput,
|
|
25
|
+
ListWorkflowsCommandOutput,
|
|
26
|
+
ImagebuilderClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListWorkflowsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListWorkflowsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ImagebuilderClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ListWorkflowsCommandInput, ListWorkflowsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ImagebuilderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ImagebuilderClient";
|
|
14
|
+
import {
|
|
15
|
+
SendWorkflowStepActionRequest,
|
|
16
|
+
SendWorkflowStepActionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface SendWorkflowStepActionCommandInput
|
|
20
|
+
extends SendWorkflowStepActionRequest {}
|
|
21
|
+
export interface SendWorkflowStepActionCommandOutput
|
|
22
|
+
extends SendWorkflowStepActionResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class SendWorkflowStepActionCommand extends $Command<
|
|
25
|
+
SendWorkflowStepActionCommandInput,
|
|
26
|
+
SendWorkflowStepActionCommandOutput,
|
|
27
|
+
ImagebuilderClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: SendWorkflowStepActionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: SendWorkflowStepActionCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: ImagebuilderClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
SendWorkflowStepActionCommandInput,
|
|
38
|
+
SendWorkflowStepActionCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./CreateImagePipelineCommand";
|
|
|
8
8
|
export * from "./CreateImageRecipeCommand";
|
|
9
9
|
export * from "./CreateInfrastructureConfigurationCommand";
|
|
10
10
|
export * from "./CreateLifecyclePolicyCommand";
|
|
11
|
+
export * from "./CreateWorkflowCommand";
|
|
11
12
|
export * from "./DeleteComponentCommand";
|
|
12
13
|
export * from "./DeleteContainerRecipeCommand";
|
|
13
14
|
export * from "./DeleteDistributionConfigurationCommand";
|
|
@@ -16,6 +17,7 @@ export * from "./DeleteImagePipelineCommand";
|
|
|
16
17
|
export * from "./DeleteImageRecipeCommand";
|
|
17
18
|
export * from "./DeleteInfrastructureConfigurationCommand";
|
|
18
19
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
20
|
+
export * from "./DeleteWorkflowCommand";
|
|
19
21
|
export * from "./GetComponentCommand";
|
|
20
22
|
export * from "./GetComponentPolicyCommand";
|
|
21
23
|
export * from "./GetContainerRecipeCommand";
|
|
@@ -29,6 +31,7 @@ export * from "./GetImageRecipePolicyCommand";
|
|
|
29
31
|
export * from "./GetInfrastructureConfigurationCommand";
|
|
30
32
|
export * from "./GetLifecycleExecutionCommand";
|
|
31
33
|
export * from "./GetLifecyclePolicyCommand";
|
|
34
|
+
export * from "./GetWorkflowCommand";
|
|
32
35
|
export * from "./GetWorkflowExecutionCommand";
|
|
33
36
|
export * from "./GetWorkflowStepExecutionCommand";
|
|
34
37
|
export * from "./ImportComponentCommand";
|
|
@@ -50,12 +53,16 @@ export * from "./ListLifecycleExecutionResourcesCommand";
|
|
|
50
53
|
export * from "./ListLifecycleExecutionsCommand";
|
|
51
54
|
export * from "./ListLifecyclePoliciesCommand";
|
|
52
55
|
export * from "./ListTagsForResourceCommand";
|
|
56
|
+
export * from "./ListWaitingWorkflowStepsCommand";
|
|
57
|
+
export * from "./ListWorkflowBuildVersionsCommand";
|
|
53
58
|
export * from "./ListWorkflowExecutionsCommand";
|
|
54
59
|
export * from "./ListWorkflowStepExecutionsCommand";
|
|
60
|
+
export * from "./ListWorkflowsCommand";
|
|
55
61
|
export * from "./PutComponentPolicyCommand";
|
|
56
62
|
export * from "./PutContainerRecipePolicyCommand";
|
|
57
63
|
export * from "./PutImagePolicyCommand";
|
|
58
64
|
export * from "./PutImageRecipePolicyCommand";
|
|
65
|
+
export * from "./SendWorkflowStepActionCommand";
|
|
59
66
|
export * from "./StartImagePipelineExecutionCommand";
|
|
60
67
|
export * from "./StartResourceStateUpdateCommand";
|
|
61
68
|
export * from "./TagResourceCommand";
|
|
@@ -437,6 +437,22 @@ export interface ImageTestsConfiguration {
|
|
|
437
437
|
imageTestsEnabled?: boolean;
|
|
438
438
|
timeoutMinutes?: number;
|
|
439
439
|
}
|
|
440
|
+
export declare const OnWorkflowFailure: {
|
|
441
|
+
readonly ABORT: "ABORT";
|
|
442
|
+
readonly CONTINUE: "CONTINUE";
|
|
443
|
+
};
|
|
444
|
+
export type OnWorkflowFailure =
|
|
445
|
+
(typeof OnWorkflowFailure)[keyof typeof OnWorkflowFailure];
|
|
446
|
+
export interface WorkflowParameter {
|
|
447
|
+
name: string | undefined;
|
|
448
|
+
value: string[] | undefined;
|
|
449
|
+
}
|
|
450
|
+
export interface WorkflowConfiguration {
|
|
451
|
+
workflowArn: string | undefined;
|
|
452
|
+
parameters?: WorkflowParameter[];
|
|
453
|
+
parallelGroup?: string;
|
|
454
|
+
onFailure?: OnWorkflowFailure;
|
|
455
|
+
}
|
|
440
456
|
export interface CreateImageRequest {
|
|
441
457
|
imageRecipeArn?: string;
|
|
442
458
|
containerRecipeArn?: string;
|
|
@@ -447,6 +463,8 @@ export interface CreateImageRequest {
|
|
|
447
463
|
tags?: Record<string, string>;
|
|
448
464
|
clientToken?: string;
|
|
449
465
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
466
|
+
workflows?: WorkflowConfiguration[];
|
|
467
|
+
executionRole?: string;
|
|
450
468
|
}
|
|
451
469
|
export interface CreateImageResponse {
|
|
452
470
|
requestId?: string;
|
|
@@ -484,6 +502,8 @@ export interface CreateImagePipelineRequest {
|
|
|
484
502
|
tags?: Record<string, string>;
|
|
485
503
|
clientToken?: string;
|
|
486
504
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
505
|
+
workflows?: WorkflowConfiguration[];
|
|
506
|
+
executionRole?: string;
|
|
487
507
|
}
|
|
488
508
|
export interface CreateImagePipelineResponse {
|
|
489
509
|
requestId?: string;
|
|
@@ -630,6 +650,28 @@ export interface CreateLifecyclePolicyResponse {
|
|
|
630
650
|
clientToken?: string;
|
|
631
651
|
lifecyclePolicyArn?: string;
|
|
632
652
|
}
|
|
653
|
+
export declare const WorkflowType: {
|
|
654
|
+
readonly BUILD: "BUILD";
|
|
655
|
+
readonly DISTRIBUTION: "DISTRIBUTION";
|
|
656
|
+
readonly TEST: "TEST";
|
|
657
|
+
};
|
|
658
|
+
export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
|
|
659
|
+
export interface CreateWorkflowRequest {
|
|
660
|
+
name: string | undefined;
|
|
661
|
+
semanticVersion: string | undefined;
|
|
662
|
+
description?: string;
|
|
663
|
+
changeDescription?: string;
|
|
664
|
+
data?: string;
|
|
665
|
+
uri?: string;
|
|
666
|
+
kmsKeyId?: string;
|
|
667
|
+
tags?: Record<string, string>;
|
|
668
|
+
clientToken?: string;
|
|
669
|
+
type: WorkflowType | undefined;
|
|
670
|
+
}
|
|
671
|
+
export interface CreateWorkflowResponse {
|
|
672
|
+
clientToken?: string;
|
|
673
|
+
workflowBuildVersionArn?: string;
|
|
674
|
+
}
|
|
633
675
|
export interface CvssScore {
|
|
634
676
|
baseScore?: number;
|
|
635
677
|
scoringVector?: string;
|
|
@@ -710,6 +752,12 @@ export interface DeleteLifecyclePolicyRequest {
|
|
|
710
752
|
export interface DeleteLifecyclePolicyResponse {
|
|
711
753
|
lifecyclePolicyArn?: string;
|
|
712
754
|
}
|
|
755
|
+
export interface DeleteWorkflowRequest {
|
|
756
|
+
workflowBuildVersionArn: string | undefined;
|
|
757
|
+
}
|
|
758
|
+
export interface DeleteWorkflowResponse {
|
|
759
|
+
workflowBuildVersionArn?: string;
|
|
760
|
+
}
|
|
713
761
|
export interface DistributionConfiguration {
|
|
714
762
|
arn?: string;
|
|
715
763
|
name?: string;
|
|
@@ -868,6 +916,8 @@ export interface Image {
|
|
|
868
916
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
869
917
|
deprecationTime?: Date;
|
|
870
918
|
lifecycleExecutionId?: string;
|
|
919
|
+
executionRole?: string;
|
|
920
|
+
workflows?: WorkflowConfiguration[];
|
|
871
921
|
}
|
|
872
922
|
export interface GetImageResponse {
|
|
873
923
|
requestId?: string;
|
|
@@ -895,6 +945,8 @@ export interface ImagePipeline {
|
|
|
895
945
|
dateNextRun?: string;
|
|
896
946
|
tags?: Record<string, string>;
|
|
897
947
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
948
|
+
executionRole?: string;
|
|
949
|
+
workflows?: WorkflowConfiguration[];
|
|
898
950
|
}
|
|
899
951
|
export interface GetImagePipelineResponse {
|
|
900
952
|
requestId?: string;
|
|
@@ -978,10 +1030,47 @@ export interface LifecyclePolicy {
|
|
|
978
1030
|
export interface GetLifecyclePolicyResponse {
|
|
979
1031
|
lifecyclePolicy?: LifecyclePolicy;
|
|
980
1032
|
}
|
|
1033
|
+
export interface GetWorkflowRequest {
|
|
1034
|
+
workflowBuildVersionArn: string | undefined;
|
|
1035
|
+
}
|
|
1036
|
+
export interface WorkflowParameterDetail {
|
|
1037
|
+
name: string | undefined;
|
|
1038
|
+
type: string | undefined;
|
|
1039
|
+
defaultValue?: string[];
|
|
1040
|
+
description?: string;
|
|
1041
|
+
}
|
|
1042
|
+
export declare const WorkflowStatus: {
|
|
1043
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
1044
|
+
};
|
|
1045
|
+
export type WorkflowStatus =
|
|
1046
|
+
(typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
1047
|
+
export interface WorkflowState {
|
|
1048
|
+
status?: WorkflowStatus;
|
|
1049
|
+
reason?: string;
|
|
1050
|
+
}
|
|
1051
|
+
export interface Workflow {
|
|
1052
|
+
arn?: string;
|
|
1053
|
+
name?: string;
|
|
1054
|
+
version?: string;
|
|
1055
|
+
description?: string;
|
|
1056
|
+
changeDescription?: string;
|
|
1057
|
+
type?: WorkflowType;
|
|
1058
|
+
state?: WorkflowState;
|
|
1059
|
+
owner?: string;
|
|
1060
|
+
data?: string;
|
|
1061
|
+
kmsKeyId?: string;
|
|
1062
|
+
dateCreated?: string;
|
|
1063
|
+
tags?: Record<string, string>;
|
|
1064
|
+
parameters?: WorkflowParameterDetail[];
|
|
1065
|
+
}
|
|
1066
|
+
export interface GetWorkflowResponse {
|
|
1067
|
+
workflow?: Workflow;
|
|
1068
|
+
}
|
|
981
1069
|
export interface GetWorkflowExecutionRequest {
|
|
982
1070
|
workflowExecutionId: string | undefined;
|
|
983
1071
|
}
|
|
984
1072
|
export declare const WorkflowExecutionStatus: {
|
|
1073
|
+
readonly CANCELLED: "CANCELLED";
|
|
985
1074
|
readonly COMPLETED: "COMPLETED";
|
|
986
1075
|
readonly FAILED: "FAILED";
|
|
987
1076
|
readonly PENDING: "PENDING";
|
|
@@ -992,12 +1081,6 @@ export declare const WorkflowExecutionStatus: {
|
|
|
992
1081
|
};
|
|
993
1082
|
export type WorkflowExecutionStatus =
|
|
994
1083
|
(typeof WorkflowExecutionStatus)[keyof typeof WorkflowExecutionStatus];
|
|
995
|
-
export declare const WorkflowType: {
|
|
996
|
-
readonly BUILD: "BUILD";
|
|
997
|
-
readonly DISTRIBUTION: "DISTRIBUTION";
|
|
998
|
-
readonly TEST: "TEST";
|
|
999
|
-
};
|
|
1000
|
-
export type WorkflowType = (typeof WorkflowType)[keyof typeof WorkflowType];
|
|
1001
1084
|
export interface GetWorkflowExecutionResponse {
|
|
1002
1085
|
requestId?: string;
|
|
1003
1086
|
workflowBuildVersionArn?: string;
|
|
@@ -1012,6 +1095,7 @@ export interface GetWorkflowExecutionResponse {
|
|
|
1012
1095
|
totalStepsSkipped?: number;
|
|
1013
1096
|
startTime?: string;
|
|
1014
1097
|
endTime?: string;
|
|
1098
|
+
parallelGroup?: string;
|
|
1015
1099
|
}
|
|
1016
1100
|
export interface GetWorkflowStepExecutionRequest {
|
|
1017
1101
|
stepExecutionId: string | undefined;
|
|
@@ -1025,6 +1109,7 @@ export declare const WorkflowStepExecutionRollbackStatus: {
|
|
|
1025
1109
|
export type WorkflowStepExecutionRollbackStatus =
|
|
1026
1110
|
(typeof WorkflowStepExecutionRollbackStatus)[keyof typeof WorkflowStepExecutionRollbackStatus];
|
|
1027
1111
|
export declare const WorkflowStepExecutionStatus: {
|
|
1112
|
+
readonly CANCELLED: "CANCELLED";
|
|
1028
1113
|
readonly COMPLETED: "COMPLETED";
|
|
1029
1114
|
readonly FAILED: "FAILED";
|
|
1030
1115
|
readonly PENDING: "PENDING";
|
|
@@ -1459,6 +1544,44 @@ export interface ListTagsForResourceRequest {
|
|
|
1459
1544
|
export interface ListTagsForResourceResponse {
|
|
1460
1545
|
tags?: Record<string, string>;
|
|
1461
1546
|
}
|
|
1547
|
+
export interface ListWaitingWorkflowStepsRequest {
|
|
1548
|
+
maxResults?: number;
|
|
1549
|
+
nextToken?: string;
|
|
1550
|
+
}
|
|
1551
|
+
export interface WorkflowStepExecution {
|
|
1552
|
+
stepExecutionId?: string;
|
|
1553
|
+
imageBuildVersionArn?: string;
|
|
1554
|
+
workflowExecutionId?: string;
|
|
1555
|
+
workflowBuildVersionArn?: string;
|
|
1556
|
+
name?: string;
|
|
1557
|
+
action?: string;
|
|
1558
|
+
startTime?: string;
|
|
1559
|
+
}
|
|
1560
|
+
export interface ListWaitingWorkflowStepsResponse {
|
|
1561
|
+
steps?: WorkflowStepExecution[];
|
|
1562
|
+
nextToken?: string;
|
|
1563
|
+
}
|
|
1564
|
+
export interface ListWorkflowBuildVersionsRequest {
|
|
1565
|
+
workflowVersionArn: string | undefined;
|
|
1566
|
+
maxResults?: number;
|
|
1567
|
+
nextToken?: string;
|
|
1568
|
+
}
|
|
1569
|
+
export interface WorkflowSummary {
|
|
1570
|
+
arn?: string;
|
|
1571
|
+
name?: string;
|
|
1572
|
+
version?: string;
|
|
1573
|
+
description?: string;
|
|
1574
|
+
changeDescription?: string;
|
|
1575
|
+
type?: WorkflowType;
|
|
1576
|
+
owner?: string;
|
|
1577
|
+
state?: WorkflowState;
|
|
1578
|
+
dateCreated?: string;
|
|
1579
|
+
tags?: Record<string, string>;
|
|
1580
|
+
}
|
|
1581
|
+
export interface ListWorkflowBuildVersionsResponse {
|
|
1582
|
+
workflowSummaryList?: WorkflowSummary[];
|
|
1583
|
+
nextToken?: string;
|
|
1584
|
+
}
|
|
1462
1585
|
export interface ListWorkflowExecutionsRequest {
|
|
1463
1586
|
maxResults?: number;
|
|
1464
1587
|
nextToken?: string;
|
|
@@ -1476,6 +1599,7 @@ export interface WorkflowExecutionMetadata {
|
|
|
1476
1599
|
totalStepsSkipped?: number;
|
|
1477
1600
|
startTime?: string;
|
|
1478
1601
|
endTime?: string;
|
|
1602
|
+
parallelGroup?: string;
|
|
1479
1603
|
}
|
|
1480
1604
|
export interface ListWorkflowExecutionsResponse {
|
|
1481
1605
|
requestId?: string;
|
|
@@ -1484,6 +1608,26 @@ export interface ListWorkflowExecutionsResponse {
|
|
|
1484
1608
|
message?: string;
|
|
1485
1609
|
nextToken?: string;
|
|
1486
1610
|
}
|
|
1611
|
+
export interface ListWorkflowsRequest {
|
|
1612
|
+
owner?: Ownership;
|
|
1613
|
+
filters?: Filter[];
|
|
1614
|
+
byName?: boolean;
|
|
1615
|
+
maxResults?: number;
|
|
1616
|
+
nextToken?: string;
|
|
1617
|
+
}
|
|
1618
|
+
export interface WorkflowVersion {
|
|
1619
|
+
arn?: string;
|
|
1620
|
+
name?: string;
|
|
1621
|
+
version?: string;
|
|
1622
|
+
description?: string;
|
|
1623
|
+
type?: WorkflowType;
|
|
1624
|
+
owner?: string;
|
|
1625
|
+
dateCreated?: string;
|
|
1626
|
+
}
|
|
1627
|
+
export interface ListWorkflowsResponse {
|
|
1628
|
+
workflowVersionList?: WorkflowVersion[];
|
|
1629
|
+
nextToken?: string;
|
|
1630
|
+
}
|
|
1487
1631
|
export interface ListWorkflowStepExecutionsRequest {
|
|
1488
1632
|
maxResults?: number;
|
|
1489
1633
|
nextToken?: string;
|
|
@@ -1550,6 +1694,24 @@ export interface PutImageRecipePolicyResponse {
|
|
|
1550
1694
|
requestId?: string;
|
|
1551
1695
|
imageRecipeArn?: string;
|
|
1552
1696
|
}
|
|
1697
|
+
export declare const WorkflowStepActionType: {
|
|
1698
|
+
readonly RESUME: "RESUME";
|
|
1699
|
+
readonly STOP: "STOP";
|
|
1700
|
+
};
|
|
1701
|
+
export type WorkflowStepActionType =
|
|
1702
|
+
(typeof WorkflowStepActionType)[keyof typeof WorkflowStepActionType];
|
|
1703
|
+
export interface SendWorkflowStepActionRequest {
|
|
1704
|
+
stepExecutionId: string | undefined;
|
|
1705
|
+
imageBuildVersionArn: string | undefined;
|
|
1706
|
+
action: WorkflowStepActionType | undefined;
|
|
1707
|
+
reason?: string;
|
|
1708
|
+
clientToken?: string;
|
|
1709
|
+
}
|
|
1710
|
+
export interface SendWorkflowStepActionResponse {
|
|
1711
|
+
stepExecutionId?: string;
|
|
1712
|
+
imageBuildVersionArn?: string;
|
|
1713
|
+
clientToken?: string;
|
|
1714
|
+
}
|
|
1553
1715
|
export interface StartImagePipelineExecutionRequest {
|
|
1554
1716
|
imagePipelineArn: string | undefined;
|
|
1555
1717
|
clientToken?: string;
|
|
@@ -1625,6 +1787,8 @@ export interface UpdateImagePipelineRequest {
|
|
|
1625
1787
|
status?: PipelineStatus;
|
|
1626
1788
|
clientToken?: string;
|
|
1627
1789
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
1790
|
+
workflows?: WorkflowConfiguration[];
|
|
1791
|
+
executionRole?: string;
|
|
1628
1792
|
}
|
|
1629
1793
|
export interface UpdateImagePipelineResponse {
|
|
1630
1794
|
requestId?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWaitingWorkflowStepsCommandInput,
|
|
4
|
+
ListWaitingWorkflowStepsCommandOutput,
|
|
5
|
+
} from "../commands/ListWaitingWorkflowStepsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWaitingWorkflowSteps(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListWaitingWorkflowStepsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWaitingWorkflowStepsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowBuildVersionsCommandInput,
|
|
4
|
+
ListWorkflowBuildVersionsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowBuildVersionsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWorkflowBuildVersions(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowBuildVersionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWorkflowBuildVersionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowsCommandInput,
|
|
4
|
+
ListWorkflowsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListWorkflows(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListWorkflowsCommandOutput>;
|
|
@@ -15,5 +15,8 @@ export * from "./ListInfrastructureConfigurationsPaginator";
|
|
|
15
15
|
export * from "./ListLifecycleExecutionResourcesPaginator";
|
|
16
16
|
export * from "./ListLifecycleExecutionsPaginator";
|
|
17
17
|
export * from "./ListLifecyclePoliciesPaginator";
|
|
18
|
+
export * from "./ListWaitingWorkflowStepsPaginator";
|
|
19
|
+
export * from "./ListWorkflowBuildVersionsPaginator";
|
|
18
20
|
export * from "./ListWorkflowExecutionsPaginator";
|
|
19
21
|
export * from "./ListWorkflowStepExecutionsPaginator";
|
|
22
|
+
export * from "./ListWorkflowsPaginator";
|