ImageBuilderClient

Struct ImageBuilderClient 

Source
pub struct ImageBuilderClient { /* private fields */ }
Expand description

A client for the imagebuilder API.

Implementations§

Source§

impl ImageBuilderClient

Source

pub fn new(region: Region) -> ImageBuilderClient

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

Source

pub fn new_with<P, D>( request_dispatcher: D, credentials_provider: P, region: Region, ) -> ImageBuilderClient
where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static,

Source

pub fn new_with_client(client: Client, region: Region) -> ImageBuilderClient

Trait Implementations§

Source§

impl Clone for ImageBuilderClient

Source§

fn clone(&self) -> ImageBuilderClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ImageBuilder for ImageBuilderClient

Source§

fn cancel_image_creation<'life0, 'async_trait>( &'life0 self, input: CancelImageCreationRequest, ) -> Pin<Box<dyn Future<Output = Result<CancelImageCreationResponse, RusotoError<CancelImageCreationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn create_component<'life0, 'async_trait>( &'life0 self, input: CreateComponentRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateComponentResponse, RusotoError<CreateComponentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn create_distribution_configuration<'life0, 'async_trait>( &'life0 self, input: CreateDistributionConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDistributionConfigurationResponse, RusotoError<CreateDistributionConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn create_image<'life0, 'async_trait>( &'life0 self, input: CreateImageRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateImageResponse, RusotoError<CreateImageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.

Source§

fn create_image_pipeline<'life0, 'async_trait>( &'life0 self, input: CreateImagePipelineRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateImagePipelineResponse, RusotoError<CreateImagePipelineError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn create_image_recipe<'life0, 'async_trait>( &'life0 self, input: CreateImageRecipeRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateImageRecipeResponse, RusotoError<CreateImageRecipeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn create_infrastructure_configuration<'life0, 'async_trait>( &'life0 self, input: CreateInfrastructureConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateInfrastructureConfigurationResponse, RusotoError<CreateInfrastructureConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn delete_component<'life0, 'async_trait>( &'life0 self, input: DeleteComponentRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteComponentResponse, RusotoError<DeleteComponentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a component build version.

Source§

fn delete_distribution_configuration<'life0, 'async_trait>( &'life0 self, input: DeleteDistributionConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteDistributionConfigurationResponse, RusotoError<DeleteDistributionConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes a distribution configuration.

Source§

fn delete_image<'life0, 'async_trait>( &'life0 self, input: DeleteImageRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteImageResponse, RusotoError<DeleteImageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an image.

Source§

fn delete_image_pipeline<'life0, 'async_trait>( &'life0 self, input: DeleteImagePipelineRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteImagePipelineResponse, RusotoError<DeleteImagePipelineError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an image pipeline.

Source§

fn delete_image_recipe<'life0, 'async_trait>( &'life0 self, input: DeleteImageRecipeRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteImageRecipeResponse, RusotoError<DeleteImageRecipeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an image recipe.

Source§

fn delete_infrastructure_configuration<'life0, 'async_trait>( &'life0 self, input: DeleteInfrastructureConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteInfrastructureConfigurationResponse, RusotoError<DeleteInfrastructureConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an infrastructure configuration.

Source§

fn get_component<'life0, 'async_trait>( &'life0 self, input: GetComponentRequest, ) -> Pin<Box<dyn Future<Output = Result<GetComponentResponse, RusotoError<GetComponentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a component object.

Source§

fn get_component_policy<'life0, 'async_trait>( &'life0 self, input: GetComponentPolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<GetComponentPolicyResponse, RusotoError<GetComponentPolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a component policy.

Source§

fn get_distribution_configuration<'life0, 'async_trait>( &'life0 self, input: GetDistributionConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<GetDistributionConfigurationResponse, RusotoError<GetDistributionConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets a distribution configuration.

Source§

fn get_image<'life0, 'async_trait>( &'life0 self, input: GetImageRequest, ) -> Pin<Box<dyn Future<Output = Result<GetImageResponse, RusotoError<GetImageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an image.

Source§

fn get_image_pipeline<'life0, 'async_trait>( &'life0 self, input: GetImagePipelineRequest, ) -> Pin<Box<dyn Future<Output = Result<GetImagePipelineResponse, RusotoError<GetImagePipelineError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an image pipeline.

Source§

fn get_image_policy<'life0, 'async_trait>( &'life0 self, input: GetImagePolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<GetImagePolicyResponse, RusotoError<GetImagePolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an image policy.

Source§

fn get_image_recipe<'life0, 'async_trait>( &'life0 self, input: GetImageRecipeRequest, ) -> Pin<Box<dyn Future<Output = Result<GetImageRecipeResponse, RusotoError<GetImageRecipeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an image recipe.

Source§

fn get_image_recipe_policy<'life0, 'async_trait>( &'life0 self, input: GetImageRecipePolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<GetImageRecipePolicyResponse, RusotoError<GetImageRecipePolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an image recipe policy.

Source§

fn get_infrastructure_configuration<'life0, 'async_trait>( &'life0 self, input: GetInfrastructureConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<GetInfrastructureConfigurationResponse, RusotoError<GetInfrastructureConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets an infrastructure configuration.

Source§

fn import_component<'life0, 'async_trait>( &'life0 self, input: ImportComponentRequest, ) -> Pin<Box<dyn Future<Output = Result<ImportComponentResponse, RusotoError<ImportComponentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn list_component_build_versions<'life0, 'async_trait>( &'life0 self, input: ListComponentBuildVersionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListComponentBuildVersionsResponse, RusotoError<ListComponentBuildVersionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn list_components<'life0, 'async_trait>( &'life0 self, input: ListComponentsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListComponentsResponse, RusotoError<ListComponentsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn list_distribution_configurations<'life0, 'async_trait>( &'life0 self, input: ListDistributionConfigurationsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDistributionConfigurationsResponse, RusotoError<ListDistributionConfigurationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of distribution configurations.

Source§

fn list_image_build_versions<'life0, 'async_trait>( &'life0 self, input: ListImageBuildVersionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListImageBuildVersionsResponse, RusotoError<ListImageBuildVersionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of image build versions.

Source§

fn list_image_pipeline_images<'life0, 'async_trait>( &'life0 self, input: ListImagePipelineImagesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListImagePipelineImagesResponse, RusotoError<ListImagePipelineImagesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of images created by the specified pipeline.

Source§

fn list_image_pipelines<'life0, 'async_trait>( &'life0 self, input: ListImagePipelinesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListImagePipelinesResponse, RusotoError<ListImagePipelinesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of image pipelines.

Source§

fn list_image_recipes<'life0, 'async_trait>( &'life0 self, input: ListImageRecipesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListImageRecipesResponse, RusotoError<ListImageRecipesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of image recipes.

Source§

fn list_images<'life0, 'async_trait>( &'life0 self, input: ListImagesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListImagesResponse, RusotoError<ListImagesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the list of images that you have access to.

Source§

fn list_infrastructure_configurations<'life0, 'async_trait>( &'life0 self, input: ListInfrastructureConfigurationsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListInfrastructureConfigurationsResponse, RusotoError<ListInfrastructureConfigurationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of infrastructure configurations.

Source§

fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns the list of tags for the specified resource.

Source§

fn put_component_policy<'life0, 'async_trait>( &'life0 self, input: PutComponentPolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<PutComponentPolicyResponse, RusotoError<PutComponentPolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

Source§

fn put_image_policy<'life0, 'async_trait>( &'life0 self, input: PutImagePolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<PutImagePolicyResponse, RusotoError<PutImagePolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

Source§

fn put_image_recipe_policy<'life0, 'async_trait>( &'life0 self, input: PutImageRecipePolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<PutImageRecipePolicyResponse, RusotoError<PutImageRecipePolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

Source§

fn start_image_pipeline_execution<'life0, 'async_trait>( &'life0 self, input: StartImagePipelineExecutionRequest, ) -> Pin<Box<dyn Future<Output = Result<StartImagePipelineExecutionResponse, RusotoError<StartImagePipelineExecutionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Manually triggers a pipeline to create an image.

Source§

fn tag_resource<'life0, 'async_trait>( &'life0 self, input: TagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Adds a tag to a resource.

Source§

fn untag_resource<'life0, 'async_trait>( &'life0 self, input: UntagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Removes a tag from a resource.

Source§

fn update_distribution_configuration<'life0, 'async_trait>( &'life0 self, input: UpdateDistributionConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateDistributionConfigurationResponse, RusotoError<UpdateDistributionConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn update_image_pipeline<'life0, 'async_trait>( &'life0 self, input: UpdateImagePipelineRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateImagePipelineResponse, RusotoError<UpdateImagePipelineError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Source§

fn update_infrastructure_configuration<'life0, 'async_trait>( &'life0 self, input: UpdateInfrastructureConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateInfrastructureConfigurationResponse, RusotoError<UpdateInfrastructureConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more