Interface ImagebuilderAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date "golden" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aImagebuilderAsyncClient
.cancelImageCreation
(Consumer<CancelImageCreationRequest.Builder> cancelImageCreationRequest) CancelImageCreation cancels the creation of Image.cancelImageCreation
(CancelImageCreationRequest cancelImageCreationRequest) CancelImageCreation cancels the creation of Image.cancelLifecycleExecution
(Consumer<CancelLifecycleExecutionRequest.Builder> cancelLifecycleExecutionRequest) Cancel a specific image lifecycle policy runtime instance.cancelLifecycleExecution
(CancelLifecycleExecutionRequest cancelLifecycleExecutionRequest) Cancel a specific image lifecycle policy runtime instance.static ImagebuilderAsyncClient
create()
Create aImagebuilderAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateComponentResponse> createComponent
(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a new component that can be used to build, validate, test, and assess your image.default CompletableFuture
<CreateComponentResponse> createComponent
(CreateComponentRequest createComponentRequest) Creates a new component that can be used to build, validate, test, and assess your image.createContainerRecipe
(Consumer<CreateContainerRecipeRequest.Builder> createContainerRecipeRequest) Creates a new container recipe.createContainerRecipe
(CreateContainerRecipeRequest createContainerRecipeRequest) Creates a new container recipe.createDistributionConfiguration
(Consumer<CreateDistributionConfigurationRequest.Builder> createDistributionConfigurationRequest) Creates a new distribution configuration.createDistributionConfiguration
(CreateDistributionConfigurationRequest createDistributionConfigurationRequest) Creates a new distribution configuration.default CompletableFuture
<CreateImageResponse> createImage
(Consumer<CreateImageRequest.Builder> createImageRequest) Creates a new image.default CompletableFuture
<CreateImageResponse> createImage
(CreateImageRequest createImageRequest) Creates a new image.createImagePipeline
(Consumer<CreateImagePipelineRequest.Builder> createImagePipelineRequest) Creates a new image pipeline.createImagePipeline
(CreateImagePipelineRequest createImagePipelineRequest) Creates a new image pipeline.createImageRecipe
(Consumer<CreateImageRecipeRequest.Builder> createImageRecipeRequest) Creates a new image recipe.createImageRecipe
(CreateImageRecipeRequest createImageRecipeRequest) Creates a new image recipe.createInfrastructureConfiguration
(Consumer<CreateInfrastructureConfigurationRequest.Builder> createInfrastructureConfigurationRequest) Creates a new infrastructure configuration.createInfrastructureConfiguration
(CreateInfrastructureConfigurationRequest createInfrastructureConfigurationRequest) Creates a new infrastructure configuration.createLifecyclePolicy
(Consumer<CreateLifecyclePolicyRequest.Builder> createLifecyclePolicyRequest) Create a lifecycle policy resource.createLifecyclePolicy
(CreateLifecyclePolicyRequest createLifecyclePolicyRequest) Create a lifecycle policy resource.default CompletableFuture
<CreateWorkflowResponse> createWorkflow
(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest) Create a new workflow or a new version of an existing workflow.default CompletableFuture
<CreateWorkflowResponse> createWorkflow
(CreateWorkflowRequest createWorkflowRequest) Create a new workflow or a new version of an existing workflow.default CompletableFuture
<DeleteComponentResponse> deleteComponent
(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Deletes a component build version.default CompletableFuture
<DeleteComponentResponse> deleteComponent
(DeleteComponentRequest deleteComponentRequest) Deletes a component build version.deleteContainerRecipe
(Consumer<DeleteContainerRecipeRequest.Builder> deleteContainerRecipeRequest) Deletes a container recipe.deleteContainerRecipe
(DeleteContainerRecipeRequest deleteContainerRecipeRequest) Deletes a container recipe.deleteDistributionConfiguration
(Consumer<DeleteDistributionConfigurationRequest.Builder> deleteDistributionConfigurationRequest) Deletes a distribution configuration.deleteDistributionConfiguration
(DeleteDistributionConfigurationRequest deleteDistributionConfigurationRequest) Deletes a distribution configuration.default CompletableFuture
<DeleteImageResponse> deleteImage
(Consumer<DeleteImageRequest.Builder> deleteImageRequest) Deletes an Image Builder image resource.default CompletableFuture
<DeleteImageResponse> deleteImage
(DeleteImageRequest deleteImageRequest) Deletes an Image Builder image resource.deleteImagePipeline
(Consumer<DeleteImagePipelineRequest.Builder> deleteImagePipelineRequest) Deletes an image pipeline.deleteImagePipeline
(DeleteImagePipelineRequest deleteImagePipelineRequest) Deletes an image pipeline.deleteImageRecipe
(Consumer<DeleteImageRecipeRequest.Builder> deleteImageRecipeRequest) Deletes an image recipe.deleteImageRecipe
(DeleteImageRecipeRequest deleteImageRecipeRequest) Deletes an image recipe.deleteInfrastructureConfiguration
(Consumer<DeleteInfrastructureConfigurationRequest.Builder> deleteInfrastructureConfigurationRequest) Deletes an infrastructure configuration.deleteInfrastructureConfiguration
(DeleteInfrastructureConfigurationRequest deleteInfrastructureConfigurationRequest) Deletes an infrastructure configuration.deleteLifecyclePolicy
(Consumer<DeleteLifecyclePolicyRequest.Builder> deleteLifecyclePolicyRequest) Delete the specified lifecycle policy resource.deleteLifecyclePolicy
(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest) Delete the specified lifecycle policy resource.default CompletableFuture
<DeleteWorkflowResponse> deleteWorkflow
(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest) Deletes a specific workflow resource.default CompletableFuture
<DeleteWorkflowResponse> deleteWorkflow
(DeleteWorkflowRequest deleteWorkflowRequest) Deletes a specific workflow resource.default CompletableFuture
<GetComponentResponse> getComponent
(Consumer<GetComponentRequest.Builder> getComponentRequest) Gets a component object.default CompletableFuture
<GetComponentResponse> getComponent
(GetComponentRequest getComponentRequest) Gets a component object.getComponentPolicy
(Consumer<GetComponentPolicyRequest.Builder> getComponentPolicyRequest) Gets a component policy.getComponentPolicy
(GetComponentPolicyRequest getComponentPolicyRequest) Gets a component policy.getContainerRecipe
(Consumer<GetContainerRecipeRequest.Builder> getContainerRecipeRequest) Retrieves a container recipe.getContainerRecipe
(GetContainerRecipeRequest getContainerRecipeRequest) Retrieves a container recipe.getContainerRecipePolicy
(Consumer<GetContainerRecipePolicyRequest.Builder> getContainerRecipePolicyRequest) Retrieves the policy for a container recipe.getContainerRecipePolicy
(GetContainerRecipePolicyRequest getContainerRecipePolicyRequest) Retrieves the policy for a container recipe.getDistributionConfiguration
(Consumer<GetDistributionConfigurationRequest.Builder> getDistributionConfigurationRequest) Gets a distribution configuration.getDistributionConfiguration
(GetDistributionConfigurationRequest getDistributionConfigurationRequest) Gets a distribution configuration.default CompletableFuture
<GetImageResponse> getImage
(Consumer<GetImageRequest.Builder> getImageRequest) Gets an image.default CompletableFuture
<GetImageResponse> getImage
(GetImageRequest getImageRequest) Gets an image.getImagePipeline
(Consumer<GetImagePipelineRequest.Builder> getImagePipelineRequest) Gets an image pipeline.getImagePipeline
(GetImagePipelineRequest getImagePipelineRequest) Gets an image pipeline.default CompletableFuture
<GetImagePolicyResponse> getImagePolicy
(Consumer<GetImagePolicyRequest.Builder> getImagePolicyRequest) Gets an image policy.default CompletableFuture
<GetImagePolicyResponse> getImagePolicy
(GetImagePolicyRequest getImagePolicyRequest) Gets an image policy.default CompletableFuture
<GetImageRecipeResponse> getImageRecipe
(Consumer<GetImageRecipeRequest.Builder> getImageRecipeRequest) Gets an image recipe.default CompletableFuture
<GetImageRecipeResponse> getImageRecipe
(GetImageRecipeRequest getImageRecipeRequest) Gets an image recipe.getImageRecipePolicy
(Consumer<GetImageRecipePolicyRequest.Builder> getImageRecipePolicyRequest) Gets an image recipe policy.getImageRecipePolicy
(GetImageRecipePolicyRequest getImageRecipePolicyRequest) Gets an image recipe policy.getInfrastructureConfiguration
(Consumer<GetInfrastructureConfigurationRequest.Builder> getInfrastructureConfigurationRequest) Gets an infrastructure configuration.getInfrastructureConfiguration
(GetInfrastructureConfigurationRequest getInfrastructureConfigurationRequest) Gets an infrastructure configuration.getLifecycleExecution
(Consumer<GetLifecycleExecutionRequest.Builder> getLifecycleExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.getLifecycleExecution
(GetLifecycleExecutionRequest getLifecycleExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.getLifecyclePolicy
(Consumer<GetLifecyclePolicyRequest.Builder> getLifecyclePolicyRequest) Get details for the specified image lifecycle policy.getLifecyclePolicy
(GetLifecyclePolicyRequest getLifecyclePolicyRequest) Get details for the specified image lifecycle policy.default CompletableFuture
<GetWorkflowResponse> getWorkflow
(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Get a workflow resource object.default CompletableFuture
<GetWorkflowResponse> getWorkflow
(GetWorkflowRequest getWorkflowRequest) Get a workflow resource object.getWorkflowExecution
(Consumer<GetWorkflowExecutionRequest.Builder> getWorkflowExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow.getWorkflowExecution
(GetWorkflowExecutionRequest getWorkflowExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow.getWorkflowStepExecution
(Consumer<GetWorkflowStepExecutionRequest.Builder> getWorkflowStepExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow step.getWorkflowStepExecution
(GetWorkflowStepExecutionRequest getWorkflowStepExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow step.default CompletableFuture
<ImportComponentResponse> importComponent
(Consumer<ImportComponentRequest.Builder> importComponentRequest) Imports a component and transforms its data into a component document.default CompletableFuture
<ImportComponentResponse> importComponent
(ImportComponentRequest importComponentRequest) Imports a component and transforms its data into a component document.default CompletableFuture
<ImportVmImageResponse> importVmImage
(Consumer<ImportVmImageRequest.Builder> importVmImageRequest) 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.default CompletableFuture
<ImportVmImageResponse> importVmImage
(ImportVmImageRequest importVmImageRequest) 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.listComponentBuildVersions
(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) Returns the list of component build versions for the specified semantic version.listComponentBuildVersions
(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) Returns the list of component build versions for the specified semantic version.listComponentBuildVersionsPaginator
(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) This is a variant oflistComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation.listComponentBuildVersionsPaginator
(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) This is a variant oflistComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation.default CompletableFuture
<ListComponentsResponse> listComponents
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Returns the list of components that can be filtered by name, or by using the listedfilters
to streamline results.default CompletableFuture
<ListComponentsResponse> listComponents
(ListComponentsRequest listComponentsRequest) Returns the list of components that can be filtered by name, or by using the listedfilters
to streamline results.default ListComponentsPublisher
listComponentsPaginator
(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation.default ListComponentsPublisher
listComponentsPaginator
(ListComponentsRequest listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation.listContainerRecipes
(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) Returns a list of container recipes.listContainerRecipes
(ListContainerRecipesRequest listContainerRecipesRequest) Returns a list of container recipes.default ListContainerRecipesPublisher
listContainerRecipesPaginator
(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) This is a variant oflistContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation.default ListContainerRecipesPublisher
listContainerRecipesPaginator
(ListContainerRecipesRequest listContainerRecipesRequest) This is a variant oflistContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation.listDistributionConfigurations
(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) Returns a list of distribution configurations.listDistributionConfigurations
(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) Returns a list of distribution configurations.listDistributionConfigurationsPaginator
(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) This is a variant oflistDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation.listDistributionConfigurationsPaginator
(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) This is a variant oflistDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation.listImageBuildVersions
(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) Returns a list of image build versions.listImageBuildVersions
(ListImageBuildVersionsRequest listImageBuildVersionsRequest) Returns a list of image build versions.default ListImageBuildVersionsPublisher
listImageBuildVersionsPaginator
(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) This is a variant oflistImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation.default ListImageBuildVersionsPublisher
listImageBuildVersionsPaginator
(ListImageBuildVersionsRequest listImageBuildVersionsRequest) This is a variant oflistImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation.listImagePackages
(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.listImagePackages
(ListImagePackagesRequest listImagePackagesRequest) List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.default ListImagePackagesPublisher
listImagePackagesPaginator
(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) This is a variant oflistImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation.default ListImagePackagesPublisher
listImagePackagesPaginator
(ListImagePackagesRequest listImagePackagesRequest) This is a variant oflistImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation.listImagePipelineImages
(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) Returns a list of images created by the specified pipeline.listImagePipelineImages
(ListImagePipelineImagesRequest listImagePipelineImagesRequest) Returns a list of images created by the specified pipeline.default ListImagePipelineImagesPublisher
listImagePipelineImagesPaginator
(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) This is a variant oflistImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation.default ListImagePipelineImagesPublisher
listImagePipelineImagesPaginator
(ListImagePipelineImagesRequest listImagePipelineImagesRequest) This is a variant oflistImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation.listImagePipelines
(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) Returns a list of image pipelines.listImagePipelines
(ListImagePipelinesRequest listImagePipelinesRequest) Returns a list of image pipelines.default ListImagePipelinesPublisher
listImagePipelinesPaginator
(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) This is a variant oflistImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation.default ListImagePipelinesPublisher
listImagePipelinesPaginator
(ListImagePipelinesRequest listImagePipelinesRequest) This is a variant oflistImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation.listImageRecipes
(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) Returns a list of image recipes.listImageRecipes
(ListImageRecipesRequest listImageRecipesRequest) Returns a list of image recipes.default ListImageRecipesPublisher
listImageRecipesPaginator
(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) This is a variant oflistImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation.default ListImageRecipesPublisher
listImageRecipesPaginator
(ListImageRecipesRequest listImageRecipesRequest) This is a variant oflistImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation.default CompletableFuture
<ListImagesResponse> listImages
(Consumer<ListImagesRequest.Builder> listImagesRequest) Returns the list of images that you have access to.default CompletableFuture
<ListImagesResponse> listImages
(ListImagesRequest listImagesRequest) Returns the list of images that you have access to.listImageScanFindingAggregations
(Consumer<ListImageScanFindingAggregationsRequest.Builder> listImageScanFindingAggregationsRequest) Returns a list of image scan aggregations for your account.listImageScanFindingAggregations
(ListImageScanFindingAggregationsRequest listImageScanFindingAggregationsRequest) Returns a list of image scan aggregations for your account.listImageScanFindingAggregationsPaginator
(Consumer<ListImageScanFindingAggregationsRequest.Builder> listImageScanFindingAggregationsRequest) This is a variant oflistImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation.listImageScanFindingAggregationsPaginator
(ListImageScanFindingAggregationsRequest listImageScanFindingAggregationsRequest) This is a variant oflistImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation.listImageScanFindings
(Consumer<ListImageScanFindingsRequest.Builder> listImageScanFindingsRequest) Returns a list of image scan findings for your account.listImageScanFindings
(ListImageScanFindingsRequest listImageScanFindingsRequest) Returns a list of image scan findings for your account.default ListImageScanFindingsPublisher
listImageScanFindingsPaginator
(Consumer<ListImageScanFindingsRequest.Builder> listImageScanFindingsRequest) This is a variant oflistImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation.default ListImageScanFindingsPublisher
listImageScanFindingsPaginator
(ListImageScanFindingsRequest listImageScanFindingsRequest) This is a variant oflistImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation.default ListImagesPublisher
listImagesPaginator
(Consumer<ListImagesRequest.Builder> listImagesRequest) This is a variant oflistImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation.default ListImagesPublisher
listImagesPaginator
(ListImagesRequest listImagesRequest) This is a variant oflistImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation.listInfrastructureConfigurations
(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) Returns a list of infrastructure configurations.listInfrastructureConfigurations
(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) Returns a list of infrastructure configurations.listInfrastructureConfigurationsPaginator
(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) This is a variant oflistInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation.listInfrastructureConfigurationsPaginator
(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) This is a variant oflistInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation.listLifecycleExecutionResources
(Consumer<ListLifecycleExecutionResourcesRequest.Builder> listLifecycleExecutionResourcesRequest) List resources that the runtime instance of the image lifecycle identified for lifecycle actions.listLifecycleExecutionResources
(ListLifecycleExecutionResourcesRequest listLifecycleExecutionResourcesRequest) List resources that the runtime instance of the image lifecycle identified for lifecycle actions.listLifecycleExecutionResourcesPaginator
(Consumer<ListLifecycleExecutionResourcesRequest.Builder> listLifecycleExecutionResourcesRequest) This is a variant oflistLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation.listLifecycleExecutionResourcesPaginator
(ListLifecycleExecutionResourcesRequest listLifecycleExecutionResourcesRequest) This is a variant oflistLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation.listLifecycleExecutions
(Consumer<ListLifecycleExecutionsRequest.Builder> listLifecycleExecutionsRequest) Get the lifecycle runtime history for the specified resource.listLifecycleExecutions
(ListLifecycleExecutionsRequest listLifecycleExecutionsRequest) Get the lifecycle runtime history for the specified resource.default ListLifecycleExecutionsPublisher
listLifecycleExecutionsPaginator
(Consumer<ListLifecycleExecutionsRequest.Builder> listLifecycleExecutionsRequest) This is a variant oflistLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation.default ListLifecycleExecutionsPublisher
listLifecycleExecutionsPaginator
(ListLifecycleExecutionsRequest listLifecycleExecutionsRequest) This is a variant oflistLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation.listLifecyclePolicies
(Consumer<ListLifecyclePoliciesRequest.Builder> listLifecyclePoliciesRequest) Get a list of lifecycle policies in your Amazon Web Services account.listLifecyclePolicies
(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest) Get a list of lifecycle policies in your Amazon Web Services account.default ListLifecyclePoliciesPublisher
listLifecyclePoliciesPaginator
(Consumer<ListLifecyclePoliciesRequest.Builder> listLifecyclePoliciesRequest) This is a variant oflistLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation.default ListLifecyclePoliciesPublisher
listLifecyclePoliciesPaginator
(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest) This is a variant oflistLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the list of tags for the specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns the list of tags for the specified resource.listWaitingWorkflowSteps
(Consumer<ListWaitingWorkflowStepsRequest.Builder> listWaitingWorkflowStepsRequest) Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.listWaitingWorkflowSteps
(ListWaitingWorkflowStepsRequest listWaitingWorkflowStepsRequest) Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.listWaitingWorkflowStepsPaginator
(Consumer<ListWaitingWorkflowStepsRequest.Builder> listWaitingWorkflowStepsRequest) This is a variant oflistWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation.listWaitingWorkflowStepsPaginator
(ListWaitingWorkflowStepsRequest listWaitingWorkflowStepsRequest) This is a variant oflistWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation.listWorkflowBuildVersions
(Consumer<ListWorkflowBuildVersionsRequest.Builder> listWorkflowBuildVersionsRequest) Returns a list of build versions for a specific workflow resource.listWorkflowBuildVersions
(ListWorkflowBuildVersionsRequest listWorkflowBuildVersionsRequest) Returns a list of build versions for a specific workflow resource.listWorkflowBuildVersionsPaginator
(Consumer<ListWorkflowBuildVersionsRequest.Builder> listWorkflowBuildVersionsRequest) This is a variant oflistWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation.listWorkflowBuildVersionsPaginator
(ListWorkflowBuildVersionsRequest listWorkflowBuildVersionsRequest) This is a variant oflistWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation.listWorkflowExecutions
(Consumer<ListWorkflowExecutionsRequest.Builder> listWorkflowExecutionsRequest) Returns a list of workflow runtime instance metadata objects for a specific image build version.listWorkflowExecutions
(ListWorkflowExecutionsRequest listWorkflowExecutionsRequest) Returns a list of workflow runtime instance metadata objects for a specific image build version.default ListWorkflowExecutionsPublisher
listWorkflowExecutionsPaginator
(Consumer<ListWorkflowExecutionsRequest.Builder> listWorkflowExecutionsRequest) This is a variant oflistWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation.default ListWorkflowExecutionsPublisher
listWorkflowExecutionsPaginator
(ListWorkflowExecutionsRequest listWorkflowExecutionsRequest) This is a variant oflistWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation.default CompletableFuture
<ListWorkflowsResponse> listWorkflows
(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) Lists workflow build versions based on filtering parameters.default CompletableFuture
<ListWorkflowsResponse> listWorkflows
(ListWorkflowsRequest listWorkflowsRequest) Lists workflow build versions based on filtering parameters.default ListWorkflowsPublisher
listWorkflowsPaginator
(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation.default ListWorkflowsPublisher
listWorkflowsPaginator
(ListWorkflowsRequest listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation.listWorkflowStepExecutions
(Consumer<ListWorkflowStepExecutionsRequest.Builder> listWorkflowStepExecutionsRequest) Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.listWorkflowStepExecutions
(ListWorkflowStepExecutionsRequest listWorkflowStepExecutionsRequest) Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.listWorkflowStepExecutionsPaginator
(Consumer<ListWorkflowStepExecutionsRequest.Builder> listWorkflowStepExecutionsRequest) This is a variant oflistWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation.listWorkflowStepExecutionsPaginator
(ListWorkflowStepExecutionsRequest listWorkflowStepExecutionsRequest) This is a variant oflistWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation.putComponentPolicy
(Consumer<PutComponentPolicyRequest.Builder> putComponentPolicyRequest) Applies a policy to a component.putComponentPolicy
(PutComponentPolicyRequest putComponentPolicyRequest) Applies a policy to a component.putContainerRecipePolicy
(Consumer<PutContainerRecipePolicyRequest.Builder> putContainerRecipePolicyRequest) Applies a policy to a container image.putContainerRecipePolicy
(PutContainerRecipePolicyRequest putContainerRecipePolicyRequest) Applies a policy to a container image.default CompletableFuture
<PutImagePolicyResponse> putImagePolicy
(Consumer<PutImagePolicyRequest.Builder> putImagePolicyRequest) Applies a policy to an image.default CompletableFuture
<PutImagePolicyResponse> putImagePolicy
(PutImagePolicyRequest putImagePolicyRequest) Applies a policy to an image.putImageRecipePolicy
(Consumer<PutImageRecipePolicyRequest.Builder> putImageRecipePolicyRequest) Applies a policy to an image recipe.putImageRecipePolicy
(PutImageRecipePolicyRequest putImageRecipePolicyRequest) Applies a policy to an image recipe.sendWorkflowStepAction
(Consumer<SendWorkflowStepActionRequest.Builder> sendWorkflowStepActionRequest) Pauses or resumes image creation when the associated workflow runs aWaitForAction
step.sendWorkflowStepAction
(SendWorkflowStepActionRequest sendWorkflowStepActionRequest) Pauses or resumes image creation when the associated workflow runs aWaitForAction
step.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartImagePipelineExecution
(Consumer<StartImagePipelineExecutionRequest.Builder> startImagePipelineExecutionRequest) Manually triggers a pipeline to create an image.startImagePipelineExecution
(StartImagePipelineExecutionRequest startImagePipelineExecutionRequest) Manually triggers a pipeline to create an image.startResourceStateUpdate
(Consumer<StartResourceStateUpdateRequest.Builder> startResourceStateUpdateRequest) Begin asynchronous resource state update for lifecycle changes to the specified image resources.startResourceStateUpdate
(StartResourceStateUpdateRequest startResourceStateUpdateRequest) Begin asynchronous resource state update for lifecycle changes to the specified image resources.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.updateDistributionConfiguration
(Consumer<UpdateDistributionConfigurationRequest.Builder> updateDistributionConfigurationRequest) Updates a new distribution configuration.updateDistributionConfiguration
(UpdateDistributionConfigurationRequest updateDistributionConfigurationRequest) Updates a new distribution configuration.updateImagePipeline
(Consumer<UpdateImagePipelineRequest.Builder> updateImagePipelineRequest) Updates an image pipeline.updateImagePipeline
(UpdateImagePipelineRequest updateImagePipelineRequest) Updates an image pipeline.updateInfrastructureConfiguration
(Consumer<UpdateInfrastructureConfigurationRequest.Builder> updateInfrastructureConfigurationRequest) Updates a new infrastructure configuration.updateInfrastructureConfiguration
(UpdateInfrastructureConfigurationRequest updateInfrastructureConfigurationRequest) Updates a new infrastructure configuration.updateLifecyclePolicy
(Consumer<UpdateLifecyclePolicyRequest.Builder> updateLifecyclePolicyRequest) Update the specified lifecycle policy.updateLifecyclePolicy
(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest) Update the specified lifecycle policy.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
cancelImageCreation
default CompletableFuture<CancelImageCreationResponse> cancelImageCreation(CancelImageCreationRequest cancelImageCreationRequest) CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
- Parameters:
cancelImageCreationRequest
-- Returns:
- A Java Future containing the result of the CancelImageCreation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelImageCreation
default CompletableFuture<CancelImageCreationResponse> cancelImageCreation(Consumer<CancelImageCreationRequest.Builder> cancelImageCreationRequest) CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
This is a convenience which creates an instance of the
CancelImageCreationRequest.Builder
avoiding the need to create one manually viaCancelImageCreationRequest.builder()
- Parameters:
cancelImageCreationRequest
- AConsumer
that will call methods onCancelImageCreationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelImageCreation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLifecycleExecution
default CompletableFuture<CancelLifecycleExecutionResponse> cancelLifecycleExecution(CancelLifecycleExecutionRequest cancelLifecycleExecutionRequest) Cancel a specific image lifecycle policy runtime instance.
- Parameters:
cancelLifecycleExecutionRequest
-- Returns:
- A Java Future containing the result of the CancelLifecycleExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLifecycleExecution
default CompletableFuture<CancelLifecycleExecutionResponse> cancelLifecycleExecution(Consumer<CancelLifecycleExecutionRequest.Builder> cancelLifecycleExecutionRequest) Cancel a specific image lifecycle policy runtime instance.
This is a convenience which creates an instance of the
CancelLifecycleExecutionRequest.Builder
avoiding the need to create one manually viaCancelLifecycleExecutionRequest.builder()
- Parameters:
cancelLifecycleExecutionRequest
- AConsumer
that will call methods onCancelLifecycleExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelLifecycleExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest) Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods:
-
Inline, using the
data
property in the request body. -
A URL that points to a YAML document file stored in Amazon S3, using the
uri
property in the request body.
- Parameters:
createComponentRequest
-- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods:
-
Inline, using the
data
property in the request body. -
A URL that points to a YAML document file stored in Amazon S3, using the
uri
property in the request body.
This is a convenience which creates an instance of the
CreateComponentRequest.Builder
avoiding the need to create one manually viaCreateComponentRequest.builder()
- Parameters:
createComponentRequest
- AConsumer
that will call methods onCreateComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createContainerRecipe
default CompletableFuture<CreateContainerRecipeResponse> createContainerRecipe(CreateContainerRecipeRequest createContainerRecipeRequest) Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
- Parameters:
createContainerRecipeRequest
-- Returns:
- A Java Future containing the result of the CreateContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContainerRecipe
default CompletableFuture<CreateContainerRecipeResponse> createContainerRecipe(Consumer<CreateContainerRecipeRequest.Builder> createContainerRecipeRequest) Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
This is a convenience which creates an instance of the
CreateContainerRecipeRequest.Builder
avoiding the need to create one manually viaCreateContainerRecipeRequest.builder()
- Parameters:
createContainerRecipeRequest
- AConsumer
that will call methods onCreateContainerRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDistributionConfiguration
default CompletableFuture<CreateDistributionConfigurationResponse> createDistributionConfiguration(CreateDistributionConfigurationRequest createDistributionConfigurationRequest) Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
- Parameters:
createDistributionConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDistributionConfiguration
default CompletableFuture<CreateDistributionConfigurationResponse> createDistributionConfiguration(Consumer<CreateDistributionConfigurationRequest.Builder> createDistributionConfigurationRequest) Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
This is a convenience which creates an instance of the
CreateDistributionConfigurationRequest.Builder
avoiding the need to create one manually viaCreateDistributionConfigurationRequest.builder()
- Parameters:
createDistributionConfigurationRequest
- AConsumer
that will call methods onCreateDistributionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImage
Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
- Parameters:
createImageRequest
-- Returns:
- A Java Future containing the result of the CreateImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImage
default CompletableFuture<CreateImageResponse> createImage(Consumer<CreateImageRequest.Builder> createImageRequest) Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
This is a convenience which creates an instance of the
CreateImageRequest.Builder
avoiding the need to create one manually viaCreateImageRequest.builder()
- Parameters:
createImageRequest
- AConsumer
that will call methods onCreateImageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImagePipeline
default CompletableFuture<CreateImagePipelineResponse> createImagePipeline(CreateImagePipelineRequest createImagePipelineRequest) Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
- Parameters:
createImagePipelineRequest
-- Returns:
- A Java Future containing the result of the CreateImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImagePipeline
default CompletableFuture<CreateImagePipelineResponse> createImagePipeline(Consumer<CreateImagePipelineRequest.Builder> createImagePipelineRequest) Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
This is a convenience which creates an instance of the
CreateImagePipelineRequest.Builder
avoiding the need to create one manually viaCreateImagePipelineRequest.builder()
- Parameters:
createImagePipelineRequest
- AConsumer
that will call methods onCreateImagePipelineRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImageRecipe
default CompletableFuture<CreateImageRecipeResponse> createImageRecipe(CreateImageRecipeRequest createImageRecipeRequest) Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
- Parameters:
createImageRecipeRequest
-- Returns:
- A Java Future containing the result of the CreateImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImageRecipe
default CompletableFuture<CreateImageRecipeResponse> createImageRecipe(Consumer<CreateImageRecipeRequest.Builder> createImageRecipeRequest) Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
This is a convenience which creates an instance of the
CreateImageRecipeRequest.Builder
avoiding the need to create one manually viaCreateImageRecipeRequest.builder()
- Parameters:
createImageRecipeRequest
- AConsumer
that will call methods onCreateImageRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInfrastructureConfiguration
default CompletableFuture<CreateInfrastructureConfigurationResponse> createInfrastructureConfiguration(CreateInfrastructureConfigurationRequest createInfrastructureConfigurationRequest) Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
- Parameters:
createInfrastructureConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInfrastructureConfiguration
default CompletableFuture<CreateInfrastructureConfigurationResponse> createInfrastructureConfiguration(Consumer<CreateInfrastructureConfigurationRequest.Builder> createInfrastructureConfigurationRequest) Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
This is a convenience which creates an instance of the
CreateInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually viaCreateInfrastructureConfigurationRequest.builder()
- Parameters:
createInfrastructureConfigurationRequest
- AConsumer
that will call methods onCreateInfrastructureConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLifecyclePolicy
default CompletableFuture<CreateLifecyclePolicyResponse> createLifecyclePolicy(CreateLifecyclePolicyRequest createLifecyclePolicyRequest) Create a lifecycle policy resource.
- Parameters:
createLifecyclePolicyRequest
-- Returns:
- A Java Future containing the result of the CreateLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLifecyclePolicy
default CompletableFuture<CreateLifecyclePolicyResponse> createLifecyclePolicy(Consumer<CreateLifecyclePolicyRequest.Builder> createLifecyclePolicyRequest) Create a lifecycle policy resource.
This is a convenience which creates an instance of the
CreateLifecyclePolicyRequest.Builder
avoiding the need to create one manually viaCreateLifecyclePolicyRequest.builder()
- Parameters:
createLifecyclePolicyRequest
- AConsumer
that will call methods onCreateLifecyclePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- ResourceAlreadyExistsException The resource that you are trying to create already exists.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkflow
default CompletableFuture<CreateWorkflowResponse> createWorkflow(CreateWorkflowRequest createWorkflowRequest) Create a new workflow or a new version of an existing workflow.
- Parameters:
createWorkflowRequest
-- Returns:
- A Java Future containing the result of the CreateWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkflow
default CompletableFuture<CreateWorkflowResponse> createWorkflow(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest) Create a new workflow or a new version of an existing workflow.
This is a convenience which creates an instance of the
CreateWorkflowRequest.Builder
avoiding the need to create one manually viaCreateWorkflowRequest.builder()
- Parameters:
createWorkflowRequest
- AConsumer
that will call methods onCreateWorkflowRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- ServiceQuotaExceededException You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest) Deletes a component build version.
- Parameters:
deleteComponentRequest
-- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Deletes a component build version.
This is a convenience which creates an instance of the
DeleteComponentRequest.Builder
avoiding the need to create one manually viaDeleteComponentRequest.builder()
- Parameters:
deleteComponentRequest
- AConsumer
that will call methods onDeleteComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContainerRecipe
default CompletableFuture<DeleteContainerRecipeResponse> deleteContainerRecipe(DeleteContainerRecipeRequest deleteContainerRecipeRequest) Deletes a container recipe.
- Parameters:
deleteContainerRecipeRequest
-- Returns:
- A Java Future containing the result of the DeleteContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContainerRecipe
default CompletableFuture<DeleteContainerRecipeResponse> deleteContainerRecipe(Consumer<DeleteContainerRecipeRequest.Builder> deleteContainerRecipeRequest) Deletes a container recipe.
This is a convenience which creates an instance of the
DeleteContainerRecipeRequest.Builder
avoiding the need to create one manually viaDeleteContainerRecipeRequest.builder()
- Parameters:
deleteContainerRecipeRequest
- AConsumer
that will call methods onDeleteContainerRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDistributionConfiguration
default CompletableFuture<DeleteDistributionConfigurationResponse> deleteDistributionConfiguration(DeleteDistributionConfigurationRequest deleteDistributionConfigurationRequest) Deletes a distribution configuration.
- Parameters:
deleteDistributionConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDistributionConfiguration
default CompletableFuture<DeleteDistributionConfigurationResponse> deleteDistributionConfiguration(Consumer<DeleteDistributionConfigurationRequest.Builder> deleteDistributionConfigurationRequest) Deletes a distribution configuration.
This is a convenience which creates an instance of the
DeleteDistributionConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteDistributionConfigurationRequest.builder()
- Parameters:
deleteDistributionConfigurationRequest
- AConsumer
that will call methods onDeleteDistributionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImage
Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images that are created during the image build process. You must clean those up separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands.
-
To deregister an EC2 Linux AMI, see Deregister your Linux AMI in the Amazon EC2 User Guide .
-
To deregister an EC2 Windows AMI, see Deregister your Windows AMI in the Amazon EC2 Windows Guide .
-
To delete a container image from Amazon ECR, see Deleting an image in the Amazon ECR User Guide.
- Parameters:
deleteImageRequest
-- Returns:
- A Java Future containing the result of the DeleteImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteImage
default CompletableFuture<DeleteImageResponse> deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest) Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images that are created during the image build process. You must clean those up separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands.
-
To deregister an EC2 Linux AMI, see Deregister your Linux AMI in the Amazon EC2 User Guide .
-
To deregister an EC2 Windows AMI, see Deregister your Windows AMI in the Amazon EC2 Windows Guide .
-
To delete a container image from Amazon ECR, see Deleting an image in the Amazon ECR User Guide.
This is a convenience which creates an instance of the
DeleteImageRequest.Builder
avoiding the need to create one manually viaDeleteImageRequest.builder()
- Parameters:
deleteImageRequest
- AConsumer
that will call methods onDeleteImageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteImagePipeline
default CompletableFuture<DeleteImagePipelineResponse> deleteImagePipeline(DeleteImagePipelineRequest deleteImagePipelineRequest) Deletes an image pipeline.
- Parameters:
deleteImagePipelineRequest
-- Returns:
- A Java Future containing the result of the DeleteImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImagePipeline
default CompletableFuture<DeleteImagePipelineResponse> deleteImagePipeline(Consumer<DeleteImagePipelineRequest.Builder> deleteImagePipelineRequest) Deletes an image pipeline.
This is a convenience which creates an instance of the
DeleteImagePipelineRequest.Builder
avoiding the need to create one manually viaDeleteImagePipelineRequest.builder()
- Parameters:
deleteImagePipelineRequest
- AConsumer
that will call methods onDeleteImagePipelineRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImageRecipe
default CompletableFuture<DeleteImageRecipeResponse> deleteImageRecipe(DeleteImageRecipeRequest deleteImageRecipeRequest) Deletes an image recipe.
- Parameters:
deleteImageRecipeRequest
-- Returns:
- A Java Future containing the result of the DeleteImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImageRecipe
default CompletableFuture<DeleteImageRecipeResponse> deleteImageRecipe(Consumer<DeleteImageRecipeRequest.Builder> deleteImageRecipeRequest) Deletes an image recipe.
This is a convenience which creates an instance of the
DeleteImageRecipeRequest.Builder
avoiding the need to create one manually viaDeleteImageRecipeRequest.builder()
- Parameters:
deleteImageRecipeRequest
- AConsumer
that will call methods onDeleteImageRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInfrastructureConfiguration
default CompletableFuture<DeleteInfrastructureConfigurationResponse> deleteInfrastructureConfiguration(DeleteInfrastructureConfigurationRequest deleteInfrastructureConfigurationRequest) Deletes an infrastructure configuration.
- Parameters:
deleteInfrastructureConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInfrastructureConfiguration
default CompletableFuture<DeleteInfrastructureConfigurationResponse> deleteInfrastructureConfiguration(Consumer<DeleteInfrastructureConfigurationRequest.Builder> deleteInfrastructureConfigurationRequest) Deletes an infrastructure configuration.
This is a convenience which creates an instance of the
DeleteInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteInfrastructureConfigurationRequest.builder()
- Parameters:
deleteInfrastructureConfigurationRequest
- AConsumer
that will call methods onDeleteInfrastructureConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLifecyclePolicy
default CompletableFuture<DeleteLifecyclePolicyResponse> deleteLifecyclePolicy(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest) Delete the specified lifecycle policy resource.
- Parameters:
deleteLifecyclePolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLifecyclePolicy
default CompletableFuture<DeleteLifecyclePolicyResponse> deleteLifecyclePolicy(Consumer<DeleteLifecyclePolicyRequest.Builder> deleteLifecyclePolicyRequest) Delete the specified lifecycle policy resource.
This is a convenience which creates an instance of the
DeleteLifecyclePolicyRequest.Builder
avoiding the need to create one manually viaDeleteLifecyclePolicyRequest.builder()
- Parameters:
deleteLifecyclePolicyRequest
- AConsumer
that will call methods onDeleteLifecyclePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ServiceUnavailableException The service is unable to process your request at this time.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkflow
default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow(DeleteWorkflowRequest deleteWorkflowRequest) Deletes a specific workflow resource.
- Parameters:
deleteWorkflowRequest
-- Returns:
- A Java Future containing the result of the DeleteWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkflow
default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest) Deletes a specific workflow resource.
This is a convenience which creates an instance of the
DeleteWorkflowRequest.Builder
avoiding the need to create one manually viaDeleteWorkflowRequest.builder()
- Parameters:
deleteWorkflowRequest
- AConsumer
that will call methods onDeleteWorkflowRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceDependencyException You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest) Gets a component object.
- Parameters:
getComponentRequest
-- Returns:
- A Java Future containing the result of the GetComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
default CompletableFuture<GetComponentResponse> getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest) Gets a component object.
This is a convenience which creates an instance of the
GetComponentRequest.Builder
avoiding the need to create one manually viaGetComponentRequest.builder()
- Parameters:
getComponentRequest
- AConsumer
that will call methods onGetComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponentPolicy
default CompletableFuture<GetComponentPolicyResponse> getComponentPolicy(GetComponentPolicyRequest getComponentPolicyRequest) Gets a component policy.
- Parameters:
getComponentPolicyRequest
-- Returns:
- A Java Future containing the result of the GetComponentPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponentPolicy
default CompletableFuture<GetComponentPolicyResponse> getComponentPolicy(Consumer<GetComponentPolicyRequest.Builder> getComponentPolicyRequest) Gets a component policy.
This is a convenience which creates an instance of the
GetComponentPolicyRequest.Builder
avoiding the need to create one manually viaGetComponentPolicyRequest.builder()
- Parameters:
getComponentPolicyRequest
- AConsumer
that will call methods onGetComponentPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetComponentPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContainerRecipe
default CompletableFuture<GetContainerRecipeResponse> getContainerRecipe(GetContainerRecipeRequest getContainerRecipeRequest) Retrieves a container recipe.
- Parameters:
getContainerRecipeRequest
-- Returns:
- A Java Future containing the result of the GetContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContainerRecipe
default CompletableFuture<GetContainerRecipeResponse> getContainerRecipe(Consumer<GetContainerRecipeRequest.Builder> getContainerRecipeRequest) Retrieves a container recipe.
This is a convenience which creates an instance of the
GetContainerRecipeRequest.Builder
avoiding the need to create one manually viaGetContainerRecipeRequest.builder()
- Parameters:
getContainerRecipeRequest
- AConsumer
that will call methods onGetContainerRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContainerRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContainerRecipePolicy
default CompletableFuture<GetContainerRecipePolicyResponse> getContainerRecipePolicy(GetContainerRecipePolicyRequest getContainerRecipePolicyRequest) Retrieves the policy for a container recipe.
- Parameters:
getContainerRecipePolicyRequest
-- Returns:
- A Java Future containing the result of the GetContainerRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContainerRecipePolicy
default CompletableFuture<GetContainerRecipePolicyResponse> getContainerRecipePolicy(Consumer<GetContainerRecipePolicyRequest.Builder> getContainerRecipePolicyRequest) Retrieves the policy for a container recipe.
This is a convenience which creates an instance of the
GetContainerRecipePolicyRequest.Builder
avoiding the need to create one manually viaGetContainerRecipePolicyRequest.builder()
- Parameters:
getContainerRecipePolicyRequest
- AConsumer
that will call methods onGetContainerRecipePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContainerRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDistributionConfiguration
default CompletableFuture<GetDistributionConfigurationResponse> getDistributionConfiguration(GetDistributionConfigurationRequest getDistributionConfigurationRequest) Gets a distribution configuration.
- Parameters:
getDistributionConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDistributionConfiguration
default CompletableFuture<GetDistributionConfigurationResponse> getDistributionConfiguration(Consumer<GetDistributionConfigurationRequest.Builder> getDistributionConfigurationRequest) Gets a distribution configuration.
This is a convenience which creates an instance of the
GetDistributionConfigurationRequest.Builder
avoiding the need to create one manually viaGetDistributionConfigurationRequest.builder()
- Parameters:
getDistributionConfigurationRequest
- AConsumer
that will call methods onGetDistributionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImage
Gets an image.
- Parameters:
getImageRequest
-- Returns:
- A Java Future containing the result of the GetImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImage
default CompletableFuture<GetImageResponse> getImage(Consumer<GetImageRequest.Builder> getImageRequest) Gets an image.
This is a convenience which creates an instance of the
GetImageRequest.Builder
avoiding the need to create one manually viaGetImageRequest.builder()
- Parameters:
getImageRequest
- AConsumer
that will call methods onGetImageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImagePipeline
default CompletableFuture<GetImagePipelineResponse> getImagePipeline(GetImagePipelineRequest getImagePipelineRequest) Gets an image pipeline.
- Parameters:
getImagePipelineRequest
-- Returns:
- A Java Future containing the result of the GetImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImagePipeline
default CompletableFuture<GetImagePipelineResponse> getImagePipeline(Consumer<GetImagePipelineRequest.Builder> getImagePipelineRequest) Gets an image pipeline.
This is a convenience which creates an instance of the
GetImagePipelineRequest.Builder
avoiding the need to create one manually viaGetImagePipelineRequest.builder()
- Parameters:
getImagePipelineRequest
- AConsumer
that will call methods onGetImagePipelineRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImagePolicy
default CompletableFuture<GetImagePolicyResponse> getImagePolicy(GetImagePolicyRequest getImagePolicyRequest) Gets an image policy.
- Parameters:
getImagePolicyRequest
-- Returns:
- A Java Future containing the result of the GetImagePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImagePolicy
default CompletableFuture<GetImagePolicyResponse> getImagePolicy(Consumer<GetImagePolicyRequest.Builder> getImagePolicyRequest) Gets an image policy.
This is a convenience which creates an instance of the
GetImagePolicyRequest.Builder
avoiding the need to create one manually viaGetImagePolicyRequest.builder()
- Parameters:
getImagePolicyRequest
- AConsumer
that will call methods onGetImagePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImagePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageRecipe
default CompletableFuture<GetImageRecipeResponse> getImageRecipe(GetImageRecipeRequest getImageRecipeRequest) Gets an image recipe.
- Parameters:
getImageRecipeRequest
-- Returns:
- A Java Future containing the result of the GetImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageRecipe
default CompletableFuture<GetImageRecipeResponse> getImageRecipe(Consumer<GetImageRecipeRequest.Builder> getImageRecipeRequest) Gets an image recipe.
This is a convenience which creates an instance of the
GetImageRecipeRequest.Builder
avoiding the need to create one manually viaGetImageRecipeRequest.builder()
- Parameters:
getImageRecipeRequest
- AConsumer
that will call methods onGetImageRecipeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImageRecipe operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageRecipePolicy
default CompletableFuture<GetImageRecipePolicyResponse> getImageRecipePolicy(GetImageRecipePolicyRequest getImageRecipePolicyRequest) Gets an image recipe policy.
- Parameters:
getImageRecipePolicyRequest
-- Returns:
- A Java Future containing the result of the GetImageRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageRecipePolicy
default CompletableFuture<GetImageRecipePolicyResponse> getImageRecipePolicy(Consumer<GetImageRecipePolicyRequest.Builder> getImageRecipePolicyRequest) Gets an image recipe policy.
This is a convenience which creates an instance of the
GetImageRecipePolicyRequest.Builder
avoiding the need to create one manually viaGetImageRecipePolicyRequest.builder()
- Parameters:
getImageRecipePolicyRequest
- AConsumer
that will call methods onGetImageRecipePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImageRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInfrastructureConfiguration
default CompletableFuture<GetInfrastructureConfigurationResponse> getInfrastructureConfiguration(GetInfrastructureConfigurationRequest getInfrastructureConfigurationRequest) Gets an infrastructure configuration.
- Parameters:
getInfrastructureConfigurationRequest
- GetInfrastructureConfiguration request object.- Returns:
- A Java Future containing the result of the GetInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInfrastructureConfiguration
default CompletableFuture<GetInfrastructureConfigurationResponse> getInfrastructureConfiguration(Consumer<GetInfrastructureConfigurationRequest.Builder> getInfrastructureConfigurationRequest) Gets an infrastructure configuration.
This is a convenience which creates an instance of the
GetInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually viaGetInfrastructureConfigurationRequest.builder()
- Parameters:
getInfrastructureConfigurationRequest
- AConsumer
that will call methods onGetInfrastructureConfigurationRequest.Builder
to create a request. GetInfrastructureConfiguration request object.- Returns:
- A Java Future containing the result of the GetInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLifecycleExecution
default CompletableFuture<GetLifecycleExecutionResponse> getLifecycleExecution(GetLifecycleExecutionRequest getLifecycleExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
- Parameters:
getLifecycleExecutionRequest
-- Returns:
- A Java Future containing the result of the GetLifecycleExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLifecycleExecution
default CompletableFuture<GetLifecycleExecutionResponse> getLifecycleExecution(Consumer<GetLifecycleExecutionRequest.Builder> getLifecycleExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
This is a convenience which creates an instance of the
GetLifecycleExecutionRequest.Builder
avoiding the need to create one manually viaGetLifecycleExecutionRequest.builder()
- Parameters:
getLifecycleExecutionRequest
- AConsumer
that will call methods onGetLifecycleExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLifecycleExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLifecyclePolicy
default CompletableFuture<GetLifecyclePolicyResponse> getLifecyclePolicy(GetLifecyclePolicyRequest getLifecyclePolicyRequest) Get details for the specified image lifecycle policy.
- Parameters:
getLifecyclePolicyRequest
-- Returns:
- A Java Future containing the result of the GetLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLifecyclePolicy
default CompletableFuture<GetLifecyclePolicyResponse> getLifecyclePolicy(Consumer<GetLifecyclePolicyRequest.Builder> getLifecyclePolicyRequest) Get details for the specified image lifecycle policy.
This is a convenience which creates an instance of the
GetLifecyclePolicyRequest.Builder
avoiding the need to create one manually viaGetLifecyclePolicyRequest.builder()
- Parameters:
getLifecyclePolicyRequest
- AConsumer
that will call methods onGetLifecyclePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflow
Get a workflow resource object.
- Parameters:
getWorkflowRequest
-- Returns:
- A Java Future containing the result of the GetWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflow
default CompletableFuture<GetWorkflowResponse> getWorkflow(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Get a workflow resource object.
This is a convenience which creates an instance of the
GetWorkflowRequest.Builder
avoiding the need to create one manually viaGetWorkflowRequest.builder()
- Parameters:
getWorkflowRequest
- AConsumer
that will call methods onGetWorkflowRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorkflow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflowExecution
default CompletableFuture<GetWorkflowExecutionResponse> getWorkflowExecution(GetWorkflowExecutionRequest getWorkflowExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow.
- Parameters:
getWorkflowExecutionRequest
-- Returns:
- A Java Future containing the result of the GetWorkflowExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflowExecution
default CompletableFuture<GetWorkflowExecutionResponse> getWorkflowExecution(Consumer<GetWorkflowExecutionRequest.Builder> getWorkflowExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow.
This is a convenience which creates an instance of the
GetWorkflowExecutionRequest.Builder
avoiding the need to create one manually viaGetWorkflowExecutionRequest.builder()
- Parameters:
getWorkflowExecutionRequest
- AConsumer
that will call methods onGetWorkflowExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorkflowExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflowStepExecution
default CompletableFuture<GetWorkflowStepExecutionResponse> getWorkflowStepExecution(GetWorkflowStepExecutionRequest getWorkflowStepExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow step.
- Parameters:
getWorkflowStepExecutionRequest
-- Returns:
- A Java Future containing the result of the GetWorkflowStepExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkflowStepExecution
default CompletableFuture<GetWorkflowStepExecutionResponse> getWorkflowStepExecution(Consumer<GetWorkflowStepExecutionRequest.Builder> getWorkflowStepExecutionRequest) Get the runtime information that was logged for a specific runtime instance of the workflow step.
This is a convenience which creates an instance of the
GetWorkflowStepExecutionRequest.Builder
avoiding the need to create one manually viaGetWorkflowStepExecutionRequest.builder()
- Parameters:
getWorkflowStepExecutionRequest
- AConsumer
that will call methods onGetWorkflowStepExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorkflowStepExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importComponent
default CompletableFuture<ImportComponentResponse> importComponent(ImportComponentRequest importComponentRequest) Imports a component and transforms its data into a component document.
- Parameters:
importComponentRequest
-- Returns:
- A Java Future containing the result of the ImportComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importComponent
default CompletableFuture<ImportComponentResponse> importComponent(Consumer<ImportComponentRequest.Builder> importComponentRequest) Imports a component and transforms its data into a component document.
This is a convenience which creates an instance of the
ImportComponentRequest.Builder
avoiding the need to create one manually viaImportComponentRequest.builder()
- Parameters:
importComponentRequest
- AConsumer
that will call methods onImportComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ImportComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- InvalidVersionNumberException Your version number is out of bounds or does not follow the required syntax.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importVmImage
default CompletableFuture<ImportVmImageResponse> importVmImage(ImportVmImageRequest importVmImageRequest) 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. The Amazon EC2 API ImportImage action uses those files to import your VM and create an AMI. To import using the CLI command, see import-image
You can reference the task ID from the VM import to pull in the AMI that the import created as the base image for your Image Builder recipe.
- Parameters:
importVmImageRequest
-- Returns:
- A Java Future containing the result of the ImportVmImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importVmImage
default CompletableFuture<ImportVmImageResponse> importVmImage(Consumer<ImportVmImageRequest.Builder> importVmImageRequest) 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. The Amazon EC2 API ImportImage action uses those files to import your VM and create an AMI. To import using the CLI command, see import-image
You can reference the task ID from the VM import to pull in the AMI that the import created as the base image for your Image Builder recipe.
This is a convenience which creates an instance of the
ImportVmImageRequest.Builder
avoiding the need to create one manually viaImportVmImageRequest.builder()
- Parameters:
importVmImageRequest
- AConsumer
that will call methods onImportVmImageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ImportVmImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentBuildVersions
default CompletableFuture<ListComponentBuildVersionsResponse> listComponentBuildVersions(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) Returns the list of component build versions for the specified semantic version.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
- Parameters:
listComponentBuildVersionsRequest
-- Returns:
- A Java Future containing the result of the ListComponentBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentBuildVersions
default CompletableFuture<ListComponentBuildVersionsResponse> listComponentBuildVersions(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) Returns the list of component build versions for the specified semantic version.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
This is a convenience which creates an instance of the
ListComponentBuildVersionsRequest.Builder
avoiding the need to create one manually viaListComponentBuildVersionsRequest.builder()
- Parameters:
listComponentBuildVersionsRequest
- AConsumer
that will call methods onListComponentBuildVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListComponentBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentBuildVersionsPaginator
default ListComponentBuildVersionsPublisher listComponentBuildVersionsPaginator(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) This is a variant of
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsPublisher publisher = client.listComponentBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsPublisher publisher = client.listComponentBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation.- Parameters:
listComponentBuildVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentBuildVersionsPaginator
default ListComponentBuildVersionsPublisher listComponentBuildVersionsPaginator(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) This is a variant of
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsPublisher publisher = client.listComponentBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsPublisher publisher = client.listComponentBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListComponentBuildVersionsRequest.Builder
avoiding the need to create one manually viaListComponentBuildVersionsRequest.builder()
- Parameters:
listComponentBuildVersionsRequest
- AConsumer
that will call methods onListComponentBuildVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest) Returns the list of components that can be filtered by name, or by using the listed
filters
to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results.The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
- Parameters:
listComponentsRequest
-- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Returns the list of components that can be filtered by name, or by using the listed
filters
to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results.The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
This is a convenience which creates an instance of the
ListComponentsRequest.Builder
avoiding the need to create one manually viaListComponentsRequest.builder()
- Parameters:
listComponentsRequest
- AConsumer
that will call methods onListComponentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation.- Parameters:
listComponentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest)
operation.
This is a convenience which creates an instance of the
ListComponentsRequest.Builder
avoiding the need to create one manually viaListComponentsRequest.builder()
- Parameters:
listComponentsRequest
- AConsumer
that will call methods onListComponentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContainerRecipes
default CompletableFuture<ListContainerRecipesResponse> listContainerRecipes(ListContainerRecipesRequest listContainerRecipesRequest) Returns a list of container recipes.
- Parameters:
listContainerRecipesRequest
-- Returns:
- A Java Future containing the result of the ListContainerRecipes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContainerRecipes
default CompletableFuture<ListContainerRecipesResponse> listContainerRecipes(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) Returns a list of container recipes.
This is a convenience which creates an instance of the
ListContainerRecipesRequest.Builder
avoiding the need to create one manually viaListContainerRecipesRequest.builder()
- Parameters:
listContainerRecipesRequest
- AConsumer
that will call methods onListContainerRecipesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListContainerRecipes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContainerRecipesPaginator
default ListContainerRecipesPublisher listContainerRecipesPaginator(ListContainerRecipesRequest listContainerRecipesRequest) This is a variant of
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesPublisher publisher = client.listContainerRecipesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesPublisher publisher = client.listContainerRecipesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation.- Parameters:
listContainerRecipesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContainerRecipesPaginator
default ListContainerRecipesPublisher listContainerRecipesPaginator(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) This is a variant of
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesPublisher publisher = client.listContainerRecipesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesPublisher publisher = client.listContainerRecipesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation.
This is a convenience which creates an instance of the
ListContainerRecipesRequest.Builder
avoiding the need to create one manually viaListContainerRecipesRequest.builder()
- Parameters:
listContainerRecipesRequest
- AConsumer
that will call methods onListContainerRecipesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDistributionConfigurations
default CompletableFuture<ListDistributionConfigurationsResponse> listDistributionConfigurations(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) Returns a list of distribution configurations.
- Parameters:
listDistributionConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListDistributionConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDistributionConfigurations
default CompletableFuture<ListDistributionConfigurationsResponse> listDistributionConfigurations(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) Returns a list of distribution configurations.
This is a convenience which creates an instance of the
ListDistributionConfigurationsRequest.Builder
avoiding the need to create one manually viaListDistributionConfigurationsRequest.builder()
- Parameters:
listDistributionConfigurationsRequest
- AConsumer
that will call methods onListDistributionConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDistributionConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDistributionConfigurationsPaginator
default ListDistributionConfigurationsPublisher listDistributionConfigurationsPaginator(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) This is a variant of
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsPublisher publisher = client.listDistributionConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsPublisher publisher = client.listDistributionConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation.- Parameters:
listDistributionConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDistributionConfigurationsPaginator
default ListDistributionConfigurationsPublisher listDistributionConfigurationsPaginator(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) This is a variant of
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsPublisher publisher = client.listDistributionConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsPublisher publisher = client.listDistributionConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListDistributionConfigurationsRequest.Builder
avoiding the need to create one manually viaListDistributionConfigurationsRequest.builder()
- Parameters:
listDistributionConfigurationsRequest
- AConsumer
that will call methods onListDistributionConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageBuildVersions
default CompletableFuture<ListImageBuildVersionsResponse> listImageBuildVersions(ListImageBuildVersionsRequest listImageBuildVersionsRequest) Returns a list of image build versions.
- Parameters:
listImageBuildVersionsRequest
-- Returns:
- A Java Future containing the result of the ListImageBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageBuildVersions
default CompletableFuture<ListImageBuildVersionsResponse> listImageBuildVersions(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) Returns a list of image build versions.
This is a convenience which creates an instance of the
ListImageBuildVersionsRequest.Builder
avoiding the need to create one manually viaListImageBuildVersionsRequest.builder()
- Parameters:
listImageBuildVersionsRequest
- AConsumer
that will call methods onListImageBuildVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImageBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageBuildVersionsPaginator
default ListImageBuildVersionsPublisher listImageBuildVersionsPaginator(ListImageBuildVersionsRequest listImageBuildVersionsRequest) This is a variant of
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsPublisher publisher = client.listImageBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsPublisher publisher = client.listImageBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation.- Parameters:
listImageBuildVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageBuildVersionsPaginator
default ListImageBuildVersionsPublisher listImageBuildVersionsPaginator(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) This is a variant of
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsPublisher publisher = client.listImageBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsPublisher publisher = client.listImageBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListImageBuildVersionsRequest.Builder
avoiding the need to create one manually viaListImageBuildVersionsRequest.builder()
- Parameters:
listImageBuildVersionsRequest
- AConsumer
that will call methods onListImageBuildVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePackages
default CompletableFuture<ListImagePackagesResponse> listImagePackages(ListImagePackagesRequest listImagePackagesRequest) List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
- Parameters:
listImagePackagesRequest
-- Returns:
- A Java Future containing the result of the ListImagePackages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePackages
default CompletableFuture<ListImagePackagesResponse> listImagePackages(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
This is a convenience which creates an instance of the
ListImagePackagesRequest.Builder
avoiding the need to create one manually viaListImagePackagesRequest.builder()
- Parameters:
listImagePackagesRequest
- AConsumer
that will call methods onListImagePackagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImagePackages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePackagesPaginator
default ListImagePackagesPublisher listImagePackagesPaginator(ListImagePackagesRequest listImagePackagesRequest) This is a variant of
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesPublisher publisher = client.listImagePackagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesPublisher publisher = client.listImagePackagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation.- Parameters:
listImagePackagesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePackagesPaginator
default ListImagePackagesPublisher listImagePackagesPaginator(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) This is a variant of
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesPublisher publisher = client.listImagePackagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesPublisher publisher = client.listImagePackagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation.
This is a convenience which creates an instance of the
ListImagePackagesRequest.Builder
avoiding the need to create one manually viaListImagePackagesRequest.builder()
- Parameters:
listImagePackagesRequest
- AConsumer
that will call methods onListImagePackagesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelineImages
default CompletableFuture<ListImagePipelineImagesResponse> listImagePipelineImages(ListImagePipelineImagesRequest listImagePipelineImagesRequest) Returns a list of images created by the specified pipeline.
- Parameters:
listImagePipelineImagesRequest
-- Returns:
- A Java Future containing the result of the ListImagePipelineImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelineImages
default CompletableFuture<ListImagePipelineImagesResponse> listImagePipelineImages(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) Returns a list of images created by the specified pipeline.
This is a convenience which creates an instance of the
ListImagePipelineImagesRequest.Builder
avoiding the need to create one manually viaListImagePipelineImagesRequest.builder()
- Parameters:
listImagePipelineImagesRequest
- AConsumer
that will call methods onListImagePipelineImagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImagePipelineImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelineImagesPaginator
default ListImagePipelineImagesPublisher listImagePipelineImagesPaginator(ListImagePipelineImagesRequest listImagePipelineImagesRequest) This is a variant of
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesPublisher publisher = client.listImagePipelineImagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesPublisher publisher = client.listImagePipelineImagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation.- Parameters:
listImagePipelineImagesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelineImagesPaginator
default ListImagePipelineImagesPublisher listImagePipelineImagesPaginator(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) This is a variant of
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesPublisher publisher = client.listImagePipelineImagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesPublisher publisher = client.listImagePipelineImagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation.
This is a convenience which creates an instance of the
ListImagePipelineImagesRequest.Builder
avoiding the need to create one manually viaListImagePipelineImagesRequest.builder()
- Parameters:
listImagePipelineImagesRequest
- AConsumer
that will call methods onListImagePipelineImagesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelines
default CompletableFuture<ListImagePipelinesResponse> listImagePipelines(ListImagePipelinesRequest listImagePipelinesRequest) Returns a list of image pipelines.
- Parameters:
listImagePipelinesRequest
-- Returns:
- A Java Future containing the result of the ListImagePipelines operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelines
default CompletableFuture<ListImagePipelinesResponse> listImagePipelines(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) Returns a list of image pipelines.
This is a convenience which creates an instance of the
ListImagePipelinesRequest.Builder
avoiding the need to create one manually viaListImagePipelinesRequest.builder()
- Parameters:
listImagePipelinesRequest
- AConsumer
that will call methods onListImagePipelinesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImagePipelines operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelinesPaginator
default ListImagePipelinesPublisher listImagePipelinesPaginator(ListImagePipelinesRequest listImagePipelinesRequest) This is a variant of
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesPublisher publisher = client.listImagePipelinesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesPublisher publisher = client.listImagePipelinesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation.- Parameters:
listImagePipelinesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagePipelinesPaginator
default ListImagePipelinesPublisher listImagePipelinesPaginator(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) This is a variant of
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesPublisher publisher = client.listImagePipelinesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesPublisher publisher = client.listImagePipelinesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation.
This is a convenience which creates an instance of the
ListImagePipelinesRequest.Builder
avoiding the need to create one manually viaListImagePipelinesRequest.builder()
- Parameters:
listImagePipelinesRequest
- AConsumer
that will call methods onListImagePipelinesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageRecipes
default CompletableFuture<ListImageRecipesResponse> listImageRecipes(ListImageRecipesRequest listImageRecipesRequest) Returns a list of image recipes.
- Parameters:
listImageRecipesRequest
-- Returns:
- A Java Future containing the result of the ListImageRecipes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageRecipes
default CompletableFuture<ListImageRecipesResponse> listImageRecipes(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) Returns a list of image recipes.
This is a convenience which creates an instance of the
ListImageRecipesRequest.Builder
avoiding the need to create one manually viaListImageRecipesRequest.builder()
- Parameters:
listImageRecipesRequest
- AConsumer
that will call methods onListImageRecipesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImageRecipes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageRecipesPaginator
default ListImageRecipesPublisher listImageRecipesPaginator(ListImageRecipesRequest listImageRecipesRequest) This is a variant of
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesPublisher publisher = client.listImageRecipesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesPublisher publisher = client.listImageRecipesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation.- Parameters:
listImageRecipesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageRecipesPaginator
default ListImageRecipesPublisher listImageRecipesPaginator(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) This is a variant of
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesPublisher publisher = client.listImageRecipesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesPublisher publisher = client.listImageRecipesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest)
operation.
This is a convenience which creates an instance of the
ListImageRecipesRequest.Builder
avoiding the need to create one manually viaListImageRecipesRequest.builder()
- Parameters:
listImageRecipesRequest
- AConsumer
that will call methods onListImageRecipesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindingAggregations
default CompletableFuture<ListImageScanFindingAggregationsResponse> listImageScanFindingAggregations(ListImageScanFindingAggregationsRequest listImageScanFindingAggregationsRequest) Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the
imagePipelineArn
filter. If you don't specify a filter, Image Builder returns an aggregation for your account.To streamline results, you can use the following filters in your request:
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
- Parameters:
listImageScanFindingAggregationsRequest
-- Returns:
- A Java Future containing the result of the ListImageScanFindingAggregations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listImageScanFindingAggregations
default CompletableFuture<ListImageScanFindingAggregationsResponse> listImageScanFindingAggregations(Consumer<ListImageScanFindingAggregationsRequest.Builder> listImageScanFindingAggregationsRequest) Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the
imagePipelineArn
filter. If you don't specify a filter, Image Builder returns an aggregation for your account.To streamline results, you can use the following filters in your request:
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
This is a convenience which creates an instance of the
ListImageScanFindingAggregationsRequest.Builder
avoiding the need to create one manually viaListImageScanFindingAggregationsRequest.builder()
- Parameters:
listImageScanFindingAggregationsRequest
- AConsumer
that will call methods onListImageScanFindingAggregationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImageScanFindingAggregations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listImageScanFindingAggregationsPaginator
default ListImageScanFindingAggregationsPublisher listImageScanFindingAggregationsPaginator(ListImageScanFindingAggregationsRequest listImageScanFindingAggregationsRequest) This is a variant of
listImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingAggregationsPublisher publisher = client.listImageScanFindingAggregationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingAggregationsPublisher publisher = client.listImageScanFindingAggregationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation.- Parameters:
listImageScanFindingAggregationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindingAggregationsPaginator
default ListImageScanFindingAggregationsPublisher listImageScanFindingAggregationsPaginator(Consumer<ListImageScanFindingAggregationsRequest.Builder> listImageScanFindingAggregationsRequest) This is a variant of
listImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingAggregationsPublisher publisher = client.listImageScanFindingAggregationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingAggregationsPublisher publisher = client.listImageScanFindingAggregationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageScanFindingAggregations(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingAggregationsRequest)
operation.
This is a convenience which creates an instance of the
ListImageScanFindingAggregationsRequest.Builder
avoiding the need to create one manually viaListImageScanFindingAggregationsRequest.builder()
- Parameters:
listImageScanFindingAggregationsRequest
- AConsumer
that will call methods onListImageScanFindingAggregationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindings
default CompletableFuture<ListImageScanFindingsResponse> listImageScanFindings(ListImageScanFindingsRequest listImageScanFindingsRequest) Returns a list of image scan findings for your account.
- Parameters:
listImageScanFindingsRequest
-- Returns:
- A Java Future containing the result of the ListImageScanFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindings
default CompletableFuture<ListImageScanFindingsResponse> listImageScanFindings(Consumer<ListImageScanFindingsRequest.Builder> listImageScanFindingsRequest) Returns a list of image scan findings for your account.
This is a convenience which creates an instance of the
ListImageScanFindingsRequest.Builder
avoiding the need to create one manually viaListImageScanFindingsRequest.builder()
- Parameters:
listImageScanFindingsRequest
- AConsumer
that will call methods onListImageScanFindingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImageScanFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindingsPaginator
default ListImageScanFindingsPublisher listImageScanFindingsPaginator(ListImageScanFindingsRequest listImageScanFindingsRequest) This is a variant of
listImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingsPublisher publisher = client.listImageScanFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingsPublisher publisher = client.listImageScanFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation.- Parameters:
listImageScanFindingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageScanFindingsPaginator
default ListImageScanFindingsPublisher listImageScanFindingsPaginator(Consumer<ListImageScanFindingsRequest.Builder> listImageScanFindingsRequest) This is a variant of
listImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingsPublisher publisher = client.listImageScanFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImageScanFindingsPublisher publisher = client.listImageScanFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageScanFindings(software.amazon.awssdk.services.imagebuilder.model.ListImageScanFindingsRequest)
operation.
This is a convenience which creates an instance of the
ListImageScanFindingsRequest.Builder
avoiding the need to create one manually viaListImageScanFindingsRequest.builder()
- Parameters:
listImageScanFindingsRequest
- AConsumer
that will call methods onListImageScanFindingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImages
Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.
- Parameters:
listImagesRequest
-- Returns:
- A Java Future containing the result of the ListImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImages
default CompletableFuture<ListImagesResponse> listImages(Consumer<ListImagesRequest.Builder> listImagesRequest) Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.
This is a convenience which creates an instance of the
ListImagesRequest.Builder
avoiding the need to create one manually viaListImagesRequest.builder()
- Parameters:
listImagesRequest
- AConsumer
that will call methods onListImagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagesPaginator
This is a variant of
listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagesPublisher publisher = client.listImagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesPublisher publisher = client.listImagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation.- Parameters:
listImagesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImagesPaginator
default ListImagesPublisher listImagesPaginator(Consumer<ListImagesRequest.Builder> listImagesRequest) This is a variant of
listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListImagesPublisher publisher = client.listImagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesPublisher publisher = client.listImagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation.
This is a convenience which creates an instance of the
ListImagesRequest.Builder
avoiding the need to create one manually viaListImagesRequest.builder()
- Parameters:
listImagesRequest
- AConsumer
that will call methods onListImagesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInfrastructureConfigurations
default CompletableFuture<ListInfrastructureConfigurationsResponse> listInfrastructureConfigurations(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) Returns a list of infrastructure configurations.
- Parameters:
listInfrastructureConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListInfrastructureConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInfrastructureConfigurations
default CompletableFuture<ListInfrastructureConfigurationsResponse> listInfrastructureConfigurations(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) Returns a list of infrastructure configurations.
This is a convenience which creates an instance of the
ListInfrastructureConfigurationsRequest.Builder
avoiding the need to create one manually viaListInfrastructureConfigurationsRequest.builder()
- Parameters:
listInfrastructureConfigurationsRequest
- AConsumer
that will call methods onListInfrastructureConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListInfrastructureConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInfrastructureConfigurationsPaginator
default ListInfrastructureConfigurationsPublisher listInfrastructureConfigurationsPaginator(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) This is a variant of
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsPublisher publisher = client.listInfrastructureConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsPublisher publisher = client.listInfrastructureConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation.- Parameters:
listInfrastructureConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInfrastructureConfigurationsPaginator
default ListInfrastructureConfigurationsPublisher listInfrastructureConfigurationsPaginator(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) This is a variant of
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsPublisher publisher = client.listInfrastructureConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsPublisher publisher = client.listInfrastructureConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListInfrastructureConfigurationsRequest.Builder
avoiding the need to create one manually viaListInfrastructureConfigurationsRequest.builder()
- Parameters:
listInfrastructureConfigurationsRequest
- AConsumer
that will call methods onListInfrastructureConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionResources
default CompletableFuture<ListLifecycleExecutionResourcesResponse> listLifecycleExecutionResources(ListLifecycleExecutionResourcesRequest listLifecycleExecutionResourcesRequest) List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
- Parameters:
listLifecycleExecutionResourcesRequest
-- Returns:
- A Java Future containing the result of the ListLifecycleExecutionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionResources
default CompletableFuture<ListLifecycleExecutionResourcesResponse> listLifecycleExecutionResources(Consumer<ListLifecycleExecutionResourcesRequest.Builder> listLifecycleExecutionResourcesRequest) List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
This is a convenience which creates an instance of the
ListLifecycleExecutionResourcesRequest.Builder
avoiding the need to create one manually viaListLifecycleExecutionResourcesRequest.builder()
- Parameters:
listLifecycleExecutionResourcesRequest
- AConsumer
that will call methods onListLifecycleExecutionResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLifecycleExecutionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionResourcesPaginator
default ListLifecycleExecutionResourcesPublisher listLifecycleExecutionResourcesPaginator(ListLifecycleExecutionResourcesRequest listLifecycleExecutionResourcesRequest) This is a variant of
listLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionResourcesPublisher publisher = client.listLifecycleExecutionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionResourcesPublisher publisher = client.listLifecycleExecutionResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation.- Parameters:
listLifecycleExecutionResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionResourcesPaginator
default ListLifecycleExecutionResourcesPublisher listLifecycleExecutionResourcesPaginator(Consumer<ListLifecycleExecutionResourcesRequest.Builder> listLifecycleExecutionResourcesRequest) This is a variant of
listLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionResourcesPublisher publisher = client.listLifecycleExecutionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionResourcesPublisher publisher = client.listLifecycleExecutionResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecycleExecutionResources(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionResourcesRequest)
operation.
This is a convenience which creates an instance of the
ListLifecycleExecutionResourcesRequest.Builder
avoiding the need to create one manually viaListLifecycleExecutionResourcesRequest.builder()
- Parameters:
listLifecycleExecutionResourcesRequest
- AConsumer
that will call methods onListLifecycleExecutionResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutions
default CompletableFuture<ListLifecycleExecutionsResponse> listLifecycleExecutions(ListLifecycleExecutionsRequest listLifecycleExecutionsRequest) Get the lifecycle runtime history for the specified resource.
- Parameters:
listLifecycleExecutionsRequest
-- Returns:
- A Java Future containing the result of the ListLifecycleExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutions
default CompletableFuture<ListLifecycleExecutionsResponse> listLifecycleExecutions(Consumer<ListLifecycleExecutionsRequest.Builder> listLifecycleExecutionsRequest) Get the lifecycle runtime history for the specified resource.
This is a convenience which creates an instance of the
ListLifecycleExecutionsRequest.Builder
avoiding the need to create one manually viaListLifecycleExecutionsRequest.builder()
- Parameters:
listLifecycleExecutionsRequest
- AConsumer
that will call methods onListLifecycleExecutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLifecycleExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionsPaginator
default ListLifecycleExecutionsPublisher listLifecycleExecutionsPaginator(ListLifecycleExecutionsRequest listLifecycleExecutionsRequest) This is a variant of
listLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionsPublisher publisher = client.listLifecycleExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionsPublisher publisher = client.listLifecycleExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation.- Parameters:
listLifecycleExecutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecycleExecutionsPaginator
default ListLifecycleExecutionsPublisher listLifecycleExecutionsPaginator(Consumer<ListLifecycleExecutionsRequest.Builder> listLifecycleExecutionsRequest) This is a variant of
listLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionsPublisher publisher = client.listLifecycleExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecycleExecutionsPublisher publisher = client.listLifecycleExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecycleExecutions(software.amazon.awssdk.services.imagebuilder.model.ListLifecycleExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListLifecycleExecutionsRequest.Builder
avoiding the need to create one manually viaListLifecycleExecutionsRequest.builder()
- Parameters:
listLifecycleExecutionsRequest
- AConsumer
that will call methods onListLifecycleExecutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecyclePolicies
default CompletableFuture<ListLifecyclePoliciesResponse> listLifecyclePolicies(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest) Get a list of lifecycle policies in your Amazon Web Services account.
- Parameters:
listLifecyclePoliciesRequest
-- Returns:
- A Java Future containing the result of the ListLifecyclePolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecyclePolicies
default CompletableFuture<ListLifecyclePoliciesResponse> listLifecyclePolicies(Consumer<ListLifecyclePoliciesRequest.Builder> listLifecyclePoliciesRequest) Get a list of lifecycle policies in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListLifecyclePoliciesRequest.Builder
avoiding the need to create one manually viaListLifecyclePoliciesRequest.builder()
- Parameters:
listLifecyclePoliciesRequest
- AConsumer
that will call methods onListLifecyclePoliciesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLifecyclePolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecyclePoliciesPaginator
default ListLifecyclePoliciesPublisher listLifecyclePoliciesPaginator(ListLifecyclePoliciesRequest listLifecyclePoliciesRequest) This is a variant of
listLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecyclePoliciesPublisher publisher = client.listLifecyclePoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecyclePoliciesPublisher publisher = client.listLifecyclePoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation.- Parameters:
listLifecyclePoliciesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLifecyclePoliciesPaginator
default ListLifecyclePoliciesPublisher listLifecyclePoliciesPaginator(Consumer<ListLifecyclePoliciesRequest.Builder> listLifecyclePoliciesRequest) This is a variant of
listLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListLifecyclePoliciesPublisher publisher = client.listLifecyclePoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListLifecyclePoliciesPublisher publisher = client.listLifecyclePoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLifecyclePolicies(software.amazon.awssdk.services.imagebuilder.model.ListLifecyclePoliciesRequest)
operation.
This is a convenience which creates an instance of the
ListLifecyclePoliciesRequest.Builder
avoiding the need to create one manually viaListLifecyclePoliciesRequest.builder()
- Parameters:
listLifecyclePoliciesRequest
- AConsumer
that will call methods onListLifecyclePoliciesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the list of tags for the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the list of tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaitingWorkflowSteps
default CompletableFuture<ListWaitingWorkflowStepsResponse> listWaitingWorkflowSteps(ListWaitingWorkflowStepsRequest listWaitingWorkflowStepsRequest) Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.
- Parameters:
listWaitingWorkflowStepsRequest
-- Returns:
- A Java Future containing the result of the ListWaitingWorkflowSteps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaitingWorkflowSteps
default CompletableFuture<ListWaitingWorkflowStepsResponse> listWaitingWorkflowSteps(Consumer<ListWaitingWorkflowStepsRequest.Builder> listWaitingWorkflowStepsRequest) Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListWaitingWorkflowStepsRequest.Builder
avoiding the need to create one manually viaListWaitingWorkflowStepsRequest.builder()
- Parameters:
listWaitingWorkflowStepsRequest
- AConsumer
that will call methods onListWaitingWorkflowStepsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWaitingWorkflowSteps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaitingWorkflowStepsPaginator
default ListWaitingWorkflowStepsPublisher listWaitingWorkflowStepsPaginator(ListWaitingWorkflowStepsRequest listWaitingWorkflowStepsRequest) This is a variant of
listWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWaitingWorkflowStepsPublisher publisher = client.listWaitingWorkflowStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWaitingWorkflowStepsPublisher publisher = client.listWaitingWorkflowStepsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation.- Parameters:
listWaitingWorkflowStepsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaitingWorkflowStepsPaginator
default ListWaitingWorkflowStepsPublisher listWaitingWorkflowStepsPaginator(Consumer<ListWaitingWorkflowStepsRequest.Builder> listWaitingWorkflowStepsRequest) This is a variant of
listWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWaitingWorkflowStepsPublisher publisher = client.listWaitingWorkflowStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWaitingWorkflowStepsPublisher publisher = client.listWaitingWorkflowStepsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWaitingWorkflowSteps(software.amazon.awssdk.services.imagebuilder.model.ListWaitingWorkflowStepsRequest)
operation.
This is a convenience which creates an instance of the
ListWaitingWorkflowStepsRequest.Builder
avoiding the need to create one manually viaListWaitingWorkflowStepsRequest.builder()
- Parameters:
listWaitingWorkflowStepsRequest
- AConsumer
that will call methods onListWaitingWorkflowStepsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowBuildVersions
default CompletableFuture<ListWorkflowBuildVersionsResponse> listWorkflowBuildVersions(ListWorkflowBuildVersionsRequest listWorkflowBuildVersionsRequest) Returns a list of build versions for a specific workflow resource.
- Parameters:
listWorkflowBuildVersionsRequest
-- Returns:
- A Java Future containing the result of the ListWorkflowBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowBuildVersions
default CompletableFuture<ListWorkflowBuildVersionsResponse> listWorkflowBuildVersions(Consumer<ListWorkflowBuildVersionsRequest.Builder> listWorkflowBuildVersionsRequest) Returns a list of build versions for a specific workflow resource.
This is a convenience which creates an instance of the
ListWorkflowBuildVersionsRequest.Builder
avoiding the need to create one manually viaListWorkflowBuildVersionsRequest.builder()
- Parameters:
listWorkflowBuildVersionsRequest
- AConsumer
that will call methods onListWorkflowBuildVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkflowBuildVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowBuildVersionsPaginator
default ListWorkflowBuildVersionsPublisher listWorkflowBuildVersionsPaginator(ListWorkflowBuildVersionsRequest listWorkflowBuildVersionsRequest) This is a variant of
listWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowBuildVersionsPublisher publisher = client.listWorkflowBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowBuildVersionsPublisher publisher = client.listWorkflowBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation.- Parameters:
listWorkflowBuildVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowBuildVersionsPaginator
default ListWorkflowBuildVersionsPublisher listWorkflowBuildVersionsPaginator(Consumer<ListWorkflowBuildVersionsRequest.Builder> listWorkflowBuildVersionsRequest) This is a variant of
listWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowBuildVersionsPublisher publisher = client.listWorkflowBuildVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowBuildVersionsPublisher publisher = client.listWorkflowBuildVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowBuildVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowBuildVersionsRequest.Builder
avoiding the need to create one manually viaListWorkflowBuildVersionsRequest.builder()
- Parameters:
listWorkflowBuildVersionsRequest
- AConsumer
that will call methods onListWorkflowBuildVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowExecutions
default CompletableFuture<ListWorkflowExecutionsResponse> listWorkflowExecutions(ListWorkflowExecutionsRequest listWorkflowExecutionsRequest) Returns a list of workflow runtime instance metadata objects for a specific image build version.
- Parameters:
listWorkflowExecutionsRequest
-- Returns:
- A Java Future containing the result of the ListWorkflowExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowExecutions
default CompletableFuture<ListWorkflowExecutionsResponse> listWorkflowExecutions(Consumer<ListWorkflowExecutionsRequest.Builder> listWorkflowExecutionsRequest) Returns a list of workflow runtime instance metadata objects for a specific image build version.
This is a convenience which creates an instance of the
ListWorkflowExecutionsRequest.Builder
avoiding the need to create one manually viaListWorkflowExecutionsRequest.builder()
- Parameters:
listWorkflowExecutionsRequest
- AConsumer
that will call methods onListWorkflowExecutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkflowExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowExecutionsPaginator
default ListWorkflowExecutionsPublisher listWorkflowExecutionsPaginator(ListWorkflowExecutionsRequest listWorkflowExecutionsRequest) This is a variant of
listWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowExecutionsPublisher publisher = client.listWorkflowExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowExecutionsPublisher publisher = client.listWorkflowExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation.- Parameters:
listWorkflowExecutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowExecutionsPaginator
default ListWorkflowExecutionsPublisher listWorkflowExecutionsPaginator(Consumer<ListWorkflowExecutionsRequest.Builder> listWorkflowExecutionsRequest) This is a variant of
listWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowExecutionsPublisher publisher = client.listWorkflowExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowExecutionsPublisher publisher = client.listWorkflowExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowExecutionsRequest.Builder
avoiding the need to create one manually viaListWorkflowExecutionsRequest.builder()
- Parameters:
listWorkflowExecutionsRequest
- AConsumer
that will call methods onListWorkflowExecutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowStepExecutions
default CompletableFuture<ListWorkflowStepExecutionsResponse> listWorkflowStepExecutions(ListWorkflowStepExecutionsRequest listWorkflowStepExecutionsRequest) Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
- Parameters:
listWorkflowStepExecutionsRequest
-- Returns:
- A Java Future containing the result of the ListWorkflowStepExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowStepExecutions
default CompletableFuture<ListWorkflowStepExecutionsResponse> listWorkflowStepExecutions(Consumer<ListWorkflowStepExecutionsRequest.Builder> listWorkflowStepExecutionsRequest) Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
This is a convenience which creates an instance of the
ListWorkflowStepExecutionsRequest.Builder
avoiding the need to create one manually viaListWorkflowStepExecutionsRequest.builder()
- Parameters:
listWorkflowStepExecutionsRequest
- AConsumer
that will call methods onListWorkflowStepExecutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkflowStepExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowStepExecutionsPaginator
default ListWorkflowStepExecutionsPublisher listWorkflowStepExecutionsPaginator(ListWorkflowStepExecutionsRequest listWorkflowStepExecutionsRequest) This is a variant of
listWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowStepExecutionsPublisher publisher = client.listWorkflowStepExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowStepExecutionsPublisher publisher = client.listWorkflowStepExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation.- Parameters:
listWorkflowStepExecutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowStepExecutionsPaginator
default ListWorkflowStepExecutionsPublisher listWorkflowStepExecutionsPaginator(Consumer<ListWorkflowStepExecutionsRequest.Builder> listWorkflowStepExecutionsRequest) This is a variant of
listWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowStepExecutionsPublisher publisher = client.listWorkflowStepExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowStepExecutionsPublisher publisher = client.listWorkflowStepExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflowStepExecutions(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowStepExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowStepExecutionsRequest.Builder
avoiding the need to create one manually viaListWorkflowStepExecutionsRequest.builder()
- Parameters:
listWorkflowStepExecutionsRequest
- AConsumer
that will call methods onListWorkflowStepExecutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflows
default CompletableFuture<ListWorkflowsResponse> listWorkflows(ListWorkflowsRequest listWorkflowsRequest) Lists workflow build versions based on filtering parameters.
- Parameters:
listWorkflowsRequest
-- Returns:
- A Java Future containing the result of the ListWorkflows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflows
default CompletableFuture<ListWorkflowsResponse> listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) Lists workflow build versions based on filtering parameters.
This is a convenience which creates an instance of the
ListWorkflowsRequest.Builder
avoiding the need to create one manually viaListWorkflowsRequest.builder()
- Parameters:
listWorkflowsRequest
- AConsumer
that will call methods onListWorkflowsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkflows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowsPaginator
This is a variant of
listWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation.- Parameters:
listWorkflowsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkflowsPaginator
default ListWorkflowsPublisher listWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) This is a variant of
listWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.imagebuilder.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflows(software.amazon.awssdk.services.imagebuilder.model.ListWorkflowsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowsRequest.Builder
avoiding the need to create one manually viaListWorkflowsRequest.builder()
- Parameters:
listWorkflowsRequest
- AConsumer
that will call methods onListWorkflowsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidPaginationTokenException You have provided an invalid pagination token in your request.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putComponentPolicy
default CompletableFuture<PutComponentPolicyResponse> putComponentPolicy(PutComponentPolicyRequest putComponentPolicyRequest) 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.- Parameters:
putComponentPolicyRequest
-- Returns:
- A Java Future containing the result of the PutComponentPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putComponentPolicy
default CompletableFuture<PutComponentPolicyResponse> putComponentPolicy(Consumer<PutComponentPolicyRequest.Builder> putComponentPolicyRequest) 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.
This is a convenience which creates an instance of the
PutComponentPolicyRequest.Builder
avoiding the need to create one manually viaPutComponentPolicyRequest.builder()
- Parameters:
putComponentPolicyRequest
- AConsumer
that will call methods onPutComponentPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutComponentPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putContainerRecipePolicy
default CompletableFuture<PutContainerRecipePolicyResponse> putContainerRecipePolicy(PutContainerRecipePolicyRequest putContainerRecipePolicyRequest) Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API
PutContainerImagePolicy
, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.- Parameters:
putContainerRecipePolicyRequest
-- Returns:
- A Java Future containing the result of the PutContainerRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putContainerRecipePolicy
default CompletableFuture<PutContainerRecipePolicyResponse> putContainerRecipePolicy(Consumer<PutContainerRecipePolicyRequest.Builder> putContainerRecipePolicyRequest) Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API
PutContainerImagePolicy
, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.
This is a convenience which creates an instance of the
PutContainerRecipePolicyRequest.Builder
avoiding the need to create one manually viaPutContainerRecipePolicyRequest.builder()
- Parameters:
putContainerRecipePolicyRequest
- AConsumer
that will call methods onPutContainerRecipePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutContainerRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putImagePolicy
default CompletableFuture<PutImagePolicyResponse> putImagePolicy(PutImagePolicyRequest putImagePolicyRequest) 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.- Parameters:
putImagePolicyRequest
-- Returns:
- A Java Future containing the result of the PutImagePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putImagePolicy
default CompletableFuture<PutImagePolicyResponse> putImagePolicy(Consumer<PutImagePolicyRequest.Builder> putImagePolicyRequest) 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.
This is a convenience which creates an instance of the
PutImagePolicyRequest.Builder
avoiding the need to create one manually viaPutImagePolicyRequest.builder()
- Parameters:
putImagePolicyRequest
- AConsumer
that will call methods onPutImagePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutImagePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putImageRecipePolicy
default CompletableFuture<PutImageRecipePolicyResponse> putImageRecipePolicy(PutImageRecipePolicyRequest putImageRecipePolicyRequest) 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.- Parameters:
putImageRecipePolicyRequest
-- Returns:
- A Java Future containing the result of the PutImageRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putImageRecipePolicy
default CompletableFuture<PutImageRecipePolicyResponse> putImageRecipePolicy(Consumer<PutImageRecipePolicyRequest.Builder> putImageRecipePolicyRequest) 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.
This is a convenience which creates an instance of the
PutImageRecipePolicyRequest.Builder
avoiding the need to create one manually viaPutImageRecipePolicyRequest.builder()
- Parameters:
putImageRecipePolicyRequest
- AConsumer
that will call methods onPutImageRecipePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutImageRecipePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendWorkflowStepAction
default CompletableFuture<SendWorkflowStepActionResponse> sendWorkflowStepAction(SendWorkflowStepActionRequest sendWorkflowStepActionRequest) Pauses or resumes image creation when the associated workflow runs a
WaitForAction
step.- Parameters:
sendWorkflowStepActionRequest
-- Returns:
- A Java Future containing the result of the SendWorkflowStepAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ServiceUnavailableException The service is unable to process your request at this time.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendWorkflowStepAction
default CompletableFuture<SendWorkflowStepActionResponse> sendWorkflowStepAction(Consumer<SendWorkflowStepActionRequest.Builder> sendWorkflowStepActionRequest) Pauses or resumes image creation when the associated workflow runs a
WaitForAction
step.
This is a convenience which creates an instance of the
SendWorkflowStepActionRequest.Builder
avoiding the need to create one manually viaSendWorkflowStepActionRequest.builder()
- Parameters:
sendWorkflowStepActionRequest
- AConsumer
that will call methods onSendWorkflowStepActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendWorkflowStepAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- InvalidRequestException You have requested an action that that the service doesn't support.
- InvalidParameterValueException The value that you provided for the specified parameter is invalid.
- ServiceUnavailableException The service is unable to process your request at this time.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImagePipelineExecution
default CompletableFuture<StartImagePipelineExecutionResponse> startImagePipelineExecution(StartImagePipelineExecutionRequest startImagePipelineExecutionRequest) Manually triggers a pipeline to create an image.
- Parameters:
startImagePipelineExecutionRequest
-- Returns:
- A Java Future containing the result of the StartImagePipelineExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImagePipelineExecution
default CompletableFuture<StartImagePipelineExecutionResponse> startImagePipelineExecution(Consumer<StartImagePipelineExecutionRequest.Builder> startImagePipelineExecutionRequest) Manually triggers a pipeline to create an image.
This is a convenience which creates an instance of the
StartImagePipelineExecutionRequest.Builder
avoiding the need to create one manually viaStartImagePipelineExecutionRequest.builder()
- Parameters:
startImagePipelineExecutionRequest
- AConsumer
that will call methods onStartImagePipelineExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartImagePipelineExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceStateUpdate
default CompletableFuture<StartResourceStateUpdateResponse> startResourceStateUpdate(StartResourceStateUpdateRequest startResourceStateUpdateRequest) Begin asynchronous resource state update for lifecycle changes to the specified image resources.
- Parameters:
startResourceStateUpdateRequest
-- Returns:
- A Java Future containing the result of the StartResourceStateUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceStateUpdate
default CompletableFuture<StartResourceStateUpdateResponse> startResourceStateUpdate(Consumer<StartResourceStateUpdateRequest.Builder> startResourceStateUpdateRequest) Begin asynchronous resource state update for lifecycle changes to the specified image resources.
This is a convenience which creates an instance of the
StartResourceStateUpdateRequest.Builder
avoiding the need to create one manually viaStartResourceStateUpdateRequest.builder()
- Parameters:
startResourceStateUpdateRequest
- AConsumer
that will call methods onStartResourceStateUpdateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartResourceStateUpdate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds a tag to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
- ResourceNotFoundException At least one of the resources referenced by your request does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDistributionConfiguration
default CompletableFuture<UpdateDistributionConfigurationResponse> updateDistributionConfiguration(UpdateDistributionConfigurationRequest updateDistributionConfigurationRequest) Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
- Parameters:
updateDistributionConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDistributionConfiguration
default CompletableFuture<UpdateDistributionConfigurationResponse> updateDistributionConfiguration(Consumer<UpdateDistributionConfigurationRequest.Builder> updateDistributionConfigurationRequest) Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
This is a convenience which creates an instance of the
UpdateDistributionConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateDistributionConfigurationRequest.builder()
- Parameters:
updateDistributionConfigurationRequest
- AConsumer
that will call methods onUpdateDistributionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDistributionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateImagePipeline
default CompletableFuture<UpdateImagePipelineResponse> updateImagePipeline(UpdateImagePipelineRequest updateImagePipelineRequest) Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images. You must specify exactly one recipe for your image, using either a
containerRecipeArn
or animageRecipeArn
.UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
- Parameters:
updateImagePipelineRequest
-- Returns:
- A Java Future containing the result of the UpdateImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateImagePipeline
default CompletableFuture<UpdateImagePipelineResponse> updateImagePipeline(Consumer<UpdateImagePipelineRequest.Builder> updateImagePipelineRequest) Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images. You must specify exactly one recipe for your image, using either a
containerRecipeArn
or animageRecipeArn
.UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
This is a convenience which creates an instance of the
UpdateImagePipelineRequest.Builder
avoiding the need to create one manually viaUpdateImagePipelineRequest.builder()
- Parameters:
updateImagePipelineRequest
- AConsumer
that will call methods onUpdateImagePipelineRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateImagePipeline operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInfrastructureConfiguration
default CompletableFuture<UpdateInfrastructureConfigurationResponse> updateInfrastructureConfiguration(UpdateInfrastructureConfigurationRequest updateInfrastructureConfigurationRequest) Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
- Parameters:
updateInfrastructureConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInfrastructureConfiguration
default CompletableFuture<UpdateInfrastructureConfigurationResponse> updateInfrastructureConfiguration(Consumer<UpdateInfrastructureConfigurationRequest.Builder> updateInfrastructureConfigurationRequest) Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
This is a convenience which creates an instance of the
UpdateInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateInfrastructureConfigurationRequest.builder()
- Parameters:
updateInfrastructureConfigurationRequest
- AConsumer
that will call methods onUpdateInfrastructureConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateInfrastructureConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLifecyclePolicy
default CompletableFuture<UpdateLifecyclePolicyResponse> updateLifecyclePolicy(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest) Update the specified lifecycle policy.
- Parameters:
updateLifecyclePolicyRequest
-- Returns:
- A Java Future containing the result of the UpdateLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLifecyclePolicy
default CompletableFuture<UpdateLifecyclePolicyResponse> updateLifecyclePolicy(Consumer<UpdateLifecyclePolicyRequest.Builder> updateLifecyclePolicyRequest) Update the specified lifecycle policy.
This is a convenience which creates an instance of the
UpdateLifecyclePolicyRequest.Builder
avoiding the need to create one manually viaUpdateLifecyclePolicyRequest.builder()
- Parameters:
updateLifecyclePolicyRequest
- AConsumer
that will call methods onUpdateLifecyclePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateLifecyclePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceException This exception is thrown when the service encounters an unrecoverable exception.
- ClientException These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
- ServiceUnavailableException The service is unable to process your request at this time.
- InvalidRequestException You have requested an action that that the service doesn't support.
- IdempotentParameterMismatchException You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.
- ForbiddenException You are not authorized to perform the requested operation.
- CallRateLimitExceededException You have exceeded the permitted request rate for the specific operation.
- ResourceInUseException The resource that you are trying to operate on is currently in use. Review the message details and retry later.
- InvalidParameterCombinationException You have specified two or more mutually exclusive parameters. Review the error message for details.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ImagebuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aImagebuilderAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aImagebuilderAsyncClient
.
-