1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Imagebuilder extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Imagebuilder.Types.ClientConfiguration)
|
13 | config: Config & Imagebuilder.Types.ClientConfiguration;
|
14 | /**
|
15 | * CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
|
16 | */
|
17 | cancelImageCreation(params: Imagebuilder.Types.CancelImageCreationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CancelImageCreationResponse) => void): Request<Imagebuilder.Types.CancelImageCreationResponse, AWSError>;
|
18 | /**
|
19 | * CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
|
20 | */
|
21 | cancelImageCreation(callback?: (err: AWSError, data: Imagebuilder.Types.CancelImageCreationResponse) => void): Request<Imagebuilder.Types.CancelImageCreationResponse, AWSError>;
|
22 | /**
|
23 | * Creates a new component that can be used to build, validate, test, and assess your image.
|
24 | */
|
25 | createComponent(params: Imagebuilder.Types.CreateComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateComponentResponse) => void): Request<Imagebuilder.Types.CreateComponentResponse, AWSError>;
|
26 | /**
|
27 | * Creates a new component that can be used to build, validate, test, and assess your image.
|
28 | */
|
29 | createComponent(callback?: (err: AWSError, data: Imagebuilder.Types.CreateComponentResponse) => void): Request<Imagebuilder.Types.CreateComponentResponse, AWSError>;
|
30 | /**
|
31 | * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
|
32 | */
|
33 | createDistributionConfiguration(params: Imagebuilder.Types.CreateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.CreateDistributionConfigurationResponse, AWSError>;
|
34 | /**
|
35 | * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
|
36 | */
|
37 | createDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.CreateDistributionConfigurationResponse, AWSError>;
|
38 | /**
|
39 | * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.
|
40 | */
|
41 | createImage(params: Imagebuilder.Types.CreateImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request<Imagebuilder.Types.CreateImageResponse, AWSError>;
|
42 | /**
|
43 | * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.
|
44 | */
|
45 | createImage(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request<Imagebuilder.Types.CreateImageResponse, AWSError>;
|
46 | /**
|
47 | * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
|
48 | */
|
49 | createImagePipeline(params: Imagebuilder.Types.CreateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request<Imagebuilder.Types.CreateImagePipelineResponse, AWSError>;
|
50 | /**
|
51 | * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
|
52 | */
|
53 | createImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request<Imagebuilder.Types.CreateImagePipelineResponse, AWSError>;
|
54 | /**
|
55 | * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
|
56 | */
|
57 | createImageRecipe(params: Imagebuilder.Types.CreateImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request<Imagebuilder.Types.CreateImageRecipeResponse, AWSError>;
|
58 | /**
|
59 | * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
|
60 | */
|
61 | createImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request<Imagebuilder.Types.CreateImageRecipeResponse, AWSError>;
|
62 | /**
|
63 | * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
|
64 | */
|
65 | createInfrastructureConfiguration(params: Imagebuilder.Types.CreateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.CreateInfrastructureConfigurationResponse, AWSError>;
|
66 | /**
|
67 | * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
|
68 | */
|
69 | createInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.CreateInfrastructureConfigurationResponse, AWSError>;
|
70 | /**
|
71 | * Deletes a component build version.
|
72 | */
|
73 | deleteComponent(params: Imagebuilder.Types.DeleteComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request<Imagebuilder.Types.DeleteComponentResponse, AWSError>;
|
74 | /**
|
75 | * Deletes a component build version.
|
76 | */
|
77 | deleteComponent(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request<Imagebuilder.Types.DeleteComponentResponse, AWSError>;
|
78 | /**
|
79 | * Deletes a distribution configuration.
|
80 | */
|
81 | deleteDistributionConfiguration(params: Imagebuilder.Types.DeleteDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteDistributionConfigurationResponse, AWSError>;
|
82 | /**
|
83 | * Deletes a distribution configuration.
|
84 | */
|
85 | deleteDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteDistributionConfigurationResponse, AWSError>;
|
86 | /**
|
87 | * Deletes an image.
|
88 | */
|
89 | deleteImage(params: Imagebuilder.Types.DeleteImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request<Imagebuilder.Types.DeleteImageResponse, AWSError>;
|
90 | /**
|
91 | * Deletes an image.
|
92 | */
|
93 | deleteImage(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request<Imagebuilder.Types.DeleteImageResponse, AWSError>;
|
94 | /**
|
95 | * Deletes an image pipeline.
|
96 | */
|
97 | deleteImagePipeline(params: Imagebuilder.Types.DeleteImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request<Imagebuilder.Types.DeleteImagePipelineResponse, AWSError>;
|
98 | /**
|
99 | * Deletes an image pipeline.
|
100 | */
|
101 | deleteImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request<Imagebuilder.Types.DeleteImagePipelineResponse, AWSError>;
|
102 | /**
|
103 | * Deletes an image recipe.
|
104 | */
|
105 | deleteImageRecipe(params: Imagebuilder.Types.DeleteImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request<Imagebuilder.Types.DeleteImageRecipeResponse, AWSError>;
|
106 | /**
|
107 | * Deletes an image recipe.
|
108 | */
|
109 | deleteImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request<Imagebuilder.Types.DeleteImageRecipeResponse, AWSError>;
|
110 | /**
|
111 | * Deletes an infrastructure configuration.
|
112 | */
|
113 | deleteInfrastructureConfiguration(params: Imagebuilder.Types.DeleteInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteInfrastructureConfigurationResponse, AWSError>;
|
114 | /**
|
115 | * Deletes an infrastructure configuration.
|
116 | */
|
117 | deleteInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteInfrastructureConfigurationResponse, AWSError>;
|
118 | /**
|
119 | * Gets a component object.
|
120 | */
|
121 | getComponent(params: Imagebuilder.Types.GetComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request<Imagebuilder.Types.GetComponentResponse, AWSError>;
|
122 | /**
|
123 | * Gets a component object.
|
124 | */
|
125 | getComponent(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request<Imagebuilder.Types.GetComponentResponse, AWSError>;
|
126 | /**
|
127 | * Gets a component policy.
|
128 | */
|
129 | getComponentPolicy(params: Imagebuilder.Types.GetComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request<Imagebuilder.Types.GetComponentPolicyResponse, AWSError>;
|
130 | /**
|
131 | * Gets a component policy.
|
132 | */
|
133 | getComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request<Imagebuilder.Types.GetComponentPolicyResponse, AWSError>;
|
134 | /**
|
135 | * Gets a distribution configuration.
|
136 | */
|
137 | getDistributionConfiguration(params: Imagebuilder.Types.GetDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.GetDistributionConfigurationResponse, AWSError>;
|
138 | /**
|
139 | * Gets a distribution configuration.
|
140 | */
|
141 | getDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.GetDistributionConfigurationResponse, AWSError>;
|
142 | /**
|
143 | * Gets an image.
|
144 | */
|
145 | getImage(params: Imagebuilder.Types.GetImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request<Imagebuilder.Types.GetImageResponse, AWSError>;
|
146 | /**
|
147 | * Gets an image.
|
148 | */
|
149 | getImage(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request<Imagebuilder.Types.GetImageResponse, AWSError>;
|
150 | /**
|
151 | * Gets an image pipeline.
|
152 | */
|
153 | getImagePipeline(params: Imagebuilder.Types.GetImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request<Imagebuilder.Types.GetImagePipelineResponse, AWSError>;
|
154 | /**
|
155 | * Gets an image pipeline.
|
156 | */
|
157 | getImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request<Imagebuilder.Types.GetImagePipelineResponse, AWSError>;
|
158 | /**
|
159 | * Gets an image policy.
|
160 | */
|
161 | getImagePolicy(params: Imagebuilder.Types.GetImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request<Imagebuilder.Types.GetImagePolicyResponse, AWSError>;
|
162 | /**
|
163 | * Gets an image policy.
|
164 | */
|
165 | getImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request<Imagebuilder.Types.GetImagePolicyResponse, AWSError>;
|
166 | /**
|
167 | * Gets an image recipe.
|
168 | */
|
169 | getImageRecipe(params: Imagebuilder.Types.GetImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request<Imagebuilder.Types.GetImageRecipeResponse, AWSError>;
|
170 | /**
|
171 | * Gets an image recipe.
|
172 | */
|
173 | getImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request<Imagebuilder.Types.GetImageRecipeResponse, AWSError>;
|
174 | /**
|
175 | * Gets an image recipe policy.
|
176 | */
|
177 | getImageRecipePolicy(params: Imagebuilder.Types.GetImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetImageRecipePolicyResponse, AWSError>;
|
178 | /**
|
179 | * Gets an image recipe policy.
|
180 | */
|
181 | getImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetImageRecipePolicyResponse, AWSError>;
|
182 | /**
|
183 | * Gets an infrastructure configuration.
|
184 | */
|
185 | getInfrastructureConfiguration(params: Imagebuilder.Types.GetInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.GetInfrastructureConfigurationResponse, AWSError>;
|
186 | /**
|
187 | * Gets an infrastructure configuration.
|
188 | */
|
189 | getInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.GetInfrastructureConfigurationResponse, AWSError>;
|
190 | /**
|
191 | * Imports a component and transforms its data into a component document.
|
192 | */
|
193 | importComponent(params: Imagebuilder.Types.ImportComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request<Imagebuilder.Types.ImportComponentResponse, AWSError>;
|
194 | /**
|
195 | * Imports a component and transforms its data into a component document.
|
196 | */
|
197 | importComponent(callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request<Imagebuilder.Types.ImportComponentResponse, AWSError>;
|
198 | /**
|
199 | * Returns the list of component build versions for the specified semantic version.
|
200 | */
|
201 | listComponentBuildVersions(params: Imagebuilder.Types.ListComponentBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
|
202 | /**
|
203 | * Returns the list of component build versions for the specified semantic version.
|
204 | */
|
205 | listComponentBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
|
206 | /**
|
207 | * Returns the list of component build versions for the specified semantic version.
|
208 | */
|
209 | listComponents(params: Imagebuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
|
210 | /**
|
211 | * Returns the list of component build versions for the specified semantic version.
|
212 | */
|
213 | listComponents(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
|
214 | /**
|
215 | * Returns a list of distribution configurations.
|
216 | */
|
217 | listDistributionConfigurations(params: Imagebuilder.Types.ListDistributionConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request<Imagebuilder.Types.ListDistributionConfigurationsResponse, AWSError>;
|
218 | /**
|
219 | * Returns a list of distribution configurations.
|
220 | */
|
221 | listDistributionConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request<Imagebuilder.Types.ListDistributionConfigurationsResponse, AWSError>;
|
222 | /**
|
223 | * Returns a list of distribution configurations.
|
224 | */
|
225 | listImageBuildVersions(params: Imagebuilder.Types.ListImageBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListImageBuildVersionsResponse, AWSError>;
|
226 | /**
|
227 | * Returns a list of distribution configurations.
|
228 | */
|
229 | listImageBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListImageBuildVersionsResponse, AWSError>;
|
230 | /**
|
231 | * Returns a list of images created by the specified pipeline.
|
232 | */
|
233 | listImagePipelineImages(params: Imagebuilder.Types.ListImagePipelineImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request<Imagebuilder.Types.ListImagePipelineImagesResponse, AWSError>;
|
234 | /**
|
235 | * Returns a list of images created by the specified pipeline.
|
236 | */
|
237 | listImagePipelineImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request<Imagebuilder.Types.ListImagePipelineImagesResponse, AWSError>;
|
238 | /**
|
239 | * Returns a list of image pipelines.
|
240 | */
|
241 | listImagePipelines(params: Imagebuilder.Types.ListImagePipelinesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request<Imagebuilder.Types.ListImagePipelinesResponse, AWSError>;
|
242 | /**
|
243 | * Returns a list of image pipelines.
|
244 | */
|
245 | listImagePipelines(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request<Imagebuilder.Types.ListImagePipelinesResponse, AWSError>;
|
246 | /**
|
247 | * Returns a list of image recipes.
|
248 | */
|
249 | listImageRecipes(params: Imagebuilder.Types.ListImageRecipesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request<Imagebuilder.Types.ListImageRecipesResponse, AWSError>;
|
250 | /**
|
251 | * Returns a list of image recipes.
|
252 | */
|
253 | listImageRecipes(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request<Imagebuilder.Types.ListImageRecipesResponse, AWSError>;
|
254 | /**
|
255 | * Returns the list of image build versions for the specified semantic version.
|
256 | */
|
257 | listImages(params: Imagebuilder.Types.ListImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request<Imagebuilder.Types.ListImagesResponse, AWSError>;
|
258 | /**
|
259 | * Returns the list of image build versions for the specified semantic version.
|
260 | */
|
261 | listImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request<Imagebuilder.Types.ListImagesResponse, AWSError>;
|
262 | /**
|
263 | * Returns a list of infrastructure configurations.
|
264 | */
|
265 | listInfrastructureConfigurations(params: Imagebuilder.Types.ListInfrastructureConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request<Imagebuilder.Types.ListInfrastructureConfigurationsResponse, AWSError>;
|
266 | /**
|
267 | * Returns a list of infrastructure configurations.
|
268 | */
|
269 | listInfrastructureConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request<Imagebuilder.Types.ListInfrastructureConfigurationsResponse, AWSError>;
|
270 | /**
|
271 | * Returns the list of tags for the specified resource.
|
272 | */
|
273 | listTagsForResource(params: Imagebuilder.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request<Imagebuilder.Types.ListTagsForResourceResponse, AWSError>;
|
274 | /**
|
275 | * Returns the list of tags for the specified resource.
|
276 | */
|
277 | listTagsForResource(callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request<Imagebuilder.Types.ListTagsForResourceResponse, AWSError>;
|
278 | /**
|
279 | * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
280 | */
|
281 | putComponentPolicy(params: Imagebuilder.Types.PutComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request<Imagebuilder.Types.PutComponentPolicyResponse, AWSError>;
|
282 | /**
|
283 | * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
284 | */
|
285 | putComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request<Imagebuilder.Types.PutComponentPolicyResponse, AWSError>;
|
286 | /**
|
287 | * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
288 | */
|
289 | putImagePolicy(params: Imagebuilder.Types.PutImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request<Imagebuilder.Types.PutImagePolicyResponse, AWSError>;
|
290 | /**
|
291 | * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
292 | */
|
293 | putImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request<Imagebuilder.Types.PutImagePolicyResponse, AWSError>;
|
294 | /**
|
295 | * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
296 | */
|
297 | putImageRecipePolicy(params: Imagebuilder.Types.PutImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutImageRecipePolicyResponse, AWSError>;
|
298 | /**
|
299 | * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
|
300 | */
|
301 | putImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutImageRecipePolicyResponse, AWSError>;
|
302 | /**
|
303 | * Manually triggers a pipeline to create an image.
|
304 | */
|
305 | startImagePipelineExecution(params: Imagebuilder.Types.StartImagePipelineExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request<Imagebuilder.Types.StartImagePipelineExecutionResponse, AWSError>;
|
306 | /**
|
307 | * Manually triggers a pipeline to create an image.
|
308 | */
|
309 | startImagePipelineExecution(callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request<Imagebuilder.Types.StartImagePipelineExecutionResponse, AWSError>;
|
310 | /**
|
311 | * Adds a tag to a resource.
|
312 | */
|
313 | tagResource(params: Imagebuilder.Types.TagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request<Imagebuilder.Types.TagResourceResponse, AWSError>;
|
314 | /**
|
315 | * Adds a tag to a resource.
|
316 | */
|
317 | tagResource(callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request<Imagebuilder.Types.TagResourceResponse, AWSError>;
|
318 | /**
|
319 | * Removes a tag from a resource.
|
320 | */
|
321 | untagResource(params: Imagebuilder.Types.UntagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request<Imagebuilder.Types.UntagResourceResponse, AWSError>;
|
322 | /**
|
323 | * Removes a tag from a resource.
|
324 | */
|
325 | untagResource(callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request<Imagebuilder.Types.UntagResourceResponse, AWSError>;
|
326 | /**
|
327 | * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
|
328 | */
|
329 | updateDistributionConfiguration(params: Imagebuilder.Types.UpdateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateDistributionConfigurationResponse, AWSError>;
|
330 | /**
|
331 | * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
|
332 | */
|
333 | updateDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateDistributionConfigurationResponse, AWSError>;
|
334 | /**
|
335 | * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
|
336 | */
|
337 | updateImagePipeline(params: Imagebuilder.Types.UpdateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request<Imagebuilder.Types.UpdateImagePipelineResponse, AWSError>;
|
338 | /**
|
339 | * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
|
340 | */
|
341 | updateImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request<Imagebuilder.Types.UpdateImagePipelineResponse, AWSError>;
|
342 | /**
|
343 | * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
|
344 | */
|
345 | updateInfrastructureConfiguration(params: Imagebuilder.Types.UpdateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateInfrastructureConfigurationResponse, AWSError>;
|
346 | /**
|
347 | * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
|
348 | */
|
349 | updateInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateInfrastructureConfigurationResponse, AWSError>;
|
350 | }
|
351 | declare namespace Imagebuilder {
|
352 | export type AccountList = NonEmptyString[];
|
353 | export interface Ami {
|
354 | |
355 |
|
356 |
|
357 | region?: NonEmptyString;
|
358 | |
359 |
|
360 |
|
361 | image?: NonEmptyString;
|
362 | |
363 |
|
364 |
|
365 | name?: NonEmptyString;
|
366 | |
367 |
|
368 |
|
369 | description?: NonEmptyString;
|
370 | state?: ImageState;
|
371 | }
|
372 | export interface AmiDistributionConfiguration {
|
373 | |
374 |
|
375 |
|
376 | name?: AmiNameString;
|
377 | |
378 |
|
379 |
|
380 | description?: NonEmptyString;
|
381 | |
382 |
|
383 |
|
384 | amiTags?: TagMap;
|
385 | |
386 |
|
387 |
|
388 | launchPermission?: LaunchPermissionConfiguration;
|
389 | }
|
390 | export type AmiList = Ami[];
|
391 | export type AmiNameString = string;
|
392 | export type Arn = string;
|
393 | export type ArnList = Arn[];
|
394 | export interface CancelImageCreationRequest {
|
395 | |
396 |
|
397 |
|
398 | imageBuildVersionArn: ImageBuildVersionArn;
|
399 | |
400 |
|
401 |
|
402 | clientToken: ClientToken;
|
403 | }
|
404 | export interface CancelImageCreationResponse {
|
405 | |
406 |
|
407 |
|
408 | requestId?: NonEmptyString;
|
409 | |
410 |
|
411 |
|
412 | clientToken?: ClientToken;
|
413 | |
414 |
|
415 |
|
416 | imageBuildVersionArn?: ImageBuildVersionArn;
|
417 | }
|
418 | export type ClientToken = string;
|
419 | export interface Component {
|
420 | |
421 |
|
422 |
|
423 | arn?: ImageBuilderArn;
|
424 | |
425 |
|
426 |
|
427 | name?: ResourceName;
|
428 | |
429 |
|
430 |
|
431 | version?: VersionNumber;
|
432 | |
433 |
|
434 |
|
435 | description?: NonEmptyString;
|
436 | |
437 |
|
438 |
|
439 | changeDescription?: NonEmptyString;
|
440 | |
441 |
|
442 |
|
443 | type?: ComponentType;
|
444 | |
445 |
|
446 |
|
447 | platform?: Platform;
|
448 | |
449 |
|
450 |
|
451 | owner?: NonEmptyString;
|
452 | |
453 |
|
454 |
|
455 | data?: ComponentData;
|
456 | |
457 |
|
458 |
|
459 | kmsKeyId?: NonEmptyString;
|
460 | |
461 |
|
462 |
|
463 | encrypted?: NullableBoolean;
|
464 | |
465 |
|
466 |
|
467 | dateCreated?: DateTime;
|
468 | |
469 |
|
470 |
|
471 | tags?: TagMap;
|
472 | }
|
473 | export type ComponentBuildVersionArn = string;
|
474 | export interface ComponentConfiguration {
|
475 | |
476 |
|
477 |
|
478 | componentArn: ComponentVersionArnOrBuildVersionArn;
|
479 | }
|
480 | export type ComponentConfigurationList = ComponentConfiguration[];
|
481 | export type ComponentData = string;
|
482 | export type ComponentFormat = "SHELL"|string;
|
483 | export interface ComponentSummary {
|
484 | |
485 |
|
486 |
|
487 | arn?: ImageBuilderArn;
|
488 | |
489 |
|
490 |
|
491 | name?: ResourceName;
|
492 | |
493 |
|
494 |
|
495 | version?: VersionNumber;
|
496 | |
497 |
|
498 |
|
499 | platform?: Platform;
|
500 | |
501 |
|
502 |
|
503 | type?: ComponentType;
|
504 | |
505 |
|
506 |
|
507 | owner?: NonEmptyString;
|
508 | |
509 |
|
510 |
|
511 | description?: NonEmptyString;
|
512 | |
513 |
|
514 |
|
515 | changeDescription?: NonEmptyString;
|
516 | |
517 |
|
518 |
|
519 | dateCreated?: DateTime;
|
520 | |
521 |
|
522 |
|
523 | tags?: TagMap;
|
524 | }
|
525 | export type ComponentSummaryList = ComponentSummary[];
|
526 | export type ComponentType = "BUILD"|"TEST"|string;
|
527 | export interface ComponentVersion {
|
528 | |
529 |
|
530 |
|
531 | arn?: ImageBuilderArn;
|
532 | |
533 |
|
534 |
|
535 | name?: ResourceName;
|
536 | |
537 |
|
538 |
|
539 | version?: VersionNumber;
|
540 | |
541 |
|
542 |
|
543 | description?: NonEmptyString;
|
544 | |
545 |
|
546 |
|
547 | platform?: Platform;
|
548 | |
549 |
|
550 |
|
551 | type?: ComponentType;
|
552 | |
553 |
|
554 |
|
555 | owner?: NonEmptyString;
|
556 | |
557 |
|
558 |
|
559 | dateCreated?: DateTime;
|
560 | }
|
561 | export type ComponentVersionArn = string;
|
562 | export type ComponentVersionArnOrBuildVersionArn = string;
|
563 | export type ComponentVersionList = ComponentVersion[];
|
564 | export interface CreateComponentRequest {
|
565 | |
566 |
|
567 |
|
568 | name: ResourceName;
|
569 | |
570 |
|
571 |
|
572 | semanticVersion: VersionNumber;
|
573 | |
574 |
|
575 |
|
576 | description?: NonEmptyString;
|
577 | |
578 |
|
579 |
|
580 | changeDescription?: NonEmptyString;
|
581 | |
582 |
|
583 |
|
584 | platform: Platform;
|
585 | |
586 |
|
587 |
|
588 | data?: InlineComponentData;
|
589 | |
590 |
|
591 |
|
592 | uri?: Uri;
|
593 | |
594 |
|
595 |
|
596 | kmsKeyId?: NonEmptyString;
|
597 | |
598 |
|
599 |
|
600 | tags?: TagMap;
|
601 | |
602 |
|
603 |
|
604 | clientToken: ClientToken;
|
605 | }
|
606 | export interface CreateComponentResponse {
|
607 | |
608 |
|
609 |
|
610 | requestId?: NonEmptyString;
|
611 | |
612 |
|
613 |
|
614 | clientToken?: ClientToken;
|
615 | |
616 |
|
617 |
|
618 | componentBuildVersionArn?: ComponentBuildVersionArn;
|
619 | }
|
620 | export interface CreateDistributionConfigurationRequest {
|
621 | |
622 |
|
623 |
|
624 | name: ResourceName;
|
625 | |
626 |
|
627 |
|
628 | description?: NonEmptyString;
|
629 | |
630 |
|
631 |
|
632 | distributions: DistributionList;
|
633 | |
634 |
|
635 |
|
636 | tags?: TagMap;
|
637 | |
638 |
|
639 |
|
640 | clientToken: ClientToken;
|
641 | }
|
642 | export interface CreateDistributionConfigurationResponse {
|
643 | |
644 |
|
645 |
|
646 | requestId?: NonEmptyString;
|
647 | |
648 |
|
649 |
|
650 | clientToken?: ClientToken;
|
651 | |
652 |
|
653 |
|
654 | distributionConfigurationArn?: DistributionConfigurationArn;
|
655 | }
|
656 | export interface CreateImagePipelineRequest {
|
657 | |
658 |
|
659 |
|
660 | name: ResourceName;
|
661 | |
662 |
|
663 |
|
664 | description?: NonEmptyString;
|
665 | |
666 |
|
667 |
|
668 | imageRecipeArn: ImageRecipeArn;
|
669 | |
670 |
|
671 |
|
672 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
673 | |
674 |
|
675 |
|
676 | distributionConfigurationArn?: DistributionConfigurationArn;
|
677 | |
678 |
|
679 |
|
680 | imageTestsConfiguration?: ImageTestsConfiguration;
|
681 | |
682 |
|
683 |
|
684 | enhancedImageMetadataEnabled?: NullableBoolean;
|
685 | |
686 |
|
687 |
|
688 | schedule?: Schedule;
|
689 | |
690 |
|
691 |
|
692 | status?: PipelineStatus;
|
693 | |
694 |
|
695 |
|
696 | tags?: TagMap;
|
697 | |
698 |
|
699 |
|
700 | clientToken: ClientToken;
|
701 | }
|
702 | export interface CreateImagePipelineResponse {
|
703 | |
704 |
|
705 |
|
706 | requestId?: NonEmptyString;
|
707 | |
708 |
|
709 |
|
710 | clientToken?: ClientToken;
|
711 | |
712 |
|
713 |
|
714 | imagePipelineArn?: ImagePipelineArn;
|
715 | }
|
716 | export interface CreateImageRecipeRequest {
|
717 | |
718 |
|
719 |
|
720 | name: ResourceName;
|
721 | |
722 |
|
723 |
|
724 | description?: NonEmptyString;
|
725 | |
726 |
|
727 |
|
728 | semanticVersion: VersionNumber;
|
729 | |
730 |
|
731 |
|
732 | components: ComponentConfigurationList;
|
733 | |
734 |
|
735 |
|
736 | parentImage: NonEmptyString;
|
737 | |
738 |
|
739 |
|
740 | blockDeviceMappings?: InstanceBlockDeviceMappings;
|
741 | |
742 |
|
743 |
|
744 | tags?: TagMap;
|
745 | |
746 |
|
747 |
|
748 | clientToken: ClientToken;
|
749 | }
|
750 | export interface CreateImageRecipeResponse {
|
751 | |
752 |
|
753 |
|
754 | requestId?: NonEmptyString;
|
755 | |
756 |
|
757 |
|
758 | clientToken?: ClientToken;
|
759 | |
760 |
|
761 |
|
762 | imageRecipeArn?: ImageRecipeArn;
|
763 | }
|
764 | export interface CreateImageRequest {
|
765 | |
766 |
|
767 |
|
768 | imageRecipeArn: ImageRecipeArn;
|
769 | |
770 |
|
771 |
|
772 | distributionConfigurationArn?: DistributionConfigurationArn;
|
773 | |
774 |
|
775 |
|
776 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
777 | |
778 |
|
779 |
|
780 | imageTestsConfiguration?: ImageTestsConfiguration;
|
781 | |
782 |
|
783 |
|
784 | enhancedImageMetadataEnabled?: NullableBoolean;
|
785 | |
786 |
|
787 |
|
788 | tags?: TagMap;
|
789 | |
790 |
|
791 |
|
792 | clientToken: ClientToken;
|
793 | }
|
794 | export interface CreateImageResponse {
|
795 | |
796 |
|
797 |
|
798 | requestId?: NonEmptyString;
|
799 | |
800 |
|
801 |
|
802 | clientToken?: ClientToken;
|
803 | |
804 |
|
805 |
|
806 | imageBuildVersionArn?: ImageBuildVersionArn;
|
807 | }
|
808 | export interface CreateInfrastructureConfigurationRequest {
|
809 | |
810 |
|
811 |
|
812 | name: ResourceName;
|
813 | |
814 |
|
815 |
|
816 | description?: NonEmptyString;
|
817 | |
818 |
|
819 |
|
820 | instanceTypes?: InstanceTypeList;
|
821 | |
822 |
|
823 |
|
824 | instanceProfileName: NonEmptyString;
|
825 | |
826 |
|
827 |
|
828 | securityGroupIds?: SecurityGroupIds;
|
829 | |
830 |
|
831 |
|
832 | subnetId?: NonEmptyString;
|
833 | |
834 |
|
835 |
|
836 | logging?: Logging;
|
837 | |
838 |
|
839 |
|
840 | keyPair?: NonEmptyString;
|
841 | |
842 |
|
843 |
|
844 | terminateInstanceOnFailure?: NullableBoolean;
|
845 | |
846 |
|
847 |
|
848 | snsTopicArn?: SnsTopicArn;
|
849 | |
850 |
|
851 |
|
852 | tags?: TagMap;
|
853 | |
854 |
|
855 |
|
856 | clientToken: ClientToken;
|
857 | }
|
858 | export interface CreateInfrastructureConfigurationResponse {
|
859 | |
860 |
|
861 |
|
862 | requestId?: NonEmptyString;
|
863 | |
864 |
|
865 |
|
866 | clientToken?: ClientToken;
|
867 | |
868 |
|
869 |
|
870 | infrastructureConfigurationArn?: InfrastructureConfigurationArn;
|
871 | }
|
872 | export type DateTime = string;
|
873 | export interface DeleteComponentRequest {
|
874 | |
875 |
|
876 |
|
877 | componentBuildVersionArn: ComponentBuildVersionArn;
|
878 | }
|
879 | export interface DeleteComponentResponse {
|
880 | |
881 |
|
882 |
|
883 | requestId?: NonEmptyString;
|
884 | |
885 |
|
886 |
|
887 | componentBuildVersionArn?: ComponentBuildVersionArn;
|
888 | }
|
889 | export interface DeleteDistributionConfigurationRequest {
|
890 | |
891 |
|
892 |
|
893 | distributionConfigurationArn: DistributionConfigurationArn;
|
894 | }
|
895 | export interface DeleteDistributionConfigurationResponse {
|
896 | |
897 |
|
898 |
|
899 | requestId?: NonEmptyString;
|
900 | |
901 |
|
902 |
|
903 | distributionConfigurationArn?: DistributionConfigurationArn;
|
904 | }
|
905 | export interface DeleteImagePipelineRequest {
|
906 | |
907 |
|
908 |
|
909 | imagePipelineArn: ImagePipelineArn;
|
910 | }
|
911 | export interface DeleteImagePipelineResponse {
|
912 | |
913 |
|
914 |
|
915 | requestId?: NonEmptyString;
|
916 | |
917 |
|
918 |
|
919 | imagePipelineArn?: ImagePipelineArn;
|
920 | }
|
921 | export interface DeleteImageRecipeRequest {
|
922 | |
923 |
|
924 |
|
925 | imageRecipeArn: ImageRecipeArn;
|
926 | }
|
927 | export interface DeleteImageRecipeResponse {
|
928 | |
929 |
|
930 |
|
931 | requestId?: NonEmptyString;
|
932 | |
933 |
|
934 |
|
935 | imageRecipeArn?: ImageRecipeArn;
|
936 | }
|
937 | export interface DeleteImageRequest {
|
938 | |
939 |
|
940 |
|
941 | imageBuildVersionArn: ImageBuildVersionArn;
|
942 | }
|
943 | export interface DeleteImageResponse {
|
944 | |
945 |
|
946 |
|
947 | requestId?: NonEmptyString;
|
948 | |
949 |
|
950 |
|
951 | imageBuildVersionArn?: ImageBuildVersionArn;
|
952 | }
|
953 | export interface DeleteInfrastructureConfigurationRequest {
|
954 | |
955 |
|
956 |
|
957 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
958 | }
|
959 | export interface DeleteInfrastructureConfigurationResponse {
|
960 | |
961 |
|
962 |
|
963 | requestId?: NonEmptyString;
|
964 | |
965 |
|
966 |
|
967 | infrastructureConfigurationArn?: InfrastructureConfigurationArn;
|
968 | }
|
969 | export interface Distribution {
|
970 | |
971 |
|
972 |
|
973 | region: NonEmptyString;
|
974 | |
975 |
|
976 |
|
977 | amiDistributionConfiguration?: AmiDistributionConfiguration;
|
978 | |
979 |
|
980 |
|
981 | licenseConfigurationArns?: ArnList;
|
982 | }
|
983 | export interface DistributionConfiguration {
|
984 | |
985 |
|
986 |
|
987 | arn?: ImageBuilderArn;
|
988 | |
989 |
|
990 |
|
991 | name?: ResourceName;
|
992 | |
993 |
|
994 |
|
995 | description?: NonEmptyString;
|
996 | |
997 |
|
998 |
|
999 | distributions?: DistributionList;
|
1000 | |
1001 |
|
1002 |
|
1003 | timeoutMinutes: DistributionTimeoutMinutes;
|
1004 | |
1005 |
|
1006 |
|
1007 | dateCreated?: DateTime;
|
1008 | |
1009 |
|
1010 |
|
1011 | dateUpdated?: DateTime;
|
1012 | |
1013 |
|
1014 |
|
1015 | tags?: TagMap;
|
1016 | }
|
1017 | export type DistributionConfigurationArn = string;
|
1018 | export interface DistributionConfigurationSummary {
|
1019 | |
1020 |
|
1021 |
|
1022 | arn?: ImageBuilderArn;
|
1023 | |
1024 |
|
1025 |
|
1026 | name?: ResourceName;
|
1027 | |
1028 |
|
1029 |
|
1030 | description?: NonEmptyString;
|
1031 | |
1032 |
|
1033 |
|
1034 | dateCreated?: DateTime;
|
1035 | |
1036 |
|
1037 |
|
1038 | dateUpdated?: DateTime;
|
1039 | |
1040 |
|
1041 |
|
1042 | tags?: TagMap;
|
1043 | }
|
1044 | export type DistributionConfigurationSummaryList = DistributionConfigurationSummary[];
|
1045 | export type DistributionList = Distribution[];
|
1046 | export type DistributionTimeoutMinutes = number;
|
1047 | export interface EbsInstanceBlockDeviceSpecification {
|
1048 | |
1049 |
|
1050 |
|
1051 | encrypted?: NullableBoolean;
|
1052 | |
1053 |
|
1054 |
|
1055 | deleteOnTermination?: NullableBoolean;
|
1056 | |
1057 |
|
1058 |
|
1059 | iops?: EbsIopsInteger;
|
1060 | |
1061 |
|
1062 |
|
1063 | kmsKeyId?: NonEmptyString;
|
1064 | |
1065 |
|
1066 |
|
1067 | snapshotId?: NonEmptyString;
|
1068 | |
1069 |
|
1070 |
|
1071 | volumeSize?: EbsVolumeSizeInteger;
|
1072 | |
1073 |
|
1074 |
|
1075 | volumeType?: EbsVolumeType;
|
1076 | }
|
1077 | export type EbsIopsInteger = number;
|
1078 | export type EbsVolumeSizeInteger = number;
|
1079 | export type EbsVolumeType = "standard"|"io1"|"gp2"|"sc1"|"st1"|string;
|
1080 | export type EmptyString = string;
|
1081 | export interface Filter {
|
1082 | |
1083 |
|
1084 |
|
1085 | name?: FilterName;
|
1086 | |
1087 |
|
1088 |
|
1089 | values?: FilterValues;
|
1090 | }
|
1091 | export type FilterList = Filter[];
|
1092 | export type FilterName = string;
|
1093 | export type FilterValue = string;
|
1094 | export type FilterValues = FilterValue[];
|
1095 | export interface GetComponentPolicyRequest {
|
1096 | |
1097 |
|
1098 |
|
1099 | componentArn: ComponentBuildVersionArn;
|
1100 | }
|
1101 | export interface GetComponentPolicyResponse {
|
1102 | |
1103 |
|
1104 |
|
1105 | requestId?: NonEmptyString;
|
1106 | |
1107 |
|
1108 |
|
1109 | policy?: ResourcePolicyDocument;
|
1110 | }
|
1111 | export interface GetComponentRequest {
|
1112 | |
1113 |
|
1114 |
|
1115 | componentBuildVersionArn: ComponentBuildVersionArn;
|
1116 | }
|
1117 | export interface GetComponentResponse {
|
1118 | |
1119 |
|
1120 |
|
1121 | requestId?: NonEmptyString;
|
1122 | |
1123 |
|
1124 |
|
1125 | component?: Component;
|
1126 | }
|
1127 | export interface GetDistributionConfigurationRequest {
|
1128 | |
1129 |
|
1130 |
|
1131 | distributionConfigurationArn: DistributionConfigurationArn;
|
1132 | }
|
1133 | export interface GetDistributionConfigurationResponse {
|
1134 | |
1135 |
|
1136 |
|
1137 | requestId?: NonEmptyString;
|
1138 | |
1139 |
|
1140 |
|
1141 | distributionConfiguration?: DistributionConfiguration;
|
1142 | }
|
1143 | export interface GetImagePipelineRequest {
|
1144 | |
1145 |
|
1146 |
|
1147 | imagePipelineArn: ImagePipelineArn;
|
1148 | }
|
1149 | export interface GetImagePipelineResponse {
|
1150 | |
1151 |
|
1152 |
|
1153 | requestId?: NonEmptyString;
|
1154 | |
1155 |
|
1156 |
|
1157 | imagePipeline?: ImagePipeline;
|
1158 | }
|
1159 | export interface GetImagePolicyRequest {
|
1160 | |
1161 |
|
1162 |
|
1163 | imageArn: ImageBuildVersionArn;
|
1164 | }
|
1165 | export interface GetImagePolicyResponse {
|
1166 | |
1167 |
|
1168 |
|
1169 | requestId?: NonEmptyString;
|
1170 | |
1171 |
|
1172 |
|
1173 | policy?: ResourcePolicyDocument;
|
1174 | }
|
1175 | export interface GetImageRecipePolicyRequest {
|
1176 | |
1177 |
|
1178 |
|
1179 | imageRecipeArn: ImageRecipeArn;
|
1180 | }
|
1181 | export interface GetImageRecipePolicyResponse {
|
1182 | |
1183 |
|
1184 |
|
1185 | requestId?: NonEmptyString;
|
1186 | |
1187 |
|
1188 |
|
1189 | policy?: ResourcePolicyDocument;
|
1190 | }
|
1191 | export interface GetImageRecipeRequest {
|
1192 | |
1193 |
|
1194 |
|
1195 | imageRecipeArn: ImageRecipeArn;
|
1196 | }
|
1197 | export interface GetImageRecipeResponse {
|
1198 | |
1199 |
|
1200 |
|
1201 | requestId?: NonEmptyString;
|
1202 | |
1203 |
|
1204 |
|
1205 | imageRecipe?: ImageRecipe;
|
1206 | }
|
1207 | export interface GetImageRequest {
|
1208 | |
1209 |
|
1210 |
|
1211 | imageBuildVersionArn: ImageBuildVersionArn;
|
1212 | }
|
1213 | export interface GetImageResponse {
|
1214 | |
1215 |
|
1216 |
|
1217 | requestId?: NonEmptyString;
|
1218 | |
1219 |
|
1220 |
|
1221 | image?: Image;
|
1222 | }
|
1223 | export interface GetInfrastructureConfigurationRequest {
|
1224 | |
1225 |
|
1226 |
|
1227 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
1228 | }
|
1229 | export interface GetInfrastructureConfigurationResponse {
|
1230 | |
1231 |
|
1232 |
|
1233 | requestId?: NonEmptyString;
|
1234 | |
1235 |
|
1236 |
|
1237 | infrastructureConfiguration?: InfrastructureConfiguration;
|
1238 | }
|
1239 | export interface Image {
|
1240 | |
1241 |
|
1242 |
|
1243 | arn?: ImageBuilderArn;
|
1244 | |
1245 |
|
1246 |
|
1247 | name?: ResourceName;
|
1248 | |
1249 |
|
1250 |
|
1251 | version?: VersionNumber;
|
1252 | |
1253 |
|
1254 |
|
1255 | platform?: Platform;
|
1256 | |
1257 |
|
1258 |
|
1259 | enhancedImageMetadataEnabled?: NullableBoolean;
|
1260 | |
1261 |
|
1262 |
|
1263 | osVersion?: OsVersion;
|
1264 | |
1265 |
|
1266 |
|
1267 | state?: ImageState;
|
1268 | |
1269 |
|
1270 |
|
1271 | imageRecipe?: ImageRecipe;
|
1272 | |
1273 |
|
1274 |
|
1275 | sourcePipelineName?: ResourceName;
|
1276 | |
1277 |
|
1278 |
|
1279 | sourcePipelineArn?: Arn;
|
1280 | |
1281 |
|
1282 |
|
1283 | infrastructureConfiguration?: InfrastructureConfiguration;
|
1284 | |
1285 |
|
1286 |
|
1287 | distributionConfiguration?: DistributionConfiguration;
|
1288 | |
1289 |
|
1290 |
|
1291 | imageTestsConfiguration?: ImageTestsConfiguration;
|
1292 | |
1293 |
|
1294 |
|
1295 | dateCreated?: DateTime;
|
1296 | |
1297 |
|
1298 |
|
1299 | outputResources?: OutputResources;
|
1300 | |
1301 |
|
1302 |
|
1303 | tags?: TagMap;
|
1304 | }
|
1305 | export type ImageBuildVersionArn = string;
|
1306 | export type ImageBuilderArn = string;
|
1307 | export interface ImagePipeline {
|
1308 | |
1309 |
|
1310 |
|
1311 | arn?: ImageBuilderArn;
|
1312 | |
1313 |
|
1314 |
|
1315 | name?: ResourceName;
|
1316 | |
1317 |
|
1318 |
|
1319 | description?: NonEmptyString;
|
1320 | |
1321 |
|
1322 |
|
1323 | platform?: Platform;
|
1324 | |
1325 |
|
1326 |
|
1327 | enhancedImageMetadataEnabled?: NullableBoolean;
|
1328 | |
1329 |
|
1330 |
|
1331 | imageRecipeArn?: Arn;
|
1332 | |
1333 |
|
1334 |
|
1335 | infrastructureConfigurationArn?: Arn;
|
1336 | |
1337 |
|
1338 |
|
1339 | distributionConfigurationArn?: Arn;
|
1340 | |
1341 |
|
1342 |
|
1343 | imageTestsConfiguration?: ImageTestsConfiguration;
|
1344 | |
1345 |
|
1346 |
|
1347 | schedule?: Schedule;
|
1348 | |
1349 |
|
1350 |
|
1351 | status?: PipelineStatus;
|
1352 | |
1353 |
|
1354 |
|
1355 | dateCreated?: DateTime;
|
1356 | |
1357 |
|
1358 |
|
1359 | dateUpdated?: DateTime;
|
1360 | |
1361 |
|
1362 |
|
1363 | dateLastRun?: DateTime;
|
1364 | |
1365 |
|
1366 |
|
1367 | dateNextRun?: DateTime;
|
1368 | |
1369 |
|
1370 |
|
1371 | tags?: TagMap;
|
1372 | }
|
1373 | export type ImagePipelineArn = string;
|
1374 | export type ImagePipelineList = ImagePipeline[];
|
1375 | export interface ImageRecipe {
|
1376 | |
1377 |
|
1378 |
|
1379 | arn?: ImageBuilderArn;
|
1380 | |
1381 |
|
1382 |
|
1383 | name?: ResourceName;
|
1384 | |
1385 |
|
1386 |
|
1387 | description?: NonEmptyString;
|
1388 | |
1389 |
|
1390 |
|
1391 | platform?: Platform;
|
1392 | |
1393 |
|
1394 |
|
1395 | owner?: NonEmptyString;
|
1396 | |
1397 |
|
1398 |
|
1399 | version?: VersionNumber;
|
1400 | |
1401 |
|
1402 |
|
1403 | components?: ComponentConfigurationList;
|
1404 | |
1405 |
|
1406 |
|
1407 | parentImage?: NonEmptyString;
|
1408 | |
1409 |
|
1410 |
|
1411 | blockDeviceMappings?: InstanceBlockDeviceMappings;
|
1412 | |
1413 |
|
1414 |
|
1415 | dateCreated?: DateTime;
|
1416 | |
1417 |
|
1418 |
|
1419 | tags?: TagMap;
|
1420 | }
|
1421 | export type ImageRecipeArn = string;
|
1422 | export interface ImageRecipeSummary {
|
1423 | |
1424 |
|
1425 |
|
1426 | arn?: ImageBuilderArn;
|
1427 | |
1428 |
|
1429 |
|
1430 | name?: ResourceName;
|
1431 | |
1432 |
|
1433 |
|
1434 | platform?: Platform;
|
1435 | |
1436 |
|
1437 |
|
1438 | owner?: NonEmptyString;
|
1439 | |
1440 |
|
1441 |
|
1442 | parentImage?: NonEmptyString;
|
1443 | |
1444 |
|
1445 |
|
1446 | dateCreated?: DateTime;
|
1447 | |
1448 |
|
1449 |
|
1450 | tags?: TagMap;
|
1451 | }
|
1452 | export type ImageRecipeSummaryList = ImageRecipeSummary[];
|
1453 | export interface ImageState {
|
1454 | |
1455 |
|
1456 |
|
1457 | status?: ImageStatus;
|
1458 | |
1459 |
|
1460 |
|
1461 | reason?: NonEmptyString;
|
1462 | }
|
1463 | export type ImageStatus = "PENDING"|"CREATING"|"BUILDING"|"TESTING"|"DISTRIBUTING"|"INTEGRATING"|"AVAILABLE"|"CANCELLED"|"FAILED"|"DEPRECATED"|"DELETED"|string;
|
1464 | export interface ImageSummary {
|
1465 | |
1466 |
|
1467 |
|
1468 | arn?: ImageBuilderArn;
|
1469 | |
1470 |
|
1471 |
|
1472 | name?: ResourceName;
|
1473 | |
1474 |
|
1475 |
|
1476 | version?: VersionNumber;
|
1477 | |
1478 |
|
1479 |
|
1480 | platform?: Platform;
|
1481 | |
1482 |
|
1483 |
|
1484 | osVersion?: OsVersion;
|
1485 | |
1486 |
|
1487 |
|
1488 | state?: ImageState;
|
1489 | |
1490 |
|
1491 |
|
1492 | owner?: NonEmptyString;
|
1493 | |
1494 |
|
1495 |
|
1496 | dateCreated?: DateTime;
|
1497 | |
1498 |
|
1499 |
|
1500 | outputResources?: OutputResources;
|
1501 | |
1502 |
|
1503 |
|
1504 | tags?: TagMap;
|
1505 | }
|
1506 | export type ImageSummaryList = ImageSummary[];
|
1507 | export interface ImageTestsConfiguration {
|
1508 | |
1509 |
|
1510 |
|
1511 | imageTestsEnabled?: NullableBoolean;
|
1512 | |
1513 |
|
1514 |
|
1515 | timeoutMinutes?: ImageTestsTimeoutMinutes;
|
1516 | }
|
1517 | export type ImageTestsTimeoutMinutes = number;
|
1518 | export interface ImageVersion {
|
1519 | |
1520 |
|
1521 |
|
1522 | arn?: ImageBuilderArn;
|
1523 | |
1524 |
|
1525 |
|
1526 | name?: ResourceName;
|
1527 | |
1528 |
|
1529 |
|
1530 | version?: VersionNumber;
|
1531 | |
1532 |
|
1533 |
|
1534 | platform?: Platform;
|
1535 | |
1536 |
|
1537 |
|
1538 | osVersion?: OsVersion;
|
1539 | |
1540 |
|
1541 |
|
1542 | owner?: NonEmptyString;
|
1543 | |
1544 |
|
1545 |
|
1546 | dateCreated?: DateTime;
|
1547 | }
|
1548 | export type ImageVersionArn = string;
|
1549 | export type ImageVersionList = ImageVersion[];
|
1550 | export interface ImportComponentRequest {
|
1551 | |
1552 |
|
1553 |
|
1554 | name: ResourceName;
|
1555 | |
1556 |
|
1557 |
|
1558 | semanticVersion: VersionNumber;
|
1559 | |
1560 |
|
1561 |
|
1562 | description?: NonEmptyString;
|
1563 | |
1564 |
|
1565 |
|
1566 | changeDescription?: NonEmptyString;
|
1567 | |
1568 |
|
1569 |
|
1570 | type: ComponentType;
|
1571 | |
1572 |
|
1573 |
|
1574 | format: ComponentFormat;
|
1575 | |
1576 |
|
1577 |
|
1578 | platform: Platform;
|
1579 | |
1580 |
|
1581 |
|
1582 | data?: NonEmptyString;
|
1583 | |
1584 |
|
1585 |
|
1586 | uri?: Uri;
|
1587 | |
1588 |
|
1589 |
|
1590 | kmsKeyId?: NonEmptyString;
|
1591 | |
1592 |
|
1593 |
|
1594 | tags?: TagMap;
|
1595 | |
1596 |
|
1597 |
|
1598 | clientToken: ClientToken;
|
1599 | }
|
1600 | export interface ImportComponentResponse {
|
1601 | |
1602 |
|
1603 |
|
1604 | requestId?: NonEmptyString;
|
1605 | |
1606 |
|
1607 |
|
1608 | clientToken?: ClientToken;
|
1609 | |
1610 |
|
1611 |
|
1612 | componentBuildVersionArn?: ComponentBuildVersionArn;
|
1613 | }
|
1614 | export interface InfrastructureConfiguration {
|
1615 | |
1616 |
|
1617 |
|
1618 | arn?: ImageBuilderArn;
|
1619 | |
1620 |
|
1621 |
|
1622 | name?: ResourceName;
|
1623 | |
1624 |
|
1625 |
|
1626 | description?: NonEmptyString;
|
1627 | |
1628 |
|
1629 |
|
1630 | instanceTypes?: InstanceTypeList;
|
1631 | |
1632 |
|
1633 |
|
1634 | instanceProfileName?: NonEmptyString;
|
1635 | |
1636 |
|
1637 |
|
1638 | securityGroupIds?: SecurityGroupIds;
|
1639 | |
1640 |
|
1641 |
|
1642 | subnetId?: NonEmptyString;
|
1643 | |
1644 |
|
1645 |
|
1646 | logging?: Logging;
|
1647 | |
1648 |
|
1649 |
|
1650 | keyPair?: NonEmptyString;
|
1651 | |
1652 |
|
1653 |
|
1654 | terminateInstanceOnFailure?: NullableBoolean;
|
1655 | |
1656 |
|
1657 |
|
1658 | snsTopicArn?: NonEmptyString;
|
1659 | |
1660 |
|
1661 |
|
1662 | dateCreated?: DateTime;
|
1663 | |
1664 |
|
1665 |
|
1666 | dateUpdated?: DateTime;
|
1667 | |
1668 |
|
1669 |
|
1670 | tags?: TagMap;
|
1671 | }
|
1672 | export type InfrastructureConfigurationArn = string;
|
1673 | export interface InfrastructureConfigurationSummary {
|
1674 | |
1675 |
|
1676 |
|
1677 | arn?: ImageBuilderArn;
|
1678 | |
1679 |
|
1680 |
|
1681 | name?: ResourceName;
|
1682 | |
1683 |
|
1684 |
|
1685 | description?: NonEmptyString;
|
1686 | |
1687 |
|
1688 |
|
1689 | dateCreated?: DateTime;
|
1690 | |
1691 |
|
1692 |
|
1693 | dateUpdated?: DateTime;
|
1694 | |
1695 |
|
1696 |
|
1697 | tags?: TagMap;
|
1698 | }
|
1699 | export type InfrastructureConfigurationSummaryList = InfrastructureConfigurationSummary[];
|
1700 | export type InlineComponentData = string;
|
1701 | export interface InstanceBlockDeviceMapping {
|
1702 | |
1703 |
|
1704 |
|
1705 | deviceName?: NonEmptyString;
|
1706 | |
1707 |
|
1708 |
|
1709 | ebs?: EbsInstanceBlockDeviceSpecification;
|
1710 | |
1711 |
|
1712 |
|
1713 | virtualName?: NonEmptyString;
|
1714 | |
1715 |
|
1716 |
|
1717 | noDevice?: EmptyString;
|
1718 | }
|
1719 | export type InstanceBlockDeviceMappings = InstanceBlockDeviceMapping[];
|
1720 | export type InstanceType = string;
|
1721 | export type InstanceTypeList = InstanceType[];
|
1722 | export interface LaunchPermissionConfiguration {
|
1723 | |
1724 |
|
1725 |
|
1726 | userIds?: AccountList;
|
1727 | |
1728 |
|
1729 |
|
1730 | userGroups?: StringList;
|
1731 | }
|
1732 | export interface ListComponentBuildVersionsRequest {
|
1733 | |
1734 |
|
1735 |
|
1736 | componentVersionArn: ComponentVersionArn;
|
1737 | |
1738 |
|
1739 |
|
1740 | maxResults?: RestrictedInteger;
|
1741 | |
1742 |
|
1743 |
|
1744 | nextToken?: NonEmptyString;
|
1745 | }
|
1746 | export interface ListComponentBuildVersionsResponse {
|
1747 | |
1748 |
|
1749 |
|
1750 | requestId?: NonEmptyString;
|
1751 | |
1752 |
|
1753 |
|
1754 | componentSummaryList?: ComponentSummaryList;
|
1755 | |
1756 |
|
1757 |
|
1758 | nextToken?: NonEmptyString;
|
1759 | }
|
1760 | export interface ListComponentsRequest {
|
1761 | |
1762 |
|
1763 |
|
1764 | owner?: Ownership;
|
1765 | |
1766 |
|
1767 |
|
1768 | filters?: FilterList;
|
1769 | |
1770 |
|
1771 |
|
1772 | maxResults?: RestrictedInteger;
|
1773 | |
1774 |
|
1775 |
|
1776 | nextToken?: NonEmptyString;
|
1777 | }
|
1778 | export interface ListComponentsResponse {
|
1779 | |
1780 |
|
1781 |
|
1782 | requestId?: NonEmptyString;
|
1783 | |
1784 |
|
1785 |
|
1786 | componentVersionList?: ComponentVersionList;
|
1787 | |
1788 |
|
1789 |
|
1790 | nextToken?: NonEmptyString;
|
1791 | }
|
1792 | export interface ListDistributionConfigurationsRequest {
|
1793 | |
1794 |
|
1795 |
|
1796 | filters?: FilterList;
|
1797 | |
1798 |
|
1799 |
|
1800 | maxResults?: RestrictedInteger;
|
1801 | |
1802 |
|
1803 |
|
1804 | nextToken?: NonEmptyString;
|
1805 | }
|
1806 | export interface ListDistributionConfigurationsResponse {
|
1807 | |
1808 |
|
1809 |
|
1810 | requestId?: NonEmptyString;
|
1811 | |
1812 |
|
1813 |
|
1814 | distributionConfigurationSummaryList?: DistributionConfigurationSummaryList;
|
1815 | |
1816 |
|
1817 |
|
1818 | nextToken?: NonEmptyString;
|
1819 | }
|
1820 | export interface ListImageBuildVersionsRequest {
|
1821 | |
1822 |
|
1823 |
|
1824 | imageVersionArn: ImageVersionArn;
|
1825 | |
1826 |
|
1827 |
|
1828 | filters?: FilterList;
|
1829 | |
1830 |
|
1831 |
|
1832 | maxResults?: RestrictedInteger;
|
1833 | |
1834 |
|
1835 |
|
1836 | nextToken?: NonEmptyString;
|
1837 | }
|
1838 | export interface ListImageBuildVersionsResponse {
|
1839 | |
1840 |
|
1841 |
|
1842 | requestId?: NonEmptyString;
|
1843 | |
1844 |
|
1845 |
|
1846 | imageSummaryList?: ImageSummaryList;
|
1847 | |
1848 |
|
1849 |
|
1850 | nextToken?: NonEmptyString;
|
1851 | }
|
1852 | export interface ListImagePipelineImagesRequest {
|
1853 | |
1854 |
|
1855 |
|
1856 | imagePipelineArn: ImagePipelineArn;
|
1857 | |
1858 |
|
1859 |
|
1860 | filters?: FilterList;
|
1861 | |
1862 |
|
1863 |
|
1864 | maxResults?: RestrictedInteger;
|
1865 | |
1866 |
|
1867 |
|
1868 | nextToken?: NonEmptyString;
|
1869 | }
|
1870 | export interface ListImagePipelineImagesResponse {
|
1871 | |
1872 |
|
1873 |
|
1874 | requestId?: NonEmptyString;
|
1875 | |
1876 |
|
1877 |
|
1878 | imageSummaryList?: ImageSummaryList;
|
1879 | |
1880 |
|
1881 |
|
1882 | nextToken?: NonEmptyString;
|
1883 | }
|
1884 | export interface ListImagePipelinesRequest {
|
1885 | |
1886 |
|
1887 |
|
1888 | filters?: FilterList;
|
1889 | |
1890 |
|
1891 |
|
1892 | maxResults?: RestrictedInteger;
|
1893 | |
1894 |
|
1895 |
|
1896 | nextToken?: NonEmptyString;
|
1897 | }
|
1898 | export interface ListImagePipelinesResponse {
|
1899 | |
1900 |
|
1901 |
|
1902 | requestId?: NonEmptyString;
|
1903 | |
1904 |
|
1905 |
|
1906 | imagePipelineList?: ImagePipelineList;
|
1907 | |
1908 |
|
1909 |
|
1910 | nextToken?: NonEmptyString;
|
1911 | }
|
1912 | export interface ListImageRecipesRequest {
|
1913 | |
1914 |
|
1915 |
|
1916 | owner?: Ownership;
|
1917 | |
1918 |
|
1919 |
|
1920 | filters?: FilterList;
|
1921 | |
1922 |
|
1923 |
|
1924 | maxResults?: RestrictedInteger;
|
1925 | |
1926 |
|
1927 |
|
1928 | nextToken?: NonEmptyString;
|
1929 | }
|
1930 | export interface ListImageRecipesResponse {
|
1931 | |
1932 |
|
1933 |
|
1934 | requestId?: NonEmptyString;
|
1935 | |
1936 |
|
1937 |
|
1938 | imageRecipeSummaryList?: ImageRecipeSummaryList;
|
1939 | |
1940 |
|
1941 |
|
1942 | nextToken?: NonEmptyString;
|
1943 | }
|
1944 | export interface ListImagesRequest {
|
1945 | |
1946 |
|
1947 |
|
1948 | owner?: Ownership;
|
1949 | |
1950 |
|
1951 |
|
1952 | filters?: FilterList;
|
1953 | |
1954 |
|
1955 |
|
1956 | maxResults?: RestrictedInteger;
|
1957 | |
1958 |
|
1959 |
|
1960 | nextToken?: NonEmptyString;
|
1961 | }
|
1962 | export interface ListImagesResponse {
|
1963 | |
1964 |
|
1965 |
|
1966 | requestId?: NonEmptyString;
|
1967 | |
1968 |
|
1969 |
|
1970 | imageVersionList?: ImageVersionList;
|
1971 | |
1972 |
|
1973 |
|
1974 | nextToken?: NonEmptyString;
|
1975 | }
|
1976 | export interface ListInfrastructureConfigurationsRequest {
|
1977 | |
1978 |
|
1979 |
|
1980 | filters?: FilterList;
|
1981 | |
1982 |
|
1983 |
|
1984 | maxResults?: RestrictedInteger;
|
1985 | |
1986 |
|
1987 |
|
1988 | nextToken?: NonEmptyString;
|
1989 | }
|
1990 | export interface ListInfrastructureConfigurationsResponse {
|
1991 | |
1992 |
|
1993 |
|
1994 | requestId?: NonEmptyString;
|
1995 | |
1996 |
|
1997 |
|
1998 | infrastructureConfigurationSummaryList?: InfrastructureConfigurationSummaryList;
|
1999 | |
2000 |
|
2001 |
|
2002 | nextToken?: NonEmptyString;
|
2003 | }
|
2004 | export interface ListTagsForResourceRequest {
|
2005 | |
2006 |
|
2007 |
|
2008 | resourceArn: ImageBuilderArn;
|
2009 | }
|
2010 | export interface ListTagsForResourceResponse {
|
2011 | |
2012 |
|
2013 |
|
2014 | tags?: TagMap;
|
2015 | }
|
2016 | export interface Logging {
|
2017 | |
2018 |
|
2019 |
|
2020 | s3Logs?: S3Logs;
|
2021 | }
|
2022 | export type NonEmptyString = string;
|
2023 | export type NullableBoolean = boolean;
|
2024 | export type OsVersion = string;
|
2025 | export interface OutputResources {
|
2026 | |
2027 |
|
2028 |
|
2029 | amis?: AmiList;
|
2030 | }
|
2031 | export type Ownership = "Self"|"Shared"|"Amazon"|string;
|
2032 | export type PipelineExecutionStartCondition = "EXPRESSION_MATCH_ONLY"|"EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"|string;
|
2033 | export type PipelineStatus = "DISABLED"|"ENABLED"|string;
|
2034 | export type Platform = "Windows"|"Linux"|string;
|
2035 | export interface PutComponentPolicyRequest {
|
2036 | |
2037 |
|
2038 |
|
2039 | componentArn: ComponentBuildVersionArn;
|
2040 | |
2041 |
|
2042 |
|
2043 | policy: ResourcePolicyDocument;
|
2044 | }
|
2045 | export interface PutComponentPolicyResponse {
|
2046 | |
2047 |
|
2048 |
|
2049 | requestId?: NonEmptyString;
|
2050 | |
2051 |
|
2052 |
|
2053 | componentArn?: ComponentBuildVersionArn;
|
2054 | }
|
2055 | export interface PutImagePolicyRequest {
|
2056 | |
2057 |
|
2058 |
|
2059 | imageArn: ImageBuildVersionArn;
|
2060 | |
2061 |
|
2062 |
|
2063 | policy: ResourcePolicyDocument;
|
2064 | }
|
2065 | export interface PutImagePolicyResponse {
|
2066 | |
2067 |
|
2068 |
|
2069 | requestId?: NonEmptyString;
|
2070 | |
2071 |
|
2072 |
|
2073 | imageArn?: ImageBuildVersionArn;
|
2074 | }
|
2075 | export interface PutImageRecipePolicyRequest {
|
2076 | |
2077 |
|
2078 |
|
2079 | imageRecipeArn: ImageRecipeArn;
|
2080 | |
2081 |
|
2082 |
|
2083 | policy: ResourcePolicyDocument;
|
2084 | }
|
2085 | export interface PutImageRecipePolicyResponse {
|
2086 | |
2087 |
|
2088 |
|
2089 | requestId?: NonEmptyString;
|
2090 | |
2091 |
|
2092 |
|
2093 | imageRecipeArn?: ImageRecipeArn;
|
2094 | }
|
2095 | export type ResourceName = string;
|
2096 | export type ResourcePolicyDocument = string;
|
2097 | export type RestrictedInteger = number;
|
2098 | export interface S3Logs {
|
2099 | |
2100 |
|
2101 |
|
2102 | s3BucketName?: NonEmptyString;
|
2103 | |
2104 |
|
2105 |
|
2106 | s3KeyPrefix?: NonEmptyString;
|
2107 | }
|
2108 | export interface Schedule {
|
2109 | |
2110 |
|
2111 |
|
2112 | scheduleExpression?: NonEmptyString;
|
2113 | |
2114 |
|
2115 |
|
2116 | pipelineExecutionStartCondition?: PipelineExecutionStartCondition;
|
2117 | }
|
2118 | export type SecurityGroupIds = NonEmptyString[];
|
2119 | export type SnsTopicArn = string;
|
2120 | export interface StartImagePipelineExecutionRequest {
|
2121 | |
2122 |
|
2123 |
|
2124 | imagePipelineArn: ImagePipelineArn;
|
2125 | |
2126 |
|
2127 |
|
2128 | clientToken: ClientToken;
|
2129 | }
|
2130 | export interface StartImagePipelineExecutionResponse {
|
2131 | |
2132 |
|
2133 |
|
2134 | requestId?: NonEmptyString;
|
2135 | |
2136 |
|
2137 |
|
2138 | clientToken?: ClientToken;
|
2139 | |
2140 |
|
2141 |
|
2142 | imageBuildVersionArn?: ImageBuildVersionArn;
|
2143 | }
|
2144 | export type StringList = NonEmptyString[];
|
2145 | export type TagKey = string;
|
2146 | export type TagKeyList = TagKey[];
|
2147 | export type TagMap = {[key: string]: TagValue};
|
2148 | export interface TagResourceRequest {
|
2149 | |
2150 |
|
2151 |
|
2152 | resourceArn: ImageBuilderArn;
|
2153 | |
2154 |
|
2155 |
|
2156 | tags: TagMap;
|
2157 | }
|
2158 | export interface TagResourceResponse {
|
2159 | }
|
2160 | export type TagValue = string;
|
2161 | export interface UntagResourceRequest {
|
2162 | |
2163 |
|
2164 |
|
2165 | resourceArn: ImageBuilderArn;
|
2166 | |
2167 |
|
2168 |
|
2169 | tagKeys: TagKeyList;
|
2170 | }
|
2171 | export interface UntagResourceResponse {
|
2172 | }
|
2173 | export interface UpdateDistributionConfigurationRequest {
|
2174 | |
2175 |
|
2176 |
|
2177 | distributionConfigurationArn: DistributionConfigurationArn;
|
2178 | |
2179 |
|
2180 |
|
2181 | description?: NonEmptyString;
|
2182 | |
2183 |
|
2184 |
|
2185 | distributions: DistributionList;
|
2186 | |
2187 |
|
2188 |
|
2189 | clientToken: ClientToken;
|
2190 | }
|
2191 | export interface UpdateDistributionConfigurationResponse {
|
2192 | |
2193 |
|
2194 |
|
2195 | requestId?: NonEmptyString;
|
2196 | |
2197 |
|
2198 |
|
2199 | clientToken?: ClientToken;
|
2200 | |
2201 |
|
2202 |
|
2203 | distributionConfigurationArn?: DistributionConfigurationArn;
|
2204 | }
|
2205 | export interface UpdateImagePipelineRequest {
|
2206 | |
2207 |
|
2208 |
|
2209 | imagePipelineArn: ImagePipelineArn;
|
2210 | |
2211 |
|
2212 |
|
2213 | description?: NonEmptyString;
|
2214 | |
2215 |
|
2216 |
|
2217 | imageRecipeArn: ImageRecipeArn;
|
2218 | |
2219 |
|
2220 |
|
2221 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
2222 | |
2223 |
|
2224 |
|
2225 | distributionConfigurationArn?: DistributionConfigurationArn;
|
2226 | |
2227 |
|
2228 |
|
2229 | imageTestsConfiguration?: ImageTestsConfiguration;
|
2230 | |
2231 |
|
2232 |
|
2233 | enhancedImageMetadataEnabled?: NullableBoolean;
|
2234 | |
2235 |
|
2236 |
|
2237 | schedule?: Schedule;
|
2238 | |
2239 |
|
2240 |
|
2241 | status?: PipelineStatus;
|
2242 | |
2243 |
|
2244 |
|
2245 | clientToken: ClientToken;
|
2246 | }
|
2247 | export interface UpdateImagePipelineResponse {
|
2248 | |
2249 |
|
2250 |
|
2251 | requestId?: NonEmptyString;
|
2252 | |
2253 |
|
2254 |
|
2255 | clientToken?: ClientToken;
|
2256 | |
2257 |
|
2258 |
|
2259 | imagePipelineArn?: ImagePipelineArn;
|
2260 | }
|
2261 | export interface UpdateInfrastructureConfigurationRequest {
|
2262 | |
2263 |
|
2264 |
|
2265 | infrastructureConfigurationArn: InfrastructureConfigurationArn;
|
2266 | |
2267 |
|
2268 |
|
2269 | description?: NonEmptyString;
|
2270 | |
2271 |
|
2272 |
|
2273 | instanceTypes?: InstanceTypeList;
|
2274 | |
2275 |
|
2276 |
|
2277 | instanceProfileName: NonEmptyString;
|
2278 | |
2279 |
|
2280 |
|
2281 | securityGroupIds?: SecurityGroupIds;
|
2282 | |
2283 |
|
2284 |
|
2285 | subnetId?: NonEmptyString;
|
2286 | |
2287 |
|
2288 |
|
2289 | logging?: Logging;
|
2290 | |
2291 |
|
2292 |
|
2293 | keyPair?: NonEmptyString;
|
2294 | |
2295 |
|
2296 |
|
2297 | terminateInstanceOnFailure?: NullableBoolean;
|
2298 | |
2299 |
|
2300 |
|
2301 | snsTopicArn?: SnsTopicArn;
|
2302 | |
2303 |
|
2304 |
|
2305 | clientToken: ClientToken;
|
2306 | }
|
2307 | export interface UpdateInfrastructureConfigurationResponse {
|
2308 | |
2309 |
|
2310 |
|
2311 | requestId?: NonEmptyString;
|
2312 | |
2313 |
|
2314 |
|
2315 | clientToken?: ClientToken;
|
2316 | |
2317 |
|
2318 |
|
2319 | infrastructureConfigurationArn?: InfrastructureConfigurationArn;
|
2320 | }
|
2321 | export type Uri = string;
|
2322 | export type VersionNumber = string;
|
2323 | |
2324 |
|
2325 |
|
2326 | export type apiVersion = "2019-12-02"|"latest"|string;
|
2327 | export interface ClientApiVersions {
|
2328 | |
2329 |
|
2330 |
|
2331 | apiVersion?: apiVersion;
|
2332 | }
|
2333 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
2334 | |
2335 |
|
2336 |
|
2337 | export import Types = Imagebuilder;
|
2338 | }
|
2339 | export = Imagebuilder;
|