Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Imagebuilder

import { Imagebuilder } from "https://aws-api.deno.dev/v0.2/services/imagebuilder.ts?docs=full";
class Imagebuilder {
constructor(apiFactory: client.ApiFactory);
async cancelImageCreation(params: CancelImageCreationRequest, opts?: client.RequestOptions): Promise<CancelImageCreationResponse>;
async createComponent(params: CreateComponentRequest, opts?: client.RequestOptions): Promise<CreateComponentResponse>;
async createContainerRecipe(params: CreateContainerRecipeRequest, opts?: client.RequestOptions): Promise<CreateContainerRecipeResponse>;
async createDistributionConfiguration(params: CreateDistributionConfigurationRequest, opts?: client.RequestOptions): Promise<CreateDistributionConfigurationResponse>;
async createImage(params: CreateImageRequest, opts?: client.RequestOptions): Promise<CreateImageResponse>;
async createImagePipeline(params: CreateImagePipelineRequest, opts?: client.RequestOptions): Promise<CreateImagePipelineResponse>;
async createImageRecipe(params: CreateImageRecipeRequest, opts?: client.RequestOptions): Promise<CreateImageRecipeResponse>;
async createInfrastructureConfiguration(params: CreateInfrastructureConfigurationRequest, opts?: client.RequestOptions): Promise<CreateInfrastructureConfigurationResponse>;
async deleteComponent(params: DeleteComponentRequest, opts?: client.RequestOptions): Promise<DeleteComponentResponse>;
async deleteContainerRecipe(params: DeleteContainerRecipeRequest, opts?: client.RequestOptions): Promise<DeleteContainerRecipeResponse>;
async deleteDistributionConfiguration(params: DeleteDistributionConfigurationRequest, opts?: client.RequestOptions): Promise<DeleteDistributionConfigurationResponse>;
async deleteImage(params: DeleteImageRequest, opts?: client.RequestOptions): Promise<DeleteImageResponse>;
async deleteImagePipeline(params: DeleteImagePipelineRequest, opts?: client.RequestOptions): Promise<DeleteImagePipelineResponse>;
async deleteImageRecipe(params: DeleteImageRecipeRequest, opts?: client.RequestOptions): Promise<DeleteImageRecipeResponse>;
async deleteInfrastructureConfiguration(params: DeleteInfrastructureConfigurationRequest, opts?: client.RequestOptions): Promise<DeleteInfrastructureConfigurationResponse>;
async getComponent(params: GetComponentRequest, opts?: client.RequestOptions): Promise<GetComponentResponse>;
async getComponentPolicy(params: GetComponentPolicyRequest, opts?: client.RequestOptions): Promise<GetComponentPolicyResponse>;
async getContainerRecipe(params: GetContainerRecipeRequest, opts?: client.RequestOptions): Promise<GetContainerRecipeResponse>;
async getContainerRecipePolicy(params: GetContainerRecipePolicyRequest, opts?: client.RequestOptions): Promise<GetContainerRecipePolicyResponse>;
async getDistributionConfiguration(params: GetDistributionConfigurationRequest, opts?: client.RequestOptions): Promise<GetDistributionConfigurationResponse>;
async getImage(params: GetImageRequest, opts?: client.RequestOptions): Promise<GetImageResponse>;
async getImagePipeline(params: GetImagePipelineRequest, opts?: client.RequestOptions): Promise<GetImagePipelineResponse>;
async getImagePolicy(params: GetImagePolicyRequest, opts?: client.RequestOptions): Promise<GetImagePolicyResponse>;
async getImageRecipe(params: GetImageRecipeRequest, opts?: client.RequestOptions): Promise<GetImageRecipeResponse>;
async getImageRecipePolicy(params: GetImageRecipePolicyRequest, opts?: client.RequestOptions): Promise<GetImageRecipePolicyResponse>;
async getInfrastructureConfiguration(params: GetInfrastructureConfigurationRequest, opts?: client.RequestOptions): Promise<GetInfrastructureConfigurationResponse>;
async importComponent(params: ImportComponentRequest, opts?: client.RequestOptions): Promise<ImportComponentResponse>;
async listComponentBuildVersions(params: ListComponentBuildVersionsRequest, opts?: client.RequestOptions): Promise<ListComponentBuildVersionsResponse>;
async listComponents(params?: ListComponentsRequest, opts?: client.RequestOptions): Promise<ListComponentsResponse>;
async listContainerRecipes(params?: ListContainerRecipesRequest, opts?: client.RequestOptions): Promise<ListContainerRecipesResponse>;
async listDistributionConfigurations(params?: ListDistributionConfigurationsRequest, opts?: client.RequestOptions): Promise<ListDistributionConfigurationsResponse>;
async listImageBuildVersions(params: ListImageBuildVersionsRequest, opts?: client.RequestOptions): Promise<ListImageBuildVersionsResponse>;
async listImagePackages(params: ListImagePackagesRequest, opts?: client.RequestOptions): Promise<ListImagePackagesResponse>;
async listImagePipelineImages(params: ListImagePipelineImagesRequest, opts?: client.RequestOptions): Promise<ListImagePipelineImagesResponse>;
async listImagePipelines(params?: ListImagePipelinesRequest, opts?: client.RequestOptions): Promise<ListImagePipelinesResponse>;
async listImageRecipes(params?: ListImageRecipesRequest, opts?: client.RequestOptions): Promise<ListImageRecipesResponse>;
async listImages(params?: ListImagesRequest, opts?: client.RequestOptions): Promise<ListImagesResponse>;
async listInfrastructureConfigurations(params?: ListInfrastructureConfigurationsRequest, opts?: client.RequestOptions): Promise<ListInfrastructureConfigurationsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async putComponentPolicy(params: PutComponentPolicyRequest, opts?: client.RequestOptions): Promise<PutComponentPolicyResponse>;
async putContainerRecipePolicy(params: PutContainerRecipePolicyRequest, opts?: client.RequestOptions): Promise<PutContainerRecipePolicyResponse>;
async putImagePolicy(params: PutImagePolicyRequest, opts?: client.RequestOptions): Promise<PutImagePolicyResponse>;
async putImageRecipePolicy(params: PutImageRecipePolicyRequest, opts?: client.RequestOptions): Promise<PutImageRecipePolicyResponse>;
async startImagePipelineExecution(params: StartImagePipelineExecutionRequest, opts?: client.RequestOptions): Promise<StartImagePipelineExecutionResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateDistributionConfiguration(params: UpdateDistributionConfigurationRequest, opts?: client.RequestOptions): Promise<UpdateDistributionConfigurationResponse>;
async updateImagePipeline(params: UpdateImagePipelineRequest, opts?: client.RequestOptions): Promise<UpdateImagePipelineResponse>;
async updateInfrastructureConfiguration(params: UpdateInfrastructureConfigurationRequest, opts?: client.RequestOptions): Promise<UpdateInfrastructureConfigurationResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Imagebuilder(apiFactory: client.ApiFactory)
[src]

§Methods

§

CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.

§

Creates a new component that can be used to build, validate, test, and assess your image.

§

Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.

§

Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

§

Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.

§

Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

§

Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.

§

Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

§

Deletes a component build version.

§

Deletes a container recipe.

§

Deletes a distribution configuration.

§

Deletes an image.

§

Deletes an image pipeline.

§

Deletes an image recipe.

§

Deletes an infrastructure configuration.

§

Gets a component object.

§

Gets a component policy.

§

Retrieves a container recipe.

§

Retrieves the policy for a container recipe.

§

Gets a distribution configuration.

§
getImage(params: GetImageRequest, opts?: client.RequestOptions): Promise<GetImageResponse>
[src]

Gets an image.

§

Gets an image pipeline.

§

Gets an image policy.

§

Gets an image recipe.

§

Gets an image recipe policy.

§

Gets an infrastructure configuration.

§

Imports a component and transforms its data into a component document.

§

Returns the list of component build versions for the specified semantic version.

Note: The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. Filtering: When you retrieve or reference a resource with a semantic version, you can use wildcards (x) to filter your results. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. For example, specifying "1.2.x", or "1.x.x" works to filter list results, but neither "1.x.2", nor "x.2.x" will work. You do not have to specify the build - Image Builder automatically uses a wildcard for that, if applicable.

§

Returns the list of component build versions for the specified semantic version.

Note: The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. Filtering: When you retrieve or reference a resource with a semantic version, you can use wildcards (x) to filter your results. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. For example, specifying "1.2.x", or "1.x.x" works to filter list results, but neither "1.x.2", nor "x.2.x" will work. You do not have to specify the build - Image Builder automatically uses a wildcard for that, if applicable.

§

Returns a list of container recipes.

§

Returns a list of distribution configurations.

§

Returns a list of image build versions.

§

List the Packages that are associated with an Image Build Version, as determined by Amazon EC2 Systems Manager Inventory at build time.

§

Returns a list of images created by the specified pipeline.

§

Returns a list of image pipelines.

§

Returns a list of image recipes.

§
listImages(params?: ListImagesRequest, opts?: client.RequestOptions): Promise<ListImagesResponse>
[src]

Returns the list of images that you have access to.

§

Returns a list of infrastructure configurations.

§

Returns the list of tags for the specified resource.

§

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.

§

Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

§

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.

§

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.

§

Manually triggers a pipeline to create an image.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds a tag to a resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes a tag from a resource.

§

Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

§

Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images.

Note: UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.

§

Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

§Static Properties