Skip to content

ImagebuilderClient#

Index > Imagebuilder > ImagebuilderClient

Auto-generated documentation for Imagebuilder type annotations stubs module types-boto3-imagebuilder.

ImagebuilderClient#

Type annotations and code completion for boto3.client("imagebuilder"). boto3 documentation

# ImagebuilderClient usage example

from boto3.session import Session
from types_boto3_imagebuilder.client import ImagebuilderClient

def get_imagebuilder_client() -> ImagebuilderClient:
    return Session().client("imagebuilder")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("imagebuilder").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("imagebuilder")

try:
    do_something(client)
except (
    client.exceptions.CallRateLimitExceededException,
    client.exceptions.ClientError,
    client.exceptions.ClientException,
    client.exceptions.ForbiddenException,
    client.exceptions.IdempotentParameterMismatchException,
    client.exceptions.InvalidPaginationTokenException,
    client.exceptions.InvalidParameterCombinationException,
    client.exceptions.InvalidParameterException,
    client.exceptions.InvalidParameterValueException,
    client.exceptions.InvalidRequestException,
    client.exceptions.InvalidVersionNumberException,
    client.exceptions.ResourceAlreadyExistsException,
    client.exceptions.ResourceDependencyException,
    client.exceptions.ResourceInUseException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ServiceUnavailableException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_imagebuilder.client import Exceptions

def handle_error(exc: Exceptions.CallRateLimitExceededException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("imagebuilder").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("imagebuilder").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

cancel_image_creation#

CancelImageCreation cancels the creation of Image.

Type annotations and code completion for boto3.client("imagebuilder").cancel_image_creation method. boto3 documentation

# cancel_image_creation method definition

def cancel_image_creation(
    self,
    *,
    imageBuildVersionArn: str,
    clientToken: str,
) -> CancelImageCreationResponseTypeDef:  # (1)
    ...
  1. See CancelImageCreationResponseTypeDef
# cancel_image_creation method usage example with argument unpacking

kwargs: CancelImageCreationRequestRequestTypeDef = {  # (1)
    "imageBuildVersionArn": ...,
    "clientToken": ...,
}

parent.cancel_image_creation(**kwargs)
  1. See CancelImageCreationRequestRequestTypeDef

cancel_lifecycle_execution#

Cancel a specific image lifecycle policy runtime instance.

Type annotations and code completion for boto3.client("imagebuilder").cancel_lifecycle_execution method. boto3 documentation

# cancel_lifecycle_execution method definition

def cancel_lifecycle_execution(
    self,
    *,
    lifecycleExecutionId: str,
    clientToken: str,
) -> CancelLifecycleExecutionResponseTypeDef:  # (1)
    ...
  1. See CancelLifecycleExecutionResponseTypeDef
# cancel_lifecycle_execution method usage example with argument unpacking

kwargs: CancelLifecycleExecutionRequestRequestTypeDef = {  # (1)
    "lifecycleExecutionId": ...,
    "clientToken": ...,
}

parent.cancel_lifecycle_execution(**kwargs)
  1. See CancelLifecycleExecutionRequestRequestTypeDef

create_component#

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

Type annotations and code completion for boto3.client("imagebuilder").create_component method. boto3 documentation

# create_component method definition

def create_component(
    self,
    *,
    name: str,
    semanticVersion: str,
    platform: PlatformType,  # (1)
    clientToken: str,
    description: str = ...,
    changeDescription: str = ...,
    supportedOsVersions: Sequence[str] = ...,
    data: str = ...,
    uri: str = ...,
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateComponentResponseTypeDef:  # (2)
    ...
  1. See PlatformType
  2. See CreateComponentResponseTypeDef
# create_component method usage example with argument unpacking

kwargs: CreateComponentRequestRequestTypeDef = {  # (1)
    "name": ...,
    "semanticVersion": ...,
    "platform": ...,
    "clientToken": ...,
}

parent.create_component(**kwargs)
  1. See CreateComponentRequestRequestTypeDef

create_container_recipe#

Creates a new container recipe.

Type annotations and code completion for boto3.client("imagebuilder").create_container_recipe method. boto3 documentation

# create_container_recipe method definition

def create_container_recipe(
    self,
    *,
    containerType: ContainerTypeType,  # (1)
    name: str,
    semanticVersion: str,
    components: Sequence[ComponentConfigurationUnionTypeDef],  # (2)
    parentImage: str,
    targetRepository: TargetContainerRepositoryTypeDef,  # (3)
    clientToken: str,
    description: str = ...,
    instanceConfiguration: InstanceConfigurationTypeDef = ...,  # (4)
    dockerfileTemplateData: str = ...,
    dockerfileTemplateUri: str = ...,
    platformOverride: PlatformType = ...,  # (5)
    imageOsVersionOverride: str = ...,
    tags: Mapping[str, str] = ...,
    workingDirectory: str = ...,
    kmsKeyId: str = ...,
) -> CreateContainerRecipeResponseTypeDef:  # (6)
    ...
  1. See ContainerTypeType
  2. See ComponentConfigurationTypeDef ComponentConfigurationOutputTypeDef
  3. See TargetContainerRepositoryTypeDef
  4. See InstanceConfigurationTypeDef
  5. See PlatformType
  6. See CreateContainerRecipeResponseTypeDef
# create_container_recipe method usage example with argument unpacking

kwargs: CreateContainerRecipeRequestRequestTypeDef = {  # (1)
    "containerType": ...,
    "name": ...,
    "semanticVersion": ...,
    "components": ...,
    "parentImage": ...,
    "targetRepository": ...,
    "clientToken": ...,
}

parent.create_container_recipe(**kwargs)
  1. See CreateContainerRecipeRequestRequestTypeDef

create_distribution_configuration#

Creates a new distribution configuration.

Type annotations and code completion for boto3.client("imagebuilder").create_distribution_configuration method. boto3 documentation

# create_distribution_configuration method definition

def create_distribution_configuration(
    self,
    *,
    name: str,
    distributions: Sequence[DistributionUnionTypeDef],  # (1)
    clientToken: str,
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateDistributionConfigurationResponseTypeDef:  # (2)
    ...
  1. See DistributionTypeDef DistributionOutputTypeDef
  2. See CreateDistributionConfigurationResponseTypeDef
# create_distribution_configuration method usage example with argument unpacking

kwargs: CreateDistributionConfigurationRequestRequestTypeDef = {  # (1)
    "name": ...,
    "distributions": ...,
    "clientToken": ...,
}

parent.create_distribution_configuration(**kwargs)
  1. See CreateDistributionConfigurationRequestRequestTypeDef

create_image#

Creates a new image.

Type annotations and code completion for boto3.client("imagebuilder").create_image method. boto3 documentation

# create_image method definition

def create_image(
    self,
    *,
    infrastructureConfigurationArn: str,
    clientToken: str,
    imageRecipeArn: str = ...,
    containerRecipeArn: str = ...,
    distributionConfigurationArn: str = ...,
    imageTestsConfiguration: ImageTestsConfigurationTypeDef = ...,  # (1)
    enhancedImageMetadataEnabled: bool = ...,
    tags: Mapping[str, str] = ...,
    imageScanningConfiguration: ImageScanningConfigurationTypeDef = ...,  # (2)
    workflows: Sequence[WorkflowConfigurationUnionTypeDef] = ...,  # (3)
    executionRole: str = ...,
) -> CreateImageResponseTypeDef:  # (4)
    ...
  1. See ImageTestsConfigurationTypeDef
  2. See ImageScanningConfigurationTypeDef
  3. See WorkflowConfigurationTypeDef WorkflowConfigurationOutputTypeDef
  4. See CreateImageResponseTypeDef
# create_image method usage example with argument unpacking

kwargs: CreateImageRequestRequestTypeDef = {  # (1)
    "infrastructureConfigurationArn": ...,
    "clientToken": ...,
}

parent.create_image(**kwargs)
  1. See CreateImageRequestRequestTypeDef

create_image_pipeline#

Creates a new image pipeline.

Type annotations and code completion for boto3.client("imagebuilder").create_image_pipeline method. boto3 documentation

# create_image_pipeline method definition

def create_image_pipeline(
    self,
    *,
    name: str,
    infrastructureConfigurationArn: str,
    clientToken: str,
    description: str = ...,
    imageRecipeArn: str = ...,
    containerRecipeArn: str = ...,
    distributionConfigurationArn: str = ...,
    imageTestsConfiguration: ImageTestsConfigurationTypeDef = ...,  # (1)
    enhancedImageMetadataEnabled: bool = ...,
    schedule: ScheduleTypeDef = ...,  # (2)
    status: PipelineStatusType = ...,  # (3)
    tags: Mapping[str, str] = ...,
    imageScanningConfiguration: ImageScanningConfigurationTypeDef = ...,  # (4)
    workflows: Sequence[WorkflowConfigurationTypeDef] = ...,  # (5)
    executionRole: str = ...,
) -> CreateImagePipelineResponseTypeDef:  # (6)
    ...
  1. See ImageTestsConfigurationTypeDef
  2. See ScheduleTypeDef
  3. See PipelineStatusType
  4. See ImageScanningConfigurationTypeDef
  5. See WorkflowConfigurationTypeDef
  6. See CreateImagePipelineResponseTypeDef
# create_image_pipeline method usage example with argument unpacking

kwargs: CreateImagePipelineRequestRequestTypeDef = {  # (1)
    "name": ...,
    "infrastructureConfigurationArn": ...,
    "clientToken": ...,
}

parent.create_image_pipeline(**kwargs)
  1. See CreateImagePipelineRequestRequestTypeDef

create_image_recipe#

Creates a new image recipe.

Type annotations and code completion for boto3.client("imagebuilder").create_image_recipe method. boto3 documentation

# create_image_recipe method definition

def create_image_recipe(
    self,
    *,
    name: str,
    semanticVersion: str,
    components: Sequence[ComponentConfigurationTypeDef],  # (1)
    parentImage: str,
    clientToken: str,
    description: str = ...,
    blockDeviceMappings: Sequence[InstanceBlockDeviceMappingTypeDef] = ...,  # (2)
    tags: Mapping[str, str] = ...,
    workingDirectory: str = ...,
    additionalInstanceConfiguration: AdditionalInstanceConfigurationTypeDef = ...,  # (3)
) -> CreateImageRecipeResponseTypeDef:  # (4)
    ...
  1. See ComponentConfigurationTypeDef
  2. See InstanceBlockDeviceMappingTypeDef
  3. See AdditionalInstanceConfigurationTypeDef
  4. See CreateImageRecipeResponseTypeDef
# create_image_recipe method usage example with argument unpacking

kwargs: CreateImageRecipeRequestRequestTypeDef = {  # (1)
    "name": ...,
    "semanticVersion": ...,
    "components": ...,
    "parentImage": ...,
    "clientToken": ...,
}

parent.create_image_recipe(**kwargs)
  1. See CreateImageRecipeRequestRequestTypeDef

create_infrastructure_configuration#

Creates a new infrastructure configuration.

Type annotations and code completion for boto3.client("imagebuilder").create_infrastructure_configuration method. boto3 documentation

# create_infrastructure_configuration method definition

def create_infrastructure_configuration(
    self,
    *,
    name: str,
    instanceProfileName: str,
    clientToken: str,
    description: str = ...,
    instanceTypes: Sequence[str] = ...,
    securityGroupIds: Sequence[str] = ...,
    subnetId: str = ...,
    logging: LoggingTypeDef = ...,  # (1)
    keyPair: str = ...,
    terminateInstanceOnFailure: bool = ...,
    snsTopicArn: str = ...,
    resourceTags: Mapping[str, str] = ...,
    instanceMetadataOptions: InstanceMetadataOptionsTypeDef = ...,  # (2)
    tags: Mapping[str, str] = ...,
    placement: PlacementTypeDef = ...,  # (3)
) -> CreateInfrastructureConfigurationResponseTypeDef:  # (4)
    ...
  1. See LoggingTypeDef
  2. See InstanceMetadataOptionsTypeDef
  3. See PlacementTypeDef
  4. See CreateInfrastructureConfigurationResponseTypeDef
# create_infrastructure_configuration method usage example with argument unpacking

kwargs: CreateInfrastructureConfigurationRequestRequestTypeDef = {  # (1)
    "name": ...,
    "instanceProfileName": ...,
    "clientToken": ...,
}

parent.create_infrastructure_configuration(**kwargs)
  1. See CreateInfrastructureConfigurationRequestRequestTypeDef

create_lifecycle_policy#

Create a lifecycle policy resource.

Type annotations and code completion for boto3.client("imagebuilder").create_lifecycle_policy method. boto3 documentation

# create_lifecycle_policy method definition

def create_lifecycle_policy(
    self,
    *,
    name: str,
    executionRole: str,
    resourceType: LifecyclePolicyResourceTypeType,  # (1)
    policyDetails: Sequence[LifecyclePolicyDetailUnionTypeDef],  # (2)
    resourceSelection: LifecyclePolicyResourceSelectionTypeDef,  # (3)
    clientToken: str,
    description: str = ...,
    status: LifecyclePolicyStatusType = ...,  # (4)
    tags: Mapping[str, str] = ...,
) -> CreateLifecyclePolicyResponseTypeDef:  # (5)
    ...
  1. See LifecyclePolicyResourceTypeType
  2. See LifecyclePolicyDetailTypeDef LifecyclePolicyDetailOutputTypeDef
  3. See LifecyclePolicyResourceSelectionTypeDef
  4. See LifecyclePolicyStatusType
  5. See CreateLifecyclePolicyResponseTypeDef
# create_lifecycle_policy method usage example with argument unpacking

kwargs: CreateLifecyclePolicyRequestRequestTypeDef = {  # (1)
    "name": ...,
    "executionRole": ...,
    "resourceType": ...,
    "policyDetails": ...,
    "resourceSelection": ...,
    "clientToken": ...,
}

parent.create_lifecycle_policy(**kwargs)
  1. See CreateLifecyclePolicyRequestRequestTypeDef

create_workflow#

Create a new workflow or a new version of an existing workflow.

Type annotations and code completion for boto3.client("imagebuilder").create_workflow method. boto3 documentation

# create_workflow method definition

def create_workflow(
    self,
    *,
    name: str,
    semanticVersion: str,
    clientToken: str,
    type: WorkflowTypeType,  # (1)
    description: str = ...,
    changeDescription: str = ...,
    data: str = ...,
    uri: str = ...,
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateWorkflowResponseTypeDef:  # (2)
    ...
  1. See WorkflowTypeType
  2. See CreateWorkflowResponseTypeDef
# create_workflow method usage example with argument unpacking

kwargs: CreateWorkflowRequestRequestTypeDef = {  # (1)
    "name": ...,
    "semanticVersion": ...,
    "clientToken": ...,
    "type": ...,
}

parent.create_workflow(**kwargs)
  1. See CreateWorkflowRequestRequestTypeDef

delete_component#

Deletes a component build version.

Type annotations and code completion for boto3.client("imagebuilder").delete_component method. boto3 documentation

# delete_component method definition

def delete_component(
    self,
    *,
    componentBuildVersionArn: str,
) -> DeleteComponentResponseTypeDef:  # (1)
    ...
  1. See DeleteComponentResponseTypeDef
# delete_component method usage example with argument unpacking

kwargs: DeleteComponentRequestRequestTypeDef = {  # (1)
    "componentBuildVersionArn": ...,
}

parent.delete_component(**kwargs)
  1. See DeleteComponentRequestRequestTypeDef

delete_container_recipe#

Deletes a container recipe.

Type annotations and code completion for boto3.client("imagebuilder").delete_container_recipe method. boto3 documentation

# delete_container_recipe method definition

def delete_container_recipe(
    self,
    *,
    containerRecipeArn: str,
) -> DeleteContainerRecipeResponseTypeDef:  # (1)
    ...
  1. See DeleteContainerRecipeResponseTypeDef
# delete_container_recipe method usage example with argument unpacking

kwargs: DeleteContainerRecipeRequestRequestTypeDef = {  # (1)
    "containerRecipeArn": ...,
}

parent.delete_container_recipe(**kwargs)
  1. See DeleteContainerRecipeRequestRequestTypeDef

delete_distribution_configuration#

Deletes a distribution configuration.

Type annotations and code completion for boto3.client("imagebuilder").delete_distribution_configuration method. boto3 documentation

# delete_distribution_configuration method definition

def delete_distribution_configuration(
    self,
    *,
    distributionConfigurationArn: str,
) -> DeleteDistributionConfigurationResponseTypeDef:  # (1)
    ...
  1. See DeleteDistributionConfigurationResponseTypeDef
# delete_distribution_configuration method usage example with argument unpacking

kwargs: DeleteDistributionConfigurationRequestRequestTypeDef = {  # (1)
    "distributionConfigurationArn": ...,
}

parent.delete_distribution_configuration(**kwargs)
  1. See DeleteDistributionConfigurationRequestRequestTypeDef

delete_image#

Deletes an Image Builder image resource.

Type annotations and code completion for boto3.client("imagebuilder").delete_image method. boto3 documentation

# delete_image method definition

def delete_image(
    self,
    *,
    imageBuildVersionArn: str,
) -> DeleteImageResponseTypeDef:  # (1)
    ...
  1. See DeleteImageResponseTypeDef
# delete_image method usage example with argument unpacking

kwargs: DeleteImageRequestRequestTypeDef = {  # (1)
    "imageBuildVersionArn": ...,
}

parent.delete_image(**kwargs)
  1. See DeleteImageRequestRequestTypeDef

delete_image_pipeline#

Deletes an image pipeline.

Type annotations and code completion for boto3.client("imagebuilder").delete_image_pipeline method. boto3 documentation

# delete_image_pipeline method definition

def delete_image_pipeline(
    self,
    *,
    imagePipelineArn: str,
) -> DeleteImagePipelineResponseTypeDef:  # (1)
    ...
  1. See DeleteImagePipelineResponseTypeDef
# delete_image_pipeline method usage example with argument unpacking

kwargs: DeleteImagePipelineRequestRequestTypeDef = {  # (1)
    "imagePipelineArn": ...,
}

parent.delete_image_pipeline(**kwargs)
  1. See DeleteImagePipelineRequestRequestTypeDef

delete_image_recipe#

Deletes an image recipe.

Type annotations and code completion for boto3.client("imagebuilder").delete_image_recipe method. boto3 documentation

# delete_image_recipe method definition

def delete_image_recipe(
    self,
    *,
    imageRecipeArn: str,
) -> DeleteImageRecipeResponseTypeDef:  # (1)
    ...
  1. See DeleteImageRecipeResponseTypeDef
# delete_image_recipe method usage example with argument unpacking

kwargs: DeleteImageRecipeRequestRequestTypeDef = {  # (1)
    "imageRecipeArn": ...,
}

parent.delete_image_recipe(**kwargs)
  1. See DeleteImageRecipeRequestRequestTypeDef

delete_infrastructure_configuration#

Deletes an infrastructure configuration.

Type annotations and code completion for boto3.client("imagebuilder").delete_infrastructure_configuration method. boto3 documentation

# delete_infrastructure_configuration method definition

def delete_infrastructure_configuration(
    self,
    *,
    infrastructureConfigurationArn: str,
) -> DeleteInfrastructureConfigurationResponseTypeDef:  # (1)
    ...
  1. See DeleteInfrastructureConfigurationResponseTypeDef
# delete_infrastructure_configuration method usage example with argument unpacking

kwargs: DeleteInfrastructureConfigurationRequestRequestTypeDef = {  # (1)
    "infrastructureConfigurationArn": ...,
}

parent.delete_infrastructure_configuration(**kwargs)
  1. See DeleteInfrastructureConfigurationRequestRequestTypeDef

delete_lifecycle_policy#

Delete the specified lifecycle policy resource.

Type annotations and code completion for boto3.client("imagebuilder").delete_lifecycle_policy method. boto3 documentation

# delete_lifecycle_policy method definition

def delete_lifecycle_policy(
    self,
    *,
    lifecyclePolicyArn: str,
) -> DeleteLifecyclePolicyResponseTypeDef:  # (1)
    ...
  1. See DeleteLifecyclePolicyResponseTypeDef
# delete_lifecycle_policy method usage example with argument unpacking

kwargs: DeleteLifecyclePolicyRequestRequestTypeDef = {  # (1)
    "lifecyclePolicyArn": ...,
}

parent.delete_lifecycle_policy(**kwargs)
  1. See DeleteLifecyclePolicyRequestRequestTypeDef

delete_workflow#

Deletes a specific workflow resource.

Type annotations and code completion for boto3.client("imagebuilder").delete_workflow method. boto3 documentation

# delete_workflow method definition

def delete_workflow(
    self,
    *,
    workflowBuildVersionArn: str,
) -> DeleteWorkflowResponseTypeDef:  # (1)
    ...
  1. See DeleteWorkflowResponseTypeDef
# delete_workflow method usage example with argument unpacking

kwargs: DeleteWorkflowRequestRequestTypeDef = {  # (1)
    "workflowBuildVersionArn": ...,
}

parent.delete_workflow(**kwargs)
  1. See DeleteWorkflowRequestRequestTypeDef

get_component#

Gets a component object.

Type annotations and code completion for boto3.client("imagebuilder").get_component method. boto3 documentation

# get_component method definition

def get_component(
    self,
    *,
    componentBuildVersionArn: str,
) -> GetComponentResponseTypeDef:  # (1)
    ...
  1. See GetComponentResponseTypeDef
# get_component method usage example with argument unpacking

kwargs: GetComponentRequestRequestTypeDef = {  # (1)
    "componentBuildVersionArn": ...,
}

parent.get_component(**kwargs)
  1. See GetComponentRequestRequestTypeDef

get_component_policy#

Gets a component policy.

Type annotations and code completion for boto3.client("imagebuilder").get_component_policy method. boto3 documentation

# get_component_policy method definition

def get_component_policy(
    self,
    *,
    componentArn: str,
) -> GetComponentPolicyResponseTypeDef:  # (1)
    ...
  1. See GetComponentPolicyResponseTypeDef
# get_component_policy method usage example with argument unpacking

kwargs: GetComponentPolicyRequestRequestTypeDef = {  # (1)
    "componentArn": ...,
}

parent.get_component_policy(**kwargs)
  1. See GetComponentPolicyRequestRequestTypeDef

get_container_recipe#

Retrieves a container recipe.

Type annotations and code completion for boto3.client("imagebuilder").get_container_recipe method. boto3 documentation

# get_container_recipe method definition

def get_container_recipe(
    self,
    *,
    containerRecipeArn: str,
) -> GetContainerRecipeResponseTypeDef:  # (1)
    ...
  1. See GetContainerRecipeResponseTypeDef
# get_container_recipe method usage example with argument unpacking

kwargs: GetContainerRecipeRequestRequestTypeDef = {  # (1)
    "containerRecipeArn": ...,
}

parent.get_container_recipe(**kwargs)
  1. See GetContainerRecipeRequestRequestTypeDef

get_container_recipe_policy#

Retrieves the policy for a container recipe.

Type annotations and code completion for boto3.client("imagebuilder").get_container_recipe_policy method. boto3 documentation

# get_container_recipe_policy method definition

def get_container_recipe_policy(
    self,
    *,
    containerRecipeArn: str,
) -> GetContainerRecipePolicyResponseTypeDef:  # (1)
    ...
  1. See GetContainerRecipePolicyResponseTypeDef
# get_container_recipe_policy method usage example with argument unpacking

kwargs: GetContainerRecipePolicyRequestRequestTypeDef = {  # (1)
    "containerRecipeArn": ...,
}

parent.get_container_recipe_policy(**kwargs)
  1. See GetContainerRecipePolicyRequestRequestTypeDef

get_distribution_configuration#

Gets a distribution configuration.

Type annotations and code completion for boto3.client("imagebuilder").get_distribution_configuration method. boto3 documentation

# get_distribution_configuration method definition

def get_distribution_configuration(
    self,
    *,
    distributionConfigurationArn: str,
) -> GetDistributionConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetDistributionConfigurationResponseTypeDef
# get_distribution_configuration method usage example with argument unpacking

kwargs: GetDistributionConfigurationRequestRequestTypeDef = {  # (1)
    "distributionConfigurationArn": ...,
}

parent.get_distribution_configuration(**kwargs)
  1. See GetDistributionConfigurationRequestRequestTypeDef

get_image#

Gets an image.

Type annotations and code completion for boto3.client("imagebuilder").get_image method. boto3 documentation

# get_image method definition

def get_image(
    self,
    *,
    imageBuildVersionArn: str,
) -> GetImageResponseTypeDef:  # (1)
    ...
  1. See GetImageResponseTypeDef
# get_image method usage example with argument unpacking

kwargs: GetImageRequestRequestTypeDef = {  # (1)
    "imageBuildVersionArn": ...,
}

parent.get_image(**kwargs)
  1. See GetImageRequestRequestTypeDef

get_image_pipeline#

Gets an image pipeline.

Type annotations and code completion for boto3.client("imagebuilder").get_image_pipeline method. boto3 documentation

# get_image_pipeline method definition

def get_image_pipeline(
    self,
    *,
    imagePipelineArn: str,
) -> GetImagePipelineResponseTypeDef:  # (1)
    ...
  1. See GetImagePipelineResponseTypeDef
# get_image_pipeline method usage example with argument unpacking

kwargs: GetImagePipelineRequestRequestTypeDef = {  # (1)
    "imagePipelineArn": ...,
}

parent.get_image_pipeline(**kwargs)
  1. See GetImagePipelineRequestRequestTypeDef

get_image_policy#

Gets an image policy.

Type annotations and code completion for boto3.client("imagebuilder").get_image_policy method. boto3 documentation

# get_image_policy method definition

def get_image_policy(
    self,
    *,
    imageArn: str,
) -> GetImagePolicyResponseTypeDef:  # (1)
    ...
  1. See GetImagePolicyResponseTypeDef
# get_image_policy method usage example with argument unpacking

kwargs: GetImagePolicyRequestRequestTypeDef = {  # (1)
    "imageArn": ...,
}

parent.get_image_policy(**kwargs)
  1. See GetImagePolicyRequestRequestTypeDef

get_image_recipe#

Gets an image recipe.

Type annotations and code completion for boto3.client("imagebuilder").get_image_recipe method. boto3 documentation

# get_image_recipe method definition

def get_image_recipe(
    self,
    *,
    imageRecipeArn: str,
) -> GetImageRecipeResponseTypeDef:  # (1)
    ...
  1. See GetImageRecipeResponseTypeDef
# get_image_recipe method usage example with argument unpacking

kwargs: GetImageRecipeRequestRequestTypeDef = {  # (1)
    "imageRecipeArn": ...,
}

parent.get_image_recipe(**kwargs)
  1. See GetImageRecipeRequestRequestTypeDef

get_image_recipe_policy#

Gets an image recipe policy.

Type annotations and code completion for boto3.client("imagebuilder").get_image_recipe_policy method. boto3 documentation

# get_image_recipe_policy method definition

def get_image_recipe_policy(
    self,
    *,
    imageRecipeArn: str,
) -> GetImageRecipePolicyResponseTypeDef:  # (1)
    ...
  1. See GetImageRecipePolicyResponseTypeDef
# get_image_recipe_policy method usage example with argument unpacking

kwargs: GetImageRecipePolicyRequestRequestTypeDef = {  # (1)
    "imageRecipeArn": ...,
}

parent.get_image_recipe_policy(**kwargs)
  1. See GetImageRecipePolicyRequestRequestTypeDef

get_infrastructure_configuration#

Gets an infrastructure configuration.

Type annotations and code completion for boto3.client("imagebuilder").get_infrastructure_configuration method. boto3 documentation

# get_infrastructure_configuration method definition

def get_infrastructure_configuration(
    self,
    *,
    infrastructureConfigurationArn: str,
) -> GetInfrastructureConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetInfrastructureConfigurationResponseTypeDef
# get_infrastructure_configuration method usage example with argument unpacking

kwargs: GetInfrastructureConfigurationRequestRequestTypeDef = {  # (1)
    "infrastructureConfigurationArn": ...,
}

parent.get_infrastructure_configuration(**kwargs)
  1. See GetInfrastructureConfigurationRequestRequestTypeDef

get_lifecycle_execution#

Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.

Type annotations and code completion for boto3.client("imagebuilder").get_lifecycle_execution method. boto3 documentation

# get_lifecycle_execution method definition

def get_lifecycle_execution(
    self,
    *,
    lifecycleExecutionId: str,
) -> GetLifecycleExecutionResponseTypeDef:  # (1)
    ...
  1. See GetLifecycleExecutionResponseTypeDef
# get_lifecycle_execution method usage example with argument unpacking

kwargs: GetLifecycleExecutionRequestRequestTypeDef = {  # (1)
    "lifecycleExecutionId": ...,
}

parent.get_lifecycle_execution(**kwargs)
  1. See GetLifecycleExecutionRequestRequestTypeDef

get_lifecycle_policy#

Get details for the specified image lifecycle policy.

Type annotations and code completion for boto3.client("imagebuilder").get_lifecycle_policy method. boto3 documentation

# get_lifecycle_policy method definition

def get_lifecycle_policy(
    self,
    *,
    lifecyclePolicyArn: str,
) -> GetLifecyclePolicyResponseTypeDef:  # (1)
    ...
  1. See GetLifecyclePolicyResponseTypeDef
# get_lifecycle_policy method usage example with argument unpacking

kwargs: GetLifecyclePolicyRequestRequestTypeDef = {  # (1)
    "lifecyclePolicyArn": ...,
}

parent.get_lifecycle_policy(**kwargs)
  1. See GetLifecyclePolicyRequestRequestTypeDef

get_marketplace_resource#

Verify the subscription and perform resource dependency checks on the requested Amazon Web Services Marketplace resource.

Type annotations and code completion for boto3.client("imagebuilder").get_marketplace_resource method. boto3 documentation

# get_marketplace_resource method definition

def get_marketplace_resource(
    self,
    *,
    resourceType: MarketplaceResourceTypeType,  # (1)
    resourceArn: str,
    resourceLocation: str = ...,
) -> GetMarketplaceResourceResponseTypeDef:  # (2)
    ...
  1. See MarketplaceResourceTypeType
  2. See GetMarketplaceResourceResponseTypeDef
# get_marketplace_resource method usage example with argument unpacking

kwargs: GetMarketplaceResourceRequestRequestTypeDef = {  # (1)
    "resourceType": ...,
    "resourceArn": ...,
}

parent.get_marketplace_resource(**kwargs)
  1. See GetMarketplaceResourceRequestRequestTypeDef

get_workflow#

Get a workflow resource object.

Type annotations and code completion for boto3.client("imagebuilder").get_workflow method. boto3 documentation

# get_workflow method definition

def get_workflow(
    self,
    *,
    workflowBuildVersionArn: str,
) -> GetWorkflowResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowResponseTypeDef
# get_workflow method usage example with argument unpacking

kwargs: GetWorkflowRequestRequestTypeDef = {  # (1)
    "workflowBuildVersionArn": ...,
}

parent.get_workflow(**kwargs)
  1. See GetWorkflowRequestRequestTypeDef

get_workflow_execution#

Get the runtime information that was logged for a specific runtime instance of the workflow.

Type annotations and code completion for boto3.client("imagebuilder").get_workflow_execution method. boto3 documentation

# get_workflow_execution method definition

def get_workflow_execution(
    self,
    *,
    workflowExecutionId: str,
) -> GetWorkflowExecutionResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowExecutionResponseTypeDef
# get_workflow_execution method usage example with argument unpacking

kwargs: GetWorkflowExecutionRequestRequestTypeDef = {  # (1)
    "workflowExecutionId": ...,
}

parent.get_workflow_execution(**kwargs)
  1. See GetWorkflowExecutionRequestRequestTypeDef

get_workflow_step_execution#

Get the runtime information that was logged for a specific runtime instance of the workflow step.

Type annotations and code completion for boto3.client("imagebuilder").get_workflow_step_execution method. boto3 documentation

# get_workflow_step_execution method definition

def get_workflow_step_execution(
    self,
    *,
    stepExecutionId: str,
) -> GetWorkflowStepExecutionResponseTypeDef:  # (1)
    ...
  1. See GetWorkflowStepExecutionResponseTypeDef
# get_workflow_step_execution method usage example with argument unpacking

kwargs: GetWorkflowStepExecutionRequestRequestTypeDef = {  # (1)
    "stepExecutionId": ...,
}

parent.get_workflow_step_execution(**kwargs)
  1. See GetWorkflowStepExecutionRequestRequestTypeDef

import_component#

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

Type annotations and code completion for boto3.client("imagebuilder").import_component method. boto3 documentation

# import_component method definition

def import_component(
    self,
    *,
    name: str,
    semanticVersion: str,
    type: ComponentTypeType,  # (1)
    format: ComponentFormatType,  # (2)
    platform: PlatformType,  # (3)
    clientToken: str,
    description: str = ...,
    changeDescription: str = ...,
    data: str = ...,
    uri: str = ...,
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> ImportComponentResponseTypeDef:  # (4)
    ...
  1. See ComponentTypeType
  2. See ComponentFormatType
  3. See PlatformType
  4. See ImportComponentResponseTypeDef
# import_component method usage example with argument unpacking

kwargs: ImportComponentRequestRequestTypeDef = {  # (1)
    "name": ...,
    "semanticVersion": ...,
    "type": ...,
    "format": ...,
    "platform": ...,
    "clientToken": ...,
}

parent.import_component(**kwargs)
  1. See ImportComponentRequestRequestTypeDef

import_vm_image#

When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM's environment, settings, and data.

Type annotations and code completion for boto3.client("imagebuilder").import_vm_image method. boto3 documentation

# import_vm_image method definition

def import_vm_image(
    self,
    *,
    name: str,
    semanticVersion: str,
    platform: PlatformType,  # (1)
    vmImportTaskId: str,
    clientToken: str,
    description: str = ...,
    osVersion: str = ...,
    tags: Mapping[str, str] = ...,
) -> ImportVmImageResponseTypeDef:  # (2)
    ...
  1. See PlatformType
  2. See ImportVmImageResponseTypeDef
# import_vm_image method usage example with argument unpacking

kwargs: ImportVmImageRequestRequestTypeDef = {  # (1)
    "name": ...,
    "semanticVersion": ...,
    "platform": ...,
    "vmImportTaskId": ...,
    "clientToken": ...,
}

parent.import_vm_image(**kwargs)
  1. See ImportVmImageRequestRequestTypeDef

list_component_build_versions#

Returns the list of component build versions for the specified component version Amazon Resource Name (ARN).

Type annotations and code completion for boto3.client("imagebuilder").list_component_build_versions method. boto3 documentation

# list_component_build_versions method definition

def list_component_build_versions(
    self,
    *,
    componentVersionArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListComponentBuildVersionsResponseTypeDef:  # (1)
    ...
  1. See ListComponentBuildVersionsResponseTypeDef
# list_component_build_versions method usage example with argument unpacking

kwargs: ListComponentBuildVersionsRequestRequestTypeDef = {  # (1)
    "componentVersionArn": ...,
}

parent.list_component_build_versions(**kwargs)
  1. See ListComponentBuildVersionsRequestRequestTypeDef

list_components#

Returns the list of components that can be filtered by name, or by using the listed filters to streamline results.

Type annotations and code completion for boto3.client("imagebuilder").list_components method. boto3 documentation

# list_components method definition

def list_components(
    self,
    *,
    owner: OwnershipType = ...,  # (1)
    filters: Sequence[FilterTypeDef] = ...,  # (2)
    byName: bool = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListComponentsResponseTypeDef:  # (3)
    ...
  1. See OwnershipType
  2. See FilterTypeDef
  3. See ListComponentsResponseTypeDef
# list_components method usage example with argument unpacking

kwargs: ListComponentsRequestRequestTypeDef = {  # (1)
    "owner": ...,
}

parent.list_components(**kwargs)
  1. See ListComponentsRequestRequestTypeDef

list_container_recipes#

Returns a list of container recipes.

Type annotations and code completion for boto3.client("imagebuilder").list_container_recipes method. boto3 documentation

# list_container_recipes method definition

def list_container_recipes(
    self,
    *,
    owner: OwnershipType = ...,  # (1)
    filters: Sequence[FilterTypeDef] = ...,  # (2)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListContainerRecipesResponseTypeDef:  # (3)
    ...
  1. See OwnershipType
  2. See FilterTypeDef
  3. See ListContainerRecipesResponseTypeDef
# list_container_recipes method usage example with argument unpacking

kwargs: ListContainerRecipesRequestRequestTypeDef = {  # (1)
    "owner": ...,
}

parent.list_container_recipes(**kwargs)
  1. See ListContainerRecipesRequestRequestTypeDef

list_distribution_configurations#

Returns a list of distribution configurations.

Type annotations and code completion for boto3.client("imagebuilder").list_distribution_configurations method. boto3 documentation

# list_distribution_configurations method definition

def list_distribution_configurations(
    self,
    *,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDistributionConfigurationsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListDistributionConfigurationsResponseTypeDef
# list_distribution_configurations method usage example with argument unpacking

kwargs: ListDistributionConfigurationsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_distribution_configurations(**kwargs)
  1. See ListDistributionConfigurationsRequestRequestTypeDef

list_image_build_versions#

Returns a list of image build versions.

Type annotations and code completion for boto3.client("imagebuilder").list_image_build_versions method. boto3 documentation

# list_image_build_versions method definition

def list_image_build_versions(
    self,
    *,
    imageVersionArn: str,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImageBuildVersionsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListImageBuildVersionsResponseTypeDef
# list_image_build_versions method usage example with argument unpacking

kwargs: ListImageBuildVersionsRequestRequestTypeDef = {  # (1)
    "imageVersionArn": ...,
}

parent.list_image_build_versions(**kwargs)
  1. See ListImageBuildVersionsRequestRequestTypeDef

list_image_packages#

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

Type annotations and code completion for boto3.client("imagebuilder").list_image_packages method. boto3 documentation

# list_image_packages method definition

def list_image_packages(
    self,
    *,
    imageBuildVersionArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImagePackagesResponseTypeDef:  # (1)
    ...
  1. See ListImagePackagesResponseTypeDef
# list_image_packages method usage example with argument unpacking

kwargs: ListImagePackagesRequestRequestTypeDef = {  # (1)
    "imageBuildVersionArn": ...,
}

parent.list_image_packages(**kwargs)
  1. See ListImagePackagesRequestRequestTypeDef

list_image_pipeline_images#

Returns a list of images created by the specified pipeline.

Type annotations and code completion for boto3.client("imagebuilder").list_image_pipeline_images method. boto3 documentation

# list_image_pipeline_images method definition

def list_image_pipeline_images(
    self,
    *,
    imagePipelineArn: str,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImagePipelineImagesResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListImagePipelineImagesResponseTypeDef
# list_image_pipeline_images method usage example with argument unpacking

kwargs: ListImagePipelineImagesRequestRequestTypeDef = {  # (1)
    "imagePipelineArn": ...,
}

parent.list_image_pipeline_images(**kwargs)
  1. See ListImagePipelineImagesRequestRequestTypeDef

list_image_pipelines#

Returns a list of image pipelines.

Type annotations and code completion for boto3.client("imagebuilder").list_image_pipelines method. boto3 documentation

# list_image_pipelines method definition

def list_image_pipelines(
    self,
    *,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImagePipelinesResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListImagePipelinesResponseTypeDef
# list_image_pipelines method usage example with argument unpacking

kwargs: ListImagePipelinesRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_image_pipelines(**kwargs)
  1. See ListImagePipelinesRequestRequestTypeDef

list_image_recipes#

Returns a list of image recipes.

Type annotations and code completion for boto3.client("imagebuilder").list_image_recipes method. boto3 documentation

# list_image_recipes method definition

def list_image_recipes(
    self,
    *,
    owner: OwnershipType = ...,  # (1)
    filters: Sequence[FilterTypeDef] = ...,  # (2)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImageRecipesResponseTypeDef:  # (3)
    ...
  1. See OwnershipType
  2. See FilterTypeDef
  3. See ListImageRecipesResponseTypeDef
# list_image_recipes method usage example with argument unpacking

kwargs: ListImageRecipesRequestRequestTypeDef = {  # (1)
    "owner": ...,
}

parent.list_image_recipes(**kwargs)
  1. See ListImageRecipesRequestRequestTypeDef

list_image_scan_finding_aggregations#

Returns a list of image scan aggregations for your account.

Type annotations and code completion for boto3.client("imagebuilder").list_image_scan_finding_aggregations method. boto3 documentation

# list_image_scan_finding_aggregations method definition

def list_image_scan_finding_aggregations(
    self,
    *,
    filter: FilterTypeDef = ...,  # (1)
    nextToken: str = ...,
) -> ListImageScanFindingAggregationsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListImageScanFindingAggregationsResponseTypeDef
# list_image_scan_finding_aggregations method usage example with argument unpacking

kwargs: ListImageScanFindingAggregationsRequestRequestTypeDef = {  # (1)
    "filter": ...,
}

parent.list_image_scan_finding_aggregations(**kwargs)
  1. See ListImageScanFindingAggregationsRequestRequestTypeDef

list_image_scan_findings#

Returns a list of image scan findings for your account.

Type annotations and code completion for boto3.client("imagebuilder").list_image_scan_findings method. boto3 documentation

# list_image_scan_findings method definition

def list_image_scan_findings(
    self,
    *,
    filters: Sequence[ImageScanFindingsFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImageScanFindingsResponseTypeDef:  # (2)
    ...
  1. See ImageScanFindingsFilterTypeDef
  2. See ListImageScanFindingsResponseTypeDef
# list_image_scan_findings method usage example with argument unpacking

kwargs: ListImageScanFindingsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_image_scan_findings(**kwargs)
  1. See ListImageScanFindingsRequestRequestTypeDef

list_images#

Returns the list of images that you have access to.

Type annotations and code completion for boto3.client("imagebuilder").list_images method. boto3 documentation

# list_images method definition

def list_images(
    self,
    *,
    owner: OwnershipType = ...,  # (1)
    filters: Sequence[FilterTypeDef] = ...,  # (2)
    byName: bool = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    includeDeprecated: bool = ...,
) -> ListImagesResponseTypeDef:  # (3)
    ...
  1. See OwnershipType
  2. See FilterTypeDef
  3. See ListImagesResponseTypeDef
# list_images method usage example with argument unpacking

kwargs: ListImagesRequestRequestTypeDef = {  # (1)
    "owner": ...,
}

parent.list_images(**kwargs)
  1. See ListImagesRequestRequestTypeDef

list_infrastructure_configurations#

Returns a list of infrastructure configurations.

Type annotations and code completion for boto3.client("imagebuilder").list_infrastructure_configurations method. boto3 documentation

# list_infrastructure_configurations method definition

def list_infrastructure_configurations(
    self,
    *,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListInfrastructureConfigurationsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListInfrastructureConfigurationsResponseTypeDef
# list_infrastructure_configurations method usage example with argument unpacking

kwargs: ListInfrastructureConfigurationsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_infrastructure_configurations(**kwargs)
  1. See ListInfrastructureConfigurationsRequestRequestTypeDef

list_lifecycle_execution_resources#

List resources that the runtime instance of the image lifecycle identified for lifecycle actions.

Type annotations and code completion for boto3.client("imagebuilder").list_lifecycle_execution_resources method. boto3 documentation

# list_lifecycle_execution_resources method definition

def list_lifecycle_execution_resources(
    self,
    *,
    lifecycleExecutionId: str,
    parentResourceId: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListLifecycleExecutionResourcesResponseTypeDef:  # (1)
    ...
  1. See ListLifecycleExecutionResourcesResponseTypeDef
# list_lifecycle_execution_resources method usage example with argument unpacking

kwargs: ListLifecycleExecutionResourcesRequestRequestTypeDef = {  # (1)
    "lifecycleExecutionId": ...,
}

parent.list_lifecycle_execution_resources(**kwargs)
  1. See ListLifecycleExecutionResourcesRequestRequestTypeDef

list_lifecycle_executions#

Get the lifecycle runtime history for the specified resource.

Type annotations and code completion for boto3.client("imagebuilder").list_lifecycle_executions method. boto3 documentation

# list_lifecycle_executions method definition

def list_lifecycle_executions(
    self,
    *,
    resourceArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListLifecycleExecutionsResponseTypeDef:  # (1)
    ...
  1. See ListLifecycleExecutionsResponseTypeDef
# list_lifecycle_executions method usage example with argument unpacking

kwargs: ListLifecycleExecutionsRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_lifecycle_executions(**kwargs)
  1. See ListLifecycleExecutionsRequestRequestTypeDef

list_lifecycle_policies#

Get a list of lifecycle policies in your Amazon Web Services account.

Type annotations and code completion for boto3.client("imagebuilder").list_lifecycle_policies method. boto3 documentation

# list_lifecycle_policies method definition

def list_lifecycle_policies(
    self,
    *,
    filters: Sequence[FilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListLifecyclePoliciesResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListLifecyclePoliciesResponseTypeDef
# list_lifecycle_policies method usage example with argument unpacking

kwargs: ListLifecyclePoliciesRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_lifecycle_policies(**kwargs)
  1. See ListLifecyclePoliciesRequestRequestTypeDef

list_tags_for_resource#

Returns the list of tags for the specified resource.

Type annotations and code completion for boto3.client("imagebuilder").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_waiting_workflow_steps#

Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.

Type annotations and code completion for boto3.client("imagebuilder").list_waiting_workflow_steps method. boto3 documentation

# list_waiting_workflow_steps method definition

def list_waiting_workflow_steps(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWaitingWorkflowStepsResponseTypeDef:  # (1)
    ...
  1. See ListWaitingWorkflowStepsResponseTypeDef
# list_waiting_workflow_steps method usage example with argument unpacking

kwargs: ListWaitingWorkflowStepsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_waiting_workflow_steps(**kwargs)
  1. See ListWaitingWorkflowStepsRequestRequestTypeDef

list_workflow_build_versions#

Returns a list of build versions for a specific workflow resource.

Type annotations and code completion for boto3.client("imagebuilder").list_workflow_build_versions method. boto3 documentation

# list_workflow_build_versions method definition

def list_workflow_build_versions(
    self,
    *,
    workflowVersionArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWorkflowBuildVersionsResponseTypeDef:  # (1)
    ...
  1. See ListWorkflowBuildVersionsResponseTypeDef
# list_workflow_build_versions method usage example with argument unpacking

kwargs: ListWorkflowBuildVersionsRequestRequestTypeDef = {  # (1)
    "workflowVersionArn": ...,
}

parent.list_workflow_build_versions(**kwargs)
  1. See ListWorkflowBuildVersionsRequestRequestTypeDef

list_workflow_executions#

Returns a list of workflow runtime instance metadata objects for a specific image build version.

Type annotations and code completion for boto3.client("imagebuilder").list_workflow_executions method. boto3 documentation

# list_workflow_executions method definition

def list_workflow_executions(
    self,
    *,
    imageBuildVersionArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWorkflowExecutionsResponseTypeDef:  # (1)
    ...
  1. See ListWorkflowExecutionsResponseTypeDef
# list_workflow_executions method usage example with argument unpacking

kwargs: ListWorkflowExecutionsRequestRequestTypeDef = {  # (1)
    "imageBuildVersionArn": ...,
}

parent.list_workflow_executions(**kwargs)
  1. See ListWorkflowExecutionsRequestRequestTypeDef

list_workflow_step_executions#

Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.

Type annotations and code completion for boto3.client("imagebuilder").list_workflow_step_executions method. boto3 documentation

# list_workflow_step_executions method definition

def list_workflow_step_executions(
    self,
    *,
    workflowExecutionId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWorkflowStepExecutionsResponseTypeDef:  # (1)
    ...
  1. See ListWorkflowStepExecutionsResponseTypeDef
# list_workflow_step_executions method usage example with argument unpacking

kwargs: ListWorkflowStepExecutionsRequestRequestTypeDef = {  # (1)
    "workflowExecutionId": ...,
}

parent.list_workflow_step_executions(**kwargs)
  1. See ListWorkflowStepExecutionsRequestRequestTypeDef

list_workflows#

Lists workflow build versions based on filtering parameters.

Type annotations and code completion for boto3.client("imagebuilder").list_workflows method. boto3 documentation

# list_workflows method definition

def list_workflows(
    self,
    *,
    owner: OwnershipType = ...,  # (1)
    filters: Sequence[FilterTypeDef] = ...,  # (2)
    byName: bool = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWorkflowsResponseTypeDef:  # (3)
    ...
  1. See OwnershipType
  2. See FilterTypeDef
  3. See ListWorkflowsResponseTypeDef
# list_workflows method usage example with argument unpacking

kwargs: ListWorkflowsRequestRequestTypeDef = {  # (1)
    "owner": ...,
}

parent.list_workflows(**kwargs)
  1. See ListWorkflowsRequestRequestTypeDef

put_component_policy#

Applies a policy to a component.

Type annotations and code completion for boto3.client("imagebuilder").put_component_policy method. boto3 documentation

# put_component_policy method definition

def put_component_policy(
    self,
    *,
    componentArn: str,
    policy: str,
) -> PutComponentPolicyResponseTypeDef:  # (1)
    ...
  1. See PutComponentPolicyResponseTypeDef
# put_component_policy method usage example with argument unpacking

kwargs: PutComponentPolicyRequestRequestTypeDef = {  # (1)
    "componentArn": ...,
    "policy": ...,
}

parent.put_component_policy(**kwargs)
  1. See PutComponentPolicyRequestRequestTypeDef

put_container_recipe_policy#

Applies a policy to a container image.

Type annotations and code completion for boto3.client("imagebuilder").put_container_recipe_policy method. boto3 documentation

# put_container_recipe_policy method definition

def put_container_recipe_policy(
    self,
    *,
    containerRecipeArn: str,
    policy: str,
) -> PutContainerRecipePolicyResponseTypeDef:  # (1)
    ...
  1. See PutContainerRecipePolicyResponseTypeDef
# put_container_recipe_policy method usage example with argument unpacking

kwargs: PutContainerRecipePolicyRequestRequestTypeDef = {  # (1)
    "containerRecipeArn": ...,
    "policy": ...,
}

parent.put_container_recipe_policy(**kwargs)
  1. See PutContainerRecipePolicyRequestRequestTypeDef

put_image_policy#

Applies a policy to an image.

Type annotations and code completion for boto3.client("imagebuilder").put_image_policy method. boto3 documentation

# put_image_policy method definition

def put_image_policy(
    self,
    *,
    imageArn: str,
    policy: str,
) -> PutImagePolicyResponseTypeDef:  # (1)
    ...
  1. See PutImagePolicyResponseTypeDef
# put_image_policy method usage example with argument unpacking

kwargs: PutImagePolicyRequestRequestTypeDef = {  # (1)
    "imageArn": ...,
    "policy": ...,
}

parent.put_image_policy(**kwargs)
  1. See PutImagePolicyRequestRequestTypeDef

put_image_recipe_policy#

Applies a policy to an image recipe.

Type annotations and code completion for boto3.client("imagebuilder").put_image_recipe_policy method. boto3 documentation

# put_image_recipe_policy method definition

def put_image_recipe_policy(
    self,
    *,
    imageRecipeArn: str,
    policy: str,
) -> PutImageRecipePolicyResponseTypeDef:  # (1)
    ...
  1. See PutImageRecipePolicyResponseTypeDef
# put_image_recipe_policy method usage example with argument unpacking

kwargs: PutImageRecipePolicyRequestRequestTypeDef = {  # (1)
    "imageRecipeArn": ...,
    "policy": ...,
}

parent.put_image_recipe_policy(**kwargs)
  1. See PutImageRecipePolicyRequestRequestTypeDef

send_workflow_step_action#

Pauses or resumes image creation when the associated workflow runs a WaitForAction step.

Type annotations and code completion for boto3.client("imagebuilder").send_workflow_step_action method. boto3 documentation

# send_workflow_step_action method definition

def send_workflow_step_action(
    self,
    *,
    stepExecutionId: str,
    imageBuildVersionArn: str,
    action: WorkflowStepActionTypeType,  # (1)
    clientToken: str,
    reason: str = ...,
) -> SendWorkflowStepActionResponseTypeDef:  # (2)
    ...
  1. See WorkflowStepActionTypeType
  2. See SendWorkflowStepActionResponseTypeDef
# send_workflow_step_action method usage example with argument unpacking

kwargs: SendWorkflowStepActionRequestRequestTypeDef = {  # (1)
    "stepExecutionId": ...,
    "imageBuildVersionArn": ...,
    "action": ...,
    "clientToken": ...,
}

parent.send_workflow_step_action(**kwargs)
  1. See SendWorkflowStepActionRequestRequestTypeDef

start_image_pipeline_execution#

Manually triggers a pipeline to create an image.

Type annotations and code completion for boto3.client("imagebuilder").start_image_pipeline_execution method. boto3 documentation

# start_image_pipeline_execution method definition

def start_image_pipeline_execution(
    self,
    *,
    imagePipelineArn: str,
    clientToken: str,
) -> StartImagePipelineExecutionResponseTypeDef:  # (1)
    ...
  1. See StartImagePipelineExecutionResponseTypeDef
# start_image_pipeline_execution method usage example with argument unpacking

kwargs: StartImagePipelineExecutionRequestRequestTypeDef = {  # (1)
    "imagePipelineArn": ...,
    "clientToken": ...,
}

parent.start_image_pipeline_execution(**kwargs)
  1. See StartImagePipelineExecutionRequestRequestTypeDef

start_resource_state_update#

Begin asynchronous resource state update for lifecycle changes to the specified image resources.

Type annotations and code completion for boto3.client("imagebuilder").start_resource_state_update method. boto3 documentation

# start_resource_state_update method definition

def start_resource_state_update(
    self,
    *,
    resourceArn: str,
    state: ResourceStateTypeDef,  # (1)
    clientToken: str,
    executionRole: str = ...,
    includeResources: ResourceStateUpdateIncludeResourcesTypeDef = ...,  # (2)
    exclusionRules: ResourceStateUpdateExclusionRulesTypeDef = ...,  # (3)
    updateAt: TimestampTypeDef = ...,
) -> StartResourceStateUpdateResponseTypeDef:  # (4)
    ...
  1. See ResourceStateTypeDef
  2. See ResourceStateUpdateIncludeResourcesTypeDef
  3. See ResourceStateUpdateExclusionRulesTypeDef
  4. See StartResourceStateUpdateResponseTypeDef
# start_resource_state_update method usage example with argument unpacking

kwargs: StartResourceStateUpdateRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "state": ...,
    "clientToken": ...,
}

parent.start_resource_state_update(**kwargs)
  1. See StartResourceStateUpdateRequestRequestTypeDef

tag_resource#

Adds a tag to a resource.

Type annotations and code completion for boto3.client("imagebuilder").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes a tag from a resource.

Type annotations and code completion for boto3.client("imagebuilder").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_distribution_configuration#

Updates a new distribution configuration.

Type annotations and code completion for boto3.client("imagebuilder").update_distribution_configuration method. boto3 documentation

# update_distribution_configuration method definition

def update_distribution_configuration(
    self,
    *,
    distributionConfigurationArn: str,
    distributions: Sequence[DistributionTypeDef],  # (1)
    clientToken: str,
    description: str = ...,
) -> UpdateDistributionConfigurationResponseTypeDef:  # (2)
    ...
  1. See DistributionTypeDef
  2. See UpdateDistributionConfigurationResponseTypeDef
# update_distribution_configuration method usage example with argument unpacking

kwargs: UpdateDistributionConfigurationRequestRequestTypeDef = {  # (1)
    "distributionConfigurationArn": ...,
    "distributions": ...,
    "clientToken": ...,
}

parent.update_distribution_configuration(**kwargs)
  1. See UpdateDistributionConfigurationRequestRequestTypeDef

update_image_pipeline#

Updates an image pipeline.

Type annotations and code completion for boto3.client("imagebuilder").update_image_pipeline method. boto3 documentation

# update_image_pipeline method definition

def update_image_pipeline(
    self,
    *,
    imagePipelineArn: str,
    infrastructureConfigurationArn: str,
    clientToken: str,
    description: str = ...,
    imageRecipeArn: str = ...,
    containerRecipeArn: str = ...,
    distributionConfigurationArn: str = ...,
    imageTestsConfiguration: ImageTestsConfigurationTypeDef = ...,  # (1)
    enhancedImageMetadataEnabled: bool = ...,
    schedule: ScheduleTypeDef = ...,  # (2)
    status: PipelineStatusType = ...,  # (3)
    imageScanningConfiguration: ImageScanningConfigurationTypeDef = ...,  # (4)
    workflows: Sequence[WorkflowConfigurationTypeDef] = ...,  # (5)
    executionRole: str = ...,
) -> UpdateImagePipelineResponseTypeDef:  # (6)
    ...
  1. See ImageTestsConfigurationTypeDef
  2. See ScheduleTypeDef
  3. See PipelineStatusType
  4. See ImageScanningConfigurationTypeDef
  5. See WorkflowConfigurationTypeDef
  6. See UpdateImagePipelineResponseTypeDef
# update_image_pipeline method usage example with argument unpacking

kwargs: UpdateImagePipelineRequestRequestTypeDef = {  # (1)
    "imagePipelineArn": ...,
    "infrastructureConfigurationArn": ...,
    "clientToken": ...,
}

parent.update_image_pipeline(**kwargs)
  1. See UpdateImagePipelineRequestRequestTypeDef

update_infrastructure_configuration#

Updates a new infrastructure configuration.

Type annotations and code completion for boto3.client("imagebuilder").update_infrastructure_configuration method. boto3 documentation

# update_infrastructure_configuration method definition

def update_infrastructure_configuration(
    self,
    *,
    infrastructureConfigurationArn: str,
    instanceProfileName: str,
    clientToken: str,
    description: str = ...,
    instanceTypes: Sequence[str] = ...,
    securityGroupIds: Sequence[str] = ...,
    subnetId: str = ...,
    logging: LoggingTypeDef = ...,  # (1)
    keyPair: str = ...,
    terminateInstanceOnFailure: bool = ...,
    snsTopicArn: str = ...,
    resourceTags: Mapping[str, str] = ...,
    instanceMetadataOptions: InstanceMetadataOptionsTypeDef = ...,  # (2)
    placement: PlacementTypeDef = ...,  # (3)
) -> UpdateInfrastructureConfigurationResponseTypeDef:  # (4)
    ...
  1. See LoggingTypeDef
  2. See InstanceMetadataOptionsTypeDef
  3. See PlacementTypeDef
  4. See UpdateInfrastructureConfigurationResponseTypeDef
# update_infrastructure_configuration method usage example with argument unpacking

kwargs: UpdateInfrastructureConfigurationRequestRequestTypeDef = {  # (1)
    "infrastructureConfigurationArn": ...,
    "instanceProfileName": ...,
    "clientToken": ...,
}

parent.update_infrastructure_configuration(**kwargs)
  1. See UpdateInfrastructureConfigurationRequestRequestTypeDef

update_lifecycle_policy#

Update the specified lifecycle policy.

Type annotations and code completion for boto3.client("imagebuilder").update_lifecycle_policy method. boto3 documentation

# update_lifecycle_policy method definition

def update_lifecycle_policy(
    self,
    *,
    lifecyclePolicyArn: str,
    executionRole: str,
    resourceType: LifecyclePolicyResourceTypeType,  # (1)
    policyDetails: Sequence[LifecyclePolicyDetailTypeDef],  # (2)
    resourceSelection: LifecyclePolicyResourceSelectionTypeDef,  # (3)
    clientToken: str,
    description: str = ...,
    status: LifecyclePolicyStatusType = ...,  # (4)
) -> UpdateLifecyclePolicyResponseTypeDef:  # (5)
    ...
  1. See LifecyclePolicyResourceTypeType
  2. See LifecyclePolicyDetailTypeDef
  3. See LifecyclePolicyResourceSelectionTypeDef
  4. See LifecyclePolicyStatusType
  5. See UpdateLifecyclePolicyResponseTypeDef
# update_lifecycle_policy method usage example with argument unpacking

kwargs: UpdateLifecyclePolicyRequestRequestTypeDef = {  # (1)
    "lifecyclePolicyArn": ...,
    "executionRole": ...,
    "resourceType": ...,
    "policyDetails": ...,
    "resourceSelection": ...,
    "clientToken": ...,
}

parent.update_lifecycle_policy(**kwargs)
  1. See UpdateLifecyclePolicyRequestRequestTypeDef