@aws-sdk/client-imagebuilder 3.896.0 → 3.899.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/dist-cjs/index.js +10 -1
- package/dist-es/protocols/Aws_restJson1.js +9 -0
- package/dist-types/commands/CreateImageCommand.d.ts +3 -0
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +7 -0
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +3 -0
- package/dist-types/commands/GetImageCommand.d.ts +7 -3
- package/dist-types/commands/GetImagePipelineCommand.d.ts +9 -0
- package/dist-types/commands/GetImageRecipeCommand.d.ts +3 -0
- package/dist-types/commands/ImportDiskImageCommand.d.ts +3 -0
- package/dist-types/commands/ImportVmImageCommand.d.ts +3 -0
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +1 -0
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +3 -0
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +9 -0
- package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +3 -0
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +7 -0
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +207 -217
- package/dist-types/models/models_1.d.ts +180 -0
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +25 -31
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/package.json +11 -11
|
@@ -1,3 +1,183 @@
|
|
|
1
|
+
import { InstanceMetadataOptions, LifecyclePolicyDetail, LifecyclePolicyResourceSelection, LifecyclePolicyResourceType, LifecyclePolicyStatus, Logging, Placement } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UpdateInfrastructureConfigurationRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration that you want to
|
|
8
|
+
* update.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
infrastructureConfigurationArn: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The description of the infrastructure configuration.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The instance types of the infrastructure configuration. You can specify one or more
|
|
19
|
+
* instance types to use for this build. The service will pick one of these instance types
|
|
20
|
+
* based on availability.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
instanceTypes?: string[] | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The instance profile to associate with the instance used to customize your Amazon EC2
|
|
26
|
+
* AMI.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
instanceProfileName: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The security group IDs to associate with the instance used to customize your Amazon EC2
|
|
32
|
+
* AMI.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
securityGroupIds?: string[] | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The subnet ID to place the instance used to customize your Amazon EC2 AMI in.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
subnetId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The logging configuration of the infrastructure configuration.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
logging?: Logging | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The key pair of the infrastructure configuration. You can use this to log on to and
|
|
48
|
+
* debug the instance used to create your image.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
keyPair?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The terminate instance on failure setting of the infrastructure configuration. Set to
|
|
54
|
+
* false if you want Image Builder to retain the instance used to configure your AMI if the build or
|
|
55
|
+
* test phase of your workflow fails.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
terminateInstanceOnFailure?: boolean | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The Amazon Resource Name (ARN) for the SNS topic to which we send image build event
|
|
61
|
+
* notifications.</p>
|
|
62
|
+
* <note>
|
|
63
|
+
* <p>EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys
|
|
64
|
+
* from other accounts. The key that is used to encrypt the SNS topic must reside in the
|
|
65
|
+
* account that the Image Builder service runs under.</p>
|
|
66
|
+
* </note>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
snsTopicArn?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The tags attached to the resource created by Image Builder.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
resourceTags?: Record<string, string> | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The instance metadata options that you can set for the HTTP requests that pipeline
|
|
77
|
+
* builds use to launch EC2 build and test instances. For more information about instance
|
|
78
|
+
* metadata options, see one of the following links:</p>
|
|
79
|
+
* <ul>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
|
|
83
|
+
* <i>
|
|
84
|
+
* <i>Amazon EC2 User Guide</i>
|
|
85
|
+
* </i> for Linux instances.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>
|
|
89
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html">Configure the instance metadata options</a> in the
|
|
90
|
+
* <i>
|
|
91
|
+
* <i>Amazon EC2 Windows Guide</i>
|
|
92
|
+
* </i> for Windows instances.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* </ul>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
instanceMetadataOptions?: InstanceMetadataOptions | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The instance placement settings that define where the instances that are launched
|
|
100
|
+
* from your image will run.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
placement?: Placement | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
106
|
+
* idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
|
|
107
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
clientToken?: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface UpdateInfrastructureConfigurationResponse {
|
|
116
|
+
/**
|
|
117
|
+
* <p>The request ID that uniquely identifies this request.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
requestId?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The client token that uniquely identifies the request.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
clientToken?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by
|
|
128
|
+
* this request.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
infrastructureConfigurationArn?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export interface UpdateLifecyclePolicyRequest {
|
|
137
|
+
/**
|
|
138
|
+
* <p>The Amazon Resource Name (ARN) of the lifecycle policy resource.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
lifecyclePolicyArn: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>Optional description for the lifecycle policy.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
description?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>Indicates whether the lifecycle policy resource is enabled.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
status?: LifecyclePolicyStatus | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the
|
|
154
|
+
* lifecycle policy.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
executionRole: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The type of image resource that the lifecycle policy applies to.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>The configuration details for a lifecycle policy resource.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>Selection criteria for resources that the lifecycle policy applies to.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
175
|
+
* idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
|
|
176
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
clientToken?: string | undefined;
|
|
180
|
+
}
|
|
1
181
|
/**
|
|
2
182
|
* @public
|
|
3
183
|
*/
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UpdateInfrastructureConfigurationRequest,
|
|
10
10
|
UpdateInfrastructureConfigurationResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UpdateInfrastructureConfigurationCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ImagebuilderClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
UpdateLifecyclePolicyRequest,
|
|
10
|
+
UpdateLifecyclePolicyResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface UpdateLifecyclePolicyCommandInput
|
|
@@ -58,6 +58,9 @@ export interface AmiDistributionConfiguration {
|
|
|
58
58
|
kmsKeyId?: string | undefined;
|
|
59
59
|
launchPermission?: LaunchPermissionConfiguration | undefined;
|
|
60
60
|
}
|
|
61
|
+
export interface AutoDisablePolicy {
|
|
62
|
+
failureCount: number | undefined;
|
|
63
|
+
}
|
|
61
64
|
export declare const BuildType: {
|
|
62
65
|
readonly IMPORT: "IMPORT";
|
|
63
66
|
readonly IMPORT_ISO: "IMPORT_ISO";
|
|
@@ -313,6 +316,7 @@ export interface ContainerRecipeSummary {
|
|
|
313
316
|
owner?: string | undefined;
|
|
314
317
|
parentImage?: string | undefined;
|
|
315
318
|
dateCreated?: string | undefined;
|
|
319
|
+
instanceImage?: string | undefined;
|
|
316
320
|
tags?: Record<string, string> | undefined;
|
|
317
321
|
}
|
|
318
322
|
export interface CreateComponentRequest {
|
|
@@ -467,6 +471,9 @@ export interface ImageTestsConfiguration {
|
|
|
467
471
|
imageTestsEnabled?: boolean | undefined;
|
|
468
472
|
timeoutMinutes?: number | undefined;
|
|
469
473
|
}
|
|
474
|
+
export interface ImageLoggingConfiguration {
|
|
475
|
+
logGroupName?: string | undefined;
|
|
476
|
+
}
|
|
470
477
|
export declare const OnWorkflowFailure: {
|
|
471
478
|
readonly ABORT: "ABORT";
|
|
472
479
|
readonly CONTINUE: "CONTINUE";
|
|
@@ -495,12 +502,17 @@ export interface CreateImageRequest {
|
|
|
495
502
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
496
503
|
workflows?: WorkflowConfiguration[] | undefined;
|
|
497
504
|
executionRole?: string | undefined;
|
|
505
|
+
loggingConfiguration?: ImageLoggingConfiguration | undefined;
|
|
498
506
|
}
|
|
499
507
|
export interface CreateImageResponse {
|
|
500
508
|
requestId?: string | undefined;
|
|
501
509
|
clientToken?: string | undefined;
|
|
502
510
|
imageBuildVersionArn?: string | undefined;
|
|
503
511
|
}
|
|
512
|
+
export interface PipelineLoggingConfiguration {
|
|
513
|
+
imageLogGroupName?: string | undefined;
|
|
514
|
+
pipelineLogGroupName?: string | undefined;
|
|
515
|
+
}
|
|
504
516
|
export declare const PipelineExecutionStartCondition: {
|
|
505
517
|
readonly EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE: "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE";
|
|
506
518
|
readonly EXPRESSION_MATCH_ONLY: "EXPRESSION_MATCH_ONLY";
|
|
@@ -511,6 +523,7 @@ export interface Schedule {
|
|
|
511
523
|
scheduleExpression?: string | undefined;
|
|
512
524
|
timezone?: string | undefined;
|
|
513
525
|
pipelineExecutionStartCondition?: PipelineExecutionStartCondition | undefined;
|
|
526
|
+
autoDisablePolicy?: AutoDisablePolicy | undefined;
|
|
514
527
|
}
|
|
515
528
|
export declare const PipelineStatus: {
|
|
516
529
|
readonly DISABLED: "DISABLED";
|
|
@@ -534,6 +547,7 @@ export interface CreateImagePipelineRequest {
|
|
|
534
547
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
535
548
|
workflows?: WorkflowConfiguration[] | undefined;
|
|
536
549
|
executionRole?: string | undefined;
|
|
550
|
+
loggingConfiguration?: PipelineLoggingConfiguration | undefined;
|
|
537
551
|
}
|
|
538
552
|
export interface CreateImagePipelineResponse {
|
|
539
553
|
requestId?: string | undefined;
|
|
@@ -550,6 +564,7 @@ export interface CreateImageRecipeRequest {
|
|
|
550
564
|
tags?: Record<string, string> | undefined;
|
|
551
565
|
workingDirectory?: string | undefined;
|
|
552
566
|
additionalInstanceConfiguration?: AdditionalInstanceConfiguration | undefined;
|
|
567
|
+
amiTags?: Record<string, string> | undefined;
|
|
553
568
|
clientToken?: string | undefined;
|
|
554
569
|
}
|
|
555
570
|
export interface CreateImageRecipeResponse {
|
|
@@ -891,6 +906,7 @@ export interface ImageRecipe {
|
|
|
891
906
|
tags?: Record<string, string> | undefined;
|
|
892
907
|
workingDirectory?: string | undefined;
|
|
893
908
|
additionalInstanceConfiguration?: AdditionalInstanceConfiguration | undefined;
|
|
909
|
+
amiTags?: Record<string, string> | undefined;
|
|
894
910
|
}
|
|
895
911
|
export declare const ImageSource: {
|
|
896
912
|
readonly AMAZON_MANAGED: "AMAZON_MANAGED";
|
|
@@ -964,6 +980,7 @@ export interface Image {
|
|
|
964
980
|
lifecycleExecutionId?: string | undefined;
|
|
965
981
|
executionRole?: string | undefined;
|
|
966
982
|
workflows?: WorkflowConfiguration[] | undefined;
|
|
983
|
+
loggingConfiguration?: ImageLoggingConfiguration | undefined;
|
|
967
984
|
}
|
|
968
985
|
export interface GetImageResponse {
|
|
969
986
|
requestId?: string | undefined;
|
|
@@ -988,11 +1005,14 @@ export interface ImagePipeline {
|
|
|
988
1005
|
dateCreated?: string | undefined;
|
|
989
1006
|
dateUpdated?: string | undefined;
|
|
990
1007
|
dateLastRun?: string | undefined;
|
|
1008
|
+
lastRunStatus?: ImageStatus | undefined;
|
|
991
1009
|
dateNextRun?: string | undefined;
|
|
992
1010
|
tags?: Record<string, string> | undefined;
|
|
993
1011
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
994
1012
|
executionRole?: string | undefined;
|
|
995
1013
|
workflows?: WorkflowConfiguration[] | undefined;
|
|
1014
|
+
loggingConfiguration?: PipelineLoggingConfiguration | undefined;
|
|
1015
|
+
consecutiveFailures?: number | undefined;
|
|
996
1016
|
}
|
|
997
1017
|
export interface GetImagePipelineResponse {
|
|
998
1018
|
requestId?: string | undefined;
|
|
@@ -1234,6 +1254,7 @@ export interface ImportDiskImageRequest {
|
|
|
1234
1254
|
executionRole?: string | undefined;
|
|
1235
1255
|
infrastructureConfigurationArn: string | undefined;
|
|
1236
1256
|
uri: string | undefined;
|
|
1257
|
+
loggingConfiguration?: ImageLoggingConfiguration | undefined;
|
|
1237
1258
|
tags?: Record<string, string> | undefined;
|
|
1238
1259
|
clientToken?: string | undefined;
|
|
1239
1260
|
}
|
|
@@ -1248,6 +1269,7 @@ export interface ImportVmImageRequest {
|
|
|
1248
1269
|
platform: Platform | undefined;
|
|
1249
1270
|
osVersion?: string | undefined;
|
|
1250
1271
|
vmImportTaskId: string | undefined;
|
|
1272
|
+
loggingConfiguration?: ImageLoggingConfiguration | undefined;
|
|
1251
1273
|
tags?: Record<string, string> | undefined;
|
|
1252
1274
|
clientToken?: string | undefined;
|
|
1253
1275
|
}
|
|
@@ -1341,6 +1363,7 @@ export interface ImageSummary {
|
|
|
1341
1363
|
imageSource?: ImageSource | undefined;
|
|
1342
1364
|
deprecationTime?: Date | undefined;
|
|
1343
1365
|
lifecycleExecutionId?: string | undefined;
|
|
1366
|
+
loggingConfiguration?: ImageLoggingConfiguration | undefined;
|
|
1344
1367
|
}
|
|
1345
1368
|
export interface ListImageBuildVersionsResponse {
|
|
1346
1369
|
requestId?: string | undefined;
|
|
@@ -1804,6 +1827,7 @@ export interface SendWorkflowStepActionResponse {
|
|
|
1804
1827
|
export interface StartImagePipelineExecutionRequest {
|
|
1805
1828
|
imagePipelineArn: string | undefined;
|
|
1806
1829
|
clientToken?: string | undefined;
|
|
1830
|
+
tags?: Record<string, string> | undefined;
|
|
1807
1831
|
}
|
|
1808
1832
|
export interface StartImagePipelineExecutionResponse {
|
|
1809
1833
|
requestId?: string | undefined;
|
|
@@ -1877,6 +1901,7 @@ export interface UpdateImagePipelineRequest {
|
|
|
1877
1901
|
clientToken?: string | undefined;
|
|
1878
1902
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
1879
1903
|
workflows?: WorkflowConfiguration[] | undefined;
|
|
1904
|
+
loggingConfiguration?: PipelineLoggingConfiguration | undefined;
|
|
1880
1905
|
executionRole?: string | undefined;
|
|
1881
1906
|
}
|
|
1882
1907
|
export interface UpdateImagePipelineResponse {
|
|
@@ -1884,34 +1909,3 @@ export interface UpdateImagePipelineResponse {
|
|
|
1884
1909
|
clientToken?: string | undefined;
|
|
1885
1910
|
imagePipelineArn?: string | undefined;
|
|
1886
1911
|
}
|
|
1887
|
-
export interface UpdateInfrastructureConfigurationRequest {
|
|
1888
|
-
infrastructureConfigurationArn: string | undefined;
|
|
1889
|
-
description?: string | undefined;
|
|
1890
|
-
instanceTypes?: string[] | undefined;
|
|
1891
|
-
instanceProfileName: string | undefined;
|
|
1892
|
-
securityGroupIds?: string[] | undefined;
|
|
1893
|
-
subnetId?: string | undefined;
|
|
1894
|
-
logging?: Logging | undefined;
|
|
1895
|
-
keyPair?: string | undefined;
|
|
1896
|
-
terminateInstanceOnFailure?: boolean | undefined;
|
|
1897
|
-
snsTopicArn?: string | undefined;
|
|
1898
|
-
resourceTags?: Record<string, string> | undefined;
|
|
1899
|
-
instanceMetadataOptions?: InstanceMetadataOptions | undefined;
|
|
1900
|
-
placement?: Placement | undefined;
|
|
1901
|
-
clientToken?: string | undefined;
|
|
1902
|
-
}
|
|
1903
|
-
export interface UpdateInfrastructureConfigurationResponse {
|
|
1904
|
-
requestId?: string | undefined;
|
|
1905
|
-
clientToken?: string | undefined;
|
|
1906
|
-
infrastructureConfigurationArn?: string | undefined;
|
|
1907
|
-
}
|
|
1908
|
-
export interface UpdateLifecyclePolicyRequest {
|
|
1909
|
-
lifecyclePolicyArn: string | undefined;
|
|
1910
|
-
description?: string | undefined;
|
|
1911
|
-
status?: LifecyclePolicyStatus | undefined;
|
|
1912
|
-
executionRole: string | undefined;
|
|
1913
|
-
resourceType: LifecyclePolicyResourceType | undefined;
|
|
1914
|
-
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
1915
|
-
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
1916
|
-
clientToken?: string | undefined;
|
|
1917
|
-
}
|
|
@@ -1,3 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InstanceMetadataOptions,
|
|
3
|
+
LifecyclePolicyDetail,
|
|
4
|
+
LifecyclePolicyResourceSelection,
|
|
5
|
+
LifecyclePolicyResourceType,
|
|
6
|
+
LifecyclePolicyStatus,
|
|
7
|
+
Logging,
|
|
8
|
+
Placement,
|
|
9
|
+
} from "./models_0";
|
|
10
|
+
export interface UpdateInfrastructureConfigurationRequest {
|
|
11
|
+
infrastructureConfigurationArn: string | undefined;
|
|
12
|
+
description?: string | undefined;
|
|
13
|
+
instanceTypes?: string[] | undefined;
|
|
14
|
+
instanceProfileName: string | undefined;
|
|
15
|
+
securityGroupIds?: string[] | undefined;
|
|
16
|
+
subnetId?: string | undefined;
|
|
17
|
+
logging?: Logging | undefined;
|
|
18
|
+
keyPair?: string | undefined;
|
|
19
|
+
terminateInstanceOnFailure?: boolean | undefined;
|
|
20
|
+
snsTopicArn?: string | undefined;
|
|
21
|
+
resourceTags?: Record<string, string> | undefined;
|
|
22
|
+
instanceMetadataOptions?: InstanceMetadataOptions | undefined;
|
|
23
|
+
placement?: Placement | undefined;
|
|
24
|
+
clientToken?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface UpdateInfrastructureConfigurationResponse {
|
|
27
|
+
requestId?: string | undefined;
|
|
28
|
+
clientToken?: string | undefined;
|
|
29
|
+
infrastructureConfigurationArn?: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface UpdateLifecyclePolicyRequest {
|
|
32
|
+
lifecyclePolicyArn: string | undefined;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
status?: LifecyclePolicyStatus | undefined;
|
|
35
|
+
executionRole: string | undefined;
|
|
36
|
+
resourceType: LifecyclePolicyResourceType | undefined;
|
|
37
|
+
policyDetails: LifecyclePolicyDetail[] | undefined;
|
|
38
|
+
resourceSelection: LifecyclePolicyResourceSelection | undefined;
|
|
39
|
+
clientToken?: string | undefined;
|
|
40
|
+
}
|
|
1
41
|
export interface UpdateLifecyclePolicyResponse {
|
|
2
42
|
lifecyclePolicyArn?: string | undefined;
|
|
3
43
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-imagebuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.899.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.899.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.899.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.899.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.899.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.13.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.3.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.5",
|
|
41
|
+
"@smithy/middleware-retry": "^4.3.1",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.5",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.5",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|