@aws-sdk/client-imagebuilder 3.450.0 → 3.453.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 +80 -0
- package/dist-cjs/Imagebuilder.js +20 -0
- package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/GetLifecycleExecutionCommand.js +51 -0
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +51 -0
- package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +51 -0
- package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
- package/dist-cjs/commands/StartResourceStateUpdateCommand.js +51 -0
- package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +50 -1
- package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +907 -15
- package/dist-es/Imagebuilder.js +20 -0
- package/dist-es/commands/CancelLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/GetLifecycleExecutionCommand.js +47 -0
- package/dist-es/commands/GetLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +47 -0
- package/dist-es/commands/ListLifecycleExecutionsCommand.js +47 -0
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
- package/dist-es/commands/StartResourceStateUpdateCommand.js +47 -0
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +885 -13
- package/dist-types/Imagebuilder.d.ts +70 -0
- package/dist-types/ImagebuilderClient.d.ts +12 -2
- package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +103 -0
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +165 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +98 -0
- package/dist-types/commands/GetImageCommand.d.ts +4 -2
- package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +106 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +153 -0
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +4 -2
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +4 -2
- package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +132 -0
- package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +114 -0
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +122 -0
- package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +136 -0
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +159 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1224 -114
- package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +170 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +283 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.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 +120 -0
- package/package.json +35 -35
|
@@ -24,6 +24,7 @@ export declare const ImageStatus: {
|
|
|
24
24
|
readonly CREATING: "CREATING";
|
|
25
25
|
readonly DELETED: "DELETED";
|
|
26
26
|
readonly DEPRECATED: "DEPRECATED";
|
|
27
|
+
readonly DISABLED: "DISABLED";
|
|
27
28
|
readonly DISTRIBUTING: "DISTRIBUTING";
|
|
28
29
|
readonly FAILED: "FAILED";
|
|
29
30
|
readonly INTEGRATING: "INTEGRATING";
|
|
@@ -125,6 +126,13 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
125
126
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
126
127
|
);
|
|
127
128
|
}
|
|
129
|
+
export interface CancelLifecycleExecutionRequest {
|
|
130
|
+
lifecycleExecutionId: string | undefined;
|
|
131
|
+
clientToken?: string;
|
|
132
|
+
}
|
|
133
|
+
export interface CancelLifecycleExecutionResponse {
|
|
134
|
+
lifecycleExecutionId?: string;
|
|
135
|
+
}
|
|
128
136
|
export interface ComponentParameterDetail {
|
|
129
137
|
name: string | undefined;
|
|
130
138
|
type: string | undefined;
|
|
@@ -531,6 +539,97 @@ export interface CreateInfrastructureConfigurationResponse {
|
|
|
531
539
|
clientToken?: string;
|
|
532
540
|
infrastructureConfigurationArn?: string;
|
|
533
541
|
}
|
|
542
|
+
export interface LifecyclePolicyDetailActionIncludeResources {
|
|
543
|
+
amis?: boolean;
|
|
544
|
+
snapshots?: boolean;
|
|
545
|
+
containers?: boolean;
|
|
546
|
+
}
|
|
547
|
+
export declare const LifecyclePolicyDetailActionType: {
|
|
548
|
+
readonly DELETE: "DELETE";
|
|
549
|
+
readonly DEPRECATE: "DEPRECATE";
|
|
550
|
+
readonly DISABLE: "DISABLE";
|
|
551
|
+
};
|
|
552
|
+
export type LifecyclePolicyDetailActionType =
|
|
553
|
+
(typeof LifecyclePolicyDetailActionType)[keyof typeof LifecyclePolicyDetailActionType];
|
|
554
|
+
export interface LifecyclePolicyDetailAction {
|
|
555
|
+
type: LifecyclePolicyDetailActionType | undefined;
|
|
556
|
+
includeResources?: LifecyclePolicyDetailActionIncludeResources;
|
|
557
|
+
}
|
|
558
|
+
export declare const LifecyclePolicyTimeUnit: {
|
|
559
|
+
readonly DAYS: "DAYS";
|
|
560
|
+
readonly MONTHS: "MONTHS";
|
|
561
|
+
readonly WEEKS: "WEEKS";
|
|
562
|
+
readonly YEARS: "YEARS";
|
|
563
|
+
};
|
|
564
|
+
export type LifecyclePolicyTimeUnit =
|
|
565
|
+
(typeof LifecyclePolicyTimeUnit)[keyof typeof LifecyclePolicyTimeUnit];
|
|
566
|
+
export interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
|
|
567
|
+
value: number | undefined;
|
|
568
|
+
unit: LifecyclePolicyTimeUnit | undefined;
|
|
569
|
+
}
|
|
570
|
+
export interface LifecyclePolicyDetailExclusionRulesAmis {
|
|
571
|
+
isPublic?: boolean;
|
|
572
|
+
regions?: string[];
|
|
573
|
+
sharedAccounts?: string[];
|
|
574
|
+
lastLaunched?: LifecyclePolicyDetailExclusionRulesAmisLastLaunched;
|
|
575
|
+
tagMap?: Record<string, string>;
|
|
576
|
+
}
|
|
577
|
+
export interface LifecyclePolicyDetailExclusionRules {
|
|
578
|
+
tagMap?: Record<string, string>;
|
|
579
|
+
amis?: LifecyclePolicyDetailExclusionRulesAmis;
|
|
580
|
+
}
|
|
581
|
+
export declare const LifecyclePolicyDetailFilterType: {
|
|
582
|
+
readonly AGE: "AGE";
|
|
583
|
+
readonly COUNT: "COUNT";
|
|
584
|
+
};
|
|
585
|
+
export type LifecyclePolicyDetailFilterType =
|
|
586
|
+
(typeof LifecyclePolicyDetailFilterType)[keyof typeof LifecyclePolicyDetailFilterType];
|
|
587
|
+
export interface LifecyclePolicyDetailFilter {
|
|
588
|
+
type: LifecyclePolicyDetailFilterType | undefined;
|
|
589
|
+
value: number | undefined;
|
|
590
|
+
unit?: LifecyclePolicyTimeUnit;
|
|
591
|
+
retainAtLeast?: number;
|
|
592
|
+
}
|
|
593
|
+
export interface LifecyclePolicyDetail {
|
|
594
|
+
action: LifecyclePolicyDetailAction | undefined;
|
|
595
|
+
filter: LifecyclePolicyDetailFilter | undefined;
|
|
596
|
+
exclusionRules?: LifecyclePolicyDetailExclusionRules;
|
|
597
|
+
}
|
|
598
|
+
export interface LifecyclePolicyResourceSelectionRecipe {
|
|
599
|
+
name: string | undefined;
|
|
600
|
+
semanticVersion: string | undefined;
|
|
601
|
+
}
|
|
602
|
+
export interface LifecyclePolicyResourceSelection {
|
|
603
|
+
recipes?: LifecyclePolicyResourceSelectionRecipe[];
|
|
604
|
+
tagMap?: Record<string, string>;
|
|
605
|
+
}
|
|
606
|
+
export declare const LifecyclePolicyResourceType: {
|
|
607
|
+
readonly AMI_IMAGE: "AMI_IMAGE";
|
|
608
|
+
readonly CONTAINER_IMAGE: "CONTAINER_IMAGE";
|
|
609
|
+
};
|
|
610
|
+
export type LifecyclePolicyResourceType =
|
|
611
|
+
(typeof LifecyclePolicyResourceType)[keyof typeof LifecyclePolicyResourceType];
|
|
612
|
+
export declare const LifecyclePolicyStatus: {
|
|
613
|
+
readonly DISABLED: "DISABLED";
|
|
614
|
+
readonly ENABLED: "ENABLED";
|
|
615
|
+
};
|
|
616
|
+
export type LifecyclePolicyStatus =
|
|
617
|
+
(typeof LifecyclePolicyStatus)[keyof typeof LifecyclePolicyStatus];
|
|
618
|
+
export interface CreateLifecyclePolicyRequest {
|
|
619
|
+
name: string | undefined;
|
|
620
|
+
description?: string;
|
|
621
|
+
status?: LifecyclePolicyStatus;
|
|
622
|
+
executionRole: string | undefined;
|
|
623
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
624
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
625
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
626
|
+
tags?: Record<string, string>;
|
|
627
|
+
clientToken?: string;
|
|
628
|
+
}
|
|
629
|
+
export interface CreateLifecyclePolicyResponse {
|
|
630
|
+
clientToken?: string;
|
|
631
|
+
lifecyclePolicyArn?: string;
|
|
632
|
+
}
|
|
534
633
|
export interface CvssScore {
|
|
535
634
|
baseScore?: number;
|
|
536
635
|
scoringVector?: string;
|
|
@@ -605,6 +704,12 @@ export interface DeleteInfrastructureConfigurationResponse {
|
|
|
605
704
|
requestId?: string;
|
|
606
705
|
infrastructureConfigurationArn?: string;
|
|
607
706
|
}
|
|
707
|
+
export interface DeleteLifecyclePolicyRequest {
|
|
708
|
+
lifecyclePolicyArn: string | undefined;
|
|
709
|
+
}
|
|
710
|
+
export interface DeleteLifecyclePolicyResponse {
|
|
711
|
+
lifecyclePolicyArn?: string;
|
|
712
|
+
}
|
|
608
713
|
export interface DistributionConfiguration {
|
|
609
714
|
arn?: string;
|
|
610
715
|
name?: string;
|
|
@@ -761,6 +866,8 @@ export interface Image {
|
|
|
761
866
|
imageSource?: ImageSource;
|
|
762
867
|
scanState?: ImageScanState;
|
|
763
868
|
imageScanningConfiguration?: ImageScanningConfiguration;
|
|
869
|
+
deprecationTime?: Date;
|
|
870
|
+
lifecycleExecutionId?: string;
|
|
764
871
|
}
|
|
765
872
|
export interface GetImageResponse {
|
|
766
873
|
requestId?: string;
|
|
@@ -821,6 +928,56 @@ export interface GetInfrastructureConfigurationResponse {
|
|
|
821
928
|
requestId?: string;
|
|
822
929
|
infrastructureConfiguration?: InfrastructureConfiguration;
|
|
823
930
|
}
|
|
931
|
+
export interface GetLifecycleExecutionRequest {
|
|
932
|
+
lifecycleExecutionId: string | undefined;
|
|
933
|
+
}
|
|
934
|
+
export interface LifecycleExecutionResourcesImpactedSummary {
|
|
935
|
+
hasImpactedResources?: boolean;
|
|
936
|
+
}
|
|
937
|
+
export declare const LifecycleExecutionStatus: {
|
|
938
|
+
readonly CANCELLED: "CANCELLED";
|
|
939
|
+
readonly CANCELLING: "CANCELLING";
|
|
940
|
+
readonly FAILED: "FAILED";
|
|
941
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
942
|
+
readonly SUCCESS: "SUCCESS";
|
|
943
|
+
};
|
|
944
|
+
export type LifecycleExecutionStatus =
|
|
945
|
+
(typeof LifecycleExecutionStatus)[keyof typeof LifecycleExecutionStatus];
|
|
946
|
+
export interface LifecycleExecutionState {
|
|
947
|
+
status?: LifecycleExecutionStatus;
|
|
948
|
+
reason?: string;
|
|
949
|
+
}
|
|
950
|
+
export interface LifecycleExecution {
|
|
951
|
+
lifecycleExecutionId?: string;
|
|
952
|
+
lifecyclePolicyArn?: string;
|
|
953
|
+
resourcesImpactedSummary?: LifecycleExecutionResourcesImpactedSummary;
|
|
954
|
+
state?: LifecycleExecutionState;
|
|
955
|
+
startTime?: Date;
|
|
956
|
+
endTime?: Date;
|
|
957
|
+
}
|
|
958
|
+
export interface GetLifecycleExecutionResponse {
|
|
959
|
+
lifecycleExecution?: LifecycleExecution;
|
|
960
|
+
}
|
|
961
|
+
export interface GetLifecyclePolicyRequest {
|
|
962
|
+
lifecyclePolicyArn: string | undefined;
|
|
963
|
+
}
|
|
964
|
+
export interface LifecyclePolicy {
|
|
965
|
+
arn?: string;
|
|
966
|
+
name?: string;
|
|
967
|
+
description?: string;
|
|
968
|
+
status?: LifecyclePolicyStatus;
|
|
969
|
+
executionRole?: string;
|
|
970
|
+
resourceType?: LifecyclePolicyResourceType;
|
|
971
|
+
policyDetails?: LifecyclePolicyDetail[];
|
|
972
|
+
resourceSelection?: LifecyclePolicyResourceSelection;
|
|
973
|
+
dateCreated?: Date;
|
|
974
|
+
dateUpdated?: Date;
|
|
975
|
+
dateLastRun?: Date;
|
|
976
|
+
tags?: Record<string, string>;
|
|
977
|
+
}
|
|
978
|
+
export interface GetLifecyclePolicyResponse {
|
|
979
|
+
lifecyclePolicy?: LifecyclePolicy;
|
|
980
|
+
}
|
|
824
981
|
export interface GetWorkflowExecutionRequest {
|
|
825
982
|
workflowExecutionId: string | undefined;
|
|
826
983
|
}
|
|
@@ -1013,6 +1170,8 @@ export interface ImageSummary {
|
|
|
1013
1170
|
tags?: Record<string, string>;
|
|
1014
1171
|
buildType?: BuildType;
|
|
1015
1172
|
imageSource?: ImageSource;
|
|
1173
|
+
deprecationTime?: Date;
|
|
1174
|
+
lifecycleExecutionId?: string;
|
|
1016
1175
|
}
|
|
1017
1176
|
export interface ListImageBuildVersionsResponse {
|
|
1018
1177
|
requestId?: string;
|
|
@@ -1208,6 +1367,85 @@ export interface ListInfrastructureConfigurationsResponse {
|
|
|
1208
1367
|
infrastructureConfigurationSummaryList?: InfrastructureConfigurationSummary[];
|
|
1209
1368
|
nextToken?: string;
|
|
1210
1369
|
}
|
|
1370
|
+
export interface ListLifecycleExecutionResourcesRequest {
|
|
1371
|
+
lifecycleExecutionId: string | undefined;
|
|
1372
|
+
parentResourceId?: string;
|
|
1373
|
+
maxResults?: number;
|
|
1374
|
+
nextToken?: string;
|
|
1375
|
+
}
|
|
1376
|
+
export declare const LifecycleExecutionResourceActionName: {
|
|
1377
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1378
|
+
readonly DELETE: "DELETE";
|
|
1379
|
+
readonly DEPRECATE: "DEPRECATE";
|
|
1380
|
+
readonly DISABLE: "DISABLE";
|
|
1381
|
+
};
|
|
1382
|
+
export type LifecycleExecutionResourceActionName =
|
|
1383
|
+
(typeof LifecycleExecutionResourceActionName)[keyof typeof LifecycleExecutionResourceActionName];
|
|
1384
|
+
export interface LifecycleExecutionResourceAction {
|
|
1385
|
+
name?: LifecycleExecutionResourceActionName;
|
|
1386
|
+
reason?: string;
|
|
1387
|
+
}
|
|
1388
|
+
export declare const LifecycleExecutionResourceStatus: {
|
|
1389
|
+
readonly FAILED: "FAILED";
|
|
1390
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1391
|
+
readonly SKIPPED: "SKIPPED";
|
|
1392
|
+
readonly SUCCESS: "SUCCESS";
|
|
1393
|
+
};
|
|
1394
|
+
export type LifecycleExecutionResourceStatus =
|
|
1395
|
+
(typeof LifecycleExecutionResourceStatus)[keyof typeof LifecycleExecutionResourceStatus];
|
|
1396
|
+
export interface LifecycleExecutionResourceState {
|
|
1397
|
+
status?: LifecycleExecutionResourceStatus;
|
|
1398
|
+
reason?: string;
|
|
1399
|
+
}
|
|
1400
|
+
export interface LifecycleExecutionSnapshotResource {
|
|
1401
|
+
snapshotId?: string;
|
|
1402
|
+
state?: LifecycleExecutionResourceState;
|
|
1403
|
+
}
|
|
1404
|
+
export interface LifecycleExecutionResource {
|
|
1405
|
+
accountId?: string;
|
|
1406
|
+
resourceId?: string;
|
|
1407
|
+
state?: LifecycleExecutionResourceState;
|
|
1408
|
+
action?: LifecycleExecutionResourceAction;
|
|
1409
|
+
region?: string;
|
|
1410
|
+
snapshots?: LifecycleExecutionSnapshotResource[];
|
|
1411
|
+
imageUris?: string[];
|
|
1412
|
+
}
|
|
1413
|
+
export interface ListLifecycleExecutionResourcesResponse {
|
|
1414
|
+
lifecycleExecutionId?: string;
|
|
1415
|
+
lifecycleExecutionState?: LifecycleExecutionState;
|
|
1416
|
+
resources?: LifecycleExecutionResource[];
|
|
1417
|
+
nextToken?: string;
|
|
1418
|
+
}
|
|
1419
|
+
export interface ListLifecycleExecutionsRequest {
|
|
1420
|
+
maxResults?: number;
|
|
1421
|
+
nextToken?: string;
|
|
1422
|
+
resourceArn: string | undefined;
|
|
1423
|
+
}
|
|
1424
|
+
export interface ListLifecycleExecutionsResponse {
|
|
1425
|
+
lifecycleExecutions?: LifecycleExecution[];
|
|
1426
|
+
nextToken?: string;
|
|
1427
|
+
}
|
|
1428
|
+
export interface ListLifecyclePoliciesRequest {
|
|
1429
|
+
filters?: Filter[];
|
|
1430
|
+
maxResults?: number;
|
|
1431
|
+
nextToken?: string;
|
|
1432
|
+
}
|
|
1433
|
+
export interface LifecyclePolicySummary {
|
|
1434
|
+
arn?: string;
|
|
1435
|
+
name?: string;
|
|
1436
|
+
description?: string;
|
|
1437
|
+
status?: LifecyclePolicyStatus;
|
|
1438
|
+
executionRole?: string;
|
|
1439
|
+
resourceType?: LifecyclePolicyResourceType;
|
|
1440
|
+
dateCreated?: Date;
|
|
1441
|
+
dateUpdated?: Date;
|
|
1442
|
+
dateLastRun?: Date;
|
|
1443
|
+
tags?: Record<string, string>;
|
|
1444
|
+
}
|
|
1445
|
+
export interface ListLifecyclePoliciesResponse {
|
|
1446
|
+
lifecyclePolicySummaryList?: LifecyclePolicySummary[];
|
|
1447
|
+
nextToken?: string;
|
|
1448
|
+
}
|
|
1211
1449
|
export declare class InvalidParameterException extends __BaseException {
|
|
1212
1450
|
readonly name: "InvalidParameterException";
|
|
1213
1451
|
readonly $fault: "client";
|
|
@@ -1321,6 +1559,38 @@ export interface StartImagePipelineExecutionResponse {
|
|
|
1321
1559
|
clientToken?: string;
|
|
1322
1560
|
imageBuildVersionArn?: string;
|
|
1323
1561
|
}
|
|
1562
|
+
export interface ResourceStateUpdateExclusionRules {
|
|
1563
|
+
amis?: LifecyclePolicyDetailExclusionRulesAmis;
|
|
1564
|
+
}
|
|
1565
|
+
export interface ResourceStateUpdateIncludeResources {
|
|
1566
|
+
amis?: boolean;
|
|
1567
|
+
snapshots?: boolean;
|
|
1568
|
+
containers?: boolean;
|
|
1569
|
+
}
|
|
1570
|
+
export declare const ResourceStatus: {
|
|
1571
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1572
|
+
readonly DELETED: "DELETED";
|
|
1573
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
1574
|
+
readonly DISABLED: "DISABLED";
|
|
1575
|
+
};
|
|
1576
|
+
export type ResourceStatus =
|
|
1577
|
+
(typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
1578
|
+
export interface ResourceState {
|
|
1579
|
+
status?: ResourceStatus;
|
|
1580
|
+
}
|
|
1581
|
+
export interface StartResourceStateUpdateRequest {
|
|
1582
|
+
resourceArn: string | undefined;
|
|
1583
|
+
state: ResourceState | undefined;
|
|
1584
|
+
executionRole?: string;
|
|
1585
|
+
includeResources?: ResourceStateUpdateIncludeResources;
|
|
1586
|
+
exclusionRules?: ResourceStateUpdateExclusionRules;
|
|
1587
|
+
updateAt?: Date;
|
|
1588
|
+
clientToken?: string;
|
|
1589
|
+
}
|
|
1590
|
+
export interface StartResourceStateUpdateResponse {
|
|
1591
|
+
lifecycleExecutionId?: string;
|
|
1592
|
+
resourceArn?: string;
|
|
1593
|
+
}
|
|
1324
1594
|
export interface TagResourceRequest {
|
|
1325
1595
|
resourceArn: string | undefined;
|
|
1326
1596
|
tags: Record<string, string> | undefined;
|
|
@@ -1381,3 +1651,16 @@ export interface UpdateInfrastructureConfigurationResponse {
|
|
|
1381
1651
|
clientToken?: string;
|
|
1382
1652
|
infrastructureConfigurationArn?: string;
|
|
1383
1653
|
}
|
|
1654
|
+
export interface UpdateLifecyclePolicyRequest {
|
|
1655
|
+
lifecyclePolicyArn: string | undefined;
|
|
1656
|
+
description?: string;
|
|
1657
|
+
status?: LifecyclePolicyStatus;
|
|
1658
|
+
executionRole: string | undefined;
|
|
1659
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
1660
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
1661
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
1662
|
+
clientToken?: string;
|
|
1663
|
+
}
|
|
1664
|
+
export interface UpdateLifecyclePolicyResponse {
|
|
1665
|
+
lifecyclePolicyArn?: string;
|
|
1666
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLifecycleExecutionResourcesCommandInput,
|
|
4
|
+
ListLifecycleExecutionResourcesCommandOutput,
|
|
5
|
+
} from "../commands/ListLifecycleExecutionResourcesCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListLifecycleExecutionResources(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListLifecycleExecutionResourcesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListLifecycleExecutionResourcesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLifecycleExecutionsCommandInput,
|
|
4
|
+
ListLifecycleExecutionsCommandOutput,
|
|
5
|
+
} from "../commands/ListLifecycleExecutionsCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListLifecycleExecutions(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListLifecycleExecutionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListLifecycleExecutionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLifecyclePoliciesCommandInput,
|
|
4
|
+
ListLifecyclePoliciesCommandOutput,
|
|
5
|
+
} from "../commands/ListLifecyclePoliciesCommand";
|
|
6
|
+
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListLifecyclePolicies(
|
|
8
|
+
config: ImagebuilderPaginationConfiguration,
|
|
9
|
+
input: ListLifecyclePoliciesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListLifecyclePoliciesCommandOutput>;
|
|
@@ -12,5 +12,8 @@ export * from "./ListImageScanFindingAggregationsPaginator";
|
|
|
12
12
|
export * from "./ListImageScanFindingsPaginator";
|
|
13
13
|
export * from "./ListImagesPaginator";
|
|
14
14
|
export * from "./ListInfrastructureConfigurationsPaginator";
|
|
15
|
+
export * from "./ListLifecycleExecutionResourcesPaginator";
|
|
16
|
+
export * from "./ListLifecycleExecutionsPaginator";
|
|
17
|
+
export * from "./ListLifecyclePoliciesPaginator";
|
|
15
18
|
export * from "./ListWorkflowExecutionsPaginator";
|
|
16
19
|
export * from "./ListWorkflowStepExecutionsPaginator";
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
CancelImageCreationCommandInput,
|
|
8
8
|
CancelImageCreationCommandOutput,
|
|
9
9
|
} from "../commands/CancelImageCreationCommand";
|
|
10
|
+
import {
|
|
11
|
+
CancelLifecycleExecutionCommandInput,
|
|
12
|
+
CancelLifecycleExecutionCommandOutput,
|
|
13
|
+
} from "../commands/CancelLifecycleExecutionCommand";
|
|
10
14
|
import {
|
|
11
15
|
CreateComponentCommandInput,
|
|
12
16
|
CreateComponentCommandOutput,
|
|
@@ -35,6 +39,10 @@ import {
|
|
|
35
39
|
CreateInfrastructureConfigurationCommandInput,
|
|
36
40
|
CreateInfrastructureConfigurationCommandOutput,
|
|
37
41
|
} from "../commands/CreateInfrastructureConfigurationCommand";
|
|
42
|
+
import {
|
|
43
|
+
CreateLifecyclePolicyCommandInput,
|
|
44
|
+
CreateLifecyclePolicyCommandOutput,
|
|
45
|
+
} from "../commands/CreateLifecyclePolicyCommand";
|
|
38
46
|
import {
|
|
39
47
|
DeleteComponentCommandInput,
|
|
40
48
|
DeleteComponentCommandOutput,
|
|
@@ -63,6 +71,10 @@ import {
|
|
|
63
71
|
DeleteInfrastructureConfigurationCommandInput,
|
|
64
72
|
DeleteInfrastructureConfigurationCommandOutput,
|
|
65
73
|
} from "../commands/DeleteInfrastructureConfigurationCommand";
|
|
74
|
+
import {
|
|
75
|
+
DeleteLifecyclePolicyCommandInput,
|
|
76
|
+
DeleteLifecyclePolicyCommandOutput,
|
|
77
|
+
} from "../commands/DeleteLifecyclePolicyCommand";
|
|
66
78
|
import {
|
|
67
79
|
GetComponentCommandInput,
|
|
68
80
|
GetComponentCommandOutput,
|
|
@@ -107,6 +119,14 @@ import {
|
|
|
107
119
|
GetInfrastructureConfigurationCommandInput,
|
|
108
120
|
GetInfrastructureConfigurationCommandOutput,
|
|
109
121
|
} from "../commands/GetInfrastructureConfigurationCommand";
|
|
122
|
+
import {
|
|
123
|
+
GetLifecycleExecutionCommandInput,
|
|
124
|
+
GetLifecycleExecutionCommandOutput,
|
|
125
|
+
} from "../commands/GetLifecycleExecutionCommand";
|
|
126
|
+
import {
|
|
127
|
+
GetLifecyclePolicyCommandInput,
|
|
128
|
+
GetLifecyclePolicyCommandOutput,
|
|
129
|
+
} from "../commands/GetLifecyclePolicyCommand";
|
|
110
130
|
import {
|
|
111
131
|
GetWorkflowExecutionCommandInput,
|
|
112
132
|
GetWorkflowExecutionCommandOutput,
|
|
@@ -175,6 +195,18 @@ import {
|
|
|
175
195
|
ListInfrastructureConfigurationsCommandInput,
|
|
176
196
|
ListInfrastructureConfigurationsCommandOutput,
|
|
177
197
|
} from "../commands/ListInfrastructureConfigurationsCommand";
|
|
198
|
+
import {
|
|
199
|
+
ListLifecycleExecutionResourcesCommandInput,
|
|
200
|
+
ListLifecycleExecutionResourcesCommandOutput,
|
|
201
|
+
} from "../commands/ListLifecycleExecutionResourcesCommand";
|
|
202
|
+
import {
|
|
203
|
+
ListLifecycleExecutionsCommandInput,
|
|
204
|
+
ListLifecycleExecutionsCommandOutput,
|
|
205
|
+
} from "../commands/ListLifecycleExecutionsCommand";
|
|
206
|
+
import {
|
|
207
|
+
ListLifecyclePoliciesCommandInput,
|
|
208
|
+
ListLifecyclePoliciesCommandOutput,
|
|
209
|
+
} from "../commands/ListLifecyclePoliciesCommand";
|
|
178
210
|
import {
|
|
179
211
|
ListTagsForResourceCommandInput,
|
|
180
212
|
ListTagsForResourceCommandOutput,
|
|
@@ -207,6 +239,10 @@ import {
|
|
|
207
239
|
StartImagePipelineExecutionCommandInput,
|
|
208
240
|
StartImagePipelineExecutionCommandOutput,
|
|
209
241
|
} from "../commands/StartImagePipelineExecutionCommand";
|
|
242
|
+
import {
|
|
243
|
+
StartResourceStateUpdateCommandInput,
|
|
244
|
+
StartResourceStateUpdateCommandOutput,
|
|
245
|
+
} from "../commands/StartResourceStateUpdateCommand";
|
|
210
246
|
import {
|
|
211
247
|
TagResourceCommandInput,
|
|
212
248
|
TagResourceCommandOutput,
|
|
@@ -227,10 +263,18 @@ import {
|
|
|
227
263
|
UpdateInfrastructureConfigurationCommandInput,
|
|
228
264
|
UpdateInfrastructureConfigurationCommandOutput,
|
|
229
265
|
} from "../commands/UpdateInfrastructureConfigurationCommand";
|
|
266
|
+
import {
|
|
267
|
+
UpdateLifecyclePolicyCommandInput,
|
|
268
|
+
UpdateLifecyclePolicyCommandOutput,
|
|
269
|
+
} from "../commands/UpdateLifecyclePolicyCommand";
|
|
230
270
|
export declare const se_CancelImageCreationCommand: (
|
|
231
271
|
input: CancelImageCreationCommandInput,
|
|
232
272
|
context: __SerdeContext
|
|
233
273
|
) => Promise<__HttpRequest>;
|
|
274
|
+
export declare const se_CancelLifecycleExecutionCommand: (
|
|
275
|
+
input: CancelLifecycleExecutionCommandInput,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<__HttpRequest>;
|
|
234
278
|
export declare const se_CreateComponentCommand: (
|
|
235
279
|
input: CreateComponentCommandInput,
|
|
236
280
|
context: __SerdeContext
|
|
@@ -259,6 +303,10 @@ export declare const se_CreateInfrastructureConfigurationCommand: (
|
|
|
259
303
|
input: CreateInfrastructureConfigurationCommandInput,
|
|
260
304
|
context: __SerdeContext
|
|
261
305
|
) => Promise<__HttpRequest>;
|
|
306
|
+
export declare const se_CreateLifecyclePolicyCommand: (
|
|
307
|
+
input: CreateLifecyclePolicyCommandInput,
|
|
308
|
+
context: __SerdeContext
|
|
309
|
+
) => Promise<__HttpRequest>;
|
|
262
310
|
export declare const se_DeleteComponentCommand: (
|
|
263
311
|
input: DeleteComponentCommandInput,
|
|
264
312
|
context: __SerdeContext
|
|
@@ -287,6 +335,10 @@ export declare const se_DeleteInfrastructureConfigurationCommand: (
|
|
|
287
335
|
input: DeleteInfrastructureConfigurationCommandInput,
|
|
288
336
|
context: __SerdeContext
|
|
289
337
|
) => Promise<__HttpRequest>;
|
|
338
|
+
export declare const se_DeleteLifecyclePolicyCommand: (
|
|
339
|
+
input: DeleteLifecyclePolicyCommandInput,
|
|
340
|
+
context: __SerdeContext
|
|
341
|
+
) => Promise<__HttpRequest>;
|
|
290
342
|
export declare const se_GetComponentCommand: (
|
|
291
343
|
input: GetComponentCommandInput,
|
|
292
344
|
context: __SerdeContext
|
|
@@ -331,6 +383,14 @@ export declare const se_GetInfrastructureConfigurationCommand: (
|
|
|
331
383
|
input: GetInfrastructureConfigurationCommandInput,
|
|
332
384
|
context: __SerdeContext
|
|
333
385
|
) => Promise<__HttpRequest>;
|
|
386
|
+
export declare const se_GetLifecycleExecutionCommand: (
|
|
387
|
+
input: GetLifecycleExecutionCommandInput,
|
|
388
|
+
context: __SerdeContext
|
|
389
|
+
) => Promise<__HttpRequest>;
|
|
390
|
+
export declare const se_GetLifecyclePolicyCommand: (
|
|
391
|
+
input: GetLifecyclePolicyCommandInput,
|
|
392
|
+
context: __SerdeContext
|
|
393
|
+
) => Promise<__HttpRequest>;
|
|
334
394
|
export declare const se_GetWorkflowExecutionCommand: (
|
|
335
395
|
input: GetWorkflowExecutionCommandInput,
|
|
336
396
|
context: __SerdeContext
|
|
@@ -399,6 +459,18 @@ export declare const se_ListInfrastructureConfigurationsCommand: (
|
|
|
399
459
|
input: ListInfrastructureConfigurationsCommandInput,
|
|
400
460
|
context: __SerdeContext
|
|
401
461
|
) => Promise<__HttpRequest>;
|
|
462
|
+
export declare const se_ListLifecycleExecutionResourcesCommand: (
|
|
463
|
+
input: ListLifecycleExecutionResourcesCommandInput,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<__HttpRequest>;
|
|
466
|
+
export declare const se_ListLifecycleExecutionsCommand: (
|
|
467
|
+
input: ListLifecycleExecutionsCommandInput,
|
|
468
|
+
context: __SerdeContext
|
|
469
|
+
) => Promise<__HttpRequest>;
|
|
470
|
+
export declare const se_ListLifecyclePoliciesCommand: (
|
|
471
|
+
input: ListLifecyclePoliciesCommandInput,
|
|
472
|
+
context: __SerdeContext
|
|
473
|
+
) => Promise<__HttpRequest>;
|
|
402
474
|
export declare const se_ListTagsForResourceCommand: (
|
|
403
475
|
input: ListTagsForResourceCommandInput,
|
|
404
476
|
context: __SerdeContext
|
|
@@ -431,6 +503,10 @@ export declare const se_StartImagePipelineExecutionCommand: (
|
|
|
431
503
|
input: StartImagePipelineExecutionCommandInput,
|
|
432
504
|
context: __SerdeContext
|
|
433
505
|
) => Promise<__HttpRequest>;
|
|
506
|
+
export declare const se_StartResourceStateUpdateCommand: (
|
|
507
|
+
input: StartResourceStateUpdateCommandInput,
|
|
508
|
+
context: __SerdeContext
|
|
509
|
+
) => Promise<__HttpRequest>;
|
|
434
510
|
export declare const se_TagResourceCommand: (
|
|
435
511
|
input: TagResourceCommandInput,
|
|
436
512
|
context: __SerdeContext
|
|
@@ -451,10 +527,18 @@ export declare const se_UpdateInfrastructureConfigurationCommand: (
|
|
|
451
527
|
input: UpdateInfrastructureConfigurationCommandInput,
|
|
452
528
|
context: __SerdeContext
|
|
453
529
|
) => Promise<__HttpRequest>;
|
|
530
|
+
export declare const se_UpdateLifecyclePolicyCommand: (
|
|
531
|
+
input: UpdateLifecyclePolicyCommandInput,
|
|
532
|
+
context: __SerdeContext
|
|
533
|
+
) => Promise<__HttpRequest>;
|
|
454
534
|
export declare const de_CancelImageCreationCommand: (
|
|
455
535
|
output: __HttpResponse,
|
|
456
536
|
context: __SerdeContext
|
|
457
537
|
) => Promise<CancelImageCreationCommandOutput>;
|
|
538
|
+
export declare const de_CancelLifecycleExecutionCommand: (
|
|
539
|
+
output: __HttpResponse,
|
|
540
|
+
context: __SerdeContext
|
|
541
|
+
) => Promise<CancelLifecycleExecutionCommandOutput>;
|
|
458
542
|
export declare const de_CreateComponentCommand: (
|
|
459
543
|
output: __HttpResponse,
|
|
460
544
|
context: __SerdeContext
|
|
@@ -483,6 +567,10 @@ export declare const de_CreateInfrastructureConfigurationCommand: (
|
|
|
483
567
|
output: __HttpResponse,
|
|
484
568
|
context: __SerdeContext
|
|
485
569
|
) => Promise<CreateInfrastructureConfigurationCommandOutput>;
|
|
570
|
+
export declare const de_CreateLifecyclePolicyCommand: (
|
|
571
|
+
output: __HttpResponse,
|
|
572
|
+
context: __SerdeContext
|
|
573
|
+
) => Promise<CreateLifecyclePolicyCommandOutput>;
|
|
486
574
|
export declare const de_DeleteComponentCommand: (
|
|
487
575
|
output: __HttpResponse,
|
|
488
576
|
context: __SerdeContext
|
|
@@ -511,6 +599,10 @@ export declare const de_DeleteInfrastructureConfigurationCommand: (
|
|
|
511
599
|
output: __HttpResponse,
|
|
512
600
|
context: __SerdeContext
|
|
513
601
|
) => Promise<DeleteInfrastructureConfigurationCommandOutput>;
|
|
602
|
+
export declare const de_DeleteLifecyclePolicyCommand: (
|
|
603
|
+
output: __HttpResponse,
|
|
604
|
+
context: __SerdeContext
|
|
605
|
+
) => Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
514
606
|
export declare const de_GetComponentCommand: (
|
|
515
607
|
output: __HttpResponse,
|
|
516
608
|
context: __SerdeContext
|
|
@@ -555,6 +647,14 @@ export declare const de_GetInfrastructureConfigurationCommand: (
|
|
|
555
647
|
output: __HttpResponse,
|
|
556
648
|
context: __SerdeContext
|
|
557
649
|
) => Promise<GetInfrastructureConfigurationCommandOutput>;
|
|
650
|
+
export declare const de_GetLifecycleExecutionCommand: (
|
|
651
|
+
output: __HttpResponse,
|
|
652
|
+
context: __SerdeContext
|
|
653
|
+
) => Promise<GetLifecycleExecutionCommandOutput>;
|
|
654
|
+
export declare const de_GetLifecyclePolicyCommand: (
|
|
655
|
+
output: __HttpResponse,
|
|
656
|
+
context: __SerdeContext
|
|
657
|
+
) => Promise<GetLifecyclePolicyCommandOutput>;
|
|
558
658
|
export declare const de_GetWorkflowExecutionCommand: (
|
|
559
659
|
output: __HttpResponse,
|
|
560
660
|
context: __SerdeContext
|
|
@@ -623,6 +723,18 @@ export declare const de_ListInfrastructureConfigurationsCommand: (
|
|
|
623
723
|
output: __HttpResponse,
|
|
624
724
|
context: __SerdeContext
|
|
625
725
|
) => Promise<ListInfrastructureConfigurationsCommandOutput>;
|
|
726
|
+
export declare const de_ListLifecycleExecutionResourcesCommand: (
|
|
727
|
+
output: __HttpResponse,
|
|
728
|
+
context: __SerdeContext
|
|
729
|
+
) => Promise<ListLifecycleExecutionResourcesCommandOutput>;
|
|
730
|
+
export declare const de_ListLifecycleExecutionsCommand: (
|
|
731
|
+
output: __HttpResponse,
|
|
732
|
+
context: __SerdeContext
|
|
733
|
+
) => Promise<ListLifecycleExecutionsCommandOutput>;
|
|
734
|
+
export declare const de_ListLifecyclePoliciesCommand: (
|
|
735
|
+
output: __HttpResponse,
|
|
736
|
+
context: __SerdeContext
|
|
737
|
+
) => Promise<ListLifecyclePoliciesCommandOutput>;
|
|
626
738
|
export declare const de_ListTagsForResourceCommand: (
|
|
627
739
|
output: __HttpResponse,
|
|
628
740
|
context: __SerdeContext
|
|
@@ -655,6 +767,10 @@ export declare const de_StartImagePipelineExecutionCommand: (
|
|
|
655
767
|
output: __HttpResponse,
|
|
656
768
|
context: __SerdeContext
|
|
657
769
|
) => Promise<StartImagePipelineExecutionCommandOutput>;
|
|
770
|
+
export declare const de_StartResourceStateUpdateCommand: (
|
|
771
|
+
output: __HttpResponse,
|
|
772
|
+
context: __SerdeContext
|
|
773
|
+
) => Promise<StartResourceStateUpdateCommandOutput>;
|
|
658
774
|
export declare const de_TagResourceCommand: (
|
|
659
775
|
output: __HttpResponse,
|
|
660
776
|
context: __SerdeContext
|
|
@@ -675,3 +791,7 @@ export declare const de_UpdateInfrastructureConfigurationCommand: (
|
|
|
675
791
|
output: __HttpResponse,
|
|
676
792
|
context: __SerdeContext
|
|
677
793
|
) => Promise<UpdateInfrastructureConfigurationCommandOutput>;
|
|
794
|
+
export declare const de_UpdateLifecyclePolicyCommand: (
|
|
795
|
+
output: __HttpResponse,
|
|
796
|
+
context: __SerdeContext
|
|
797
|
+
) => Promise<UpdateLifecyclePolicyCommandOutput>;
|