ImagebuilderClient#
Index > Imagebuilder > ImagebuilderClient
Auto-generated documentation for Imagebuilder type annotations stubs module mypy-boto3-imagebuilder.
ImagebuilderClient#
Type annotations and code completion for boto3.client("imagebuilder")
.
boto3 documentation
# ImagebuilderClient usage example
from boto3.session import Session
from mypy_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 mypy_boto3_imagebuilder.client import Exceptions
def handle_error(exc: Exceptions.CallRateLimitExceededException) -> None:
...
Methods#
can_paginate#
Check if an operation can be paginated.
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:
...
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)
...
# cancel_image_creation method usage example with argument unpacking
kwargs: CancelImageCreationRequestRequestTypeDef = { # (1)
"imageBuildVersionArn": ...,
"clientToken": ...,
}
parent.cancel_image_creation(**kwargs)
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)
...
# cancel_lifecycle_execution method usage example with argument unpacking
kwargs: CancelLifecycleExecutionRequestRequestTypeDef = { # (1)
"lifecycleExecutionId": ...,
"clientToken": ...,
}
parent.cancel_lifecycle_execution(**kwargs)
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("imagebuilder").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
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)
...
# create_component method usage example with argument unpacking
kwargs: CreateComponentRequestRequestTypeDef = { # (1)
"name": ...,
"semanticVersion": ...,
"platform": ...,
"clientToken": ...,
}
parent.create_component(**kwargs)
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)
...
- See ContainerTypeType
- See ComponentConfigurationTypeDef ComponentConfigurationOutputTypeDef
- See TargetContainerRepositoryTypeDef
- See InstanceConfigurationTypeDef
- See PlatformType
- 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)
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)
...
- See DistributionTypeDef DistributionOutputTypeDef
- See CreateDistributionConfigurationResponseTypeDef
# create_distribution_configuration method usage example with argument unpacking
kwargs: CreateDistributionConfigurationRequestRequestTypeDef = { # (1)
"name": ...,
"distributions": ...,
"clientToken": ...,
}
parent.create_distribution_configuration(**kwargs)
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)
...
- See ImageTestsConfigurationTypeDef
- See ImageScanningConfigurationTypeDef
- See WorkflowConfigurationTypeDef WorkflowConfigurationOutputTypeDef
- See CreateImageResponseTypeDef
# create_image method usage example with argument unpacking
kwargs: CreateImageRequestRequestTypeDef = { # (1)
"infrastructureConfigurationArn": ...,
"clientToken": ...,
}
parent.create_image(**kwargs)
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)
...
- See ImageTestsConfigurationTypeDef
- See ScheduleTypeDef
- See PipelineStatusType
- See ImageScanningConfigurationTypeDef
- See WorkflowConfigurationTypeDef
- See CreateImagePipelineResponseTypeDef
# create_image_pipeline method usage example with argument unpacking
kwargs: CreateImagePipelineRequestRequestTypeDef = { # (1)
"name": ...,
"infrastructureConfigurationArn": ...,
"clientToken": ...,
}
parent.create_image_pipeline(**kwargs)
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)
...
- See ComponentConfigurationTypeDef
- See InstanceBlockDeviceMappingTypeDef
- See AdditionalInstanceConfigurationTypeDef
- See CreateImageRecipeResponseTypeDef
# create_image_recipe method usage example with argument unpacking
kwargs: CreateImageRecipeRequestRequestTypeDef = { # (1)
"name": ...,
"semanticVersion": ...,
"components": ...,
"parentImage": ...,
"clientToken": ...,
}
parent.create_image_recipe(**kwargs)
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)
...
- See LoggingTypeDef
- See InstanceMetadataOptionsTypeDef
- See PlacementTypeDef
- See CreateInfrastructureConfigurationResponseTypeDef
# create_infrastructure_configuration method usage example with argument unpacking
kwargs: CreateInfrastructureConfigurationRequestRequestTypeDef = { # (1)
"name": ...,
"instanceProfileName": ...,
"clientToken": ...,
}
parent.create_infrastructure_configuration(**kwargs)
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)
...
- See LifecyclePolicyResourceTypeType
- See LifecyclePolicyDetailTypeDef LifecyclePolicyDetailOutputTypeDef
- See LifecyclePolicyResourceSelectionTypeDef
- See LifecyclePolicyStatusType
- 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)
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)
...
# create_workflow method usage example with argument unpacking
kwargs: CreateWorkflowRequestRequestTypeDef = { # (1)
"name": ...,
"semanticVersion": ...,
"clientToken": ...,
"type": ...,
}
parent.create_workflow(**kwargs)
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)
...
# delete_component method usage example with argument unpacking
kwargs: DeleteComponentRequestRequestTypeDef = { # (1)
"componentBuildVersionArn": ...,
}
parent.delete_component(**kwargs)
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)
...
# delete_container_recipe method usage example with argument unpacking
kwargs: DeleteContainerRecipeRequestRequestTypeDef = { # (1)
"containerRecipeArn": ...,
}
parent.delete_container_recipe(**kwargs)
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)
...
# delete_distribution_configuration method usage example with argument unpacking
kwargs: DeleteDistributionConfigurationRequestRequestTypeDef = { # (1)
"distributionConfigurationArn": ...,
}
parent.delete_distribution_configuration(**kwargs)
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)
...
# delete_image method usage example with argument unpacking
kwargs: DeleteImageRequestRequestTypeDef = { # (1)
"imageBuildVersionArn": ...,
}
parent.delete_image(**kwargs)
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)
...
# delete_image_pipeline method usage example with argument unpacking
kwargs: DeleteImagePipelineRequestRequestTypeDef = { # (1)
"imagePipelineArn": ...,
}
parent.delete_image_pipeline(**kwargs)
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)
...
# delete_image_recipe method usage example with argument unpacking
kwargs: DeleteImageRecipeRequestRequestTypeDef = { # (1)
"imageRecipeArn": ...,
}
parent.delete_image_recipe(**kwargs)
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)
...
# delete_infrastructure_configuration method usage example with argument unpacking
kwargs: DeleteInfrastructureConfigurationRequestRequestTypeDef = { # (1)
"infrastructureConfigurationArn": ...,
}
parent.delete_infrastructure_configuration(**kwargs)
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)
...
# delete_lifecycle_policy method usage example with argument unpacking
kwargs: DeleteLifecyclePolicyRequestRequestTypeDef = { # (1)
"lifecyclePolicyArn": ...,
}
parent.delete_lifecycle_policy(**kwargs)
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)
...
# delete_workflow method usage example with argument unpacking
kwargs: DeleteWorkflowRequestRequestTypeDef = { # (1)
"workflowBuildVersionArn": ...,
}
parent.delete_workflow(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
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:
...
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)
...
# get_component method usage example with argument unpacking
kwargs: GetComponentRequestRequestTypeDef = { # (1)
"componentBuildVersionArn": ...,
}
parent.get_component(**kwargs)
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)
...
# get_component_policy method usage example with argument unpacking
kwargs: GetComponentPolicyRequestRequestTypeDef = { # (1)
"componentArn": ...,
}
parent.get_component_policy(**kwargs)
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)
...
# get_container_recipe method usage example with argument unpacking
kwargs: GetContainerRecipeRequestRequestTypeDef = { # (1)
"containerRecipeArn": ...,
}
parent.get_container_recipe(**kwargs)
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)
...
# get_container_recipe_policy method usage example with argument unpacking
kwargs: GetContainerRecipePolicyRequestRequestTypeDef = { # (1)
"containerRecipeArn": ...,
}
parent.get_container_recipe_policy(**kwargs)
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)
...
# get_distribution_configuration method usage example with argument unpacking
kwargs: GetDistributionConfigurationRequestRequestTypeDef = { # (1)
"distributionConfigurationArn": ...,
}
parent.get_distribution_configuration(**kwargs)
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)
...
# get_image method usage example with argument unpacking
kwargs: GetImageRequestRequestTypeDef = { # (1)
"imageBuildVersionArn": ...,
}
parent.get_image(**kwargs)
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)
...
# get_image_pipeline method usage example with argument unpacking
kwargs: GetImagePipelineRequestRequestTypeDef = { # (1)
"imagePipelineArn": ...,
}
parent.get_image_pipeline(**kwargs)
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)
...
# get_image_policy method usage example with argument unpacking
kwargs: GetImagePolicyRequestRequestTypeDef = { # (1)
"imageArn": ...,
}
parent.get_image_policy(**kwargs)
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)
...
# get_image_recipe method usage example with argument unpacking
kwargs: GetImageRecipeRequestRequestTypeDef = { # (1)
"imageRecipeArn": ...,
}
parent.get_image_recipe(**kwargs)
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)
...
# get_image_recipe_policy method usage example with argument unpacking
kwargs: GetImageRecipePolicyRequestRequestTypeDef = { # (1)
"imageRecipeArn": ...,
}
parent.get_image_recipe_policy(**kwargs)
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)
...
# get_infrastructure_configuration method usage example with argument unpacking
kwargs: GetInfrastructureConfigurationRequestRequestTypeDef = { # (1)
"infrastructureConfigurationArn": ...,
}
parent.get_infrastructure_configuration(**kwargs)
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)
...
# get_lifecycle_execution method usage example with argument unpacking
kwargs: GetLifecycleExecutionRequestRequestTypeDef = { # (1)
"lifecycleExecutionId": ...,
}
parent.get_lifecycle_execution(**kwargs)
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)
...
# get_lifecycle_policy method usage example with argument unpacking
kwargs: GetLifecyclePolicyRequestRequestTypeDef = { # (1)
"lifecyclePolicyArn": ...,
}
parent.get_lifecycle_policy(**kwargs)
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)
...
# get_workflow method usage example with argument unpacking
kwargs: GetWorkflowRequestRequestTypeDef = { # (1)
"workflowBuildVersionArn": ...,
}
parent.get_workflow(**kwargs)
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)
...
# get_workflow_execution method usage example with argument unpacking
kwargs: GetWorkflowExecutionRequestRequestTypeDef = { # (1)
"workflowExecutionId": ...,
}
parent.get_workflow_execution(**kwargs)
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)
...
# get_workflow_step_execution method usage example with argument unpacking
kwargs: GetWorkflowStepExecutionRequestRequestTypeDef = { # (1)
"stepExecutionId": ...,
}
parent.get_workflow_step_execution(**kwargs)
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)
...
# import_component method usage example with argument unpacking
kwargs: ImportComponentRequestRequestTypeDef = { # (1)
"name": ...,
"semanticVersion": ...,
"type": ...,
"format": ...,
"platform": ...,
"clientToken": ...,
}
parent.import_component(**kwargs)
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)
...
# import_vm_image method usage example with argument unpacking
kwargs: ImportVmImageRequestRequestTypeDef = { # (1)
"name": ...,
"semanticVersion": ...,
"platform": ...,
"vmImportTaskId": ...,
"clientToken": ...,
}
parent.import_vm_image(**kwargs)
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)
...
# list_component_build_versions method usage example with argument unpacking
kwargs: ListComponentBuildVersionsRequestRequestTypeDef = { # (1)
"componentVersionArn": ...,
}
parent.list_component_build_versions(**kwargs)
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)
...
- See OwnershipType
- See FilterTypeDef
- See ListComponentsResponseTypeDef
# list_components method usage example with argument unpacking
kwargs: ListComponentsRequestRequestTypeDef = { # (1)
"owner": ...,
}
parent.list_components(**kwargs)
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)
...
# list_container_recipes method usage example with argument unpacking
kwargs: ListContainerRecipesRequestRequestTypeDef = { # (1)
"owner": ...,
}
parent.list_container_recipes(**kwargs)
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)
...
# list_distribution_configurations method usage example with argument unpacking
kwargs: ListDistributionConfigurationsRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_distribution_configurations(**kwargs)
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)
...
# list_image_build_versions method usage example with argument unpacking
kwargs: ListImageBuildVersionsRequestRequestTypeDef = { # (1)
"imageVersionArn": ...,
}
parent.list_image_build_versions(**kwargs)
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)
...
# list_image_packages method usage example with argument unpacking
kwargs: ListImagePackagesRequestRequestTypeDef = { # (1)
"imageBuildVersionArn": ...,
}
parent.list_image_packages(**kwargs)
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)
...
# list_image_pipeline_images method usage example with argument unpacking
kwargs: ListImagePipelineImagesRequestRequestTypeDef = { # (1)
"imagePipelineArn": ...,
}
parent.list_image_pipeline_images(**kwargs)
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)
...
# list_image_pipelines method usage example with argument unpacking
kwargs: ListImagePipelinesRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_image_pipelines(**kwargs)
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)
...
# list_image_recipes method usage example with argument unpacking
kwargs: ListImageRecipesRequestRequestTypeDef = { # (1)
"owner": ...,
}
parent.list_image_recipes(**kwargs)
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)
...
# list_image_scan_finding_aggregations method usage example with argument unpacking
kwargs: ListImageScanFindingAggregationsRequestRequestTypeDef = { # (1)
"filter": ...,
}
parent.list_image_scan_finding_aggregations(**kwargs)
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)
...
# list_image_scan_findings method usage example with argument unpacking
kwargs: ListImageScanFindingsRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_image_scan_findings(**kwargs)
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)
...
- See OwnershipType
- See FilterTypeDef
- See ListImagesResponseTypeDef
# list_images method usage example with argument unpacking
kwargs: ListImagesRequestRequestTypeDef = { # (1)
"owner": ...,
}
parent.list_images(**kwargs)
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)
...
# list_infrastructure_configurations method usage example with argument unpacking
kwargs: ListInfrastructureConfigurationsRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_infrastructure_configurations(**kwargs)
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)
...
# list_lifecycle_execution_resources method usage example with argument unpacking
kwargs: ListLifecycleExecutionResourcesRequestRequestTypeDef = { # (1)
"lifecycleExecutionId": ...,
}
parent.list_lifecycle_execution_resources(**kwargs)
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)
...
# list_lifecycle_executions method usage example with argument unpacking
kwargs: ListLifecycleExecutionsRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_lifecycle_executions(**kwargs)
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)
...
# list_lifecycle_policies method usage example with argument unpacking
kwargs: ListLifecyclePoliciesRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_lifecycle_policies(**kwargs)
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)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
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)
...
# list_waiting_workflow_steps method usage example with argument unpacking
kwargs: ListWaitingWorkflowStepsRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_waiting_workflow_steps(**kwargs)
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)
...
# list_workflow_build_versions method usage example with argument unpacking
kwargs: ListWorkflowBuildVersionsRequestRequestTypeDef = { # (1)
"workflowVersionArn": ...,
}
parent.list_workflow_build_versions(**kwargs)
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)
...
# list_workflow_executions method usage example with argument unpacking
kwargs: ListWorkflowExecutionsRequestRequestTypeDef = { # (1)
"imageBuildVersionArn": ...,
}
parent.list_workflow_executions(**kwargs)
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)
...
# list_workflow_step_executions method usage example with argument unpacking
kwargs: ListWorkflowStepExecutionsRequestRequestTypeDef = { # (1)
"workflowExecutionId": ...,
}
parent.list_workflow_step_executions(**kwargs)
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)
...
- See OwnershipType
- See FilterTypeDef
- See ListWorkflowsResponseTypeDef
# list_workflows method usage example with argument unpacking
kwargs: ListWorkflowsRequestRequestTypeDef = { # (1)
"owner": ...,
}
parent.list_workflows(**kwargs)
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)
...
# put_component_policy method usage example with argument unpacking
kwargs: PutComponentPolicyRequestRequestTypeDef = { # (1)
"componentArn": ...,
"policy": ...,
}
parent.put_component_policy(**kwargs)
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)
...
# put_container_recipe_policy method usage example with argument unpacking
kwargs: PutContainerRecipePolicyRequestRequestTypeDef = { # (1)
"containerRecipeArn": ...,
"policy": ...,
}
parent.put_container_recipe_policy(**kwargs)
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)
...
# put_image_policy method usage example with argument unpacking
kwargs: PutImagePolicyRequestRequestTypeDef = { # (1)
"imageArn": ...,
"policy": ...,
}
parent.put_image_policy(**kwargs)
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)
...
# put_image_recipe_policy method usage example with argument unpacking
kwargs: PutImageRecipePolicyRequestRequestTypeDef = { # (1)
"imageRecipeArn": ...,
"policy": ...,
}
parent.put_image_recipe_policy(**kwargs)
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)
...
# send_workflow_step_action method usage example with argument unpacking
kwargs: SendWorkflowStepActionRequestRequestTypeDef = { # (1)
"stepExecutionId": ...,
"imageBuildVersionArn": ...,
"action": ...,
"clientToken": ...,
}
parent.send_workflow_step_action(**kwargs)
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)
...
# start_image_pipeline_execution method usage example with argument unpacking
kwargs: StartImagePipelineExecutionRequestRequestTypeDef = { # (1)
"imagePipelineArn": ...,
"clientToken": ...,
}
parent.start_image_pipeline_execution(**kwargs)
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)
...
- See ResourceStateTypeDef
- See ResourceStateUpdateIncludeResourcesTypeDef
- See ResourceStateUpdateExclusionRulesTypeDef
- See StartResourceStateUpdateResponseTypeDef
# start_resource_state_update method usage example with argument unpacking
kwargs: StartResourceStateUpdateRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"state": ...,
"clientToken": ...,
}
parent.start_resource_state_update(**kwargs)
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)
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)
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)
...
# update_distribution_configuration method usage example with argument unpacking
kwargs: UpdateDistributionConfigurationRequestRequestTypeDef = { # (1)
"distributionConfigurationArn": ...,
"distributions": ...,
"clientToken": ...,
}
parent.update_distribution_configuration(**kwargs)
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)
...
- See ImageTestsConfigurationTypeDef
- See ScheduleTypeDef
- See PipelineStatusType
- See ImageScanningConfigurationTypeDef
- See WorkflowConfigurationTypeDef
- See UpdateImagePipelineResponseTypeDef
# update_image_pipeline method usage example with argument unpacking
kwargs: UpdateImagePipelineRequestRequestTypeDef = { # (1)
"imagePipelineArn": ...,
"infrastructureConfigurationArn": ...,
"clientToken": ...,
}
parent.update_image_pipeline(**kwargs)
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)
...
- See LoggingTypeDef
- See InstanceMetadataOptionsTypeDef
- See PlacementTypeDef
- See UpdateInfrastructureConfigurationResponseTypeDef
# update_infrastructure_configuration method usage example with argument unpacking
kwargs: UpdateInfrastructureConfigurationRequestRequestTypeDef = { # (1)
"infrastructureConfigurationArn": ...,
"instanceProfileName": ...,
"clientToken": ...,
}
parent.update_infrastructure_configuration(**kwargs)
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)
...
- See LifecyclePolicyResourceTypeType
- See LifecyclePolicyDetailTypeDef
- See LifecyclePolicyResourceSelectionTypeDef
- See LifecyclePolicyStatusType
- 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)